/* TonBoVPN mirror — exact design tokens from tonbovpn.com source CSS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --brand:        #228be6;
  --brand-strong: #1c7ed6;
  --brand-2:      #74c0fc;
  --brand-soft:   rgba(34,139,230,.14);
  --brand-light:  #339af0;
  --bg:           #0a0f1f;
  --bg-soft:      #0d1428;
  --surface:      #121a37;
  --surface-hi:   #18224a;
  --border:       hsla(0,0%,100%,.09);
  --text:         #eaf0fb;
  --muted:        #93a0bf;
  --ok:           #2fd09a;
  --warn:         #ff6b6b;
  --radius:       16px;
  --radius-lg:    18px;
  --shadow:       0 20px 48px rgba(0,0,0,.28);
  --transition:   .18s ease;
  --font-display: "Space Grotesk","Inter",ui-sans-serif,system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
  --font-body:    "Inter",ui-sans-serif,system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
  --maxw:         1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; }

a { color: var(--brand-light); text-decoration: none; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,15,31,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 64px; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--brand); letter-spacing: -.01em; white-space: nowrap;
}
.logo  { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.logo-footer { height: 32px; width: auto; object-fit: contain; margin-bottom: 12px; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
  margin-left: auto;
}
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--radius);
  color: var(--text); font-size: 15px; font-weight: 500; transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); }
.mobile-lang { display: none; }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* dropdown lang-switcher */
.dropdown { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--text); border-color: var(--brand); background: var(--brand-soft); }
.dropdown-panel {
  position: absolute; top: 100%; right: 0;
  padding-top: 8px;
  display: none; min-width: 140px; z-index: 1000;
}
.dropdown-panel-inner {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 0;
  box-shadow: var(--shadow);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel-inner a {
  display: block; padding: 9px 16px;
  color: var(--muted); font-size: 14px; white-space: nowrap;
}
.dropdown-panel-inner a:hover { background: rgba(34,139,230,.1); color: var(--text); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .98rem; white-space: nowrap; font-family: var(--font-body);
  box-shadow: 0 8px 24px -10px var(--brand);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cta:hover { background: var(--brand-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -10px var(--brand); }
.btn-cta.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text); font-weight: 600;
  background: hsla(0,0%,100%,.02);
  padding: .9rem 1.5rem; border-radius: 999px; font-size: .98rem; white-space: nowrap;
  font-family: var(--font-body);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover { border-color: var(--brand); color: #fff; transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; padding: 8px; }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding: 84px 24px 44px;
}
.hero::before {
  content: ''; position: absolute;
  inset: -20% 30% auto -10%; height: 520px;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 56px; align-items: center;
}
.hero-left { min-width: 0; }
.hero-right { position: relative; }

/* uptime badge — exact original */
.uptime-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text); font-weight: 600;
  background: var(--brand-soft); border: 1px solid var(--brand);
  padding: .4rem .95rem; border-radius: 999px; margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.uptime-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e; flex: 0 0 auto;
}
.uptime-dot { display: none; }

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.95rem); font-weight: 700; line-height: 1.12;
  overflow-wrap: break-word;
}
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 42ch; line-height: 1.65; margin: 18px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 30px 0 0; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* hero pills — original heroBadges */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-pill {
  display: inline-block; font-size: .8rem; color: var(--text); font-weight: 500;
  background: hsla(0,0%,100%,.05); border: 1px solid var(--border);
  padding: .42rem 1rem; border-radius: 999px;
}

