﻿@font-face {
    font-display: swap;
    font-family: 'ByteBounce';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ByteBounce.ttf') format('truetype');
}
/* urbanist-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/urbanist-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/urbanist-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/urbanist-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg-primary: #0a0e17;
    --bg-secondary: #0d1119;
    --bg-card: rgba(20, 26, 40, 0.5);
    --bg-glass: rgba(15, 20, 35, 0.6);
    --text-primary: #e8ecf4;
    --text-secondary: #fff;
    --text-muted: #5a6478;
    --accent: #2d7af6;
    --accent-hover: #4a8ef8;
    --accent-glow: rgba(45, 122, 246, 0.15);
    --accent-green: #22c997;
    --border: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    @media (min-width: 992px) {
        html {
            scroll-snap-type: y proximity;
        }
    }
}

body {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(120% 80% at 8% -10%, rgba(45, 122, 246, 0.15), transparent 50%),
        radial-gradient(120% 80% at 90% -10%, rgba(34, 201, 151, 0.1), transparent 55%),
        #050915;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    /* Safe area insets for notch devices */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

html.menu-open,
body.menu-open {
    overflow: hidden;
}

body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

::selection {
    background: rgba(45, 122, 246, 0.3);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth scrolling with fallback */
html {
    scroll-behavior: smooth;
    /* Better text rendering */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Hardware acceleration for continuously animated elements */
.bg-orb,
.mobile-menu-toggle .hamburger-line {
    will-change: transform, opacity;
}

.scroll-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    scroll-margin-top: 92px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 110;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--accent), var(--accent-green));
    transition: transform 0.12s linear;
    will-change: transform;
}

/* Fluid typography base */
body {
    font-size: clamp(14px, 1vw + 0.5rem, 16px);
}

/* Better button states for all devices */
button,
a {
    -webkit-tap-highlight-color: rgba(45, 122, 246, 0.2);
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Better line heights for readability */
h1, h2, h3 {
    line-height: 1.2;
}

/* Grid system enhancements */
@supports (display: grid) {
    .footer-top {
        display: grid;
    }
}

.container {
    max-width: 1596px;
    margin: 0 auto;
    padding: 0 24px;
    /* Safe area insets for notch devices */
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}

/* ===== ANIMATED BACKGROUND ===== */

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.05) 50%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.05) 50%, transparent 65%);
    animation: grid-fade 4s ease-out forwards;
}

@keyframes grid-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.bg-orb--1 {
    width: 700px;
    height: 700px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(45, 122, 246, 0.25) 0%, rgba(45, 122, 246, 0.15) 15%, rgba(45, 122, 246, 0.07) 35%, rgba(45, 122, 246, 0.02) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-1 16s ease-in-out infinite, orb-soft-pulse 9.5s ease-in-out infinite;
}

.bg-orb--2 {
    width: 600px;
    height: 600px;
    bottom: 10%;
    left: -12%;
    background: radial-gradient(circle, rgba(34, 201, 151, 0.2) 0%, rgba(34, 201, 151, 0.12) 15%, rgba(34, 201, 151, 0.05) 35%, rgba(34, 201, 151, 0.015) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-2 20s ease-in-out infinite, orb-soft-pulse 11s ease-in-out infinite 0.8s;
}

.bg-orb--3 {
    width: 500px;
    height: 500px;
    top: 35%;
    right: -8%;
    background: radial-gradient(circle, rgba(100, 80, 240, 0.18) 0%, rgba(100, 80, 240, 0.1) 15%, rgba(100, 80, 240, 0.04) 35%, rgba(100, 80, 240, 0.01) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-3 14s ease-in-out infinite, orb-soft-pulse 8.5s ease-in-out infinite 0.4s;
}

.bg-orb--4 {
    width: 450px;
    height: 450px;
    top: 55%;
    left: -8%;
    background: radial-gradient(circle, rgba(45, 122, 246, 0.15) 0%, rgba(40, 160, 200, 0.09) 15%, rgba(34, 201, 151, 0.04) 35%, rgba(34, 201, 151, 0.01) 55%, transparent 80%);
    filter: blur(100px);
    animation: orb-float-4 18s ease-in-out infinite, orb-soft-pulse 10.5s ease-in-out infinite 1.1s;
}

@keyframes orb-soft-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, 50px) scale(1.15); }
    50% { transform: translate(-30px, -40px) scale(0.9); }
    75% { transform: translate(50px, 20px) scale(1.08); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -40px) scale(1.1); }
    50% { transform: translate(20px, 60px) scale(0.92); }
    75% { transform: translate(-40px, 25px) scale(1.12); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, -50px) scale(1.2); }
    66% { transform: translate(40px, 35px) scale(0.85); }
}

@keyframes orb-float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(35px, -55px) scale(1.1); }
    66% { transform: translate(-45px, 40px) scale(0.9); }
}

