/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #0a0a0f;
  --bg-card:   #12121a;
  --bg-card-h: #1a1a26;
  --border:    #1e1e2e;
  --text:      #e4e4ef;
  --text-dim:  #8888a0;
  --accent:    #6c5ce7;
  --accent-l:  #a29bfe;
  --gradient:  linear-gradient(135deg, #6c5ce7, #00cec9);
  --radius:    12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-l); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; }

/* ── Gradient text ────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.btn-primary {
  background: var(--gradient); color: #fff; border: none;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--accent-l); border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: #fff;
}
.nav-brand:hover { color: #fff; }
.nav-logo { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: .82rem; color: var(--text-dim); }
.hero-visual { display: flex; justify-content: center; }
.app-mockup {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px; box-shadow: 0 24px 80px rgba(108,92,231,.15);
}
.app-mockup img { border-radius: 10px; }
.hero-blur {
  position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,92,231,.2), transparent 70%);
  pointer-events: none;
}

/* ── Trust bar ────────────────────────────────────────────────── */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--border); text-align: center; }
.trust-bar p { font-size: .82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.trust-icons { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; font-size: .95rem; color: var(--text-dim); }

/* ── Social Proof Bar ────────────────────────────────────────────── */
.social-proof {
  padding: 20px 0;
  background: linear-gradient(135deg, rgba(108,92,231,.06), rgba(0,206,201,.06));
  border-bottom: 1px solid var(--border);
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .95rem;
  font-weight: 500;
}

.proof-item { color: var(--text); }
.proof-dot  { color: var(--text-dim); font-size: 1.2rem; }

/* ── Download button pulse ────────────────────────────────────── */
.download-btn { position: relative; }
.download-btn::after {
  content: '';
  position: absolute; inset: -3px; border-radius: 12px;
  background: var(--gradient); opacity: 0; z-index: -1;
  animation: btn-glow 2.5s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: .25; transform: scale(1.04); }
}

/* ── Live Demo (Try It Now) ───────────────────────────────────── */
.try-it-section { padding: 100px 0; }

.live-demo-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.live-demo-output {
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
  padding: 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  word-wrap: break-word;
}

.live-demo-placeholder {
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

.live-interim {
  color: rgba(255,255,255,0.4);
}

.live-demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.live-demo-mic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(108,92,231,0.4);
  background: rgba(108,92,231,0.1);
  color: rgba(108,92,231,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.live-demo-mic:hover {
  background: rgba(108,92,231,0.2);
  border-color: rgba(108,92,231,0.6);
  transform: scale(1.05);
}

.live-demo-mic.active {
  background: rgba(225,29,72,0.15);
  border-color: rgba(225,29,72,0.6);
  color: #e11d48;
  animation: mic-pulse 1.5s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(225,29,72,0); }
}

.live-demo-status {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.live-demo-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.live-demo-copy,
.live-demo-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.live-demo-copy {
  background: rgba(108,92,231,0.12);
  border: 1px solid rgba(108,92,231,0.25);
  color: rgba(108,92,231,0.9);
}

.live-demo-copy:hover {
  background: rgba(108,92,231,0.2);
}

.live-demo-clear {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
}

.live-demo-clear:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}

.live-demo-note {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.live-demo-note a {
  color: rgba(108,92,231,0.8);
  text-decoration: underline;
}

/* ── Animated Demo Section ───────────────────────────────────── */
.demo-section { padding: 100px 0; background: var(--bg-card); }

.demo-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.demo-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
}

.demo-step-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-l);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.demo-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-top: 60px;
}

/* Step 1 — Keyboard keys */
.demo-keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.demo-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dim);
  animation: key-press 3s ease-in-out infinite;
}

.key-ctrl  { animation-delay: 0s; }
.key-win   { animation-delay: 0.15s; }
.key-a     { animation-delay: 0.3s; }

.demo-key-plus {
  font-size: 1rem;
  color: var(--text-dim);
}

