/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #0a0a14;
  --bg2:         #0f1120;
  --bg3:         #141728;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --accent:      #7c6bff;
  --accent2:     #00d4ff;
  --grad:        linear-gradient(135deg, #7c6bff 0%, #00d4ff 100%);
  --grad-soft:   linear-gradient(135deg, rgba(124,107,255,.15) 0%, rgba(0,212,255,.15) 100%);
  --green:       #10b981;
  --amber:       #f59e0b;
  --red:         #ef4444;
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-faint:  #475569;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 8px 40px rgba(0,0,0,.5);
  --shadow-acc:  0 8px 40px rgba(124,107,255,.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.grad-text  { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 800; line-height: 1.2; letter-spacing: -.5px; margin-bottom: 16px; }
.section-sub   { font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 24px rgba(124,107,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,107,255,.5); }
.btn-ghost  { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: rgba(124,107,255,.4); }
.btn svg    { flex-shrink: 0; }

/* ── Header / Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,20,.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface2); }
.nav-cta { padding: 9px 22px; font-size: 14px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-mobile { display: none; flex-direction: column; padding: 16px 24px 20px; gap: 4px; border-top: 1px solid var(--border); }
.nav-mobile a { padding: 10px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-muted); }
.nav-mobile a:hover { color: var(--text); background: var(--surface2); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; border-radius: 12px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124,107,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0,212,255,.12) 0%, transparent 60%);
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,107,255,.12); border: 1px solid rgba(124,107,255,.3);
  border-radius: 50px; padding: 6px 14px; font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 24px;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.8)} }
.hero-title { font-size: clamp(36px,5vw,58px); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 500px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 12px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--green); flex-shrink: 0; }

/* ── Extension Mockup ─────────────────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.mockup-wrap { position: relative; }
.mockup-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,107,255,.3) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.mockup {
  width: 300px; background: #111827; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow);
  overflow: hidden; position: relative;
}
.mockup-header {
  background: #0f172a; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-header img { width: 24px; height: 24px; border-radius: 6px; }
.mockup-header-title { font-size: 14px; font-weight: 700; flex: 1; }
.mockup-status { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.mockup-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,.06);
  background: #0f172a;
}
.mockup-tab {
  flex: 1; padding: 10px 4px; text-align: center; font-size: 10px;
  font-weight: 600; color: var(--text-faint); border-bottom: 2px solid transparent;
  transition: .2s;
}
.mockup-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.mockup-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mockup-peer {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px;
}
.mockup-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.mockup-peer-name { font-size: 13px; font-weight: 600; }
.mockup-peer-status { font-size: 10px; color: var(--green); }
.mockup-msg { background: rgba(124,107,255,.15); border-radius: 12px 12px 4px 12px; padding: 8px 12px; font-size: 12px; max-width: 80%; align-self: flex-end; }
.mockup-msg-in { background: rgba(255,255,255,.06); border-radius: 12px 12px 12px 4px; align-self: flex-start; }
.mockup-file {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 12px;
}
.mockup-file-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(16,185,129,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup-file-name { font-size: 12px; font-weight: 600; }
.mockup-file-size { font-size: 10px; color: var(--text-muted); }
.mockup-progress { height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.mockup-progress-fill { height: 100%; background: var(--grad); border-radius: 2px; width: 72%; }

/* ── Stats ────────────────────────────────────────────────────────────────── */
.stats { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.stat-item { text-align: center; padding: 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 36px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features { padding: 100px 0; }
.features-head { text-align: center; margin-bottom: 60px; }
.features-head .section-sub { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover { border-color: rgba(124,107,255,.4); transform: translateY(-4px); box-shadow: var(--shadow-acc); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2);
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── How it works ─────────────────────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--bg2); }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.how-steps { display: flex; flex-direction: column; gap: 32px; }
.how-step { display: flex; gap: 20px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(124,107,255,.4);
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.how-visual { position: relative; display: flex; justify-content: center; }
.how-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; width: 100%; max-width: 360px; box-shadow: var(--shadow);
}
.how-card-title { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.room-code-display {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 34px; font-weight: 900; letter-spacing: 8px;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}
.qr-placeholder {
  width: 120px; height: 120px; margin: 0 auto; border-radius: 12px;
  background: repeating-conic-gradient(var(--surface2) 0% 25%, var(--bg3) 0% 50%) 0 0/10px 10px;
  border: 2px solid var(--border);
}
.how-card-sub { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 12px; }

/* ── Install CTA ──────────────────────────────────────────────────────────── */
.install { padding: 100px 0; }
.install-box {
  background: var(--grad-soft); border: 1px solid rgba(124,107,255,.25);
  border-radius: 28px; padding: 70px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.install-box::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,107,255,.2) 0%, transparent 70%);
  pointer-events: none;
}
.install-icon { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 8px 32px rgba(124,107,255,.4); }
.install-title { font-size: clamp(26px,4vw,40px); font-weight: 900; margin-bottom: 16px; }
.install-sub { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.install-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.install-meta { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.install-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.install-meta-item svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
.footer-brand-name { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.footer-brand-name span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: var(--text-faint); }
.footer-copy a { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-faint); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ── Page Hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  padding: 120px 0 60px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,107,255,.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,107,255,.1); border: 1px solid rgba(124,107,255,.25);
  border-radius: 50px; padding: 5px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.page-hero-title { font-size: clamp(30px,4vw,50px); font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; }
.page-hero-sub { font-size: 16px; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* ── Prose (legal pages) ──────────────────────────────────────────────────── */
.prose { padding: 60px 0 100px; }
.prose-body { max-width: 760px; margin: 0 auto; }
.prose-section { margin-bottom: 44px; }
.prose-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.prose-section h3 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; color: var(--text-muted); }
.prose-section p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.prose-section ul { margin: 10px 0 14px 20px; }
.prose-section ul li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.prose-section a  { color: var(--accent); text-decoration: underline; }
.prose-date { font-size: 13px; color: var(--text-faint); margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.prose-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; }
.prose-toc-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.prose-toc ul { display: flex; flex-direction: column; gap: 8px; }
.prose-toc ul a { font-size: 14px; color: var(--accent); }

/* ── About Page ───────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 60px 0 100px; }
.about-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 24px;
}
.about-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.about-card-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.about-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.about-team { margin-top: 48px; }
.about-team-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px; }
.team-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 12px;
}
.team-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.team-name   { font-size: 15px; font-weight: 700; }
.team-role   { font-size: 13px; color: var(--text-muted); }
.about-values { padding: 80px 0; background: var(--bg2); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.value-emoji { font-size: 36px; margin-bottom: 14px; }
.value-name  { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-desc  { font-size: 14px; color: var(--text-muted); }

/* ── Contact Page ─────────────────────────────────────────────────────────── */
.contact-section { padding: 60px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-info-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--text); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,107,255,.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; border-radius: 12px; font-size: 15px; }
.form-success {
  display: none; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3);
  border-radius: 10px; padding: 14px; font-size: 14px; color: var(--green);
  text-align: center; margin-top: 16px;
}

/* ── Utility aliases used in HTML ─────────────────────────────────────────── */
.gradient-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.hidden { display: none !important; }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Nav toggle (mobile) ──────────────────────────────────────────────────── */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,10,20,.97); padding: 16px 24px 24px; border-bottom: 1px solid var(--border); gap: 4px; }
}

