/* ============================================================
   Ай Ти Сервис — тёмная неон дизайн-система
   ============================================================ */

:root {
    --bg: #070b14;
    --bg-2: #0a1020;
    --bg-3: #0d1426;

    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-3: rgba(255, 255, 255, 0.08);

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text: #eaf0fb;
    --muted: #9fa9c0;
    --muted-2: #6c7794;

    --cyan: #22d3ee;
    --violet: #a855f7;
    --green: #34d399;
    --red: #fb7185;

    --grad: linear-gradient(135deg, #22d3ee 0%, #7c3aed 55%, #a855f7 100%);
    --grad-text: linear-gradient(110deg, #67e8f9 0%, #c4b5fd 50%, #f0abfc 100%);
    --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.15));

    --radius: 20px;
    --radius-sm: 14px;
    --radius-lg: 28px;

    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --glow-cyan: 0 0 30px rgba(34, 211, 238, 0.35);
    --glow-violet: 0 0 30px rgba(168, 85, 247, 0.4);

    --container: 1180px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Sora', var(--font-sans);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
ul { list-style: none; }

::selection { background: rgba(168, 85, 247, 0.4); color: #fff; }

/* фон-сетка */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.container--narrow { max-width: 820px; }

.section { padding: 72px 0; position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.035), transparent); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.section__title--sm { font-size: clamp(1.5rem, 3vw, 2rem); }
.section__subtitle { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
.section__subtitle--sm { font-size: 1rem; }
.section__head--sm { margin-bottom: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 24px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    text-align: center;
}
.btn--lg { padding: 16px 32px; font-size: 1.06rem; }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; }
.btn--full { width: 100%; }
.btn--grow { flex: 1; }
.btn, .btn--sm, .btn--lg { height: 48px; padding-top: 0; padding-bottom: 0; }

.btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: var(--glow-violet);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(168, 85, 247, 0.6); filter: brightness(1.08); }

.btn--ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--cyan); transform: translateY(-2px); }

.btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--outline:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav--scrolled {
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
}
.nav--static { position: sticky; background: var(--bg); border-bottom-color: var(--border); }

.nav__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.32rem;
    letter-spacing: -0.01em;
    margin-right: auto;
}
.nav__logo-mark {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.55rem;
}
.nav__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
}
.nav__logo-badge {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.97rem;
    transition: color 0.2s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link--phone { color: var(--text); font-weight: 600; white-space: nowrap; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Личный кабинет абонента — отдельная строка под навигацией (всегда видна) */
.nav__lk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 52px;
    padding: 6px 0 10px;
    border-top: 1px solid var(--border);
}
.nav__lk-form { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nav__lk-form input {
    width: 170px;
    height: 42px;
    padding: 0 18px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--bg);
    background: #fff;
    border: 1px solid rgba(7, 11, 20, 0.16);
    border-radius: 100px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav__lk-form input::placeholder { color: #7b85a0; }
.nav__lk-form input:focus {
    outline: none;
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
@media (max-width: 720px) {
    .nav__lk-form input { width: 140px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 190px 0 90px;
    overflow: hidden;
    z-index: 1;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: float 14s ease-in-out infinite;
}
.orb--cyan {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 70%);
    top: -120px; left: -80px;
}
.orb--violet {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5), transparent 70%);
    top: -60px; right: -120px;
    animation-delay: -7s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 40px); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.4rem, 3.1vw, 2.1rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}
.hero__title { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero panel */
.hero__visual { perspective: 1200px; }
.hero__panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow), var(--glow-violet);
    animation: tilt 8s ease-in-out infinite;
}
@keyframes tilt {
    0%, 100% { transform: rotateX(2deg) rotateY(-3deg); }
    50% { transform: rotateX(-1deg) rotateY(3deg); }
}
.hero__panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.hero__panel-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero__panel-title { font-weight: 600; font-size: 0.95rem; }
.hero__panel-status { margin-left: auto; font-size: 0.8rem; color: var(--green); text-transform: lowercase; letter-spacing: 0.05em; }
.hero__panel-rows { display: flex; flex-direction: column; gap: 4px; }
.hero__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}
.hero__row:hover { background: var(--surface); }
.hero__row-icon { font-size: 1.2rem; }
.hero__row-label { color: var(--muted); font-size: 0.95rem; }
.hero__row-value { margin-left: auto; font-weight: 600; font-size: 0.92rem; }
.hero__row-value--ok { color: var(--cyan); }
.hero__panel-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted-2);
    font-size: 0.84rem;
}
.pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 1; }
.hero__wave svg { width: 100%; height: 100px; display: block; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 30px 0 10px; position: relative; z-index: 1; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 24px;
    backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat__label { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 8px; }

/* ============================================================
   PAINS
   ============================================================ */
.pains__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pain-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.pain-card__icon { font-size: 1.8rem; }
.pain-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 12px 0 18px; }
.pain-card__compare { display: flex; flex-direction: column; gap: 12px; }
.pain-card__before, .pain-card__after {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    line-height: 1.45;
}
.pain-card__before { background: rgba(251, 113, 133, 0.07); border: 1px solid rgba(251, 113, 133, 0.18); color: var(--muted); }
.pain-card__after { background: rgba(52, 211, 153, 0.07); border: 1px solid rgba(52, 211, 153, 0.2); color: var(--text); }
.pain-card__tag { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 4px; opacity: 0.7; }