.bg-aurora {
    position: absolute;
    top: -30%;
    left: -40%;
    width: 180%;
    height: 80vh;
    background: linear-gradient(
        115deg,
        transparent 10%,
        rgba(45, 122, 246, 0.02) 20%,
        rgba(45, 122, 246, 0.06) 30%,
        rgba(34, 201, 151, 0.08) 42%,
        rgba(100, 80, 240, 0.06) 54%,
        rgba(45, 122, 246, 0.05) 65%,
        rgba(45, 122, 246, 0.02) 75%,
        transparent 85%
    );
    filter: blur(30px);
    animation: aurora-sweep 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora-sweep {
    0% { transform: translateX(-15%) skewX(-8deg) scaleY(1); }
    100% { transform: translateX(15%) skewX(8deg) scaleY(1.2); }
}

/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.3), rgba(34, 201, 151, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header.scrolled::after {
    opacity: 1;
}
.header .container {
    padding:0;
}
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(10, 14, 34, 0.92);
    border-radius:100px;
    height: 64px;
    border: 1px solid rgba(77, 128, 216, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: clamp(20px, 1.2vw + 0.5rem, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    font-family: ByteBounce, sans-serif;
    position: relative;
}

.logo span {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-link {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.header-link:hover {
    color: #7597C2;
}

.header-link:active {
    color: #475067;
}

/* Hide default focus ring for text-only header links and logo */
.logo:focus-visible,
.header-link:focus-visible {
    outline: none;
    box-shadow: none;
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-7px);
}

.hamburger-line:nth-child(2) {
    transform: translateY(0);
}

.hamburger-line:nth-child(3) {
    transform: translateY(7px);
}

/* Mobile menu open state */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .header-link,
    .btn-primary,
    .mobile-menu-toggle {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .btn-primary {
        min-height: 44px;
        min-width: 44px;
    }

    .header-link {
        padding: 12px 0;
    }
}

/* ===== HERO ===== */

.hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: clamp(102px, 11vh, 142px);
    padding-bottom: clamp(120px, 20vh, 220px);
    overflow: hidden;
}

/* Soft fade of the earth into the next block — intensifies on scroll via --hero-fade */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42vh;
    background: linear-gradient(to bottom,
        rgba(5, 9, 21, 0) 0%,
        rgba(5, 9, 21, 0.55) 55%,
        rgba(5, 9, 21, 0.9) 82%,
        #050915 100%);
    opacity: var(--hero-fade, 0.35);
    transition: opacity 0.15s linear;
    pointer-events: none;
    z-index: -1;
}

.hero-earth {
    --earth-shift-x: 0px;
    --earth-shift-y: 0px;
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: min(2200px, 168vw);
    transform: translateX(-50%) translateY(48px) scale(1.06) translate3d(var(--earth-shift-x), var(--earth-shift-y), 0);
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 16%);
    opacity: 0;
    transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
}

.hero-earth.earth-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) translate3d(var(--earth-shift-x), var(--earth-shift-y), 0);
}

.hero-earth img {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: center 70%;
    animation: earth-float 13s ease-in-out infinite alternate;
}

@keyframes earth-float {
    0% { transform: translateY(0) scale(1); filter: saturate(1); }
    50% { transform: translateY(-8px) scale(1.01); filter: saturate(1.05); }
    100% { transform: translateY(3px) scale(0.995); filter: saturate(1.02); }
}

.hero-earth-glow {
    position: absolute;
    left: 50%;
    bottom: 150px;
    width: min(1700px, 140vw);
    height: 220px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(96, 178, 255, 0.6) 0%, rgba(45, 130, 246, 0.34) 34%, rgba(28, 114, 228, 0.12) 60%, rgba(28, 114, 228, 0) 78%);
    filter: blur(22px);
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
    animation: earth-glow-pulse 4s ease-in-out infinite;
}

@keyframes earth-glow-pulse {
    0%,
    100% {
        opacity: 0.55;
        transform: translateX(-50%) scaleX(0.94) scaleY(0.92);
        filter: blur(20px);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.07) scaleY(1.12);
        filter: blur(30px);
    }
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Liquid glass badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 17px;
    border-radius: 100px;
    border: 1px solid var(--border-glass);
    background: rgba(20, 26, 40, 0.4);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
    box-shadow: 0 0 10px 2px rgba(78, 154, 235, 0.1);
    background:
            linear-gradient(#111827, #111827) padding-box,
            linear-gradient(
                    90deg,
                    rgba(236, 249, 254, 0.1) 0%,
                    #1544AE 50%,
                    #18215B 100%
            ) border-box;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green), 0 0 20px rgba(34, 201, 151, 0.3);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px var(--accent-green), 0 0 20px rgba(34, 201, 151, 0.3); }
    50% { box-shadow: 0 0 12px var(--accent-green), 0 0 30px rgba(34, 201, 151, 0.5); }
}

