/* Xeno Privat V2 - base styles, sections, responsive (extracted from index.html)
   effects live here too, sectioned by comments) */
/* ===== ДИЗАЙН-ТОКЕНЫ (монохром, как xeno.now) ===== */
:root {
    --font-main: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

    --bg: #050505;
    --bg-soft: #0a0a0a;
    --card: rgba(255, 255, 255, 0.04);
    --card-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.16);

    --text: #fafafa;
    --text-2: #d4d4d4;
    --muted: #a3a3a3;
    --faint: #6b6b6b;

    --grid-line: rgba(255, 255, 255, 0.05);
}

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

html { scroll-behavior: smooth; overflow-anchor: none; }

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

/* Сетка-фон + свечение сверху */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.12));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.12));
}
.glow-layer {
    position: fixed;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 560px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.09), transparent 65%);
    pointer-events: none;
    animation: glowBreathe 9s ease-in-out infinite;
}
.glow-layer::before, .glow-layer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.glow-layer::before {
    width: 520px; height: 520px; left: -180px; top: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
    animation: blobA 16s ease-in-out infinite alternate;
}
.glow-layer::after {
    width: 460px; height: 460px; right: -160px; top: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    animation: blobB 20s ease-in-out infinite alternate;
}
@keyframes glowBreathe { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
@keyframes blobA { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 60px) scale(1.25); } }
@keyframes blobB { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-140px, -40px) scale(0.9); } }

/* Восходящие частицы */
.bg-particles { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-particles span {
    position: absolute;
    bottom: -12px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 0 9px rgba(255,255,255,0.85);
    opacity: 0;
    animation: floatDot 13s linear infinite;
}
@keyframes floatDot {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    8% { opacity: 0.85; }
    55% { opacity: 0.45; }
    92% { opacity: 0.2; }
    100% { transform: translateY(-105vh) scale(0.6); opacity: 0; }
}

/* Полоса прогресса скролла */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.55), #ffffff);
    box-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 32px rgba(255,255,255,0.4);
    z-index: 300;
}

::selection { background: rgba(255,255,255,0.85); color: #050505; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== ШАПКА ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.88);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.18rem; color: var(--text); letter-spacing: 0.02em; }
.nav-logo .logo-badge {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 9px;
    margin-left: 2px;
    white-space: nowrap;
}
.logo-icon {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-2);
    color: #fff;
    font-size: 0.95rem;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
/* бегущий блик по кнопкам */
.btn::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -80%;
    width: 45%;
    transform: skewX(-20deg);
    pointer-events: none;
    animation: btnSheen 3.4s ease-in-out infinite;
}
.btn-primary::after { background: linear-gradient(105deg, transparent, rgba(0,0,0,0.12), transparent); }
.btn-ghost::after { background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent); }
@keyframes btnSheen {
    0% { left: -80%; }
    55%, 100% { left: 130%; }
}
.btn-primary {
    background: linear-gradient(to right, #ffffff, #e5e7e8, #ffffff);
    background-size: 200% 100%;
    color: #050505;
}
.btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 0 0 40px rgba(255,255,255,0.55), 0 0 100px rgba(255,255,255,0.25), 0 0 150px rgba(255,255,255,0.12);
    transform: translateY(-3px) scale(1.03);
}
.btn-ghost {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-2);
    color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.32); transform: translateY(-1px); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

.menu-btn {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.menu-btn:hover { background: rgba(255,255,255,0.1); }

/* ===== HERO ===== */
.hero { padding: 120px 0 88px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}
/* скан-линия, проходящая по hero */
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 240px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.045) 42%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.045) 58%, transparent);
    animation: scanDown 8s linear infinite;
    pointer-events: none;
}
@keyframes scanDown {
    0% { transform: translateY(-260px); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border-2);
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 28px;
    animation: badgeGlow 3.2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: 0 0 26px rgba(255,255,255,0.14), inset 0 0 14px rgba(255,255,255,0.05); }
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.9);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 22px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 .accent {
    color: #fff;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.7));
    background: linear-gradient(110deg, #ffffff 20%, #a3a3a3 40%, #ffffff 60%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5.5s linear infinite, accentPulse 4.5s ease-in-out infinite;
}
@keyframes accentPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.45)); }
    50% { filter: drop-shadow(0 0 28px rgba(255,255,255,0.85)); }
}
@keyframes shimmer { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }

