/* ============================================================
   АЎТАРКЕЯ CRM — сайт-визитка crm.autarkea.by
   Стиль: тёмный #0f1419 + оранжевый акцент (семья autarkea.by)
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
    --dark: #0f1419;
    --dark-2: #121820;
    --dark-3: #1a212b;
    --card: rgba(255, 255, 255, 0.035);
    --card-solid: #151c25;
    --line: rgba(255, 255, 255, 0.08);
    --line-soft: rgba(255, 255, 255, 0.05);
    --accent: #e8833a;
    --accent-hi: #f79a55;
    --accent-deep: #b85f24;
    --glow: rgba(232, 131, 58, 0.45);
    --white: #f5f3ef;
    --muted: rgba(245, 243, 239, 0.64);
    --faint: rgba(245, 243, 239, 0.45);
    --ok: #7ecb8f;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --neon-text: 0 0 14px rgba(232, 131, 58, 0.55);
    --neon-card: 0 0 44px rgba(232, 131, 58, 0.18);
    --neon-strong: 0 0 60px rgba(232, 131, 58, 0.5);
}

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

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-hi); text-decoration: none; }
ul { list-style: none; }
b, strong { font-weight: 700; }
::selection { background: rgba(232, 131, 58, 0.35); }

/* ---------- LAYOUT UTILITIES ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 0 14px rgba(232, 131, 58, 0.6);
}

.section-title {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}
.section-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 52px;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep));
    color: #1a0e04;
    box-shadow: 0 8px 30px rgba(232, 131, 58, 0.35), 0 0 24px rgba(232, 131, 58, 0.3);
    animation: btnPulse 3.5s ease-in-out infinite;
}
.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(232, 131, 58, 0.5), 0 0 56px rgba(232, 131, 58, 0.55);
    animation: none;
    transform: translateY(-2px);
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(232, 131, 58, 0.3), 0 0 20px rgba(232, 131, 58, 0.22); }
    50% { box-shadow: 0 8px 34px rgba(232, 131, 58, 0.45), 0 0 44px rgba(232, 131, 58, 0.45); }
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-hi);
    box-shadow: 0 0 26px rgba(232, 131, 58, 0.3);
    text-shadow: 0 0 12px rgba(232, 131, 58, 0.5);
}

.btn-lg { padding: 17px 34px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(15, 20, 25, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-word { font-size: 21px; font-weight: 800; letter-spacing: 2.5px; color: var(--white); }
.logo-word .u { color: var(--accent); text-shadow: 0 0 12px rgba(232, 131, 58, 0.85), 0 0 30px rgba(232, 131, 58, 0.4); animation: logoGlow 4s ease-in-out infinite; }
@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(232, 131, 58, 0.7), 0 0 26px rgba(232, 131, 58, 0.35); }
    50% { text-shadow: 0 0 16px rgba(232, 131, 58, 1), 0 0 44px rgba(232, 131, 58, 0.65); }
}
.logo-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent);
    border: 1px solid rgba(232, 131, 58, 0.55);
    padding: 3px 8px;
    border-radius: 6px;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(232, 131, 58, 0.25), inset 0 0 12px rgba(232, 131, 58, 0.12);
    text-shadow: 0 0 10px rgba(232, 131, 58, 0.7);
}

.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--accent-hi); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.tg-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tg-pill:hover { border-color: var(--accent); color: var(--accent-hi); box-shadow: 0 0 30px rgba(232, 131, 58, 0.35); text-shadow: 0 0 12px rgba(232, 131, 58, 0.4); }
.tg-pill svg { flex-shrink: 0; }

/* Бургер-меню (показывается на мобильных) */
.burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.burger:hover { border-color: var(--accent); box-shadow: 0 0 18px rgba(232, 131, 58, 0.2); }
.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s;
}
.burger:hover span { background: var(--accent-hi); }
.header.nav-open .burger { border-color: var(--accent); }
.header.nav-open .burger span { background: var(--accent-hi); }
.header.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .burger span:nth-child(2) { opacity: 0; }
.header.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 84px 0 76px;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(232, 131, 58, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 131, 58, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 380px at 18% 12%, rgba(232, 131, 58, 0.15), transparent 65%),
        radial-gradient(500px 300px at 85% 20%, rgba(232, 131, 58, 0.1), transparent 60%),
        radial-gradient(600px 360px at 88% 88%, rgba(232, 131, 58, 0.09), transparent 60%),
        radial-gradient(ellipse at center, transparent 45%, var(--dark) 100%);
    pointer-events: none;
}
.hero::after {
    content: 'Ў';
    position: absolute;
    right: -30px;
    bottom: -110px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 460px;
    line-height: 1;
    color: rgba(232, 131, 58, 0.05);
    text-shadow: 0 0 90px rgba(232, 131, 58, 0.15);
    pointer-events: none;
    user-select: none;
}

