/* ═══════════════════════════════════════════════
   HELLO VIMS — Voice Command & Control
   Boomer-friendly. NSA edge. Big text. High contrast.
   ═══════════════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #111118;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a28;
  --text: #e8e8ec;
  --text-muted: #8888a0;
  --text-dim: #555570;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-bright: #40e8ff;
  --green: #00ff88;
  --green-dim: rgba(0, 255, 136, 0.12);
  --red: #ff3355;
  --amber: #ffaa00;
  --border: #222235;
  --border-light: #2a2a40;
  --radius: 8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  font-size: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}
.nav-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--accent-bright) !important; box-shadow: 0 0 20px var(--accent-glow); }

/* Mobile menu button */
.mobile-menu {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.mobile-menu span {
  display: block; width: 24px; height: 2px;
  background: var(--text-muted);
  transition: 0.2s;
}
.mobile-nav {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  flex-direction: column; gap: 16px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
}
.mobile-nav a:hover { color: #fff; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 40px;
  background: rgba(0, 212, 255, 0.06);
}
.hero-headline {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.highlight {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}
.hero-sub {
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* Waveform */
.waveform-container {
  margin: 0 auto 48px;
  max-width: 600px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  position: relative;
}
.waveform-label {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}
.waveform-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
#wave-canvas {
  width: 100%;
  height: 60px;
  display: block;
}

/* Buttons */
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 18px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 0 30px var(--accent-glow); text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 18px 40px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { color: #fff; border-color: var(--text-muted); text-decoration: none; }
.btn-large { font-size: 16px; padding: 22px 56px; }
.hero-platforms {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ── PROOF BAR ── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 32px 0;
}
.proof-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding: 0 32px;
}
.proof-item { display: flex; align-items: baseline; gap: 4px; }
.proof-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.proof-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.proof-divider {
  width: 1px; height: 40px;
  background: var(--border-light);
}

/* ── SECTIONS ── */
.section {
  padding: 120px 32px;
}
.section-dark {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}
.section-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 20px;
  color: var(--text-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.step-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.step-icon {
  color: var(--accent);
  margin-bottom: 24px;
  display: flex; justify-content: center;
}
.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── DEMO TERMINAL ── */
.demo-terminal {
  max-width: 700px;
  margin: 0 auto;
  background: #0c0c14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-left: 8px;
}
.terminal-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 2.2;
  min-height: 280px;
  overflow: hidden;
}
.terminal-line {
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}
.terminal-line.sys { color: var(--text-dim); }
.terminal-line.user { color: var(--green); }
.terminal-line.user::before { content: '▸ YOU: '; color: var(--green); opacity: 0.6; }
.terminal-line.vims { color: var(--accent); }
.terminal-line.vims::before { content: '◉ VIMS: '; color: var(--accent); opacity: 0.6; }
.terminal-line.action { color: var(--amber); }
.terminal-line.action::before { content: '⚡ '; }
@keyframes fadeIn { to { opacity: 1; } }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.25s;
}
.feat-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.feat-icon {
  color: var(--accent);
  margin-bottom: 20px;
}
.feat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.feat-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── COMMANDS GRID ── */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cmd-category {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.cmd-category h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.cmd-item {
  font-size: 16px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: baseline; gap: 12px;
}
.cmd-item:last-child { border-bottom: none; }
.cmd-prompt {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── COMPARISON TABLE ── */
.compare-table {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-header {
  background: var(--bg-card);
}
.compare-header div {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.compare-feature {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.compare-them {
  padding: 16px 24px;
  text-align: center;
  font-size: 18px;
  color: var(--red);
}
.compare-us {
  padding: 16px 24px;
  text-align: center;
  font-size: 18px;
  color: var(--green);
  font-weight: 700;
}
.compare-row:not(.compare-header):nth-child(odd) {
  background: rgba(255,255,255,0.01);
}

/* ── FAQ ── */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(0, 212, 255, 0.2); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
.faq-item summary:hover { background: rgba(255,255,255,0.02); }
.faq-item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA ── */
.cta-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-inner { max-width: 600px; }
.cta-headline {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta-note {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-right: 24px;
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-right { display: flex; gap: 24px; }
.footer-right a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Big text stays big on tablets
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .commands-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 56px; }
  .section-title { font-size: 40px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .mobile-menu { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 18px; }
  .hero-badge { font-size: 10px; letter-spacing: 2px; padding: 6px 16px; }
  .section { padding: 80px 20px; }
  .section-title { font-size: 32px; }
  .section-sub { font-size: 17px; margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-inner { gap: 24px; }
  .proof-num { font-size: 28px; }
  .proof-divider { display: none; }
  .compare-feature { padding: 12px 16px; font-size: 14px; }
  .compare-them, .compare-us { padding: 12px 16px; }
  .btn-primary { padding: 16px 32px; font-size: 13px; }
  .btn-secondary { padding: 16px 32px; font-size: 13px; }
  .btn-large { padding: 18px 40px; font-size: 14px; }
  .cta-headline { font-size: 36px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-left { flex-direction: column; gap: 8px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .step-card { padding: 32px 24px; }
  .feat-card { padding: 28px 24px; }
  .cmd-category { padding: 24px; }
}

/* Large text mode — accessibility for older users */
@media (min-width: 1400px) {
  .hero-headline { font-size: 80px; }
  .hero-sub { font-size: 24px; }
  .section-title { font-size: 56px; }
  .section-sub { font-size: 22px; }
  .feat-card p, .step-card p { font-size: 17px; }
}