.hero-sub {
    max-width: 640px;
    margin: 0 auto 36px;
    color: var(--muted);
    font-size: 1.08rem;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-mini {
    margin-top: 34px;
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
    color: var(--faint);
    font-size: 0.86rem;
    font-weight: 500;
}
.hero-mini span { display: inline-flex; align-items: center; gap: 7px; }
.hero-mini i { color: var(--muted); font-size: 0.78rem; }
.hero-mini .sep { color: #333; }

/* ===== СЕКЦИИ ===== */
section { position: relative; }
.section { padding: 84px 0 0; }
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.04), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.section:hover::before { opacity: 1; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; position: relative; padding-bottom: 20px; text-shadow: 0 0 40px rgba(255,255,255,0.25); }
.section-head h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    box-shadow: 0 0 16px rgba(255,255,255,0.75);
    animation: linePulse 3s ease-in-out infinite;
}
@keyframes linePulse {
    0%, 100% { width: 48px; opacity: 0.65; }
    50% { width: 104px; opacity: 1; }
}
.section-head p { color: var(--muted); font-size: 1rem; }

/* карточки */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.35s;
    position: relative;
}
.card::before, .big-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,0.09), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.card:hover::before, .big-card:hover::before { opacity: 1; }
.card:hover {
    border-color: var(--border-2);
    background: var(--card-2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px -15px rgba(255,255,255,0.2), 0 0 40px rgba(255,255,255,0.08);
}
.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 40%, transparent 60%, rgba(255,255,255,0.15));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.card:hover::after { opacity: 1; }

.icon-box {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 13px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    box-shadow: 0 0 30px rgba(255,255,255,0.12);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* ===== БОЛЬШИЕ КАРТОЧКИ (3 колонки как на xeno.now) ===== */
.big-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.35s;
    position: relative;
}

