*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root,
[data-theme="dark"] {
    --bg: #050508;
    --bg-elevated: #0c0c14;
    --bg-card: rgba(255,255,255,0.03);
    --accent: #d4a017;
    --accent2: #f0c850;
    --accent-glow: rgba(212,160,23,0.35);
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --green: #4ade80;
    --text: #f2f2f8;
    --text-muted: #8b8ba3;
    --border: rgba(255,255,255,0.07);
    --glass-border: rgba(255,255,255,0.1);
    --nav-bg: rgba(5,5,8,0.72);
    --nav-mobile-bg: rgba(5,5,8,0.97);
    --hero-grid-color: rgba(255,255,255,0.025);
    --figure-blend: screen;
    --figure-shadow: drop-shadow(0 20px 50px rgba(212,160,23,0.45)) drop-shadow(0 4px 20px rgba(212,160,23,0.25));
    --radius: 20px;
    --radius-sm: 12px;
    --nav-h: 64px;
    --banner-h: 35px;
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #f4f4f8;
    --bg-elevated: #ffffff;
    --bg-card: rgba(0,0,0,0.03);
    --text: #12121c;
    --text-muted: #5a5a72;
    --border: rgba(0,0,0,0.08);
    --glass-border: rgba(0,0,0,0.1);
    --nav-bg: rgba(244,244,248,0.88);
    --nav-mobile-bg: rgba(255,255,255,0.98);
    --hero-grid-color: rgba(0,0,0,0.04);
    --figure-blend: screen;
    --figure-shadow: drop-shadow(0 20px 45px rgba(212,160,23,0.35)) drop-shadow(0 6px 18px rgba(180,130,10,0.2));
    color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.35s, color 0.35s;
}