/* ============================================================
   SERVICES
   ============================================================ */
.service-group { margin-bottom: 40px; }
.service-group:last-child { margin-bottom: 0; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--cyan); background: var(--surface-2); box-shadow: var(--glow-cyan); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: var(--grad-soft);
    border: 1px solid var(--border);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 16px 0 8px; position: relative; z-index: 1; }
.service-card__desc { color: var(--muted); font-size: 0.94rem; line-height: 1.5; position: relative; z-index: 1; }

/* ============================================================
   PRICING
   ============================================================ */
.sla-spacer { height: 56px; }

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.price-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.price-card--featured {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
        var(--grad) border-box;
    border: 1.5px solid transparent;
    box-shadow: var(--glow-violet);
    transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-5px); }
.price-card__badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 100px;
    box-shadow: var(--glow-violet);
    white-space: nowrap;
}
.price-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 10px; }
.price-card__amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.price-card__period { color: var(--muted); font-size: 0.95rem; }
.price-card__sla {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cyan);
    align-self: flex-start;
}
.price-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.price-card__check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--grad-soft);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 1px;
}

/* ============================================================
   ОДНОРАЗОВЫЕ УСЛУГИ
   ============================================================ */
.one-time { margin-top: 72px; }
.one-time__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.one-time__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.one-time__item:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.one-time__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    font-size: 1.25rem;
}
.one-time__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.one-time__title { font-weight: 600; font-size: 1rem; }
.one-time__desc { color: var(--muted); font-size: 0.86rem; }
.one-time__price {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    white-space: nowrap;
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
    padding: 36px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.step__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.6rem;
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1;
}
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 16px 0 8px; }
.step__desc { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   OPERATORS (B2B)
   ============================================================ */
.operators {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    z-index: 1;
}
.operators::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 30%, rgba(34, 211, 238, 0.12), transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 70%, rgba(168, 85, 247, 0.14), transparent 70%);
    z-index: 0;
}
.operators > .container { position: relative; z-index: 1; }
.operators__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.operators__badge {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.operators__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.operators__subtitle { color: var(--muted); font-size: 1.08rem; }
.operators__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}
.operator-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.operator-card:hover { transform: translateY(-4px); border-color: var(--violet); background: var(--surface-2); box-shadow: var(--glow-violet); }
.operator-card__icon { font-size: 1.8rem; }
.operator-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 12px 0 8px; }
.operator-card__desc { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.operators__cta { text-align: center; }
.operators__note { color: var(--muted-2); font-size: 0.9rem; margin-top: 16px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.faq__item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq__item[open] .faq__arrow { transform: rotate(180deg); }
.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__arrow {
    flex-shrink: 0;
    width: 14px; height: 14px;
    border-right: 2px solid var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -4px;
}
.faq__a { padding: 0 22px 22px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    position: relative;
    padding: 72px 0;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(168, 85, 247, 0.16), transparent 70%);
    z-index: 0;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.final-cta__subtitle { color: var(--muted); font-size: 1.15rem; margin: 18px 0 34px; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-cta__city { color: var(--muted-2); margin-top: 26px; font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 96px;
    position: relative;
    z-index: 1;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer__logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.footer__desc { color: var(--muted); font-size: 0.92rem; margin: 12px 0; max-width: 320px; }
.footer__legal { color: var(--muted-2); font-size: 0.85rem; }
.footer__title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--muted); font-size: 0.94rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--cyan); }
.footer__muted { color: var(--muted-2); font-size: 0.88rem; }
.footer__requisites {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.footer__requisites .footer__title { margin-bottom: 10px; }
.footer__requisites p { color: var(--muted-2); font-size: 0.86rem; line-height: 1.6; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    display: none;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(7, 11, 20, 0.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
}

/* ============================================================
   MODAL (заглушка оплаты)
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 12, 0.75);
    backdrop-filter: blur(6px);
    animation: fade 0.2s ease;
}
.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 36px 30px 28px;
    text-align: center;
    box-shadow: var(--shadow), var(--glow-violet);
    animation: pop 0.25s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
.modal__close {
    position: absolute;
    top: 14px; right: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.modal__close:hover { color: var(--text); background: var(--surface-3); }
.modal__icon { font-size: 2.6rem; margin-bottom: 12px; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 10px; }
.modal__body { color: var(--muted); font-size: 0.98rem; margin-bottom: 24px; line-height: 1.55; }
.modal__actions { margin-bottom: 14px; }
.modal__note { color: var(--muted-2); font-size: 0.85rem; }
.modal__note span { color: var(--cyan); font-weight: 600; }

.modal__form { text-align: left; }
.modal__field { margin-bottom: 16px; }
.modal__label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.modal__input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal__input::placeholder { color: var(--muted-2); }
.modal__input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(45, 212, 236, 0.15); }
.modal__submit { margin-top: 8px; }
.modal__success {
    padding: 18px 16px;
    border: 1px solid rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.08);
    color: #86efac;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ============================================================
   LEGAL (оферта)
   ============================================================ */
.legal { padding: 60px 0 80px; position: relative; z-index: 1; }
.legal__updated { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 24px; }
.legal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 28px; }
.legal__subtitle { display: block; font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.legal__intro { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); margin-bottom: 36px; }
.legal__warn { color: var(--red); }
.legal__h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 30px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 10px; }
.legal__list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 10px; }
.legal__list li { color: var(--muted); padding-left: 22px; position: relative; }
.legal__list li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }
.legal__requisites { margin-top: 40px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.legal__requisites p { color: var(--text); }
.legal__back { margin-top: 36px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { max-width: 460px; }
    .pains__grid, .services__grid, .operators__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
    .nav__links { display: none; }
    .nav.is-open .nav__links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: 124px; left: 0; right: 0;
        background: rgba(7, 11, 20, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
    }
    .nav.is-open .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--border); }
    .nav__burger { display: flex; }

    .section { padding: 48px 0; }
    .hero { padding: 200px 0 60px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 26px 18px; }
    .pricing__grid { grid-template-columns: 1fr; }
    .price-card--featured { transform: none; }
    .price-card--featured:hover { transform: translateY(-5px); }
    .steps__grid { grid-template-columns: 1fr; }
    .pains__grid, .services__grid, .operators__grid { grid-template-columns: 1fr; }
    .one-time__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .sticky-cta { display: flex; }
    body { padding-bottom: 70px; }
    .hero__actions .btn, .final-cta__actions .btn { width: 100%; }
    .hero__actions, .final-cta__actions { flex-direction: column; }
    .hero__content { text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { align-items: center; }
    .hero__visual { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
}