@keyframes key-press {
  0%, 100% { background: var(--bg); color: var(--text-dim); border-color: var(--border); transform: translateY(0); }
  20%, 60% { background: rgba(108,92,231,.2); color: #fff; border-color: var(--accent); transform: translateY(2px); box-shadow: 0 0 20px rgba(108,92,231,.3); }
}

/* Step 2 — Waveform */
.demo-waveform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.demo-wave-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
}

.demo-wave-bars span {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-l));
  animation: demo-wave 1s ease-in-out infinite alternate;
}

.demo-wave-bars span:nth-child(1)  { animation-delay: 0s;    }
.demo-wave-bars span:nth-child(2)  { animation-delay: .07s;  }
.demo-wave-bars span:nth-child(3)  { animation-delay: .14s;  }
.demo-wave-bars span:nth-child(4)  { animation-delay: .21s;  }
.demo-wave-bars span:nth-child(5)  { animation-delay: .28s;  }
.demo-wave-bars span:nth-child(6)  { animation-delay: .35s;  }
.demo-wave-bars span:nth-child(7)  { animation-delay: .42s;  }
.demo-wave-bars span:nth-child(8)  { animation-delay: .49s;  }
.demo-wave-bars span:nth-child(9)  { animation-delay: .56s;  }
.demo-wave-bars span:nth-child(10) { animation-delay: .63s;  }
.demo-wave-bars span:nth-child(11) { animation-delay: .7s;   }
.demo-wave-bars span:nth-child(12) { animation-delay: .77s;  }
.demo-wave-bars span:nth-child(13) { animation-delay: .84s;  }
.demo-wave-bars span:nth-child(14) { animation-delay: .91s;  }
.demo-wave-bars span:nth-child(15) { animation-delay: .98s;  }
.demo-wave-bars span:nth-child(16) { animation-delay: 1.05s; }
.demo-wave-bars span:nth-child(17) { animation-delay: 1.12s; }
.demo-wave-bars span:nth-child(18) { animation-delay: 1.19s; }
.demo-wave-bars span:nth-child(19) { animation-delay: 1.26s; }
.demo-wave-bars span:nth-child(20) { animation-delay: 1.33s; }

@keyframes demo-wave {
  0%   { height: 6px;  opacity: .3; }
  100% { height: 38px; opacity: 1; }
}

.demo-mic-badge {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-l);
  letter-spacing: .5px;
}

/* Step 3 — Mock Editor */
.demo-editor {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.demo-editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: .25;
}

.demo-dot:nth-child(1) { background: #ef4444; opacity: .6; }
.demo-dot:nth-child(2) { background: #eab308; opacity: .6; }
.demo-dot:nth-child(3) { background: #22c55e; opacity: .6; }

.demo-editor-title {
  margin-left: 6px;
  font-size: .72rem;
  color: var(--text-dim);
}

.demo-editor-body {
  padding: 16px;
  min-height: 80px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text);
}

.demo-typed-text {
  /* filled by JS */
}

.demo-cursor {
  display: inline-block;
  color: var(--accent-l);
  font-weight: 200;
  animation: blink-cursor .7s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Section titles ───────────────────────────────────────────── */
.section-title { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-dim); font-size: 1.05rem; margin-bottom: 48px; }

/* ── Features ─────────────────────────────────────────────────── */
.features { padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }
.feature-card kbd {
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 6px; font-size: .8rem; font-family: inherit;
}

/* ── How It Works ─────────────────────────────────────────────── */
.how-it-works { padding: 100px 0; background: var(--bg-card); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 20px; }
.step {
  flex: 1; max-width: 280px; text-align: center; padding: 24px;
}
.step-num {
  width: 48px; height: 48px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); border-radius: 50%;
  font-weight: 800; font-size: 1.2rem; color: #fff;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .9rem; }
.step-arrow { font-size: 1.5rem; color: var(--text-dim); margin-top: 36px; }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; transition: transform .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--accent); position: relative;
  box-shadow: 0 0 40px rgba(108,92,231,.15);
}
.price-badge { font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--text); }
.popular-tag {
  display: inline-block; background: var(--gradient); color: #fff;
  font-size: .7rem; padding: 2px 10px; border-radius: 20px; margin-left: 8px;
  vertical-align: middle;
}
.price-amount { margin-bottom: 8px; }
.currency { font-size: 1.5rem; font-weight: 700; vertical-align: super; }
.amount { font-size: 3.2rem; font-weight: 800; }
.period { font-size: .95rem; color: var(--text-dim); }
.price-desc { color: var(--text-dim); font-size: .88rem; margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 6px 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.price-features li.muted { color: var(--text-dim); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { padding: 100px 0; background: var(--bg-card); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 16px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent-l); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 10px; color: var(--text-dim); font-size: .92rem; line-height: 1.7; }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta { padding: 100px 0; text-align: center; }
.cta h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.cta p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 32px; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { padding: 60px 0 20px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand span { font-weight: 700; font-size: 1.1rem; display: block; margin-bottom: 6px; }
.footer-brand p { color: var(--text-dim); font-size: .88rem; }
.footer-logo { width: 28px; height: 28px; border-radius: 6px; margin-bottom: 8px; }
.footer-links h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--text-dim); font-size: .9rem; margin-bottom: 8px; }
.footer-links a:hover { color: #fff; }
.footer-cross-brand { text-align: center; padding: 24px 0; border-top: 1px solid var(--border); margin-bottom: 0; }
.cross-brand-label { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.cross-brand-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cross-brand-links a { color: var(--text-dim); font-size: .88rem; transition: color .2s; }
.cross-brand-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .82rem; color: var(--text-dim); }

/* ── Use Cases ─────────────────────────────────────────────────── */
.use-cases { padding: 100px 0; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-case-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s;
}
.use-case-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.use-case-icon { font-size: 2rem; margin-bottom: 16px; }
.use-case-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.use-case-card p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }

/* ── Comparison Table ─────────────────────────────────────────── */
.comparison { padding: 100px 0; background: var(--bg-card); }
.comparison-table-wrap { overflow-x: auto; margin-top: 8px; }
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: .92rem; min-width: 600px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-dim); background: rgba(255,255,255,.02);
}
.comparison-table .highlight-col {
  background: rgba(108,92,231,.08);
  color: #fff; font-weight: 600;
}
.comparison-table thead .highlight-col {
  color: var(--accent-l);
}
.comparison-table tbody td { color: var(--text-dim); }
.comparison-table tbody .highlight-col { color: var(--text); }

/* ── Pricing 2-col variant ────────────────────────────────────── */
.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px; margin-left: auto; margin-right: auto;
}

/* ── Billing period toggle ────────────────────────────────────── */
.billing-period-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.period-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255,255,255,0.5);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.period-btn:hover {
  color: rgba(255,255,255,0.75);
}

.period-btn.active {
  color: #fff;
  background: rgba(108,92,231,0.25);
  box-shadow: 0 1px 4px rgba(108,92,231,0.2);
}

.save-tag {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border-radius: 6px;
  margin-left: 4px;
}

/* ── Legal Pages ──────────────────────────────────────────────── */
.legal-page {
  padding: 140px 0 80px;
}
.legal-page .container { max-width: 760px; }
.legal-page h1 {
  font-size: 2.4rem; font-weight: 800; margin-bottom: 8px;
}
.legal-updated {
  color: var(--text-dim); font-size: .88rem; margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 1.3rem; font-weight: 700; margin-top: 36px; margin-bottom: 12px;
}
.legal-page h3 {
  font-size: 1.05rem; font-weight: 600; margin-top: 20px; margin-bottom: 8px;
}
.legal-page p {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 12px;
}
.legal-page ul {
  list-style: disc; padding-left: 24px; margin-bottom: 16px;
}
.legal-page ul li {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 4px;
}
.legal-page a { color: var(--accent-l); text-decoration: underline; }
.legal-page a:hover { color: #fff; }

/* ── About Page ───────────────────────────────────────────────── */
.about-page {
  padding: 140px 0 80px;
}
.about-page .container { max-width: 800px; }
.about-page h1 {
  font-size: 2.6rem; font-weight: 800; margin-bottom: 40px;
}
.about-section {
  margin-bottom: 48px;
}
.about-section h2 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 14px;
}
.about-section p {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 12px;
}
.about-section ul {
  list-style: none; padding: 0; margin-bottom: 16px;
}
.about-section ul li {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 4px;
}
.about-section a { color: var(--accent-l); }
.about-section a:hover { color: #fff; }
.about-cta-section { text-align: center; padding: 48px 0 0; }

/* About page products grid */
.about-products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;
}
.about-product-card {
  display: block;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, transform .25s;
  text-decoration: none;
}
.about-product-card:hover { border-color: var(--accent); transform: translateY(-4px); color: var(--text); }
.about-product-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.about-product-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.about-product-card p { color: var(--text-dim); font-size: .88rem; line-height: 1.6; margin-bottom: 0; }