.big-card:hover {
    border-color: var(--border-2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 25px 70px -18px rgba(255,255,255,0.22), 0 0 50px rgba(255,255,255,0.1);
}
.big-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%, transparent 60%, rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.big-card:hover::after { opacity: 1; }
.big-card .card-title { display: flex; align-items: center; gap: 12px; font-size: 1.16rem; }
.big-card .card-title i {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 11px; background: rgba(255,255,255,0.07); border: 1px solid var(--border);
}
.big-card > p { color: var(--muted); font-size: 0.94rem; }

/* терминал-превью */
.terminal {
    background: #070707;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(255,255,255,0.06), inset 0 0 40px rgba(0,0,0,0.6);
}
/* скан-линии поверх терминала */
.terminal::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
    pointer-events: none;
}
.terminal-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
}
.terminal-bar .t-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.terminal-bar .t-name { margin-left: 8px; font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }
.terminal-body { padding: 16px 16px 18px; font-size: 0.78rem; line-height: 1.85; color: var(--muted); }
.terminal-body .t-w { color: #fff; font-weight: 600; }
.terminal-body .t-dim { color: #565656; }
.caret { display: inline-block; width: 7px; height: 13px; background: #fff; vertical-align: -2px; margin-left: 3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* строки-статы */
.stat-rows { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.stat-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 0.88rem;
    transition: border-color 0.25s, background 0.25s;
}
.big-card:hover .stat-row { border-color: rgba(255,255,255,0.14); }
.stat-row .s-label { color: var(--muted); font-weight: 500; }
.stat-row .s-val { color: #fff; font-weight: 700; text-align: right; text-shadow: 0 0 12px rgba(255,255,255,0.35); }
.big-card:hover .stat-row .s-val { animation: valGlow 1.6s ease-in-out infinite; }
@keyframes valGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.3); }
    50% { text-shadow: 0 0 22px rgba(255,255,255,0.8); }
}
.stat-row .s-val small { display: block; color: var(--faint); font-weight: 500; font-size: 0.72rem; }

/* аватары «недавно использовали» */
.recent-list { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.recent-item {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 14px;
}
.recent-avatar {
    width: 34px; height: 34px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.recent-item .r-name { color: var(--text-2); font-size: 0.85rem; font-weight: 600; }
.recent-item .r-meta { color: var(--faint); font-size: 0.72rem; }
.recent-item .r-status { margin-left: auto; color: var(--faint); font-size: 0.7rem; white-space: nowrap; }

/* ===== БЕЗОПАСНОСТЬ ===== */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
}
.pill-badge i { color: #fff; font-size: 0.75rem; }

/* ===== SCRIPT HUB ===== */
.code-window {
    background: #070707;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.code-header {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
}
.code-header .f-name { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.copy-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 15px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--border-2); color: #fff; }
.code-window pre {
    padding: 22px 24px;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.84rem;
    line-height: 1.8;
    color: var(--text-2);
    overflow-x: auto;
}
.code-kw { color: #fff; font-weight: 700; }
.code-fn { color: #e5e5e5; }
.code-str { color: #8f8f8f; }
.code-cm { color: #4d4d4d; font-style: italic; }

/* ===== СРАВНЕНИЕ ===== */
.table-wrap {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--card);
    overflow: hidden;
}
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.comp-table th, .comp-table td { padding: 15px 20px; text-align: left; }
.comp-table thead th {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
}
.comp-table thead th.xeno-col { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,0.45); }
.comp-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr { transition: background 0.2s; }
.comp-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.comp-table td { color: var(--muted); }
.comp-table td.xeno-col { background: rgba(255,255,255,0.045); color: var(--text-2); }
.comp-table td:first-child { color: var(--text-2); font-weight: 500; }
.mark-yes { color: #fff; margin-right: 8px; }
.mark-no { color: #4a4a4a; margin-right: 8px; }

/* ===== ТРЕБОВАНИЯ ===== */
.req-card { text-align: left; }
.req-tag {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-2);
}
.req-tag i { font-size: 0.65rem; color: #fff; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}
.faq-item.open { border-color: var(--border-2); background: var(--card-2); box-shadow: 0 0 34px -8px rgba(255,255,255,0.16), inset 0 0 24px rgba(255,255,255,0.03); }
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 19px 22px;
    background: none; border: none;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.faq-question i { color: var(--faint); transition: transform 0.3s, color 0.2s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: #fff; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.92rem; }

/* ===== ОТЗЫВЫ ===== */
.review-card { display: flex; flex-direction: column; gap: 16px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -15px rgba(255,255,255,0.12); }
.stars { color: #fff; font-size: 0.78rem; letter-spacing: 3px; text-shadow: 0 0 10px rgba(255,255,255,0.35); animation: twinkle 3.4s ease-in-out infinite; }
.review-card:nth-child(2n) .stars { animation-delay: 0.8s; }
.review-card:nth-child(3n) .stars { animation-delay: 1.6s; }
@keyframes twinkle {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.35); }
    50% { opacity: 0.72; text-shadow: 0 0 20px rgba(255,255,255,0.75); }
}
.review-text { color: var(--text-2); font-size: 0.93rem; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    color: #fff; font-size: 0.74rem; font-weight: 700;
}
.review-name { color: var(--text); font-size: 0.88rem; font-weight: 700; }
.review-role { color: var(--faint); font-size: 0.74rem; }

/* ===== СКАЧИВАНИЕ ===== */
.download-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid var(--border-2);
    border-radius: 28px;
    padding: 46px 36px 38px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}
.download-card::before {
    content: '';
    position: absolute;
    top: -140px; left: 50%;
    transform: translateX(-50%);
    width: 420px; height: 260px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12), transparent 68%);
    pointer-events: none;
}
.dl-logo {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    display: grid; place-items: center;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-2);
    box-shadow: 0 0 34px rgba(255,255,255,0.12);
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 34px rgba(255,255,255,0.12); }
    50% { box-shadow: 0 0 58px rgba(255,255,255,0.30); }
}
.dl-logo i { font-size: 1.9rem; color: #fff; filter: drop-shadow(0 0 12px rgba(255,255,255,0.6)); }
.dl-version { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.dl-version h2 { font-size: 1.5rem; }
.dl-badge {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    border: 1px solid var(--border-2);
    background: rgba(255,255,255,0.06);
    color: var(--text-2);
    border-radius: 999px;
    padding: 4px 11px;
}
.dl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.dl-feat {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 10px;
}
.dl-feat i { color: #fff; font-size: 0.95rem; margin-bottom: 7px; display: block; }
.dl-feat .f-t { color: var(--text); font-size: 0.78rem; font-weight: 700; }
.dl-feat .f-d { color: var(--faint); font-size: 0.68rem; margin-top: 2px; }
.dl-btn { width: 100%; box-shadow: 0 0 40px rgba(255,255,255,0.2), 0 0 80px rgba(255,255,255,0.08); }
.dl-steps { display: flex; justify-content: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.dl-step { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 0.78rem; }
.step-num {
    width: 20px; height: 20px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    color: var(--text-2);
    font-size: 0.66rem;
    font-weight: 700;
}
.dl-meta { margin-top: 20px; color: var(--faint); font-size: 0.74rem; }

/* ===== СООБЩЕСТВО ===== */
.community-card {
    text-align: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 46px 36px;
}
.community-card .icon-box { margin: 0 auto 18px; width: 58px; height: 58px; font-size: 1.5rem; border-radius: 17px; }
.community-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.community-card p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }

/* ===== ФУТЕР ===== */
.site-footer { margin-top: 90px; border-top: 1px solid var(--border); padding: 44px 0 34px; position: relative; overflow: hidden; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02)); }
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
    background-size: 50% 100%;
    box-shadow: 0 0 14px rgba(255,255,255,0.5);
    animation: footLine 6s linear infinite;
}
@keyframes footLine {
    0% { background-position: -60% 0; }
    100% { background-position: 160% 0; }
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.footer-tagline { color: var(--faint); font-size: 0.82rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.86rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: var(--faint); font-size: 0.8rem; }

/* ===== ТЕРМИНАЛ: ПЕЧАТАЮЩИЕСЯ СТРОКИ ===== */
.terminal-body { min-height: 168px; }
.term-line { white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: #565656; }
.t-cmd { color: #fff; font-weight: 600; }
.t-tag { color: #565656; }
.t-val { color: #fff; font-weight: 600; }
.t-ok { color: #d4d4d4; }

/* ===== ВЕРТИКАЛЬНАЯ МАРКА «ИСПОЛЬЗОВАЛ XENO» (как VD у xeno.now) ===== */
.recent-marquee {
    height: 180px;
    overflow: hidden;
    position: relative;
    margin-top: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.recent-track { animation: marqueeUp 18s linear infinite; will-change: transform; }
.recent-marquee:hover .recent-track { animation-play-state: paused; }
.recent-marquee .recent-item { margin-bottom: 10px; }
@keyframes marqueeUp { to { transform: translateY(-50%); } }

/* ===== ЦИКЛИЧНЫЕ УГЛЫ НА КАРТОЧКЕ СКАЧИВАНИЯ (как /method у xeno.now) ===== */
.corner {
    position: absolute;
    width: 26px; height: 26px;
    border: 2px solid rgba(255,255,255,0.95);
    opacity: 0.12;
    filter: drop-shadow(0 0 7px rgba(255,255,255,0.8));
    pointer-events: none;
}
.corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 10px; animation: cornerCycle 1.8s infinite; }
.corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; border-top-right-radius: 10px; animation: cornerCycle 1.8s 0.45s infinite; }
.corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 10px; animation: cornerCycle 1.8s 0.9s infinite; }
.corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; border-bottom-left-radius: 10px; animation: cornerCycle 1.8s 1.35s infinite; }
@keyframes cornerCycle { 0%, 8% { opacity: 1; } 26%, 100% { opacity: 0.12; } }

/* ===== ЧЕНДЖЛОГ (как Latest Updates у xeno.now) ===== */
.changelog { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 18px; }
.changelog-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.changelog-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--border-2); }
.changelog-toggle .chev { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); font-size: 0.7rem; color: var(--muted); }
.changelog.open .changelog-toggle .chev { transform: rotate(180deg); color: #fff; }
.changelog-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.changelog-list { list-style: none; padding: 16px 4px 0; text-align: left; }
.changelog-list li {
    position: relative;
    padding: 7px 0 7px 20px;
    color: var(--muted);
    font-size: 0.84rem;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.changelog-list li:last-child { border-bottom: none; }
.changelog-list li::before {
    content: '';
    position: absolute; left: 2px; top: 14px;
    width: 6px; height: 6px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.7);
}
.changelog-list .cl-date { color: var(--faint); font-size: 0.72rem; margin-left: 8px; }

/* ===== ГЛОБУС (как cobe у xeno.now, но Canvas2D) ===== */
.community-flex { display: flex; align-items: center; gap: 40px; text-align: left; }
.community-flex .community-text { flex: 1; }
.community-flex .community-text p { margin: 0 0 26px; }
.community-flex .community-text h2 { font-size: 1.6rem; margin-bottom: 10px; }
.globe-wrap { flex-shrink: 0; position: relative; width: 280px; height: 280px; }
.globe-wrap::before {
    content: '';
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 62%);
    animation: haloPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes haloPulse {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.09); opacity: 1; }
}
#globeCanvas { width: 280px; height: 280px; display: block; }
.users-count { color: #fff; font-weight: 800; filter: drop-shadow(0 0 8px rgba(255,255,255,0.45)); font-variant-numeric: tabular-nums; animation: countGlow 3s ease-in-out infinite; }
@keyframes countGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255,255,255,0.35)); }
    50% { filter: drop-shadow(0 0 18px rgba(255,255,255,0.75)); }
}