html[data-theme="dark"] { background: #050508; }
html[data-theme="light"] { background: #f4f4f8; }

a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BANNER ===== */
.top-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 201;
    background: linear-gradient(90deg, #1a2f4a, #152a45);
    border-bottom: 1px solid rgba(59,130,246,0.2);
    padding: 8px 0;
    transition: transform 0.3s;
}
.top-banner.hidden { transform: translateY(-100%); }
.top-banner-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 0.82rem;
}
.top-banner-inner span { color: rgba(255,255,255,0.75); font-weight: 500; }
.top-banner-inner a { color: #60a5fa; text-decoration: none; font-weight: 700; }
.top-banner-inner a:hover { color: #93c5fd; }
.top-banner-close {
    background: none; border: none; color: rgba(255,255,255,0.4);
    cursor: pointer; font-size: 0.9rem; padding: 2px 8px; margin-left: 8px;
}
.top-banner-close:hover { color: #fff; }
body.has-banner { padding-top: var(--banner-h); }
body.has-banner nav { top: var(--banner-h); }

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: background 0.35s, border-color 0.35s;
}
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 100%;
    display: flex; align-items: center; gap: 16px;
}
.nav-actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto;
}
.logo {
    font-size: 1.15rem; font-weight: 900; letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--accent), var(--accent2), #fff8dc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-decoration: none;
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-img { width: 32px; height: 32px; border-radius: 8px; -webkit-text-fill-color: initial; }
.nav-links {
    display: flex; gap: 8px; list-style: none; align-items: center;
    margin: 0; padding: 0; flex: 1; justify-content: center;
}
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
    font-weight: 500; padding: 8px 14px; border-radius: 50px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-links a.active {
    color: var(--accent2); background: rgba(212,160,23,0.1);
    border: 1px solid rgba(212,160,23,0.15);
}
[data-theme="light"] .nav-links a.active { color: #a07a10; }
.nav-cta {
    padding: 10px 22px; border-radius: 50px; font-weight: 700; font-size: 0.88rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0a0a0f; text-decoration: none; flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px var(--accent-glow); }
/* ===== THEME TOGGLE (pill switch) ===== */
.theme-toggle {
    position: relative;
    width: 64px;
    height: 32px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212,160,23,0.08), rgba(139,92,246,0.06));
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.25);
    transition: border-color 0.25s, background 0.35s, box-shadow 0.25s;
    overflow: hidden;
}
[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, rgba(255,200,80,0.18), rgba(255,255,255,0.4));
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}
.theme-toggle:hover {
    border-color: rgba(212,160,23,0.5);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.25), 0 0 0 4px rgba(212,160,23,0.08);
}
.theme-toggle .toggle-icon {
    width: 16px; height: 16px;
    margin: 0 8px;
    color: var(--text-muted);
    transition: color 0.3s, opacity 0.3s, transform 0.4s;
    flex-shrink: 0;
    z-index: 2;
    pointer-events: none;
}
.theme-toggle .icon-sun { color: #f0c850; }
.theme-toggle .icon-moon { color: #c0c0e0; }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0.35; transform: scale(0.85); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0.35; transform: scale(0.85); }
[data-theme="dark"] .theme-toggle .icon-moon { color: var(--accent2); }
[data-theme="light"] .theme-toggle .icon-sun { color: #e6a410; }

.theme-toggle .toggle-thumb {
    position: absolute;
    top: 50%;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #e8e8f0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35), inset 0 1px 1px rgba(255,255,255,0.6);
    transform: translateY(-50%);
    transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s, box-shadow 0.35s;
    pointer-events: none;
    z-index: 1;
}
[data-theme="dark"] .theme-toggle .toggle-thumb {
    left: calc(100% - 28px);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 2px 8px rgba(212,160,23,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
}
[data-theme="light"] .theme-toggle .toggle-thumb {
    left: 4px;
    background: linear-gradient(135deg, #fff3b8, #f0c850);
    box-shadow: 0 2px 8px rgba(240,200,80,0.55), inset 0 1px 1px rgba(255,255,255,0.7);
}
.theme-toggle:active .toggle-thumb { transform: translateY(-50%) scale(0.92); }
.burger {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: 10px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center; flex-direction: column;
    flex-shrink: 0;
}
.burger:hover { background: var(--bg-card); }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 3px 0; transition: background 0.3s; }

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 15px 32px; border-radius: 50px; font-weight: 800; font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0a0a0f; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 4px 24px rgba(212,160,23,0.3);
    transition: transform 0.25s, box-shadow 0.25s; border: none; cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212,160,23,0.45);
}
.btn-secondary {
    padding: 15px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    background: var(--bg-card); color: var(--text); text-decoration: none;
    border: 1px solid var(--glass-border);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.25s;
}
.btn-secondary:hover {
    border-color: rgba(212,160,23,0.35);
    background: rgba(212,160,23,0.06);
    transform: translateY(-2px);
}
.btn-ghost {
    padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.88rem;
    color: var(--accent2); text-decoration: none;
    border: 1px solid rgba(212,160,23,0.25);
    transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(212,160,23,0.08); }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: calc(var(--nav-h) + 48px) 0 72px;
    position: relative; overflow: hidden;
}
body.has-banner .page-hero { padding-top: calc(var(--nav-h) + var(--banner-h) + 48px); }
.page-hero--home { padding-bottom: 40px; min-height: 88vh; display: flex; align-items: center; }
.page-hero-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45;
    animation: float 9s ease-in-out infinite;
}
.hero-orb--gold {
    width: 520px; height: 520px; top: -8%; left: 25%;
    background: radial-gradient(circle, rgba(212,160,23,0.35), transparent 70%);
}
.hero-orb--purple {
    width: 420px; height: 420px; bottom: 0; right: 5%;
    background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
    animation-delay: -3s;
}
.hero-orb--blue {
    width: 360px; height: 360px; top: 30%; right: -8%;
    background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
    animation-delay: -5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-24px) scale(1.04); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 78%);
}

.hero-layout {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-text { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
    background: rgba(212,160,23,0.08); border: 1px solid rgba(212,160,23,0.22);
    color: var(--accent2); font-size: 0.78rem; font-weight: 600;
}
.hero-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900;
    line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 20px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent2), #fff0b3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
    font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 50px;
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
}
.hero-pill strong { color: var(--text); }

/* Hero figure */
.hero-figure-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    aspect-ratio: 1;
    perspective: 1000px;
    cursor: default;
}
.hero-figure-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(240,200,80,0.55) 0%,
        rgba(212,160,23,0.28) 28%,
        rgba(212,160,23,0.1) 52%,
        transparent 78%);
    filter: blur(38px);
    animation: figure-glow 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
[data-theme="light"] .hero-figure-glow {
    background: radial-gradient(circle,
        rgba(240,200,80,0.4) 0%,
        rgba(212,160,23,0.18) 35%,
        rgba(212,160,23,0.06) 60%,
        transparent 78%);
    filter: blur(42px);
}
.hero-figure-tilt {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
}
.hero-figure {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    filter: var(--figure-shadow);
    animation: figure-float 7s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}
