/* ============================================================
   Server Status — лендинг
   Направление: obsidian + acid lime, крупная типографика,
   плавающая стеклянная навигация, bento и вложенные карточки.
   ============================================================ */

:root {
    --ink: #050607;
    --ink-2: #090b0e;
    --shell: rgba(255, 255, 255, 0.045);
    --card: #0e1116;
    --card-2: #11151b;
    --paper: #f2f1e9;
    --muted: #98a29e;
    --faint: #6b7571;
    --lime: #c9f56b;
    --lime-deep: #a9d94b;
    --line: rgba(242, 241, 233, 0.09);
    --line-strong: rgba(242, 241, 233, 0.16);
    --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
    --r-xl: 34px;
    --r-lg: 26px;
    --r-md: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.landing {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
    overflow-x: hidden;
}

.landing ::selection { background: var(--lime); color: #0a0d08; }

.landing h1,
.landing h2,
.landing h3 {
    font-family: var(--font-display);
    color: var(--paper);
}

body.landing::before { content: none; }

.landing .muted { color: var(--muted); }
.landing code {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.86em;
    color: var(--lime);
    background: rgba(201, 245, 107, 0.08);
    border: 1px solid rgba(201, 245, 107, 0.16);
    border-radius: 6px;
    padding: 1px 5px;
}

/* ---------- фон ---------- */

.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.orb-a {
    width: 620px;
    height: 620px;
    top: -260px;
    left: -160px;
    background: radial-gradient(circle, rgba(201, 245, 107, 0.24), transparent 68%);
}

.orb-b {
    width: 720px;
    height: 720px;
    top: 60px;
    right: -320px;
    background: radial-gradient(circle, rgba(88, 150, 255, 0.16), transparent 68%);
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(242, 241, 233, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 241, 233, 0.035) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, black 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, black 20%, transparent 78%);
}

.grain {
    position: fixed;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- навигация ---------- */

.nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1140px, calc(100% - 32px));
    z-index: 50;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 11, 14, 0.6);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav.is-scrolled {
    background: rgba(9, 11, 14, 0.92);
    border-color: rgba(201, 245, 107, 0.18);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: none;
    margin: 0;
    padding: 9px 10px 9px 16px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    flex: none;
    object-fit: contain;
    background: none;
    box-shadow: 0 6px 18px rgba(56, 182, 255, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-text small {
    font-family: var(--font-body);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: 8px;
    font-size: 13.5px;
    color: var(--muted);
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    color: var(--muted);
    transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.icon-btn svg { width: 18px; height: 18px; }

.icon-btn:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line);
}

/* ---------- кнопки ---------- */

.landing .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 13px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.55s var(--spring), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.55s var(--ease);
}

.landing .btn:active { transform: scale(0.975); }

.landing .btn-sm {
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
}

/* Иконка Discord и кнопки шапки — одной высоты в 42px. */
.nav-actions .icon-btn {
    width: 42px;
    height: 42px;
}

.landing .btn-primary {
    background: var(--lime);
    color: #0a0d08;
    border-color: var(--lime);
    box-shadow: 0 12px 34px rgba(201, 245, 107, 0.16);
}

.landing .btn-primary:hover {
    background: #d7ff85;
    border-color: #d7ff85;
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(201, 245, 107, 0.24);
}

.landing .btn-ghost {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--line);
    color: var(--paper);
}

.landing .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

/* Свечение вокруг лаймовой кнопки в шапке читалось как лишняя высота. */
.nav-actions .btn-primary,
.nav-actions .btn-primary:hover {
    box-shadow: none;
}

.btn-orb {
    width: 28px;
    height: 28px;
    margin: -4px -6px -4px 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(5, 6, 7, 0.12);
    font-size: 14px;
    line-height: 1;
    transition: transform 0.55s var(--spring), background 0.4s var(--ease);
}

.btn-primary:hover .btn-orb {
    transform: translate(2px, -2px) scale(1.06);
    background: rgba(5, 6, 7, 0.18);
}

.landing .btn-sm .btn-orb {
    width: 26px;
    height: 26px;
    margin-right: -10px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 172px 24px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(201, 245, 107, 0.5);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 245, 107, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(201, 245, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 245, 107, 0); }
}

.hero h1 {
    margin: 22px 0 22px;
    font-size: clamp(40px, 4.6vw, 64px);
    font-weight: 600;
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.hero h1 .accent { color: var(--lime); }

.hero .lead {
    max-width: 47ch;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 34px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-meta span { position: relative; }

.hero-meta span + span::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--faint);
}

/* ---------- макет статуса ---------- */

.hero-art { position: relative; }

.hero-art::before {
    content: "";
    position: absolute;
    inset: -18% -12%;
    background: radial-gradient(circle at 55% 45%, rgba(201, 245, 107, 0.13), transparent 62%);
    filter: blur(20px);
    pointer-events: none;
}