.hero h1 {
    font-size: clamp(40px, 4.5vw + 1rem, 76px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
}

.hero h1 .highlight {
    color: #2b8bff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-text {
    font-size: clamp(17px, 1.1vw + 0.45rem, 22px);
    line-height: 1.35;
    color: #fff;
    margin: 0 auto 24px;
    max-width: 760px;
    hyphens: none;
    overflow-wrap: normal;
    word-wrap: normal;
}

.hero-text + .hero-text {
    margin-top: -20px;
}

/* Glow button */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    background: linear-gradient(180deg, #2f63f0 0%, #1d49cf 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(29, 73, 207, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 90% at 50% 118%, rgba(140, 185, 255, 0.55) 0%, rgba(140, 185, 255, 0) 60%);
    opacity: 1;
    transition: opacity 0.25s ease, background 0.25s ease;
    pointer-events: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-green));
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s;
}


.btn-primary:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #1c47b8 0%, #163a9b 100%);
    box-shadow: inset 0 2px 8px rgba(8, 28, 80, 0.45), 0 3px 10px rgba(22, 58, 155, 0.3);
    transition-duration: 0.08s;
}

.btn-primary:active::before {
    opacity: 0.25;
    background: radial-gradient(120% 90% at 50% 118%, rgba(120, 160, 230, 0.3) 0%, rgba(120, 160, 230, 0) 60%);
}

.btn-primary:active::after {
    opacity: 0;
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(74, 142, 248, 0.6);
    outline-offset: 3px;
}

.btn-primary svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.header-nav .btn-primary.btn-telegram {
    padding: 9px 18px;
    font-size: 15px;
    flex-shrink: 0;
}

/* ===== PAGE CONTENT ===== */

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 22px;
}

.about-main {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.header-link.is-active {
    color: var(--accent);
}

@media (min-width: 992px) {
    .header-link.is-active::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        border-radius: 1px;
        background: linear-gradient(90deg, var(--accent), var(--accent-green));
    }
}

.about-section {
    position: relative;
    padding: clamp(48px, 9vh, 110px) 0 clamp(56px, 10vh, 120px);
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 920px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.24), transparent);
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(48px, 8vh, 96px);
}

.about-split-text h2 {
    font-size: clamp(32px, 3.8vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: clamp(20px, 3vh, 32px);
    max-width: 14ch;
}

.about-split-text h2 span {
    color: var(--accent);
    display: block;
    max-width: 18ch;
}

.about-lead {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vh, 22px);
    max-width: 58ch;
}

.about-lead p {
    color: var(--text-secondary);
    font-size: clamp(16px, 0.9vw + 0.55rem, 20px);
    line-height: 1.75;
}

.about-split-visual {
    position: relative;
    min-height: clamp(280px, 32vw, 380px);
    border-radius: 20px;
    border: 1px solid rgba(77, 128, 216, 0.22);
    background: linear-gradient(145deg, rgba(14, 20, 34, 0.9), rgba(10, 14, 23, 0.6));
    overflow: hidden;
}

.about-visual-scene {
    position: absolute;
    inset: 0;
}

.about-visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.about-visual-orb--1 {
    width: 180px;
    height: 180px;
    top: -20%;
    right: -10%;
    background: rgba(45, 122, 246, 0.35);
}

.about-visual-orb--2 {
    width: 140px;
    height: 140px;
    bottom: -15%;
    left: -5%;
    background: rgba(34, 201, 151, 0.2);
}

.about-visual-cube {
    position: absolute;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(74, 142, 248, 0.85), rgba(29, 73, 207, 0.95));
    box-shadow: 0 12px 32px rgba(29, 73, 207, 0.25);
}

.about-visual-cube--1 {
    width: 52px;
    height: 52px;
    top: 22%;
    left: 18%;
    transform: rotate(12deg);
    opacity: 0.9;
}

.about-visual-cube--2 {
    width: 36px;
    height: 36px;
    top: 38%;
    right: 22%;
    transform: rotate(-18deg);
    opacity: 0.65;
    border: 1px solid rgba(77, 128, 216, 0.4);
    background: transparent;
}

.about-visual-cube--3 {
    width: 28px;
    height: 28px;
    bottom: 32%;
    left: 42%;
    transform: rotate(25deg);
    opacity: 0.5;
}

.about-visual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(45, 122, 246, 0.2);
    background: radial-gradient(circle, rgba(45, 122, 246, 0.06) 0%, transparent 70%);
}

.about-visual-ring::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(45, 122, 246, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
    .about-split-visual.visible .about-visual-ring {
        animation: about-ring-spin 28s linear infinite;
    }

    .about-split-visual.visible .about-visual-orb--1 {
        animation: about-orb-drift 7s ease-in-out infinite alternate;
    }

    .about-split-visual.visible .about-visual-orb--2 {
        animation: about-orb-drift 9s ease-in-out infinite alternate-reverse;
    }

    .about-split-visual.visible .about-visual-cube--1 {
        animation: about-cube-float 5.5s ease-in-out infinite alternate;
    }

    .about-split-visual.visible .about-visual-cube--2 {
        animation: about-cube-float 6.5s ease-in-out infinite alternate-reverse;
    }

    .about-split-visual.visible .about-visual-cube--3 {
        animation: about-cube-float 4.8s ease-in-out infinite alternate;
    }
}