/* ============================================================
   REVEAL-АНИМАЦИИ — премиум-система появления
   (короткие вставки направлений; длительность плавная, expo-out)
   Глушится prefers-reduced-motion (глобально) и perf-lite.
   ============================================================ */
:root { --reveal-ease: cubic-bezier(.16,1,.3,1); --reveal-dur: 0.9s; }

.reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
    filter: blur(8px);
    transition: opacity var(--reveal-dur) var(--reveal-ease),
                transform var(--reveal-dur) var(--reveal-ease),
                filter var(--reveal-dur) var(--reveal-ease);
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* Разные "входы" по типу элемента — премиум-разнообразие без правки HTML */

/* Заголовки секций: мягкое падение сверху + лёгкий зум */
.section-head.reveal:not(.visible) { transform: translateY(-26px) scale(0.985); }

/* Таблица и код-окно: выразительный zoom-in с blur */
.table-wrap.reveal:not(.visible),
.code-window.reveal:not(.visible) { transform: scale(0.93); }

/* Карточки скачивания / сообщества / большие: эффектный подъём с масштабом */
.download-card.reveal:not(.visible),
.community-card.reveal:not(.visible),
.big-card.reveal:not(.visible) { transform: translateY(44px) scale(0.94); }

/* FAQ: мягкий выезд слева */
.faq-item.reveal:not(.visible) { transform: translateX(-30px); }