/* starwall / bubble cloud — exact original */
.bubble-cloud {
  position: relative; min-height: 420px;
}
.bubble-cloud::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 46%; height: 44%; pointer-events: none;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 72%);
  opacity: .6;
}
.bubble {
  position: absolute; transform: translate(-50%,-50%);
  white-space: nowrap; z-index: 2;
  color: var(--muted); font-weight: 500;
  border: 1px solid var(--border);
  background: hsla(0,0%,100%,.03);
  border-radius: 999px; padding: .22rem .56rem;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
  animation: twinkle 7s ease-in-out infinite;
}
.bubble:hover {
  color: #fff; border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 18px var(--brand-soft);
  z-index: 4; animation-play-state: paused;
}
.bubble:nth-child(3n)  { animation-delay: -2.4s; }
.bubble:nth-child(3n+1){ animation-delay: -4.8s; }
.bubble:nth-child(4n)  { animation-duration: 8.5s; }
.bubble:nth-child(5n)  { animation-duration: 6s; }
.bubble-sm { font-size: .76rem; opacity: .8; }
.bubble-md { font-size: .84rem; opacity: .92; }
.bubble-lg { font-size: .96rem; opacity: 1; }
@keyframes twinkle {
  0%,to { transform: translate(-50%,-50%); }
  50%   { transform: translate(-50%, calc(-50% - 6px)); }
}
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }

/* category labels individually positioned in cloud */
.bubble-center-label {
  position: absolute; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-weight: 700;
  color: #fff; letter-spacing: .02em;
  text-shadow: 0 0 22px var(--brand);
  white-space: nowrap; font-size: 1.4rem;
  pointer-events: none; z-index: 3;
}

/* platform tags */
.platform-scroll {
  background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 20px 24px; overflow: hidden;
}
.platform-scroll-inner {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 1200px; margin: 0 auto;
}
.plat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; padding: 6px 13px; border-radius: 50px;
  white-space: nowrap;
}

/* ─── SECTIONS ────────────────────────────────────────────────── */
section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* comparison table */
.compare-section { background: var(--bg-soft); }
.compare-section .section-head h2,
.use-cases-section .section-head h2,
.caps-section .section-head h2 { color: var(--brand); }
.compare-section .section-head p,
.use-cases-section .section-head p,
.caps-section .section-head p  { color: var(--text); }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 13px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table thead th {
  background: var(--surface); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.compare-table .col-best { background: rgba(34,139,230,.07); }
.compare-table .col-best th,
.compare-table .col-best td { border-color: rgba(34,139,230,.22); }
.badge-best { background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-left: 6px; }
.ok-dot { color: var(--ok); font-weight: 700; }
.warn-dot { color: var(--warn); font-weight: 700; }

/* use cases */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px;
}
.use-case-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 28px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.use-case-card:hover { border-color: var(--brand); transform: translateY(-4px); background: var(--surface-hi); box-shadow: 0 18px 40px -24px var(--brand); }
.use-case-icon { font-size: 28px; margin-bottom: 14px; }
.use-case-label { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.use-case-card h3 { font-size: 1.14rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.use-case-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* capabilities */
.caps-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 44px;
}
.cap-card {
  display: flex; gap: 16px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px;
  transition: border-color var(--transition), transform var(--transition);
}
.cap-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.cap-card-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); border: 1px solid var(--brand); position: relative; }
.cap-card-icon::before { content: ''; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.cap-card i { display: none; }
.cap-card h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 5px; letter-spacing: -.01em; }
.cap-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* plans */
/* ── Pricing page ──────────────────────────────────────────────── */
.plans-section { background: var(--bg-soft); }

/* legacy 3-col grid (homepage) */
.plans-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 20px;
}