@keyframes figure-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}
@keyframes figure-glow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.page-hero-compact { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-compact h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.8px; margin-bottom: 14px; }
.page-hero-compact p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== SECTIONS ===== */
section { padding: 88px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 14px;
}
.tag-gold { background: rgba(212,160,23,0.1); color: var(--accent2); border: 1px solid rgba(212,160,23,0.2); }
.tag-purple { background: rgba(139,92,246,0.1); color: var(--purple); border: 1px solid rgba(139,92,246,0.2); }
.tag-blue { background: rgba(59,130,246,0.1); color: var(--blue); border: 1px solid rgba(59,130,246,0.2); }
.tag-cyan { background: rgba(6,182,212,0.1); color: var(--cyan); border: 1px solid rgba(6,182,212,0.2); }
.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-header--left { text-align: left; }
.section-header--left p { margin: 0; }
.section-divider {
    height: 1px; max-width: 1180px; margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* ===== GLASS ===== */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.glass:hover {
    transform: translateY(-4px);
    border-color: rgba(212,160,23,0.2);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: -40px; position: relative; z-index: 2; padding-bottom: 20px;
}
.stat-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 22px 20px; text-align: center;
    backdrop-filter: blur(12px);
}
.stat-value {
    font-size: 1.75rem; font-weight: 900; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features-grid--two { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 32px 26px; position: relative; overflow: hidden; }
.feature-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
    background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(139,92,246,0.08));
    border: 1px solid rgba(212,160,23,0.15);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { padding: 32px 26px; text-align: center; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0a0a0f;
}
.step-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ===== PREVIEW CARDS (home teasers) ===== */
.preview-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.preview-card {
    padding: 24px 20px; text-decoration: none; color: inherit; display: block;
}
.preview-card .label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.preview-card .value { font-size: 1.5rem; font-weight: 900; margin-bottom: 4px; }
.preview-card .hint { font-size: 0.8rem; color: var(--accent2); font-weight: 600; }

.servers-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.server-mini {
    padding: 16px 18px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
}
.server-mini img { width: 40px; height: 28px; border-radius: 6px; object-fit: cover; }
.server-mini h4 { font-size: 0.9rem; font-weight: 700; }
.server-mini p { font-size: 0.75rem; color: var(--text-muted); }
.server-mini .ping {
    margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--green);
}

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
    padding: 32px 24px; text-align: center; display: flex; flex-direction: column;
    position: relative;
}
.price-card.popular {
    border-color: rgba(212,160,23,0.4);
    background: linear-gradient(180deg, rgba(212,160,23,0.1) 0%, var(--bg-card) 45%);
    box-shadow: 0 0 80px rgba(212,160,23,0.08);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0a0a0f; font-size: 0.7rem; font-weight: 800;
    padding: 5px 16px; border-radius: 50px; white-space: nowrap;
}
.price-card .duration { font-size: 0.95rem; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.price-card .price { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 4px; }
.price-card.popular .price {
    background: linear-gradient(135deg, var(--accent2), #fff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .price-card.popular .price {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}
.price-card .currency { font-size: 1rem; font-weight: 700; }
.price-card .per-month { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 22px; }
.price-features { list-style: none; text-align: left; margin-bottom: 24px; flex-grow: 1; }
.price-features li {
    padding: 6px 0; font-size: 0.86rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.price-btn {
    display: block; padding: 14px; border-radius: var(--radius-sm);
    text-decoration: none; font-weight: 700; font-size: 0.92rem; transition: all 0.25s;
}
.price-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0a0a0f;
}
.price-btn.outline {
    background: var(--bg-card); color: var(--text); border: 1px solid var(--glass-border);
}
.price-btn:hover { transform: translateY(-2px); }

.pricing-note {
    margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
    background: rgba(59,130,246,0.05); border: 1px solid rgba(59,130,246,0.12);
    display: flex; gap: 20px; align-items: flex-start;
}
.pricing-note h3 { font-size: 1rem; margin-bottom: 6px; }
.pricing-note p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
.pricing-note-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6,182,212,0.18), rgba(139,92,246,0.14));
    border: 1px solid rgba(6,182,212,0.28);
    color: var(--accent2);
    box-shadow: 0 6px 18px rgba(6,182,212,0.15);
}
.pricing-note-icon svg { width: 24px; height: 24px; display: block; }
[data-theme="light"] .pricing-note-icon {
    background: linear-gradient(135deg, rgba(6,182,212,0.16), rgba(139,92,246,0.1));
    border-color: rgba(99,102,241,0.3);
    color: #4f46e5;
}