/* Светящиеся орбы в hero */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(55px);
    opacity: 0.28;
    animation: orbFloat 16s ease-in-out infinite;
}
.orb--1 {
    width: 360px;
    height: 360px;
    top: -130px;
    left: -120px;
    background: radial-gradient(circle, rgba(232, 131, 58, 0.55), transparent 70%);
}
.orb--2 {
    width: 300px;
    height: 300px;
    bottom: -90px;
    right: 4%;
    background: radial-gradient(circle, rgba(232, 131, 58, 0.4), transparent 70%);
    animation-delay: -7s;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.14;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
    text-shadow: 0 0 30px rgba(232, 131, 58, 0.1);
}
.hero h1 .hl {
    background: linear-gradient(120deg, var(--accent-hi), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 13px rgba(232, 131, 58, 0.3)) drop-shadow(0 0 32px rgba(232, 131, 58, 0.14));
}
.hero-desc { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 22px; }
.hero-desc b { color: var(--white); font-weight: 600; }
.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--faint);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 26px;
}
.stat b { display: block; font-size: 24px; font-weight: 800; color: var(--accent-hi); line-height: 1.2; text-shadow: 0 0 14px rgba(232, 131, 58, 0.22); }
.stat span { font-size: 13px; color: var(--faint); }

/* Hero visual: окно со скриншотом + плавающие подсказки */
.hero-visual { position: relative; }
.hero-visual .pulse {
    position: absolute;
    inset: -6%;
    border-radius: 28px;
    background: radial-gradient(300px 220px at 70% 20%, rgba(232, 131, 58, 0.11), transparent 70%);
    filter: blur(6px);
    z-index: 0;
    animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.85; }
}

