body {
    background: var(--bg);
    overflow-x: hidden;
}

.content { position: relative; z-index: 1; }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
}
.hero-logo {
    font-size: 13px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s 0.2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.hero h1 {
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.95;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #8b8b9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 1.2s 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-sub {
    color: var(--text-subtle);
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 1.2s 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 340px;
    opacity: 0;
    animation: fadeUp 1.2s 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-buttons .btn { padding: 20px 32px; border-radius: 16px; font-size: 16px; }

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    box-shadow: 0 12px 40px rgba(74, 118, 240, 0.4);
}
.hero-buttons .btn-primary:hover {
    box-shadow: 0 20px 60px rgba(74, 118, 240, 0.6);
}
.hero-buttons .btn-secondary {
    background: var(--surface-light);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}
.hero-buttons .btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(74, 118, 240, 0.1);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === СЕКЦИИ === */
.section { max-width: 1100px; margin: 0 auto; padding: 140px 24px; }

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #8b8b9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.stat-box {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
}
.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(74, 118, 240, 0.12);
}
.stat-number {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}
.stat-number .suffix {
    font-size: 0.5em;
    -webkit-text-fill-color: var(--accent);
    background: none;
}
.stat-desc {
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: rgba(15, 15, 20, 0.55);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px 32px;
    transition: transform 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-top-color: rgba(74, 118, 240, 0.4);
}
.feature-icon {
    width: 64px; height: 64px;
    margin-bottom: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(74,118,240,0.15), rgba(157,78,221,0.1));
    border: 1px solid rgba(74,118,240,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.feature-icon svg {
    width: 28px; height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 1;
}
.feature-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(74,118,240,0.3), transparent 70%);
    animation: iconPulse 3s infinite;
}
.feature-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.feature-text {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}

/* === HOW IT WORKS === */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.step {
    background: rgba(15, 15, 20, 0.55);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.step-num {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    position: absolute;
    top: 16px; right: 24px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(74, 118, 240, 0.15);
}
.step-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}
.step-text {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    flex-grow: 1;
}
.step-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: color 0.2s;
}
.step-link:hover { color: #fff; }

/* === CTA === */
.cta { text-align: center; padding: 160px 24px; }
.cta h2 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #8b8b9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta p { color: var(--text-dim); font-size: 17px; margin-bottom: 40px; }
.cta .btn { max-width: 320px; margin: 0 auto; padding: 20px 32px; border-radius: 16px; }

.footer {
    text-align: center;
    padding: 40px 24px;
    color: #3a3a45;
    font-size: 12px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 16px;
    }
    .hero-logo {
        margin-bottom: 32px;
        font-size: 11px;
    }
    .hero h1 {
        font-size: clamp(36px, 12vw, 56px);
        letter-spacing: -2px;
    }
    .hero-sub {
        font-size: 15px;
        margin-bottom: 40px;
    }
    .hero-buttons {
        max-width: 100%;
        gap: 10px;
    }
    .hero-buttons .btn {
        padding: 16px 24px;
        font-size: 14px;
    }
    .section {
        padding: 70px 16px;
    }
    .section-title {
        font-size: 28px;
        letter-spacing: -1px;
    }
    .section-sub {
        font-size: 14px;
        margin-bottom: 40px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-box {
        padding: 24px 16px;
    }
    .stat-number {
        font-size: 32px;
    }
    .stat-desc {
        font-size: 11px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 24px 20px;
    }
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    .feature-icon svg {
        width: 22px;
        height: 22px;
    }
    .feature-title {
        font-size: 16px;
    }
    .feature-text {
        font-size: 13px;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .step {
        padding: 28px 20px;
    }
    .step-num {
        font-size: 56px;
        top: 12px;
        right: 16px;
    }
    .step-title {
        font-size: 16px;
    }
    .step-text {
        font-size: 13px;
    }
    .cta {
        padding: 80px 16px;
    }
    .cta h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }
    .cta p {
        font-size: 14px;
    }
    .cta .btn {
        max-width: 100%;
        padding: 16px 24px;
        font-size: 14px;
    }
    .footer {
        padding: 24px 16px;
        font-size: 11px;
    }
}

/* Очень узкие экраны (320–360px) */
@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 32px;
    }
}