/* Отзывы и требования: лёгкий подъём с лёгким "пролётом" */
.review-card.reveal:not(.visible),
.req-card.reveal:not(.visible) { transform: translateY(40px) scale(0.96); }

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5,5,5,0.97);
        border-bottom: 1px solid var(--border);
        padding: 14px 20px 20px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .menu-btn { display: grid; place-items: center; }
    .nav-cta-text { display: none; }
}
@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 48px; }
    .section { padding: 60px 0 0; }
    .dl-features { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-cta .btn { width: 100%; }
    .community-flex { flex-direction: column-reverse; text-align: center; gap: 20px; }
    .globe-wrap, #globeCanvas { width: 210px; height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===== КНОПКА "НАВЕРХ" ===== */
.to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 150;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--border-2);
    color: #fafafa;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.18);
}
.to-top:active { transform: scale(0.94); }

/* ===== ДОСТУПНОСТЬ: ВИДИМЫЙ ФОКУС С КЛАВИАТУРЫ ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ============================================================
   КОСМО-ПАКЕТ: звёздное поле, метеоры, шум, орбита hero,
   параллакс-уход, кромка-курсор, scrollspy, маяк, boot-интро.
   Только transform/opacity; глушится prefers-reduced-motion
   (глобальный блок выше) и html.perf-lite (FPS-сторож в JS).
   ============================================================ */