/* Скриншот в hero: «телефон/планшет» - корпус снаружи + кант 4px поверх экрана */
.phone {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    margin: 0 auto;
    background: #080b0f;
    border: 1px solid rgba(245, 243, 239, 0.18);
    border-radius: 20px;
    padding: 9px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 44px rgba(232, 131, 58, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-visual:hover .phone {
    transform: translateY(-3px);
    box-shadow: var(--shadow), 0 0 64px rgba(232, 131, 58, 0.22);
}
.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.phone::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 4px solid #080b0f;
    border-radius: 12px;
    pointer-events: none;
}

.chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 220px;
    background: rgba(18, 24, 32, 0.92);
    border: 1px solid rgba(232, 131, 58, 0.5);
    border-radius: 13px;
    padding: 8px 13px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(232, 131, 58, 0.14);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    animation: floaty 6s ease-in-out infinite;
}
.chip-ico { font-size: 19px; line-height: 1; flex-shrink: 0; }
.chip-ico.ok { color: var(--ok); }
.chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.chip-text b { font-size: 12.5px; font-weight: 700; color: var(--white); white-space: nowrap; }
.chip-text small { font-size: 11px; color: var(--faint); white-space: nowrap; }
.chip-1 { top: 6%; right: -6%; }
.chip-2 { bottom: 4%; left: -7%; animation-delay: -2.5s; }
.chip-3 { top: 42%; right: -8%; animation-delay: -1.2s; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================================
   PAINS («Знакомо?»)
   ============================================================ */
.pains { background: var(--dark-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { border-color: rgba(232, 131, 58, 0.55); transform: translateY(-4px); box-shadow: 0 0 40px rgba(232, 131, 58, 0.14); }
.pain-emoji { font-size: 34px; margin-bottom: 16px; }
.pain-card p { color: var(--muted); font-size: 15.5px; }
.pain-card p b { color: var(--white); }

.author-quote {
    margin-top: 44px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(232, 131, 58, 0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 22px 26px;
}
.author-quote .qm { font-size: 40px; line-height: 1; color: var(--accent); font-family: Georgia, serif; }
.author-quote p { color: var(--muted); font-size: 16px; font-style: italic; }
.author-quote b { color: var(--white); font-style: normal; }

/* ============================================================
   SHOWCASE («Как это выглядит»)
   ============================================================ */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot {
    background: var(--dark-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.shot:hover { transform: translateY(-4px); border-color: rgba(232, 131, 58, 0.55); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 44px rgba(232, 131, 58, 0.14); }
.shot-figure { position: relative; background: #0b0f14; }
.shot-figure img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.shot-caption { padding: 14px 18px 16px; }
.shot-caption b { display: block; font-size: 15px; margin-bottom: 3px; }
.shot-caption span { font-size: 13px; color: var(--faint); }

/* Кликабельный скриншот + подсказка-лупа */
.shot-zoom { display: block; cursor: zoom-in; }
.shot-zoom::after {
    content: '⤢';
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 20, 25, 0.78);
    border: 1px solid rgba(232, 131, 58, 0.6);
    color: var(--accent-hi);
    border-radius: 10px;
    font-size: 19px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    box-shadow: 0 0 18px rgba(232, 131, 58, 0.25);
}
.shot:hover .shot-zoom::after { opacity: 1; transform: translateY(0); }
@media (hover: none) {
    .shot-zoom::after { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(232, 131, 58, 0.55); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 50px rgba(232, 131, 58, 0.16); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-emoji { font-size: 30px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: 0.2px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }
.feature-card p b { color: var(--accent-hi); font-weight: 600; }

/* ============================================================
   TELEGRAM BAND («Работает там, где вы уже общаетесь»)
   ============================================================ */
.tg-band {
    background: var(--dark-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
}
.tg-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 260px at 85% 50%, rgba(232, 131, 58, 0.2), transparent 70%),
                radial-gradient(400px 220px at 10% 20%, rgba(232, 131, 58, 0.1), transparent 60%);
    pointer-events: none;
}
.tg-band-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.tg-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.tg-band p { color: var(--muted); font-size: 16px; }
.tg-band p b { color: var(--white); }

.wins { display: grid; gap: 14px; }
.win {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-size: 15px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.win:hover { border-color: rgba(232, 131, 58, 0.5); box-shadow: 0 0 30px rgba(232, 131, 58, 0.12); }
.win .ok { color: var(--ok); font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.win span { color: var(--muted); }
.win b { color: var(--white); }

/* ============================================================
   AUTHOR («Кто это сделал»)
   ============================================================ */
.author-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: start;
}
.author-story p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.author-story p b { color: var(--white); }
.author-facts { display: grid; gap: 14px; }
.fact {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    font-size: 15px;
}
.fact .ico { font-size: 22px; flex-shrink: 0; }
.fact span { color: var(--muted); }
.fact b { color: var(--white); }

/* ============================================================
   AUDIENCE / LIMITS
   ============================================================ */
.audience {
    background: var(--dark-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-item {
    display: flex;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
}
.audience-item .ico { font-size: 26px; flex-shrink: 0; }
.audience-item b { display: block; margin-bottom: 4px; }
.audience-item span { color: var(--muted); font-size: 14.5px; }

.limits-note {
    margin-top: 34px;
    background: rgba(232, 131, 58, 0.05);
    border: 1px dashed rgba(232, 131, 58, 0.35);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.limits-note .ico { font-size: 26px; flex-shrink: 0; }
.limits-note p { color: var(--muted); font-size: 15px; }
.limits-note p b { color: var(--accent-hi); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    background: var(--card-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(232, 131, 58, 0.45); }
.plan--hit {
    border-color: rgba(232, 131, 58, 0.85);
    box-shadow: 0 0 70px rgba(232, 131, 58, 0.22), 0 24px 60px rgba(0, 0, 0, 0.4);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep));
    color: #1a0e04;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 0 26px rgba(232, 131, 58, 0.55);
}
.plan-name { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 10px; text-shadow: 0 0 14px rgba(232, 131, 58, 0.45); }
.plan-price { font-size: 34px; font-weight: 800; line-height: 1.15; margin-bottom: 4px; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--faint); }
.plan-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: flex-start; }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 700; flex-shrink: 0; }
.plan li b { color: var(--white); }
.plan .btn { margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
details.faq {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}
details.faq[open] { border-color: rgba(232, 131, 58, 0.6); box-shadow: 0 0 36px rgba(232, 131, 58, 0.1); }
details.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    padding: 19px 22px;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    user-select: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    transition: transform 0.2s;
    flex-shrink: 0;
    text-shadow: 0 0 14px rgba(232, 131, 58, 0.8);
}
details.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-body b { color: var(--white); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
    background: var(--dark-2);
    border-top: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(560px 300px at 50% 0%, rgba(232, 131, 58, 0.3), transparent 70%),
                radial-gradient(420px 240px at 85% 100%, rgba(232, 131, 58, 0.14), transparent 65%);
    pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.cta-final p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.cta-final p b { color: var(--white); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 34px; font-size: 14px; color: var(--faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); background: var(--dark); padding: 44px 0 36px; }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 22px;
}
.footer-brand p { color: var(--faint); font-size: 14px; max-width: 380px; margin-top: 12px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--faint); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-hi); }
.footer-requisites {
    border-top: 1px solid var(--line-soft);
    margin-top: 24px;
    padding-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--faint);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--faint);
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--accent-hi); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
body.no-scroll { overflow: hidden; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vh 3vw;
    background: rgba(5, 8, 12, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-figure img {
    width: auto;
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 131, 58, 0.08);
    object-fit: contain;
}
.lightbox-figure figcaption {
    color: var(--muted);
    text-align: center;
    padding: 16px 0 0;
    font-size: 14px;
    max-width: 720px;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    color: var(--white);
    font-size: 19px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lightbox-close:hover {
    border-color: var(--accent);
    color: var(--accent-hi);
    box-shadow: 0 0 22px rgba(232, 131, 58, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 640px; }
    .chip-1 { right: 2%; }
    .chip-2 { left: 2%; }
    .features-grid, .showcase-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pains-grid { grid-template-columns: repeat(2, 1fr); }
    .author-grid, .tg-band-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 768px) {
    .section { padding: 68px 0; }
    .hero { padding: 56px 0 60px; }
    .burger { display: flex; }
    .header-inner { gap: 12px; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55);
        padding: 6px 24px 16px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 190;
    }
    .header.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
    .nav a:last-child { border-bottom: none; }
    .pains-grid, .features-grid, .showcase-grid, .pricing-grid, .audience-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .plan--hit { transform: none; }
    .plan:hover { transform: translateY(-4px); }
    .footer-top { flex-direction: column; gap: 24px; }
}

/* Компактный hero на невысоких экранах (ноутбуки) */
@media (min-width: 1025px) and (max-height: 960px) {
    .hero { padding: 48px 0 44px; }
    .hero-grid { gap: 40px; }
}
@media (min-width: 1025px) and (max-height: 880px) {
    .hero { padding: 32px 0 28px; }
    .phone { width: min(410px, 100%); }
    .hero h1 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 16px; }
    .hero-desc { margin-bottom: 16px; }
    .hero-trust { margin-bottom: 18px; }
    .hero-cta { margin-bottom: 24px; }
    .hero-stats { padding-top: 18px; }
}
@media (min-width: 1025px) and (max-height: 740px) {
    .hero { padding: 26px 0 22px; }
    .phone { width: min(380px, 100%); }
    .hero-stats { display: none; }
    .hero-trust { margin-bottom: 16px; }
    .hero-cta { margin-bottom: 22px; }
}

@media (max-width: 480px) {
    .hero-cta .btn { width: 100%; }
    .cta-buttons .btn { width: 100%; }
    .container { padding: 0 18px; }
    .chip { display: none; }
    .lightbox { padding: 0; }
    .lightbox-figure img { max-height: 86vh; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}