/* ── Hero Bullets ──────────────────────────────────────────────── */
.hero-bullets {
  list-style: none; padding: 0; margin: 0 0 28px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-bullets li {
  font-size: .97rem; color: var(--text-dim); line-height: 1.5;
  padding-left: 24px; position: relative;
}
.hero-bullets li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent-l); font-weight: 700;
}

/* ── Use-Case Card Link ───────────────────────────────────────── */
.use-case-card-link {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s;
}
.use-case-card-link:hover { border-color: var(--accent); transform: translateY(-4px); color: inherit; }
.use-case-card-link h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.use-case-card-link p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }
.use-case-read-more {
  display: inline-block; margin-top: 12px;
  font-size: .85rem; font-weight: 600; color: var(--accent-l);
}
.use-case-card-link:hover .use-case-read-more { color: #fff; }

/* ── Content Pages (Compare, Use Cases, Changelog) ────────────── */
.content-page {
  padding: 140px 0 80px;
}
.content-page .container { max-width: 800px; }
.breadcrumb-text {
  font-size: .82rem; color: var(--text-dim); margin-bottom: 24px;
}
.breadcrumb-text a { color: var(--text-dim); }
.breadcrumb-text a:hover { color: #fff; }
.content-page h1 {
  font-size: 2.4rem; font-weight: 800; line-height: 1.25; margin-bottom: 20px;
}
.content-intro {
  font-size: 1.08rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 16px;
}
.content-section {
  margin-top: 48px;
}
.content-section h2 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 14px;
}
.content-section h3 {
  font-size: 1.1rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px;
}
.content-section p {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 14px;
}
.content-section ul {
  list-style: disc; padding-left: 24px; margin-bottom: 16px;
}
.content-section ul li {
  color: var(--text-dim); font-size: .95rem; line-height: 1.75; margin-bottom: 6px;
}
.content-section a { color: var(--accent-l); text-decoration: underline; }
.content-section a:hover { color: #fff; }
.content-section kbd {
  display: inline-block; background: rgba(255,255,255,.08);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 7px; font-size: .88em; font-family: inherit;
  color: var(--text);
}
.content-cta { text-align: center; padding-top: 24px; }
.content-cta .btn { text-decoration: none; }

/* Step list for use-case pages */
.step-list { margin: 24px 0; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff;
  font-weight: 700; font-size: .95rem; border-radius: 50%;
}
.step-item strong { color: var(--text); font-size: 1rem; }
.step-item p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; margin-top: 4px; margin-bottom: 0; }

/* Changelog entries */
.changelog-entry {
  margin-top: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.changelog-entry h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.changelog-date { font-weight: 400; color: var(--text-dim); font-size: 1rem; }
.changelog-label {
  display: inline-block; font-size: .78rem; font-weight: 600;
  padding: 3px 12px; border-radius: 20px; margin-bottom: 16px;
}
.changelog-label-launch { background: rgba(108,92,231,.2); color: var(--accent-l); }
.changelog-label-fix { background: rgba(0,206,201,.15); color: #00cec9; }
.changelog-entry h3 {
  font-size: 1.05rem; font-weight: 600; margin-top: 20px; margin-bottom: 8px; color: var(--text);
}
.changelog-entry ul {
  list-style: disc; padding-left: 24px; margin-bottom: 12px;
}
.changelog-entry ul li {
  color: var(--text-dim); font-size: .92rem; line-height: 1.7; margin-bottom: 4px;
}
.changelog-entry kbd {
  display: inline-block; background: rgba(255,255,255,.08);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 7px; font-size: .88em; font-family: inherit;
  color: var(--text);
}

/* ── 404 Error Page ───────────────────────────────────────────── */
.error-page {
  padding: 200px 0 120px; text-align: center;
}
.error-page h1 {
  font-size: 3rem; font-weight: 800; margin-bottom: 16px;
}
.error-page p {
  color: var(--text-dim); font-size: 1.1rem; margin-bottom: 32px;
}
.error-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── Related Links (cross-page internal links) ────────────────── */
.related-links {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border);
}
.related-links h2 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text);
}
.related-links ul { list-style: none; padding: 0; }
.related-links ul li {
  padding: 6px 0; font-size: .92rem; line-height: 1.6;
}
.related-links a { color: var(--accent-l); text-decoration: none; }
.related-links a:hover { color: #fff; text-decoration: underline; }

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px;
}
.blog-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); color: inherit; }
.blog-card-tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  background: rgba(108,92,231,.15); color: var(--accent-l);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}
.blog-card h2 {
  font-size: 1.3rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 10px; color: var(--text);
}
.blog-card p {
  color: var(--text-dim); font-size: .92rem; line-height: 1.65; margin-bottom: 12px;
}
.blog-card-meta {
  font-size: .8rem; color: var(--text-dim);
}