/* --- Звёздное поле (canvas за всем контентом) --- */
.starfield {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.4s ease;
}
.starfield.ready { opacity: 1; }
html.perf-lite .starfield { opacity: 0.55; } /* JS остановит rAF, останется статичный кадр */

/* --- Плёночный шум поверх всего (статичная SVG-текстура) --- */
.noise-layer {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}

/* --- Орбитальные кольца в hero (r2 — наклонённая орбита со спутником) --- */
.orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.orbit-ring {
    position: absolute;
    left: 50%;
    top: 44%;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}
.orbit-r1 { width: min(620px, 115vw); height: min(620px, 115vw); transform: translate(-50%, -50%); }
.orbit-r2 {
    width: min(880px, 160vw);
    height: min(880px, 160vw);
    border-color: rgba(255, 255, 255, 0.13);
    animation: orbitSpin 52s linear infinite;
}
@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0deg); }
    to   { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); }
}
.orbit-dot {
    position: absolute;
    top: -3px;
    left: 50%;
    margin-left: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 26px rgba(255, 255, 255, 0.45);
}
.hero > .container { position: relative; z-index: 1; }
html.perf-lite .orbit-r2 { animation: none; }

/* --- Светящаяся кромка карточек за курсором (координаты --mx/--my ставит JS) --- */
.faq-item, .community-card { position: relative; }
.card::after,
.big-card::after,
.faq-item::after,
.download-card::after,
.community-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 45%, transparent 72%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.card:hover::after,
.big-card:hover::after,
.faq-item:hover::after,
.download-card:hover::after,
.community-card:hover::after { opacity: 1; }

/* ============================================================
   3D-TILT карточек при наведении + глобальный параллакс слоёв
   (JS пишет transform на [data-tilt], translate-свойство для
   [data-depth]. Не конфликтует с reveal: tilt активен только
   когда карточка уже видима (.visible). Отключается при
   prefers-reduced-motion и на touch-устройствах.)
   ============================================================ */
[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}
.tilt-live {
    transition: transform 0.16s cubic-bezier(.16, 1, .3, 1) !important;
    will-change: transform;
}
/* "pop" содержимого вглубь 3D-сцены (не влияет на layout) */
[data-tilt].tilt-live > .icon-box,
[data-tilt].tilt-live > h3,
[data-tilt].tilt-live > p,
[data-tilt].tilt-live > .card-title,
[data-tilt].tilt-live > .card-num,
[data-tilt].tilt-live > .stat-rows,
[data-tilt].tilt-live > .dl-logo,
[data-tilt].tilt-live > .dl-features,
[data-tilt].tilt-live > .drag-zone,
[data-tilt].tilt-live > .community-text {
    transform-style: preserve-3d;
    transform: translateZ(26px);
}

@media (hover: hover) and (pointer: fine) {
    /* базовое положение до наведения */
    [data-tilt] { transition: transform 0.3s cubic-bezier(.16, 1, .3, 1); }
}

@media (prefers-reduced-motion: reduce) {
    [data-tilt], [data-tilt].tilt-live { transform: none !important; transition: none !important; }
    [data-tilt].tilt-live > * { transform: none !important; }
}