/* ===== SERVERS PAGE ===== */
.servers-toolbar {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; justify-content: center;
}
.filter-btn {
    padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
    color: var(--accent2); border-color: rgba(212,160,23,0.3);
    background: rgba(212,160,23,0.1);
}
.servers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.server-card {
    padding: 20px 22px; display: flex; align-items: center; gap: 14px;
}
.server-card.hidden { display: none; }
.server-flag {
    flex-shrink: 0; width: 52px; height: 36px; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.server-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.server-info { flex-grow: 1; min-width: 0; }
.server-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.server-info p { font-size: 0.78rem; color: var(--text-muted); }
.server-meta { text-align: right; flex-shrink: 0; }
.server-ping { font-size: 0.88rem; font-weight: 800; color: var(--green); }
.server-load { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.server-status {
    display: flex; align-items: center; gap: 5px; font-size: 0.72rem;
    color: var(--green); font-weight: 600; justify-content: flex-end; margin-top: 4px;
}
.server-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 8px rgba(74,222,128,0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

.region-map {
    margin-bottom: 40px; padding: 32px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(139,92,246,0.04));
    border: 1px solid rgba(6,182,212,0.12);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center;
}

/* ─── Servers world map ─── */
.map-section {
    margin-bottom: 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.04));
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
[data-theme="light"] .map-section { box-shadow: 0 24px 60px rgba(99,102,241,0.12); }
.map-frame {
    position: relative;
    width: 100%;
    padding-top: 43.88%; /* 215/490 viewBox aspect */
    border-radius: 16px;
    overflow: visible;
}
.world-map {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background-color: rgba(255,255,255,0.42);
    -webkit-mask: url('../images/world-map-dots.png?v=4') center / 100% 100% no-repeat;
            mask: url('../images/world-map-dots.png?v=4') center / 100% 100% no-repeat;
    pointer-events: none;
}
[data-theme="light"] .world-map {
    background-color: rgba(0,0,0,0.85);
}

/* Animated dashed lines between server pins */
.map-lines {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}
.map-line {
    fill: none;
    stroke: rgba(255,255,255,0.55);
    stroke-width: 0.55;
    stroke-linecap: round;
    stroke-dasharray: 1.4 2.6;
    stroke-dashoffset: 0;
    opacity: 0.7;
    animation: map-line-flow 1.6s linear infinite;
}
[data-theme="light"] .map-line { stroke: rgba(99,102,241,0.55); opacity: 0.55; }
.map-line:nth-child(3n)   { animation-duration: 2.0s; }
.map-line:nth-child(3n+1) { animation-duration: 1.4s; }
.map-line:nth-child(5n)   { stroke-dasharray: 1 3; }
.map-line.is-active {
    opacity: 1; stroke-width: 0.9;
    animation-duration: 0.9s !important;
    stroke: #fff;
}
[data-theme="light"] .map-line.is-active { stroke: var(--blue); }
@keyframes map-line-flow {
    to { stroke-dashoffset: -8; }
}
.map-pins { position: absolute; inset: 0; z-index: 2; }
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    padding: 0; border: 0; background: transparent;
    cursor: pointer;
}
.pin-dot {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ffffff 55%, rgba(255,255,255,0.85) 100%);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.22), 0 0 14px rgba(255,255,255,0.55);
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
[data-theme="light"] .pin-dot {
    background: radial-gradient(circle at 30% 30%, #fff 0%, #d0d6f5 60%, #6b7090 100%);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25), 0 0 14px rgba(99,102,241,0.45);
}
.pin-pulse {
    position: absolute; inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.55), rgba(255,255,255,0));
    animation: pin-pulse 2.4s ease-out infinite;
    z-index: 1;
}
[data-theme="light"] .pin-pulse {
    background: radial-gradient(circle, rgba(99,102,241,0.5), rgba(99,102,241,0));
}
.map-pin:nth-child(3n) .pin-pulse { animation-delay: 0.4s; }
.map-pin:nth-child(3n+1) .pin-pulse { animation-delay: 0.9s; }
.map-pin:nth-child(3n+2) .pin-pulse { animation-delay: 1.4s; }
@keyframes pin-pulse {
    0%   { transform: scale(0.5); opacity: 0.9; }
    70%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}
