:root {
  --bg: #2e2e3d;
  --surface: #3a3a4d;
  --surface-variant: #4a4a61;
  --glass: rgba(58, 58, 77, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.06);
  --primary: #b88400;
  --primary-light: #d6a21e;
  --connected: #23b65d;
  --disconnected: #585864;
  --error: #eb445a;
  --text: #ffffff;
  --text-muted: #a1a1ac;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max-w: 1140px;
  --blur: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { width: min(var(--max-w), 92vw); margin: 0 auto; }

/* ── Glass utilities ── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 32px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
}

.glass-sm { border-radius: var(--radius-sm); }

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(46, 46, 61, 0.75);
  backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: rgba(46, 46, 61, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 92vw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.brand img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.lang-switch {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.lang-switch:hover { color: var(--text); border-color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 132, 0, 0.35);
}

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(184, 132, 0, 0.12), transparent),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(184, 132, 0, 0.12);
  border: 1px solid rgba(184, 132, 0, 0.35);
  color: var(--primary-light);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--connected);
  box-shadow: 0 0 8px rgba(35, 182, 93, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.trust-tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Live connection panel (Hero right) */
.live-panel {
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.live-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.live-panel-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.live-status.connected {
  background: rgba(35, 182, 93, 0.15);
  color: var(--connected);
  border: 1px solid rgba(35, 182, 93, 0.3);
}

.live-status.connecting {
  background: rgba(184, 132, 0, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(184, 132, 0, 0.3);
}

.live-status.disconnected {
  background: rgba(88, 88, 100, 0.2);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.live-node-main {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

.live-node-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.live-latency {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.live-latency strong { color: var(--primary-light); }

.live-traffic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.live-traffic-item {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.live-traffic-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.live-routes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.live-route {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.live-route.active {
  background: rgba(184, 132, 0, 0.1);
  border-color: rgba(184, 132, 0, 0.25);
}

.route-flag {
  font-weight: 700;
  color: var(--primary-light);
}

.route-ping {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.live-tabs { margin-bottom: 0; }

/* Feature grid (6 cards) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 132, 0, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184,132,0,0.2), rgba(214,162,30,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.8125rem; margin: 0; line-height: 1.55; }

/* Stats band */
.stats-band {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Security split layout */
.security-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.security-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.security-intro > p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.65;
}

.security-explain-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.security-explain {
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--primary);
}

.security-explain p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.mini-stat {
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(184, 132, 0, 0.08);
  border: 1px solid rgba(184, 132, 0, 0.2);
  font-size: 0.8125rem;
  color: var(--primary-light);
}

.section-muted {
  background: rgba(0, 0, 0, 0.12);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.9375rem;
}

.step-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.step-card p { color: var(--text-muted); font-size: 0.8125rem; margin: 0; }

/* Bottom CTA band */
.cta-band {
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-band > p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-fine {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem !important;
  text-align: center;
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-ring {
  position: relative;
  width: 280px;
  height: 280px;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(184, 132, 0, 0.25);
  animation: pulse-ring 3s ease-in-out infinite;
}

.hero-logo-ring img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(184, 132, 0, 0.3));
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Platform showcase */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.platform-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 132, 0, 0.35);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.platform-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }

.platform-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

.region-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(184, 132, 0, 0.15);
  border: 1px solid rgba(184, 132, 0, 0.3);
  color: var(--primary-light);
}

.chip-protocol {
  background: rgba(35, 182, 93, 0.12);
  border-color: rgba(35, 182, 93, 0.3);
  color: var(--connected);
}

/* Security grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.security-card {
  padding: 1.75rem;
}

.security-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184,132,0,0.2), rgba(214,162,30,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.security-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.security-card p { color: var(--text-muted); font-size: 0.8125rem; margin: 0; }

/* Connection preview */
.preview-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.preview-bullets { list-style: none; padding: 0; margin: 0; }

.preview-bullets li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.preview-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--connected);
  font-weight: 700;
}

.preview-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.preview-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.preview-tab.active {
  background: rgba(184, 132, 0, 0.2);
  border-color: var(--primary);
  color: var(--primary-light);
}

.phone-mock {
  padding: 1.5rem;
  max-width: 320px;
  margin: 0 auto;
}

.mock-status {
  text-align: center;
  padding: 2rem 1rem;
}

.mock-power {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.4s;
}

.mock-power.disconnected { background: var(--disconnected); }
.mock-power.connecting { background: linear-gradient(135deg, var(--primary), var(--primary-light)); animation: spin-glow 1.5s linear infinite; }
.mock-power.connected { background: var(--connected); box-shadow: 0 0 40px rgba(35, 182, 93, 0.4); }

@keyframes spin-glow {
  0% { box-shadow: 0 0 20px rgba(184, 132, 0, 0.35); }
  50% { box-shadow: 0 0 40px rgba(184, 132, 0, 0.55); }
  100% { box-shadow: 0 0 20px rgba(184, 132, 0, 0.35); }
}

.mock-node {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.2);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.mock-traffic {
  display: flex;
  justify-content: space-around;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-traffic strong { display: block; color: var(--text); font-size: 0.9375rem; }

/* Download band */
.download-band {
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.download-card {
  padding: 1.5rem 2rem;
  min-width: 180px;
  text-align: center;
}

.download-card h3 { margin: 0 0 0.25rem; }
.download-card .ver { color: var(--text-muted); font-size: 0.75rem; margin-bottom: 1rem; }

/* Bento (features page) */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  padding: 2rem;
}

.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

.badge-roadmap {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(255, 171, 9, 0.15);
  color: var(--warning, #ffab09);
  border: 1px solid rgba(255, 171, 9, 0.3);
  margin-bottom: 0.75rem;
}

/* Tech page */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tech-card { padding: 2rem; }
.tech-card h3 { margin: 0 0 0.75rem; color: var(--primary-light); }
.tech-card p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; }

.arch-diagram {
  padding: 2rem;
  margin: 2rem 0;
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre;
  overflow-x: auto;
}

/* FAQ accordion */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after { content: '+'; color: var(--primary-light); font-size: 1.25rem; }
.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.faq-item.open .faq-a { display: block; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-aside {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.contact-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 360px;
  overflow: hidden;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(46, 46, 61, 0.92) 100%);
  pointer-events: none;
}

.contact-aside-body {
  padding: 1.5rem 2rem 2rem;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-brand h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary-light);
}

.contact-tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  line-height: 1.55;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-light);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(184, 132, 0, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.alert-success {
  background: rgba(35, 182, 93, 0.15);
  border: 1px solid rgba(35, 182, 93, 0.3);
  color: var(--connected);
}

.alert-warning {
  background: rgba(255, 171, 9, 0.12);
  border: 1px solid rgba(255, 171, 9, 0.35);
  color: var(--warning, #ffab09);
}

/* Legal prose */
.prose {
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 { color: var(--primary-light); margin-top: 2rem; }
.prose p, .prose li { color: var(--text-muted); }

.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 2rem;
  text-align: center;
}

.page-hero h1 { font-size: 2.25rem; margin: 0; }

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 { margin: 0 0 1rem; font-size: 0.875rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--text-muted); font-size: 0.875rem; }

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* Error pages */
.error-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.error-page-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-page-inner h1 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.error-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Not-yet-open toast */
.vl-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 200;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(46, 46, 61, 0.95);
  border: 1px solid rgba(255, 171, 9, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.vl-toast.vl-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* App showcase carousel */
.showcase-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.showcase-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.showcase-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.showcase-slide {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-width: 0;
  padding: 1rem;
  text-align: center;
}

.showcase-phone-btn {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.showcase-phone-btn:hover .showcase-phone,
.showcase-phone-btn:focus-visible .showcase-phone {
  border-color: rgba(184, 132, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(184, 132, 0, 0.2);
}

.showcase-phone-btn:focus-visible {
  outline: none;
}

.showcase-phone {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  aspect-ratio: 375 / 812;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-slide-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.showcase-slide-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.showcase-nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(46, 46, 61, 0.8);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.showcase-nav:hover:not(:disabled) {
  border-color: rgba(184, 132, 0, 0.45);
  background: rgba(184, 132, 0, 0.12);
}

.showcase-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Showcase lightbox */
body.showcase-lightbox-open {
  overflow: hidden;
}

.showcase-lightbox {
  padding: 0;
  border: none;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: visible;
}

.showcase-lightbox::backdrop {
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(6px);
}

.showcase-lightbox-inner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  box-sizing: border-box;
}

.showcase-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(46, 46, 61, 0.92);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.showcase-lightbox-close:hover {
  border-color: rgba(184, 132, 0, 0.45);
  background: rgba(184, 132, 0, 0.12);
}

.showcase-lightbox-nav {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(46, 46, 61, 0.92);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.showcase-lightbox-nav:hover {
  border-color: rgba(184, 132, 0, 0.45);
  background: rgba(184, 132, 0, 0.12);
}

.showcase-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(420px, calc(100vw - 8rem));
  max-height: calc(100vh - 3rem);
  min-width: 0;
}

.showcase-lightbox-phone {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  aspect-ratio: 375 / 812;
  max-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-lightbox-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.showcase-lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  max-width: 100%;
}

.showcase-lightbox-title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
}

.showcase-lightbox-desc {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-lightbox-counter {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
}

@media (max-width: 640px) {
  .showcase-lightbox-inner {
    flex-direction: column;
    padding: 3.5rem 0.75rem 1rem;
    gap: 0.5rem;
  }

  .showcase-lightbox-nav {
    position: fixed;
    bottom: 1.25rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
  }

  .showcase-lightbox-prev { left: 1rem; }
  .showcase-lightbox-next { right: 1rem; }

  .showcase-lightbox-figure {
    max-width: min(340px, 92vw);
  }

  .showcase-lightbox-phone {
    max-height: min(62vh, 680px);
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
}

.pricing-card-featured {
  border-color: rgba(184, 132, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(184, 132, 0, 0.2);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(184, 132, 0, 0.2);
  color: var(--primary-light);
}

.pricing-plan {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.pricing-price {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
}

.pricing-token {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.pricing-period {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-cta {
  width: 100%;
}

.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 2rem auto 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Admin overrides */
.admin-body { background: var(--bg); }
.admin-sidebar { min-height: 100vh; background: var(--surface); padding: 1rem; }
.admin-sidebar a { display: block; padding: 0.5rem 1rem; color: var(--text-muted); }
.admin-sidebar a:hover { color: var(--primary-light); }
.admin-main { padding: 2rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-content, .preview-section, .contact-grid, .tech-grid,
  .security-split { grid-template-columns: 1fr; }
  .platform-grid, .security-grid, .security-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-slide { flex: 0 0 calc((100% - 2rem) / 3); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .mini-stats, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .live-panel { max-width: none; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(46, 46, 61, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-toggle { display: block; }
  .platform-grid, .security-grid, .security-cards,
  .feature-grid, .stats-grid, .mini-stats, .steps-grid { grid-template-columns: 1fr; }
  .showcase-slide { flex: 0 0 85%; }
  .showcase-nav { width: 2rem; height: 2rem; font-size: 1.25rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