/* Blog article page */
.blog-article { padding: 140px 0 80px; }
.blog-article .container { max-width: 760px; }
.blog-meta {
  font-size: .85rem; color: var(--text-dim); margin-bottom: 32px;
}
.blog-article h1 {
  font-size: 2.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px;
}
.blog-article h2 {
  font-size: 1.35rem; font-weight: 700; margin-top: 40px; margin-bottom: 14px;
}
.blog-article h3 {
  font-size: 1.08rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px;
}
.blog-article p {
  color: var(--text-dim); font-size: .95rem; line-height: 1.8; margin-bottom: 14px;
}
.blog-article ul, .blog-article ol {
  padding-left: 24px; margin-bottom: 16px;
}
.blog-article li {
  color: var(--text-dim); font-size: .95rem; line-height: 1.8; margin-bottom: 6px;
}
.blog-article a { color: var(--accent-l); text-decoration: underline; }
.blog-article a:hover { color: #fff; }
.blog-article kbd {
  display: inline-block; background: rgba(255,255,255,.08);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 7px; font-size: .88em; font-family: inherit; color: var(--text);
}
.blog-article blockquote {
  border-left: 3px solid var(--accent); padding: 12px 20px; margin: 20px 0;
  background: rgba(108,92,231,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-article blockquote p { margin-bottom: 0; font-style: italic; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .use-case-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-grid-2 { grid-template-columns: 1fr; max-width: 400px; }
  .about-products-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .demo-stage { flex-direction: column; align-items: center; }
  .demo-arrow { transform: rotate(90deg); margin: 8px 0; }
  .demo-step { max-width: 340px; width: 100%; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 20px;
  }
  .hero h1, .hero-text h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .about-products-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .legal-page h1 { font-size: 1.8rem; }
  .error-page h1 { font-size: 2rem; }
  .content-page h1 { font-size: 1.8rem; }
  .blog-article h1 { font-size: 1.7rem; }
  .hero-bullets { gap: 6px; }
  .hero-bullets li { font-size: .9rem; }
}

/* ═══════════════════════════════════════════════════════════════
   AdSense Ad Containers — minimal styling to avoid layout shifts
   ═══════════════════════════════════════════════════════════════ */
.scribai-ad {
  margin: 2rem 0;
  min-height: 90px;         /* reserve space to avoid CLS */
  text-align: center;
  overflow: hidden;
  clear: both;
}

.scribai-ad--in-content {
  margin: 2.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scribai-ad--bottom {
  margin: 2rem 0 1rem;
}

/* Hide empty ad containers so they don't leave visual gaps */
.scribai-ad:empty { display: none; }

.scribai-ad ins.adsbygoogle {
  display: block;
}