@keyframes about-ring-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes about-orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(8px, -10px) scale(1.06); }
}

@keyframes about-cube-float {
    from { transform: translateY(0) rotate(var(--cube-rotate, 12deg)); }
    to { transform: translateY(-10px) rotate(calc(var(--cube-rotate, 12deg) + 6deg)); }
}

.about-visual-cube--1 { --cube-rotate: 12deg; }
.about-visual-cube--2 { --cube-rotate: -18deg; }
.about-visual-cube--3 { --cube-rotate: 25deg; }

.about-visual-stat {
    position: absolute;
    bottom: clamp(20px, 4vw, 32px);
    left: clamp(20px, 4vw, 32px);
    z-index: 1;
}

.about-visual-stat-value {
    display: block;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.about-visual-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-sectors-title {
    font-size: clamp(13px, 0.5vw + 0.6rem, 15px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: clamp(20px, 3vh, 32px);
}

.about-sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(77, 128, 216, 0.22);
    border-bottom: 0;
    border-right: 0;
}

.about-sector-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: clamp(100px, 12vw, 130px);
    padding: clamp(20px, 2.5vw, 28px) clamp(22px, 2.5vw, 32px);
    border-right: 1px solid rgba(77, 128, 216, 0.18);
    border-bottom: 1px solid rgba(77, 128, 216, 0.18);
    background: rgba(13, 19, 32, 0.45);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.about-sector-body h4 {
    font-size: clamp(15px, 0.8vw + 0.55rem, 19px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
    max-width: 22ch;
}

.about-sector-graphic {
    flex-shrink: 0;
    width: clamp(56px, 7vw, 72px);
    height: clamp(56px, 7vw, 72px);
    opacity: 0.85;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-sector-graphic svg {
    width: 100%;
    height: 100%;
}

.approach-section {
    position: relative;
    padding: clamp(56px, 9vh, 116px) 0;
}

.approach-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 920px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.24), transparent);
}

.approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.approach-intro h2 {
    font-size: clamp(30px, 3.2vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: clamp(28px, 4vh, 44px);
    max-width: 14ch;
}

.approach-intro h2 span {
    display: block;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
}

.approach-intro .section-label {
    margin-bottom: 16px;
}

.approach-statements {
    display: flex;
    flex-direction: column;
}

.approach-statement {
    position: relative;
    font-size: clamp(18px, 1.1vw + 0.6rem, 24px);
    line-height: 1.45;
    font-weight: 500;
    color: var(--text-primary);
    padding: clamp(22px, 3vh, 30px) 0 clamp(22px, 3vh, 30px) clamp(20px, 2vw, 28px);
    border-top: 1px solid rgba(77, 128, 216, 0.22);
}

.approach-statement:first-child {
    border-top: none;
    padding-top: 0;
}

.approach-statement::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    background: var(--accent);
}

.approach-statement:first-child::before {
    top: calc(50% - 8px);
}

.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.approach-card {
    padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.5vw, 28px);
    border-radius: 12px;
    border: 1px solid rgba(77, 128, 216, 0.24);
    background: rgba(13, 19, 33, 0.55);
    font-size: clamp(15px, 0.7vw + 0.55rem, 17px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    transition: border-color 0.3s ease, background 0.35s ease;
}

.approach-card.fade-up:nth-child(2) { transition-delay: 0.06s; }
.approach-card.fade-up:nth-child(3) { transition-delay: 0.12s; }
.approach-card.fade-up:nth-child(4) { transition-delay: 0.18s; }
.approach-card.fade-up:nth-child(5) { transition-delay: 0.24s; }

.services-block {
    position: relative;
    z-index: 2;
    padding: clamp(62px, 11vh, 132px) 0;
}

.services-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 920px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.24), transparent);
}

.services-block-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.82fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: end;
    margin-bottom: clamp(36px, 5vh, 64px);
    padding-bottom: clamp(28px, 4vh, 44px);
    border-bottom: 1px solid rgba(77, 128, 216, 0.18);
}