.map-pin { z-index: 3; }
.map-pin:hover, .map-pin.is-active, .map-pin:focus-visible { z-index: 10; }
.pin-label {
    position: absolute;
    left: 50%; bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    background: rgba(15,15,30,0.95);
    border: 1px solid rgba(167,139,250,0.35);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 5;
}
[data-theme="light"] .pin-label {
    background: rgba(255,255,255,0.98);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.pin-label::after {
    content: ''; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(167,139,250,0.35);
}
[data-theme="light"] .pin-label::after { border-top-color: rgba(99,102,241,0.3); }
.pin-label strong { color: var(--accent2); }
[data-theme="light"] .pin-label strong { color: var(--blue); }
.pin-code {
    display: inline-block;
    background: rgba(6,182,212,0.15);
    color: var(--cyan);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    margin-left: 4px;
}
.map-pin:hover .pin-dot, .map-pin.is-active .pin-dot { transform: scale(1.35); box-shadow: 0 0 0 3px rgba(255,255,255,0.35), 0 0 22px rgba(255,255,255,0.85); }
[data-theme="light"] .map-pin:hover .pin-dot, [data-theme="light"] .map-pin.is-active .pin-dot { box-shadow: 0 0 0 3px rgba(99,102,241,0.35), 0 0 22px rgba(99,102,241,0.6); }
.map-pin:hover .pin-label, .map-pin.is-active .pin-label, .map-pin:focus-visible .pin-label { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-pin--far .pin-label { left: auto; right: 50%; transform: translate(0, 4px); }
.map-pin--far .pin-label::after { left: auto; right: 8px; transform: none; }
.map-pin--far:hover .pin-label, .map-pin--far.is-active .pin-label, .map-pin--far:focus-visible .pin-label { transform: translate(0, 0); }

.map-legend {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
    margin-top: 22px;
    font-size: 0.82rem; color: var(--text-muted);
}
.map-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.map-legend-item .legend-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 10px rgba(74,222,128,0.55);
    animation: pulse-dot 2s ease-in-out infinite;
}
.map-legend-item .legend-region {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 22px; padding: 0 6px;
    border-radius: 6px; font-weight: 800; font-size: 0.76rem;
    background: rgba(6,182,212,0.12); color: var(--cyan);
    border: 1px solid rgba(6,182,212,0.2);
}

/* ─── Server card refinements ─── */
.server-card.is-active {
    border-color: rgba(6,182,212,0.55);
    box-shadow: 0 0 0 1px rgba(6,182,212,0.4), 0 10px 30px rgba(6,182,212,0.18);
    transform: translateY(-2px);
}
.server-card.is-active .server-flag { box-shadow: 0 4px 18px rgba(6,182,212,0.5); }
.server-code {
    display: inline-block;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.7rem; font-weight: 700;
    background: rgba(6,182,212,0.12); color: var(--cyan);
    border-radius: 5px; padding: 2px 7px;
    margin-bottom: 4px;
}
@media (max-width: 768px) {
    .map-section { padding: 16px; }
    .map-frame { padding-top: 60%; }
    .pin-label { display: none; }
    .map-pin.is-active .pin-label { display: block; opacity: 1; }
}
.region-map-item .num { font-size: 2rem; font-weight: 900; color: var(--cyan); }
.region-map-item .lbl { font-size: 0.82rem; color: var(--text-muted); }

/* ===== PROTOCOL BLOCK ===== */
.protocol-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    padding: 48px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(6,182,212,0.04));
    border: 1px solid rgba(139,92,246,0.15);
}
.protocol-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.protocol-list li {
    display: flex; gap: 12px; font-size: 0.9rem; color: var(--text-muted);
}
.protocol-list li::before { content: '→'; color: var(--purple); font-weight: 700; flex-shrink: 0; }
.terminal {
    background: #0a0a12; border: 1px solid var(--border); border-radius: 14px;
    padding: 20px; font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace; font-size: 0.78rem;
    min-height: 200px;
}
.terminal-line { margin-bottom: 8px; min-height: 1.4em; }
.terminal-line .ok { color: var(--green); }
.terminal-line .dim { color: var(--text-muted); }
.terminal-line .hi { color: var(--accent2); }