/* pricing page: toggle + 4 cards */
.pricing-header { text-align: center; margin-bottom: 32px; }
.pricing-label { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.tier-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; gap: 4px;
}
.tier-btn {
  padding: 8px 28px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--muted); background: transparent;
  transition: all var(--transition);
}
.tier-btn.active { background: var(--brand); color: #fff; }
.plans-grid-4 {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
}

.plan-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.plan-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 18px 40px -26px var(--brand); }
.plan-card.featured { border-color: var(--brand); background: rgba(34,139,230,.07); }
.plan-badge {
  display: inline-block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 10px;
  background: var(--brand-soft); padding: 3px 10px; border-radius: 999px;
}
.plan-period { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.plan-price-wrap { margin-bottom: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-val { font-size: 2.1rem; font-weight: 800; color: var(--text); }
.price-per { font-size: 13px; color: var(--muted); }
.plan-orig-wrap { display: flex; align-items: center; gap: 8px; margin-top: 4px; min-height: 20px; }
.plan-orig-price { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.plan-disc { font-size: 12px; font-weight: 700; color: #22c55e; background: rgba(34,197,94,.12); padding: 2px 7px; border-radius: 999px; }
.plan-approx { font-size: 12px; color: var(--brand); margin-top: 4px; min-height: 18px; }
.plan-devices { font-size: .85rem; color: var(--muted); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plan-features { list-style: none; margin-bottom: 20px; flex: 1; }
.plan-features li { padding: 5px 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: '✓'; color: var(--ok); font-weight: 700; flex-shrink: 0; }
.plan-cta { display: block; text-align: center; margin-top: auto; }
.payment-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 24px; line-height: 1.6; }

/* Beyond Membership / dedicated section */
.section-eyebrow {
  display: inline-block; color: var(--brand); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
}
.dedicated-section .section-head p { color: var(--text); max-width: 640px; }
.dedicated-section .section-head h2 { color: var(--text); }
.ded-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px;
}
.ded-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ded-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 18px 40px -26px var(--brand); }
.ded-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: 0; }
.ded-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0; flex: 1; }
.ded-card .btn-cta { align-self: flex-start; margin-top: 8px; }

/* nodes */
.nodes-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.node-tag {
  display: flex; align-items: center; gap: .5rem;
  background: hsla(0,0%,100%,.03); border: 1px solid var(--border);
  border-radius: 999px; padding: .5rem .9rem; font-size: .92rem;
  transition: var(--transition);
}
.node-tag:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }

/* steps */
.steps-section { background: var(--bg-soft); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 28px; position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.step-num { font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: 1.5rem; display: block; margin-bottom: 12px; letter-spacing: .02em; }
.step-card h3 { font-size: 1.06rem; font-weight: 600; margin: 0 0 7px; letter-spacing: -.01em; }
.step-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* platform clients */
.platforms-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.platform-btn {
  display: flex; align-items: center; gap: .55rem;
  background: hsla(0,0%,100%,.03); border: 1px solid var(--border); color: var(--text);
  padding: .7rem 1.1rem; border-radius: 12px; font-weight: 500;
  filter: grayscale(1); opacity: .8;
  transition: var(--transition);
}
.platform-btn:hover { opacity: 1; filter: none; border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); color: var(--text); }
.platform-btn i { font-size: 18px; }

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--brand); border-radius: 24px;
  text-align: center; padding: 48px 24px; margin: 0 24px;
  position: relative; overflow: hidden;
}
.cta-band::after { content: "200M"; position: absolute; right: -10px; bottom: -30px; font-family: var(--font-display); font-weight: 700; font-size: 9rem; color: hsla(0,0%,100%,.03); letter-spacing: -.04em; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: none; margin: 0 auto; font-weight: 700; text-shadow: 0 0 28px var(--brand); letter-spacing: .01em; }
.cta-band p { color: var(--muted); margin: 14px auto 26px; position: relative; font-size: 1.05rem; max-width: 60ch; }
.cta-band .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }

/* feature grid */
.features { background: var(--bg-soft); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.feature-card i { font-size: 28px; color: var(--brand-light); margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-size: 16px; font-weight: 600; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--brand-light); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; }
.faq-a p { color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* page hero */
.page-hero { background: linear-gradient(135deg, #070c1d, #0d1a3a); padding: 64px 24px 48px; text-align: center; }
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; }

/* prose */
.prose { padding: 64px 24px; }
.prose-inner { max-width: 800px; margin: 0 auto; }
.prose-inner h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 14px; color: var(--text); }
.prose-inner h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
.prose-inner p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
.prose-inner ul { list-style: disc; padding-left: 22px; color: var(--muted); margin-bottom: 16px; }
.prose-inner ul li { margin-bottom: 6px; line-height: 1.65; }

/* FOOTER */
.site-footer { background: #07091a; border-top: 1px solid var(--border); padding: 56px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); font-size: 14px; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; text-align: center; }

/* download page */
.download-platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.dl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.dl-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.dl-card i { font-size: 32px; color: var(--brand-light); margin-bottom: 12px; }
.dl-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.contact-card i { font-size: 28px; color: var(--brand-light); margin-bottom: 14px; }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* STAT ROW */
.stat-row { background: var(--surface-hi); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 24px; }
.stat-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; max-width: 900px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--brand-light); line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ─── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* §11: logo left, hamburger FAR RIGHT, no switcher in header bar */
  .nav {
    position: relative;
    display: flex; align-items: center;
    justify-content: flex-start; /* not space-between */
    gap: 0; padding: 0 8px 0 16px; /* right padding ≤12px so toggle right edge is within 12px of header right */
  }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: center;
    height: auto; max-height: none; overflow: visible;
    background: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.4);
    padding: 12px 0 20px; z-index: 999;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links > li:not(.mobile-lang) > a { width: 100%; text-align: center; padding: 14px 0; font-size: 17px; color: var(--text); }
  /* §12: switcher inside mobile menu, centered, single-line */
  .mobile-lang { display: flex; justify-content: center; gap: 12px; padding: 14px 0; width: 100%; }
  .mobile-lang a { color: var(--muted); font-size: 15px; font-weight: 500; padding: 6px 12px; white-space: nowrap; border-radius: var(--radius); border: 1px solid var(--border); }
  .mobile-lang a.active { color: var(--brand-light); border-color: var(--brand); }
  /* §11: hide desktop switcher from mobile header bar */
  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; } /* hide header CTA on mobile; hamburger only */
  .nav-right { margin-left: auto; display: flex; align-items: center; }
  /* §11: hamburger LAST and flush FAR right, order:99 */
  .nav-toggle { display: flex; align-items: center; justify-content: center; order: 99; margin-left: 8px; padding: 6px; }

  /* §14: mobile CTAs strictly centered */
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-left { text-align: center; }
  .hero-left .hero-cta { justify-content: center; flex-direction: column; align-items: stretch; }
  .hero-left .hero-cta .btn-cta, .hero-left .hero-cta .btn-outline { justify-content: center; }
  .hero-left p { margin-left: auto; margin-right: auto; }
  .hero-right { width: 100%; min-height: 260px; }
  .bubble-cloud { min-height: 260px; }
  .bubble-center-label { font-size: 1.18rem; }
  .uptime-badge { display: inline-flex; }
  .hero-pills { justify-content: center; }
  .cta-band { margin: 0 12px; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .caps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta .btn-cta { display: block; margin-left: auto; margin-right: auto; text-align: center; width: max-content; max-width: 90%; }
  .btn-outline { display: block; margin-left: auto; margin-right: auto; text-align: center; width: max-content; max-width: 90%; }
  .btn-cta, .cta-button {
    display: block; margin-left: auto; margin-right: auto;
    text-align: center; width: max-content; max-width: 90%;
  }
  /* plan cards: center the CTA button */
  .plan-card { display: flex; flex-direction: column; align-items: stretch; }
  .plan-card .btn-cta { display: block; margin-left: auto; margin-right: auto; text-align: center; width: 100%; max-width: 280px; }
  /* dl-card CTA */
  .dl-card .btn-cta { display: block; margin-left: auto; margin-right: auto; width: max-content; max-width: 90%; }
  /* use-case card CTA */
  .use-case-card .btn-cta { display: block; margin-left: auto; margin-right: auto; width: max-content; max-width: 90%; }
  /* cta-btns always centered */
  .cta-btns { display: flex !important; flex-direction: column; align-items: center; gap: 12px; }
  .cta-btns .btn-cta { display: block; margin-left: auto; margin-right: auto; width: max-content; max-width: 90%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-grid-4 { grid-template-columns: 1fr 1fr; }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 10px; }

  section { padding: 48px 16px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .stat-inner { gap: 28px; }
  .plans-grid-4 { grid-template-columns: 1fr; }
}