.services-block-title h2 {
    font-size: clamp(30px, 3.2vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    max-width: 14ch;
}

.services-block-title h2 span {
    display: block;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
}

.services-block-title .section-label {
    margin-bottom: 16px;
}

.services-block-intro p {
    color: var(--text-secondary);
    font-size: clamp(15px, 0.7vw + 0.52rem, 18px);
    line-height: 1.75;
    max-width: 40ch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(77, 128, 216, 0.22);
    border-bottom: 0;
    border-right: 0;
}

.service-card {
    min-height: clamp(180px, 18vw, 240px);
    padding: clamp(26px, 3vw, 36px) clamp(24px, 2.8vw, 34px);
    border-right: 1px solid rgba(77, 128, 216, 0.18);
    border-bottom: 1px solid rgba(77, 128, 216, 0.18);
    background: rgba(13, 19, 32, 0.42);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 18px);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card h3 {
    font-size: clamp(17px, 0.95vw + 0.55rem, 22px);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: clamp(14px, 2vh, 20px);
    max-width: 20ch;
    transition: color 0.35s ease;
}

.service-card p {
    color: #fff;
    font-size: clamp(14px, 0.55vw + 0.52rem, 16px);
    line-height: 1.7;
    max-width: 36ch;
    transition: color 0.35s ease, opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        background: linear-gradient(160deg, rgba(45, 122, 246, 0.95), rgba(29, 73, 207, 0.98));
        border-color: rgba(77, 128, 216, 0.4);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .service-card:hover h3,
    .service-card:hover p {
        color: #fff;
    }

    .service-card:hover p {
        opacity: 0.86;
    }

    .approach-card,
    .about-sector-card,
    .trust-card {
        transition: border-color 0.3s ease, background 0.35s ease;
    }

    .approach-card:hover {
        background: rgba(18, 27, 45, 0.72);
        border-color: rgba(45, 122, 246, 0.45);
    }

    .about-sector-card:hover {
        background: rgba(18, 27, 45, 0.72);
        border-color: rgba(77, 128, 216, 0.38);
    }

    .about-sector-card:hover .about-sector-graphic {
        opacity: 1;
        transform: scale(1.04);
    }
}

@media (max-width: 1199px) {
    .about-split {
        grid-template-columns: 1fr;
    }

    .about-split-text h2 {
        max-width: none;
    }

    .about-split-text h2 span {
        display: inline;
        max-width: none;
    }

    .about-split-visual {
        min-height: 260px;
    }

    .approach-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-intro h2 {
        max-width: none;
    }

    .approach-intro h2 span {
        display: inline;
    }

    .services-block-head {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        padding-bottom: 28px;
    }

    .services-block-title h2 {
        max-width: none;
    }

    .services-block-title h2 span {
        display: inline;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .services-block-title h2 {
        font-size: clamp(24px, 6vw, 36px);
    }
}

@media (max-width: 767px) {
    .about-sectors-grid {
        grid-template-columns: 1fr;
    }

    .about-sector-card {
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .about-section {
        padding-top: 28px;
    }

    .about-split {
        margin-bottom: 36px;
    }

    .about-visual-stat-value {
        font-size: 44px;
    }

    .approach-statement {
        font-size: clamp(16px, 4vw, 20px);
        padding-left: 22px;
    }
}

/* ===== TRUST / PORTFOLIO ===== */

.trust-section {
    position: relative;
    z-index: 1;
    padding: clamp(56px, 9vh, 120px) 0;
}

.trust-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 920px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.24), transparent);
}

.trust-header {
    margin-bottom: clamp(32px, 5vh, 56px);
}

.trust-header h2 {
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 18ch;
}

.trust-header .section-label {
    margin-bottom: 16px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: clamp(28px, 4vh, 44px);
}