/* ============================================================
   СВЕТОВОЙ ПРОЖЕКТОР СТРОГО ЗА КУРСОРОМ
   (#cursorGlow позиционируется ровно под мышью через --cgx/--cgy.
   Экология: только translate, отключается при reduced-motion.)
   ============================================================ */
.cursor-glow {
    position: fixed;
    top: -70px;
    left: -70px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035) 45%, transparent 70%);
    pointer-events: none;
    translate: var(--cgx, 0px) var(--cgy, 0px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 60;
}
html.cursor-on .cursor-glow { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .cursor-glow { display: none; }
}

/* --- Scrollspy: активный раздел в меню --- */
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* --- Монохромный скроллбар --- */
html { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.28) #050505; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 99px; border: 2px solid #050505; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.42); }

/* --- Press-состояния кнопок --- */
.btn:active { transform: translateY(0) scale(0.97); }
.copy-btn:active, .changelog-toggle:active, .menu-btn:active { transform: scale(0.95); }

/* --- Маяк-радар у кнопки скачивания --- */
.dl-btn-wrap { position: relative; width: 100%; }
.dl-btn-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    pointer-events: none;
    animation: beacon 3.4s cubic-bezier(0.2, 0.55, 0.4, 1) infinite;
}
@keyframes beacon {
    0% { opacity: 0.7; transform: scale(1); }
    70%, 100% { opacity: 0; transform: scale(1.28, 1.85); }
}
html.perf-lite .dl-btn-wrap::before { animation: none; opacity: 0; }

/* --- Числа-статы (count-up) --- */
.s-num { font-variant-numeric: tabular-nums; }

/* --- Boot-интро (показывает только JS, один раз за сессию) --- */
.boot {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #050505;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.boot.on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.boot-bolt { width: 56px; height: 56px; }
.bolt-fill {
    fill: #fff;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    animation: bootFill 0.3s ease 0.55s forwards;
}
.bolt-stroke {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: bootDraw 0.55s ease-out forwards;
}
@keyframes bootDraw { to { stroke-dashoffset: 0; } }
@keyframes bootFill { to { opacity: 1; } }
.boot-bar {
    width: 130px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.boot-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    animation: bootBar 0.8s ease-out forwards;
}
@keyframes bootBar { to { width: 100%; } }

/* ============================================================
   ПОЛИШ V3 (2026-08-23): вордмарка XENO в hero и футере,
   бегущая строка-бренд, оверлайны секций, номера карточек,
   пилюли мини-статов hero, звёзды-иконки, микро-ховеры.
   Только transform/opacity/цвет; глушится prefers-reduced-motion
   (глобальный блок выше) и html.perf-lite.
   ============================================================ */

/* --- Гигантская контурная вордмарка за контентом hero --- */
.hero { overflow: hidden; }
.hero-word {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(150px, 32vw, 460px);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    animation: wordDrift 16s ease-in-out infinite alternate;
}
@keyframes wordDrift {
    from { transform: translate(-50%, -50%) translateX(-18px); }
    to   { transform: translate(-50%, -50%) translateX(18px); }
}
html.perf-lite .hero-word { animation: none; }

/* --- Бегущая строка-бренд между hero и возможностями --- */
.brand-strip {
    overflow: hidden;
    padding: 24px 0 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.brand-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: brandScroll 30s linear infinite;
    will-change: transform;
}
.brand-strip:hover .brand-track { animation-play-state: paused; }
.brand-item {
    margin-right: 38px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}
.brand-item.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
}
.brand-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    margin-right: 38px;
    flex-shrink: 0;
}
@keyframes brandScroll { to { transform: translateX(-50%); } }
html.perf-lite .brand-track { animation-play-state: paused; }

/* --- Оверлайны секций: номер + тема над заголовком --- */
.section-head .overline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 16px;
}
.section-head .overline::before,
.section-head .overline::after {
    content: '';
    width: 28px;
    height: 1px;
}
.section-head .overline::before { background: linear-gradient(to left, rgba(255, 255, 255, 0.45), transparent); }
.section-head .overline::after { background: linear-gradient(to right, rgba(255, 255, 255, 0.45), transparent); }