/* Terminal animation */
.terminal .t-line { opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.terminal .t-line.is-active { opacity: 1; transform: translateY(0); }
.terminal .t-typed { white-space: pre; }
.terminal .t-caret {
    display: inline-block; margin-left: 2px; color: var(--accent2);
    transform: translateY(-1px); opacity: 0;
    transition: opacity 0.15s;
}
.terminal.is-typing .t-caret { opacity: 1; animation: terminal-caret 0.9s steps(2) infinite; }
.terminal.is-done .t-caret { opacity: 0; }
@keyframes terminal-caret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== PLATFORMS ===== */
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platform-card { padding: 22px; text-align: center; transition: transform 0.25s ease, border-color 0.25s ease; }
.platform-card:hover { transform: translateY(-3px); border-color: rgba(167,139,250,0.4); }
.platform-card .icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}
.platform-card .icon svg { width: 26px; height: 26px; display: block; }
.platform-card .icon.icon-img img { width: 30px; height: 30px; display: block; object-fit: contain; }
[data-theme="dark"] .platform-card .icon.icon-img img { filter: invert(1) brightness(1.05); }
.platform-card:hover .icon { color: var(--accent2); transform: scale(1.06); border-color: rgba(167,139,250,0.35); }
.platform-card:hover .icon.icon-img img { filter: drop-shadow(0 0 6px rgba(167,139,250,0.5)); }
[data-theme="dark"] .platform-card:hover .icon.icon-img img { filter: invert(1) brightness(1.05) drop-shadow(0 0 6px rgba(167,139,250,0.5)); }
.platform-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.platform-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ===== LIVE FEED ===== */
.live-section { background: var(--bg-elevated); transition: background 0.35s; }
[data-theme="light"] .terminal { background: #eef0f5; border-color: var(--border); }
[data-theme="light"] .live-feed::after {
    background: linear-gradient(transparent, var(--bg-elevated));
}
[data-theme="light"] .glass:hover {
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.live-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.live-stats { padding: 28px; }
.live-stats .big { font-size: 2.5rem; font-weight: 900; color: var(--accent2); }
.live-stats p { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.live-feed {
    padding: 20px; max-height: 280px; overflow: hidden; position: relative;
}
.live-feed::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(transparent, var(--bg-elevated));
    pointer-events: none;
}
.feed-list { display: flex; flex-direction: column; gap: 10px; }
.feed-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
    font-size: 0.82rem;
}
.feed-item .user { font-weight: 700; color: var(--text); }
.feed-item .action { color: var(--text-muted); flex-grow: 1; }
.feed-item .loc { color: var(--cyan); font-weight: 600; font-size: 0.75rem; white-space: nowrap; }
.feed-item .time { color: var(--text-muted); font-size: 0.72rem; white-space: nowrap; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; padding: 20px 0; background: none; border: none;
    color: var(--text); font-size: 1rem; font-weight: 600; text-align: left;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: inherit;
}
.faq-question:hover { color: var(--accent2); }
.faq-arrow {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-left: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
    transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(212,160,23,0.12); color: var(--accent2); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 280px; }
.faq-answer p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; padding-bottom: 20px; }