.trust-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 2.5vw, 36px) clamp(22px, 2.5vw, 32px);
    border-radius: 18px;
    border: 1px solid rgba(77, 128, 216, 0.22);
    background: rgba(13, 19, 33, 0.65);
    backdrop-filter: blur(16px);
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.trust-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.trust-card-accent--blue {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.trust-card-accent--green {
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.trust-card-accent--purple {
    background: linear-gradient(90deg, transparent, #8b7cf7, transparent);
}

.trust-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-card-icon svg {
    width: 22px;
    height: 22px;
}

.trust-card:nth-child(1) .trust-card-icon {
    background: rgba(45, 122, 246, 0.12);
    color: var(--accent);
}

.trust-card:nth-child(2) .trust-card-icon {
    background: rgba(34, 201, 151, 0.12);
    color: var(--accent-green);
}

.trust-card:nth-child(3) .trust-card-icon {
    background: rgba(139, 124, 247, 0.12);
    color: #8b7cf7;
}

.trust-card-number {
    font-size: clamp(28px, 2.2vw + 0.5rem, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.trust-card:nth-child(1) .trust-card-number {
    color: var(--accent);
}

.trust-card:nth-child(2) .trust-card-number {
    color: var(--accent-green);
}

.trust-card:nth-child(3) .trust-card-number {
    color: #8b7cf7;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: clamp(14px, 0.55vw + 0.52rem, 16px);
    line-height: 1.65;
}

.trust-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.trust-card.fade-up:nth-child(3) { transition-delay: 0.2s; }

.trust-portfolio-note {
    padding: clamp(24px, 3vw, 36px) clamp(26px, 3vw, 40px);
    border-radius: 16px;
    border: 1px solid rgba(77, 128, 216, 0.22);
    background: rgba(13, 19, 33, 0.45);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
}

.trust-portfolio-note p {
    color: var(--text-secondary);
    font-size: clamp(15px, 0.65vw + 0.55rem, 17px);
    line-height: 1.7;
}

.trust-portfolio-note p:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    .trust-card:hover {
        transform: translateY(-4px);
        border-color: rgba(77, 128, 216, 0.38);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    }

    .trust-card:nth-child(1):hover {
        border-color: rgba(45, 122, 246, 0.35);
    }

    .trust-card:nth-child(2):hover {
        border-color: rgba(34, 201, 151, 0.35);
    }

    .trust-card:nth-child(3):hover {
        border-color: rgba(139, 124, 247, 0.35);
    }
}

@media (max-width: 1199px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-header h2 {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .trust-card {
        padding: 22px 20px;
    }

    .trust-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 20px;
    }
}

/* ===== FOOTER ===== */

.footer {
    background: var(--bg-secondary);
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 122, 246, 0.3), rgba(34, 201, 151, 0.3), transparent);
}

.footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(45, 122, 246, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.footer-cta {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(48px, 7vh, 72px);
}

.footer-cta-heading {
    font-size: clamp(28px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: clamp(24px, 3vh, 32px);
}

.footer-contacts-title {
    font-size: clamp(22px, 1.8vw + 0.5rem, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.footer-contact-label,
.footer-contact-value {
    display: block;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-contacts-block,
.footer-legal {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(15, 20, 35, 0.5);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-card:hover {
    background: rgba(20, 26, 40, 0.7);
    border-color: rgba(45, 122, 246, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(45, 122, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-contact-icon--tg {
    background: rgba(34, 201, 151, 0.1);
}

.footer-contact-icon--tg svg {
    color: var(--accent-green);
}

.footer-contact-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.footer-contact-value {
    font-size: clamp(14px, 0.9vw + 0.3rem, 15px);
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-contact-card:hover .footer-contact-value {
    color: var(--text-primary);
}

.footer-legal-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 20, 35, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
}

.footer-legal-card p {
    font-size: clamp(13px, 0.8vw + 0.3rem, 14px);
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -0.02em;
    font-family: ByteBounce, sans-serif;
}

.footer-bottom-logo span {
    color: var(--accent);
    opacity: 0.5;
}

/* ===== ANIMATIONS ===== */

.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up {
    transform: translateY(32px);
}

.fade-left {
    transform: translateX(-36px);
}

.fade-right {
    transform: translateX(36px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-content .fade-up:nth-child(1) { transition-delay: 0.05s; }
.hero-content .fade-up:nth-child(2) { transition-delay: 0.14s; }
.hero-content .fade-up:nth-child(3) { transition-delay: 0.24s; }
.hero-content .fade-up:nth-child(4) { transition-delay: 0.34s; }

.about-sectors-grid .about-sector-card.fade-up:nth-child(1) { transition-delay: 0s; }
.about-sectors-grid .about-sector-card.fade-up:nth-child(2) { transition-delay: 0.07s; }
.about-sectors-grid .about-sector-card.fade-up:nth-child(3) { transition-delay: 0.14s; }
.about-sectors-grid .about-sector-card.fade-up:nth-child(4) { transition-delay: 0.21s; }
.about-sectors-grid .about-sector-card.fade-up:nth-child(5) { transition-delay: 0.28s; }
.about-sectors-grid .about-sector-card.fade-up:nth-child(6) { transition-delay: 0.35s; }

.services-grid .service-card.fade-up:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card.fade-up:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card.fade-up:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card.fade-up:nth-child(4) { transition-delay: 0.18s; }
.services-grid .service-card.fade-up:nth-child(5) { transition-delay: 0.24s; }
.services-grid .service-card.fade-up:nth-child(6) { transition-delay: 0.3s; }

.approach-card.fade-up:nth-child(1) { transition-delay: 0s; }

/* ===== NOISE TEXTURE OVERLAY ===== */

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== RESPONSIVE ===== */

/* ===== MEDIA QUERIES ===== */

@media (min-width: 1600px) {
    .container {
        max-width: 1596px;
    }
}

@media (max-width: 1599px) {
    .container {
        max-width: 1200px;
    }

    .hero h1 {
        font-size: clamp(38px, 5vw, 80px);
    }

    .hero-earth {
        bottom: -112px;
    }

    .hero-earth-glow {
        bottom: 30px;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .header-wrapper {
        padding: 0 20px;
        height: 80px;
    }

    .logo {
        font-size: 32px;
    }

    .header-nav {
        gap: 24px;
    }

    .header-link {
        font-size: 18px;
    }

    .header-nav .btn-primary {
        padding: 8px 14px;
        font-size: 18px;
    }

    .hero h1 {
        font-size: clamp(36px, 4.5vw, 72px);
    }

    .hero-text {
        font-size: 24px;
    }

    .btn-primary {
        font-size: 26px;
        padding: 14px 28px;
    }

    .bg-orb--1 {
        width: 600px;
        height: 600px;
    }

    .bg-orb--2 {
        width: 500px;
        height: 500px;
    }

    .bg-orb--3 {
        width: 450px;
        height: 450px;
    }

    .bg-orb--4 {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 18px;
        padding-left: max(18px, env(safe-area-inset-left));
        padding-right: max(18px, env(safe-area-inset-right));
    }

    .header {
        padding: 12px 0;
    }

    .header-wrapper {
        padding: 0 18px;
        height: 70px;
    }

    .logo {
        font-size: 28px;
        z-index: 110;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(24px) saturate(1.4);
        -webkit-backdrop-filter: blur(24px) saturate(1.4);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 24px 24px;
        padding-top: max(100px, env(safe-area-inset-top) + 80px);
        padding-bottom: max(24px, env(safe-area-inset-bottom) + 24px);
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
        z-index: 100;
        border-left: 1px solid rgba(45, 122, 246, 0.2);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav.active {
        right: 0;
    }

    .header-link {
        font-size: 20px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }

    .header-nav .btn-primary.btn-telegram {
        margin-top: auto;
        width: 100%;
        justify-content: center;
        font-size: 18px;
        padding: 14px 20px;
    }

    .footer-contact-card:hover {
        transform: none;
        background: rgba(15, 20, 35, 0.5);
        border-color: var(--border-glass);
        box-shadow: none;
    }

    .hero {
        min-height: 92dvh;
        align-items: flex-start;
        padding-top: 230px;
        padding-bottom: 0;
    }

    .hero-earth {
        width: 240vw;
        bottom: 8px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 10%);
    }

    .hero-earth-glow {
        bottom: 36px;
        width: 220vw;
        height: 160px;
    }

    .hero h1 {
        font-size: clamp(32px, 6vw, 56px);
        margin-bottom: 24px;
    }

    .hero-text {
        font-size: 20px;
        max-width: 500px;
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 18px;
        padding: 7px 18px;
    }

    .btn-primary {
        font-size: 22px;
        padding: 12px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bg-grid {
        background-size: 40px 40px;
    }

    .bg-orb--1 {
        width: 500px;
        height: 500px;
    }

    .bg-orb--2 {
        width: 400px;
        height: 400px;
    }

    .bg-orb--3 {
        width: 350px;
        height: 350px;
    }

    .bg-orb--4 {
        width: 300px;
        height: 300px;
    }

    .bg-aurora {
        filter: blur(20px);
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .header .container {
        padding: 0 16px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .header-wrapper {
        padding: 0 16px;
        height: 64px;
        border-radius: 50px;
    }

    .logo {
        font-size: 24px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger-line {
        width: 20px;
    }

    .header-nav {
        width: 280px;
        padding: 90px 20px 20px;
    }

    .header-link {
        font-size: 18px;
        padding: 14px 0;
    }

    .hero {
        min-height: 90dvh;
        align-items: flex-start;
        padding-top: 230px;
        padding-bottom: 0;
    }

    .hero::after {
        height: 34vh;
    }

    .hero-earth {
        width: 320vw;
        bottom: 16px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 8%);
    }

    .hero-earth-glow {
        bottom: 28px;
        width: 280vw;
        height: 150px;
        filter: blur(16px);
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 44px);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-text {
        font-size: 18px;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .hero-badge {
        font-size: 16px;
        padding: 6px 16px;
        margin-bottom: 18px;
    }

    .btn-primary {
        font-size: 20px;
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .btn-primary svg {
        width: 14px;
        height: 14px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-cta-heading {
        font-size: clamp(24px, 5vw, 28px);
    }

    .footer-top {
        padding-bottom: 40px;
    }

    .footer-contact-card {
        padding: 14px 16px;
    }

    .footer-contact-icon {
        width: 36px;
        height: 36px;
    }

    .footer-contact-icon svg {
        width: 16px;
        height: 16px;
    }

    .footer-contact-value {
        font-size: 14px;
    }

    .footer-legal-card {
        padding: 20px;
    }

    .footer-legal-card p {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px 0;
    }

    .footer-copy {
        font-size: 12px;
    }

    .footer-bottom-logo {
        font-size: 22px;
    }

    .bg-orb--1,
    .bg-orb--2,
    .bg-orb--3,
    .bg-orb--4 {
        filter: blur(60px);
    }

    .bg-orb--1 {
        width: 400px;
        height: 400px;
        top: -28%;
        right: -34%;
    }

    .bg-orb--2 {
        width: 300px;
        height: 300px;
        top: -16%;
        left: -36%;
        bottom: auto;
    }

    .bg-orb--3 {
        width: 250px;
        height: 250px;
        top: 2%;
        right: -20%;
    }

    .bg-orb--4 {
        width: 200px;
        height: 200px;
        top: 14%;
        left: -20%;
    }
}

@media (max-width: 575px) {
    body {
        font-size: clamp(13px, 0.4vw + 0.7rem, 16px);
    }

    .container {
        padding: 0 14px;
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .header {
        padding: 10px 0;
    }

    .header-wrapper {
        padding: 0 14px;
        height: 58px;
        border-radius: 40px;
    }

    .logo {
        font-size: 26px;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hamburger-line {
        width: 18px;
        height: 1.5px;
    }

    .header-nav {
        width: 260px;
        padding: 80px 18px 18px;
    }

    .header-link {
        font-size: 16px;
        padding: 12px 0;
    }

    .header-nav .btn-primary {
        font-size: 16px;
        padding: 12px 18px;
    }

    .hero {
        min-height: 88dvh;
        align-items: flex-start;
        padding-top: 220px;
        padding-bottom: 0;
    }

    .hero h1 {
        font-size: clamp(24px, 9vw, 38px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 14px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 11px 22px;
        width: 100%;
        max-width: 280px;
    }

    .hero-earth {
        width: 340vw;
        bottom: 12px;
    }

    .hero-earth-glow {
        bottom: 24px;
        width: 300vw;
        height: 140px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-cta-heading {
        font-size: clamp(22px, 6vw, 24px);
    }

    .footer-contacts-title {
        font-size: 22px;
    }

    .footer-top {
        gap: 28px;
        padding-bottom: 32px;
    }

    .footer-contact-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .footer-contact-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .footer-contact-icon svg {
        width: 14px;
        height: 14px;
    }

    .footer-contact-label {
        font-size: 10px;
    }

    .footer-contact-value {
        font-size: 13px;
    }

    .footer-legal-card {
        padding: 18px;
    }

    .footer-legal-card p {
        font-size: 12px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom-logo {
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 12px;
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .header-wrapper {
        padding: 0 12px;
        height: 54px;
    }

    .logo {
        font-size: 24px;
    }

    .header-nav {
        width: 240px;
        padding: 70px 16px 16px;
    }

    .header-link {
        font-size: 15px;
        padding: 10px 0;
    }

    .hero {
        min-height: 110dvh;
        padding-top: 135px;
    }

    .hero h1 {
        font-size: clamp(22px, 10vw, 32px);
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 13px;
    }

    .btn-primary {
        font-size: 17px;
        padding: 10px 20px;
    }

    .hero-earth {
        width: 360vw;
        bottom: 8px;
    }

    .hero-earth-glow {
        bottom: 20px;
        width: 320vw;
        height: 130px;
    }

    .footer-cta-heading {
        font-size: 22px;
    }

    .footer-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .bg-orb--1 {
        width: 300px;
        height: 300px;
    }

    .bg-orb--2 {
        width: 200px;
        height: 200px;
    }

    .bg-orb--3 {
        width: 150px;
        height: 150px;
    }

    .bg-orb--4 {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 90px;
        padding-bottom: 96px;
    }

    .hero h1 {
        font-size: clamp(24px, 5vw, 42px);
        margin-bottom: 16px;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .btn-primary {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    @media (prefers-reduced-motion: no-preference) {
        .bg-orb--1,
        .bg-orb--2,
        .bg-orb--3,
        .bg-orb--4 {
            animation-duration: 24s;
        }
    }

    .noise-overlay {
        opacity: 0.02;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-orb,
    .bg-aurora,
    .hero-badge::before,
    .noise-overlay {
        animation: none;
    }

    .fade-up,
    .fade-left,
    .fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-snap-type: none;
    }

    .scroll-progress {
        display: none;
    }

    .hero-earth-glow {
        animation: none;
    }

    .hero-earth {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .hero-earth img {
        animation: none;
    }

    .about-split-visual.visible .about-visual-ring,
    .about-split-visual.visible .about-visual-orb--1,
    .about-split-visual.visible .about-visual-orb--2,
    .about-split-visual.visible .about-visual-cube--1,
    .about-split-visual.visible .about-visual-cube--2,
    .about-split-visual.visible .about-visual-cube--3 {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .header-link,
    .btn-primary,
    .footer-contact-card {
        border-width: 2px;
    }
}

@media print {
    .bg-animation,
    .noise-overlay,
    .mobile-menu-toggle,
    .header {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(29, 73, 207, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        background: linear-gradient(180deg, #3a72f4 0%, #2456d8 100%);
    }

    .btn-primary:hover::before {
        opacity: 1;
    }

    .btn-primary:hover:active {
        transform: translateY(1px);
    }

    .btn-primary:hover::after {
        opacity: 0.35;
    }
}

@media (hover: hover) and (pointer: fine) {
    .header-link:focus-visible,
    .footer-contact-card:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }
}