.deck-shell {
    position: relative;
    padding: 8px;
    border-radius: var(--r-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
}

.deck {
    border-radius: calc(var(--r-xl) - 8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        radial-gradient(120% 90% at 80% 0%, rgba(201, 245, 107, 0.07), transparent 55%),
        linear-gradient(180deg, #10141a, #0a0d11);
    padding: 16px;
    overflow: hidden;
}

.deck-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--faint);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lime);
}

.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
}

.deck-channel { color: var(--muted); letter-spacing: 0.02em; text-transform: none; font-size: 12px; }
.deck-sync { margin-left: auto; }

/* Переключатель периода статистики в мок-сообщении. */
.deck-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 4px 0;
}

.deck-filter button {
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    color: var(--faint);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.deck-filter button:hover { color: var(--paper); }

.deck-filter button.active {
    color: var(--lime);
    background: rgba(201, 245, 107, 0.1);
    border-color: rgba(201, 245, 107, 0.2);
}

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.028);
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.mock-row:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--line);
}

.mock-name {
    color: var(--paper);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30ch;
}

.mock-main { min-width: 0; flex: 1 1 auto; }

.mock-meta {
    margin-top: 2px;
    color: var(--faint);
    font-size: 11px;
    font-weight: 500;
}

.mock-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.mock-spark {
    flex: none;
    width: 84px;
    height: 20px;
    color: var(--lime);
}

.mock-count {
    flex: none;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(201, 245, 107, 0.1);
    border: 1px solid rgba(201, 245, 107, 0.18);
    color: var(--lime);
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.mock-count.muted {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    color: var(--faint);
}

.deck-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 10px 4px 0;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.deck-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
}

.deck-bars i {
    width: 3px;
    border-radius: 2px;
    background: rgba(201, 245, 107, 0.5);
    animation: bars 2.4s var(--ease) infinite;
}

.deck-bars i:nth-child(1) { height: 5px; animation-delay: 0s; }
.deck-bars i:nth-child(2) { height: 9px; animation-delay: 0.15s; }
.deck-bars i:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.deck-bars i:nth-child(4) { height: 7px; animation-delay: 0.45s; }
.deck-bars i:nth-child(5) { height: 10px; animation-delay: 0.6s; }

@keyframes bars {
    0%, 100% { transform: scaleY(0.55); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- статистика ---------- */

.stats-strip {
    max-width: 1180px;
    margin: 11px auto 0;
    padding: 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    position: relative;
    padding: 26px 22px 22px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    overflow: hidden;
}

.stat-index {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    margin-top: 10px;
    max-width: 16ch;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.stat-card:first-child {
    background: linear-gradient(150deg, #d7ff85, var(--lime) 55%, #b6e94f);
    border-color: transparent;
    color: #0a0d08;
}

.stat-card:first-child .stat-value { color: #0a0d08; }
.stat-card:first-child .stat-label { color: rgba(10, 13, 8, 0.65); font-weight: 600; }
.stat-card:first-child .stat-index { color: rgba(10, 13, 8, 0.45); }

/* ---------- секции ---------- */

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 142px 24px 0;
    scroll-margin-top: 110px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.section-head h2 {
    margin: 16px 0 0;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.section-head > p {
    max-width: 34ch;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- возможности ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.feature {
    grid-column: span 6;
    padding: 6px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.feature:nth-child(1) { grid-column: span 7; }
.feature:nth-child(2) { grid-column: span 5; }
.feature:nth-child(3) { grid-column: span 4; }
.feature:nth-child(4) { grid-column: span 8; }
.feature:nth-child(5) { grid-column: span 6; }
.feature:nth-child(6) { grid-column: span 6; }

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 245, 107, 0.26);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.feature-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(17, 21, 27, 0.92), rgba(10, 13, 17, 0.96));
    overflow: hidden;
}

.feature-kicker {
    color: var(--faint);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(201, 245, 107, 0.2);
    background: rgba(201, 245, 107, 0.09);
    color: var(--lime);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.feature p {
    max-width: 44ch;
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.feature-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
}

.feature-preview {
    margin-top: auto;
    display: grid;
    gap: 9px;
    padding: 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
}

.preview-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 11.5px;
}

.preview-line strong { color: var(--paper); font-weight: 700; font-size: 12.5px; }

.preview-online {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(201, 245, 107, 0.12);
    color: var(--lime);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.preview-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.preview-bar i {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime-deep), var(--lime));
}

/* ---------- тарифы ---------- */

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.price-card.featured {
    border-color: rgba(201, 245, 107, 0.34);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201, 245, 107, 0.13), transparent 60%),
        linear-gradient(180deg, rgba(201, 245, 107, 0.06), rgba(10, 13, 17, 0.96));
    box-shadow: 0 30px 80px rgba(201, 245, 107, 0.07);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lime);
    color: #0a0d08;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price-name {
    font-family: var(--font-display);
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.price-desc {
    margin-top: 8px;
    color: var(--faint);
    font-size: 12px;
    line-height: 1.5;
}

.price-amount {
    margin: 24px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
}

.price-amount small {
    font-family: var(--font-body);
    color: var(--faint);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
}

.price-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 26px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    color: #c3cbc7;
    font-size: 13px;
}

.price-list li {
    position: relative;
    padding-left: 16px;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime);
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 13px 18px;
}