/* ===== CTA ===== */
.cta-box {
    text-align: center; padding: 56px 40px; border-radius: 28px;
    background: linear-gradient(135deg, rgba(212,160,23,0.1), rgba(139,92,246,0.06));
    border: 1px solid rgba(212,160,23,0.18); position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== PROXY BANNER ===== */
.proxy-box {
    padding: 28px 32px; display: flex; align-items: center; gap: 24px;
    background: rgba(59,130,246,0.05); border: 1px solid rgba(59,130,246,0.12);
    border-radius: var(--radius);
}
.proxy-icon {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.15);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.proxy-content { flex-grow: 1; }
.proxy-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.proxy-content p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

/* ===== FOOTER ===== */
footer {
    padding: 48px 0 32px; border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a {
    display: block; color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
    padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 24px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

img.emoji { height: 1.1em; width: 1.1em; vertical-align: -0.12em; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-actions, .hero-pills { justify-content: center; }
    .hero-figure-wrap { margin: 32px auto 0; max-width: 360px; }
    .features-grid, .servers-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid, .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .protocol-box { grid-template-columns: 1fr; }
    .live-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }

    .container { padding: 0 16px; }

    /* Top banner — compact, no overlap with close button */
    .top-banner { padding: 7px 0; }
    .top-banner-inner {
        padding: 0 36px 0 16px;
        gap: 6px 10px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.78rem;
        line-height: 1.35;
        text-align: center;
        position: relative;
    }
    .top-banner-inner span,
    .top-banner-inner a { display: inline; }
    .top-banner-close {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
        margin: 0;
        padding: 4px 8px;
        line-height: 1;
    }

    /* Nav — give burger room, tighten internal spacing */
    nav { height: 60px; }
    :root, [data-theme="dark"], [data-theme="light"] { --nav-h: 60px; }
    .nav-inner { padding: 0 12px; gap: 8px; }
    .nav-links { display: none; flex: none; }
    .nav-actions { margin-left: auto; gap: 8px; }
    .logo { font-size: 1rem; gap: 8px; }
    .logo-img { width: 28px; height: 28px; }
    .nav-cta { padding: 8px 14px; font-size: 0.8rem; }
    .theme-toggle { width: 54px; height: 28px; }
    .theme-toggle .toggle-icon { width: 14px; height: 14px; margin: 0 7px; }
    .theme-toggle .toggle-thumb { width: 20px; height: 20px; }
    [data-theme="dark"] .theme-toggle .toggle-thumb { left: calc(100% - 24px); }
    [data-theme="light"] .theme-toggle .toggle-thumb { left: 4px; }
    .burger { display: inline-flex; margin-left: 0; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--nav-mobile-bg);
        padding: 20px 16px 24px; border-bottom: 1px solid var(--border);
        align-items: stretch;
    }
    .nav-links.open a { border-radius: 12px; }

    .features-grid, .features-grid--two,
    .steps-grid, .servers-grid, .servers-preview,
    .platforms-grid, .pricing-grid, .preview-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; margin-top: 0; }
    .preview-header { flex-direction: column; align-items: flex-start; }
    .proxy-box { flex-direction: column; text-align: center; padding: 22px 20px; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .region-map { grid-template-columns: 1fr; }

    /* Live feed — let items wrap so the "сек назад" text isn't clipped */
    .live-feed { padding: 16px; max-height: none; overflow: visible; }
    .live-feed::after { display: none; }
    .feed-item {
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 4px;
        padding: 10px 12px;
        font-size: 0.78rem;
    }
    .feed-item .action {
        flex: 1 1 100%;
        order: 3;
        font-size: 0.78rem;
    }
    .feed-item .loc { font-size: 0.72rem; }
    .feed-item .time { margin-left: auto; font-size: 0.7rem; }

    /* Section paddings & headings get a bit tighter */
    .section-header { margin-bottom: 36px; }
    .cta-box { padding: 40px 22px; }
    .protocol-box { padding: 28px 22px; gap: 24px; }
    .pricing-note { padding: 20px; flex-direction: column; gap: 14px; }
}

@media (max-width: 420px) {
    .container { padding: 0 12px; }

    .top-banner-inner { font-size: 0.74rem; padding: 0 32px 0 12px; }

    .nav-inner { padding: 0 10px; gap: 6px; }
    .logo { font-size: 0.9rem; gap: 6px; }
    .logo-img { width: 26px; height: 26px; }
    .nav-actions { gap: 6px; }
    .nav-cta { padding: 7px 11px; font-size: 0.74rem; }
    .theme-toggle { width: 48px; height: 26px; }
    .theme-toggle .toggle-icon { width: 12px; height: 12px; margin: 0 6px; }
    .theme-toggle .toggle-thumb { width: 18px; height: 18px; }
    [data-theme="dark"] .theme-toggle .toggle-thumb { left: calc(100% - 22px); }
    [data-theme="light"] .theme-toggle .toggle-thumb { left: 4px; }
    .burger { width: 36px; height: 36px; padding: 6px; }
    .burger span { width: 20px; }

    .stats-bar { grid-template-columns: 1fr; }
    .stat-card { padding: 18px 16px; }

    .live-stats .big { font-size: 2rem; }
    .feed-item { padding: 10px; }

    .btn-primary, .btn-secondary { padding: 13px 22px; font-size: 0.9rem; }
}