/* ── Nav icon ─────────────────────────────────────────────────────────────── */
.nav-icon { width: 28px; height: 28px; border-radius: 7px; }

/* ── Hero extras ──────────────────────────────────────────────────────────── */
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.orb-1 { width: 500px; height: 500px; left: -100px; top: -100px; background: rgba(124,107,255,.15); }
.orb-2 { width: 400px; height: 400px; right: -50px; bottom: 0; background: rgba(0,212,255,.1); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
.trust-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

/* ── Mockup (index.html specific layout) ─────────────────────────────────── */
.mockup { width: 280px; background: #111827; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); overflow: hidden; position: relative; z-index: 1; }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #0f172a; border-bottom: 1px solid rgba(255,255,255,.06); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red    { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green  { background: #10b981; }
.mockup-title { font-size: 12px; font-weight: 700; margin-left: 6px; color: var(--text-muted); }
.mockup-header { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 4px; }
.mockup-logo { width: 22px; height: 22px; border-radius: 5px; }
.mockup-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mockup-room { background: rgba(124,107,255,.08); border: 1px solid rgba(124,107,255,.2); border-radius: 10px; padding: 10px 12px; }
.mockup-label { font-size: 10px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.mockup-code { font-size: 22px; font-weight: 900; letter-spacing: 5px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mockup-peer { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 9px 11px; }
.peer-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.peer-avatar.green { background: linear-gradient(135deg, #10b981, #059669); }
.peer-info { flex: 1; min-width: 0; }
.peer-name { font-size: 12px; font-weight: 600; display: block; }
.peer-status { font-size: 10px; color: var(--green); }
.peer-signal { display: flex; align-items: flex-end; gap: 2px; }
.peer-signal span { display: block; width: 3px; border-radius: 2px; background: var(--green); }
.peer-signal span:nth-child(1) { height: 6px; }
.peer-signal span:nth-child(2) { height: 10px; }
.peer-signal span:nth-child(3) { height: 14px; }
.mockup-transfer { display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 9px 11px; }
.transfer-icon { width: 28px; height: 28px; border-radius: 7px; background: rgba(124,107,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.transfer-icon svg { stroke: var(--accent); }
.transfer-details { display: flex; justify-content: space-between; align-items: baseline; }
.transfer-name { font-size: 11px; font-weight: 600; }
.transfer-size { font-size: 10px; color: var(--text-muted); }
.transfer-progress-wrap { display: flex; align-items: center; gap: 8px; }
.transfer-bar { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.transfer-fill { height: 100%; background: var(--grad); border-radius: 2px; transition: width .3s ease; }
.transfer-pct { font-size: 10px; color: var(--text-muted); width: 26px; text-align: right; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.mockup-glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(124,107,255,.25) 0%, transparent 70%); filter: blur(40px); pointer-events: none; z-index: 0; }

/* ── Stats (4-col) ────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-value { font-size: 32px; font-weight: 900; display: block; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Features section ─────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── How it works (steps layout) ─────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.step { display: flex; gap: 28px; align-items: flex-start; }
.step-number { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: #fff; flex-shrink: 0; box-shadow: 0 4px 16px rgba(124,107,255,.4); }
.step-content { padding-top: 12px; }
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p  { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.step-connector { width: 2px; height: 48px; background: linear-gradient(to bottom, rgba(124,107,255,.4), rgba(0,212,255,.2)); margin-left: 25px; }

/* ── Install CTA ──────────────────────────────────────────────────────────── */
.cta-card {
  background: var(--grad-soft); border: 1px solid rgba(124,107,255,.25);
  border-radius: 28px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-orb { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(124,107,255,.2) 0%, transparent 70%); pointer-events: none; }
.cta-logo { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 8px 32px rgba(124,107,255,.4); }
.cta-card h2 { font-size: clamp(26px,4vw,40px); font-weight: 900; margin-bottom: 16px; }
.cta-card p  { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-note { display: block; margin-top: 18px; font-size: 13px; color: var(--text-faint); }

/* ── Footer (layout used in HTML) ────────────────────────────────────────── */
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-top: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero h1 { font-size: clamp(30px,5vw,52px); font-weight: 900; letter-spacing: -.5px; margin-bottom: 12px; }
.page-hero p  { font-size: 16px; color: var(--text-muted); }

/* ── Prose (legal pages) ─────────────────────────────────────────────────── */
.prose-section { padding: 60px 0 100px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--text); }
.prose p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 10px 0 16px 22px; }
.prose ul li, .prose ol li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose code { background: var(--surface2); border-radius: 4px; padding: 2px 6px; font-size: 13px; font-family: monospace; }
.prose-highlight {
  background: rgba(124,107,255,.1); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 16px 20px; margin-bottom: 36px;
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
}

/* ── About page ──────────────────────────────────────────────────────────── */
.about-section { padding: 60px 0 100px; }
.about-intro { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; margin-bottom: 80px; }
.about-logo-wrap { display: flex; justify-content: center; }
.about-logo { width: 100px; height: 100px; border-radius: 24px; box-shadow: 0 8px 40px rgba(124,107,255,.35); }
.about-intro-text h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.about-intro-text p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.values-section { margin-bottom: 80px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, transform .2s; }
.value-card:hover { border-color: rgba(124,107,255,.35); transform: translateY(-3px); }
.value-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-icon svg { stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.mission-card { background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2); border-radius: var(--radius-lg); padding: 48px 40px; text-align: center; margin: 0 0 80px; position: relative; }
.mission-quote { font-size: 80px; line-height: .7; color: var(--accent); opacity: .3; position: absolute; top: 20px; left: 32px; font-family: Georgia, serif; }
blockquote { font-size: 18px; color: var(--text); line-height: 1.7; font-style: italic; max-width: 640px; margin: 0 auto 16px; }
cite { font-size: 13px; color: var(--text-faint); font-style: normal; }
.tech-section { margin-bottom: 60px; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tech-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.tech-name { display: block; font-size: 16px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.tech-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.about-cta { text-align: center; padding: 48px 0 0; }
.about-cta h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.about-cta p  { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-section { padding: 60px 0 100px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 28px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(124,107,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px; }
.contact-item-value { display: block; font-size: 14px; color: var(--text); }
.contact-item-value[href] { color: var(--accent); }
.response-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.contact-form { display: flex; flex-direction: column; }
.form-success { display: none; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; text-align: center; }
.form-success.visible { display: flex; }
.form-success svg { stroke: var(--green); fill: none; width: 40px; height: 40px; }
.form-success h3 { font-size: 20px; font-weight: 700; }
.form-success p  { font-size: 14px; color: var(--text-muted); }
#formFields.hidden { display: none; }
.required { color: var(--accent); }
.form-error { display: none; font-size: 12px; color: var(--red); margin-top: 5px; }
.form-error.visible { display: block; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red) !important; }
select option { background: var(--bg3); color: var(--text); }

/* ── Fade-in on scroll ────────────────────────────────────────────────────── */
.feature-card, .step, .stat-item, .value-card, .tech-item, .contact-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.feature-card.visible, .step.visible, .stat-item.visible,
.value-card.visible, .tech-item.visible, .contact-item.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Animations ───────────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-inner { grid-template-columns: 1fr; }
  .how-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; }
  .footer-links  { grid-template-columns: 1fr 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .install-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 48px 24px; }
  .mission-card { padding: 40px 24px; }
  blockquote { font-size: 16px; }
}