.pricing-note {
    margin: 18px 0 0;
    color: var(--faint);
    font-size: 11.5px;
}

.empty {
    grid-column: 1 / -1;
    padding: 40px;
    border: 1px dashed var(--line);
    border-radius: var(--r-lg);
    color: var(--faint);
    text-align: center;
    font-size: 13px;
}

/* ---------- служебная плашка ---------- */

/* Плашка тех. работ закреплена у нижнего края окна и не перекрывает контент:
   при включённом режиме body получает отступ снизу (site.js). */
.maintenance-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    border-top: 1px solid rgba(255, 107, 94, 0.42);
    background: rgba(34, 11, 11, 0.94);
    color: #ffb4ae;
    box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.maintenance-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 12.5px;
    line-height: 1.5;
}

.maintenance-inner strong {
    color: #ffd9d4;
    letter-spacing: 0.08em;
}

.maintenance-inner strong::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #ff6b5e;
    box-shadow: 0 0 10px rgba(255, 107, 94, 0.7);
    vertical-align: 1px;
}

.maintenance-inner .muted { color: rgba(255, 180, 174, 0.72); }

body.has-maintenance { padding-bottom: 62px; }

body.has-maintenance .footer { margin-bottom: 0; }

/* ---------- футер ---------- */

.footer {
    max-width: 1180px;
    margin: 130px auto 0;
    padding: 34px 24px 44px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
}

.footer-brand .brand-logo { width: 32px; height: 32px; border-radius: 50%; }

.footer-brand small {
    display: block;
    margin-top: 1px;
    color: var(--faint);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 10px;
}

.footer-links a { transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--paper); }

.footer-meta { color: var(--faint); font-size: 11px; }

/* ---------- переключатель языка ---------- */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
    appearance: none;
    border: 0;
    background: none;
    height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--faint);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    cursor: pointer;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.lang-btn:hover { color: var(--paper); }

.lang-btn.is-active {
    color: #0a0d08;
    background: var(--lime);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

/* ---------- адаптив ---------- */

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 150px;
    }

    .hero-art {
        width: min(560px, 100%);
        margin: 0 auto;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .section-head > p { max-width: 52ch; }
}

@media (max-width: 860px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .feature,
    .feature:nth-child(1),
    .feature:nth-child(2),
    .feature:nth-child(3),
    .feature:nth-child(4),
    .feature:nth-child(5),
    .feature:nth-child(6) {
        grid-column: span 1;
    }

    .price-grid { grid-template-columns: 1fr; }
    .price-card { padding: 24px; }
}

@media (max-width: 700px) {
    .nav {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 22px;
    }

    .nav-inner {
        padding: 8px 8px 8px 12px;
        gap: 10px;
    }

    .nav-links,
    .nav-actions .icon-btn,
    .nav-actions .nav-panel {
        display: none;
    }

    .brand-text { font-size: 12.5px; }
    .brand-text small { display: none; }
    .nav-actions { margin-left: auto; }

    .hero {
        padding: 128px 16px 24px;
        gap: 38px;
    }

    .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
    .hero .lead { font-size: 14.5px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-meta { gap: 6px 14px; }

    .stats-strip { padding: 0 16px; margin-top: 4px; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat-card { padding: 22px 18px 18px; }

    .section { padding: 96px 16px 0; }
    .section-head h2 { font-size: clamp(28px, 9vw, 40px); }

    .features-grid { grid-template-columns: 1fr; }
    .feature-inner { padding: 20px; }

    .footer {
        margin-top: 96px;
        padding: 28px 16px 36px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .maintenance-inner {
        padding: 10px 16px;
        font-size: 12px;
    }

    body.has-maintenance { padding-bottom: 82px; }
}

@media (max-width: 390px) {
    .btn-invite .btn-label { display: none; }
    .landing .btn-invite { padding: 0; width: 42px; }
    .btn-invite .btn-orb { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pulse-dot,
    .deck-bars i {
        animation: none;
    }

    .landing .btn,
    .feature,
    .price-card,
    .nav,
    .mock-row {
        transition: none;
    }
}