/* --- Номера 01–06 на карточках возможностей --- */
.card .card-num {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.13);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s, text-shadow 0.25s;
}
.card:hover .card-num {
    color: rgba(255, 255, 255, 0.42);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
}

/* --- Иконки карточек: микро-подъём, пружинка и свечение при hover + мягкий фоновый пульс --- */
.card .icon-box {
    position: relative;
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
    animation: iconBreath 4.5s ease-in-out infinite;
}
.card .icon-box i { transition: transform 0.3s cubic-bezier(.34,1.56,.64,1); }
.card:hover .icon-box {
    transform: translateY(-2px) scale(1.06);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.18), inset 0 0 14px rgba(255, 255, 255, 0.08);
    animation: none;
}
.card:hover .icon-box i { transform: scale(1.1); }
@keyframes iconBreath {
    0%, 100% { box-shadow: 0 0 6px rgba(255, 255, 255, 0.05), inset 0 0 4px rgba(255, 255, 255, 0.02); }
    50% { box-shadow: 0 0 16px rgba(255, 255, 255, 0.12), inset 0 0 8px rgba(255, 255, 255, 0.04); }
}
.big-card .card-title i {
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
    animation: iconBreath 5s ease-in-out infinite;
}
.big-card:hover .card-title i {
    transform: scale(1.09);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.16);
    animation: none;
}
/* --- ПРЕ-ЛОАДЕР ГЕРО-КОНТЕНТА: многослойный каскад при загрузке (не скролл) --- */
#heroStage .reveal { opacity: 1; transform: none; filter: none; animation: heroIn 1s var(--reveal-ease) both; }
#heroStage .hero-badge { animation-delay: .10s; }
#heroStage h1 { animation-delay: .24s; }
#heroStage .hero-sub { animation-delay: .42s; }
#heroStage .hero-cta { animation-delay: .60s; }
#heroStage .hero-mini { animation-delay: .78s; }
@keyframes heroIn {
    0% { opacity: 0; transform: translateY(38px) scale(0.97); filter: blur(10px); }
    100% { opacity: 1; transform: none; filter: none; }
}

/* --- Hero: чуть крупнее заголовок, мини-статы пилюлями --- */
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.45rem); }
.hero-mini { gap: 10px; }
.hero-mini > span:not(.sep) {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--muted);
    transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}
.hero-mini > span:not(.sep):hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-2);
    transform: translateY(-1px);
}
.hero-mini .sep { display: none; }
.hero-mini i { color: #fff; }

/* --- Отзывы: звёзды иконками FA вместо текстовых ★ --- */
.review-card .stars { display: flex; gap: 4px; letter-spacing: 0; font-size: 0; }
.review-card .stars i {
    font-size: 0.72rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* --- Контурная вордмарка в футере (выползает из нижней кромки) --- */
.footer-word {
    position: absolute;
    bottom: -0.16em;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(110px, 20vw, 280px);
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* --- Терминал: свечение рамки при hover --- */
.terminal { transition: border-color 0.3s, box-shadow 0.3s; }
.terminal:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 34px -8px rgba(255, 255, 255, 0.16);
}

/* --- Таблица: хайрлайны колонки Xeno + светлая линия под заголовком --- */
.comp-table thead th.xeno-col,
.comp-table td.xeno-col {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.comp-table thead th.xeno-col { box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.55); }

/* --- FAQ: мягкий hover у закрытых пунктов --- */
.faq-item:not(.open):hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--card-2);
}

/* --- Адаптив для новых элементов --- */
@media (max-width: 640px) {
    .hero-word { font-size: clamp(120px, 44vw, 220px); top: 42%; }
    .brand-item { font-size: 0.82rem; margin-right: 26px; }
    .brand-dot { margin-right: 26px; }
    .hero-mini > span:not(.sep) { padding: 7px 13px; font-size: 0.78rem; }
}
