/* ═══════════════════════════════════════════════════════════
   Voiser AI Reply — landing page
   Self-contained, no framework. Mobile-first.
   Design targets: Stripe / Linear / Vercel style.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:           #ffffff;
  --bg-alt:       #f7f8fb;
  --bg-dark:      #0a0d14;
  --surface:      #ffffff;
  --border:       #e5e7ef;
  --border-soft:  #eef1f7;
  --text:         #0b1220;
  --text-muted:   #4b5568;
  --text-faint:   #9aa3b2;
  --text-invert:  #f8fafc;

  --primary:      #4f46e5;
  --primary-2:    #6366f1;
  --primary-soft: #eef2ff;
  --accent:       #06b6d4;
  --success:      #10b981;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow:    0 2px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 40px -10px rgba(15,23,42,.18);

  --container: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }

/* Shared container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 { color: var(--text); font-weight: 700; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -.015em; }
h3 { font-size: 1.125rem; line-height: 1.35; }
h4 { font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; }

.section-h    { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.015em; text-align: center; margin-bottom: 8px; }
.section-sub  { color: var(--text-muted); text-align: center; max-width: 640px; margin: 0 auto 56px; font-size: 1.0625rem; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  color: var(--primary); background: var(--primary-soft);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600; font-size: .9375rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s, background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn.xl        { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn.block     { width: 100%; justify-content: center; }
.btn.primary   { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(79,70,229,.24); }
.btn.primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,.35); color: #fff; }
.btn.ghost     { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--bg-alt); border-color: var(--text-faint); color: var(--text); }

/* Navigation */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand-logo { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; }
.brand-name { letter-spacing: -.01em; font-size: 1.0625rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .9375rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn,
.nav-cta .lang-btn { height: 40px; line-height: 1; box-sizing: border-box; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(6,182,212,.12), transparent 55%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  padding: 84px 0 56px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { max-width: 16ch; margin-bottom: 18px; }
.lede { font-size: 1.125rem; color: var(--text-muted); max-width: 52ch; margin: 0 0 28px; }
.lede strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust {
  display: flex; gap: 28px; list-style: none; padding: 0; margin: 0;
  flex-wrap: wrap; color: var(--text-muted); font-size: .9375rem;
}
.hero-trust strong { color: var(--text); font-weight: 700; margin-right: 6px; }

.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(17,24,39,.35), 0 10px 30px -5px rgba(17,24,39,.15);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s;
}
.hero-card:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.hero-card-bar {
  display: flex; gap: 6px; padding: 10px 14px; background: #0a0d14;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-card-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3b4152;
}
.hero-card-bar span:nth-child(1) { background: #ef4444aa; }
.hero-card-bar span:nth-child(2) { background: #f59e0baa; }
.hero-card-bar span:nth-child(3) { background: #10b981aa; }
.hero-card img { width: 100%; height: auto; display: block; }
.hero-card-placeholder {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  color: #9aa3b2; font-size: .9375rem;
  padding: 40px;
}

/* ═══ Interactive mockups (replace static screenshots) ═══
   The mockup-stage holds a 3D-tilt-on-mousemove card that
   recreates the Voiser panel inside Play Console / App Store Connect.
   Everything is real HTML — CSS-only if JS is disabled, JS-driven tilt
   when available (see script.js). */
.mockup-stage {
  perspective: 1800px;
  transform-style: preserve-3d;
}
.mockup {
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(17,24,39,.4), 0 10px 30px -5px rgba(17,24,39,.15);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  transform: perspective(1800px) rotateY(-5deg) rotateX(3deg);
  will-change: transform;
}
.mockup-stage:hover .mockup { transform: perspective(1800px) rotateY(0) rotateX(0); }
.mockup-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: #0a0d14;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3b4152; }
.mockup-dots span:nth-child(1) { background: #ef4444aa; }
.mockup-dots span:nth-child(2) { background: #f59e0baa; }
.mockup-dots span:nth-child(3) { background: #10b981aa; }
.mockup-url {
  color: #6b778a; font-size: .75rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 4px 12px; background: rgba(255,255,255,.04);
  border-radius: 6px; flex: 1; max-width: 300px;
}
.mockup-body { padding: 24px; color: #e5e7eb; font-size: .8125rem; line-height: 1.55; }

/* Review card inside the Play Console mockup */
.review-card {
  background: #151a25; border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 18px;
}
.review-head { display: flex; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .875rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.avatar.av-r { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.review-name { color: #e5e7eb; font-size: .8125rem; font-weight: 500; margin-bottom: 4px; }
.stars { display: flex; gap: 2px; font-size: .75rem; color: #fbbf24; margin-bottom: 4px; }
.stars-1 span:not(:first-child) { color: #3b4152; }
.review-lang-hint { color: #6b778a; font-size: .6875rem; }
.review-text {
  color: #c9ceda; font-size: .8125rem; margin: 0 0 14px;
  padding: 10px 12px; background: rgba(255,255,255,.02);
  border-left: 2px solid rgba(255,255,255,.1); border-radius: 0 6px 6px 0;
}

/* Injected Voiser panel (mimics the real extension chrome) */
.airx-panel {
  background: #2d2e31;
  border: 1px solid #3c4043;
  border-radius: 8px;
  padding: 12px;
  color: #e8eaed;
  font-family: 'Google Sans', 'Inter', Arial, sans-serif;
  font-size: 13px;
}
.airx-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
}
.airx-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.airx-brand img { border-radius: 5px; background: #fff; }
.airx-brand strong { font-weight: 500; }
.airx-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 4px;
  border: 1px solid transparent; background: #1a73e8;
  color: #fff; font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit;
}
.airx-btn.ghost { background: transparent; color: #8ab4f8; border-color: #5f6368; }
.airx-btn.accent { background: #137333; }
.airx-dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 8px;
}
.airx-col label {
  display: block; font-size: 10px; font-weight: 500;
  color: #9aa0a6; margin-bottom: 4px;
}
.airx-ta {
  background: #202124; border: 1px solid #5f6368;
  border-radius: 4px; padding: 8px;
  min-height: 80px; font-size: 12px; line-height: 1.45;
  color: #e8eaed; white-space: pre-wrap; word-break: break-word;
  outline: none;
}
.airx-ta:focus { border-color: #8ab4f8; }
.airx-meta {
  font-size: 10px; color: #9aa0a6; margin-top: 4px;
  display: flex; justify-content: space-between;
}
.airx-actions {
  display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end;
}

/* Apple mockup variant */
.mockup-body-apple { background: #1e1e21; padding: 20px 24px 16px; }
.apple-dialog { background: #252528; border-radius: 10px; padding: 20px; color: #e8eaed; }
.apple-stars { display: flex; gap: 2px; color: #fbbf24; margin-bottom: 10px; font-size: .8125rem; }
.apple-review-title { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.apple-review-meta { font-size: .75rem; color: #9aa0a6; margin-bottom: 12px; }
.apple-review-body {
  font-size: .8125rem; color: #c9ceda; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.apple-textarea {
  width: 100%; margin-top: 10px;
  background: #1a1a1d; border: 1px solid #3c4043;
  border-radius: 6px; padding: 10px 12px;
  color: #e8eaed; font-size: .8125rem; font-family: inherit;
  min-height: 60px; resize: none;
}
.apple-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.apple-btn {
  padding: 6px 14px; border-radius: 6px;
  font-size: .75rem; font-weight: 600; border: 0;
  cursor: pointer; font-family: inherit;
}
.apple-btn.ghost   { background: transparent; color: #0a84ff; }
.apple-btn.primary { background: #0a84ff; color: #fff; opacity: .4; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-family: inherit; font-size: .9375rem; font-weight: 500;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); background: var(--bg-alt); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 6px;
  list-style: none; margin: 0;
  min-width: 180px; max-height: 320px; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  z-index: 50;
}
.lang-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-menu a {
  display: block; padding: 8px 12px;
  color: var(--text); border-radius: 6px;
  font-size: .875rem;
}
.lang-menu a:hover { background: var(--bg-alt); }
.lang-menu a[aria-current="true"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* RTL support */
[dir="rtl"] .hero-inner,
[dir="rtl"] .demo-inner { direction: rtl; }
[dir="rtl"] .check-list li { padding: 10px 28px 10px 0; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary::after { order: -1; margin-right: 0; margin-left: 12px; }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 28px 0; background: #fafbff; }
.trust-strip p { text-align: center; margin: 0 0 16px; }
.trust-stats {
  display: flex; justify-content: center; gap: 56px; padding: 0; margin: 0; list-style: none;
  flex-wrap: wrap;
}
.trust-stats li { text-align: center; }
.trust-stats strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.trust-stats span { color: var(--text-muted); font-size: .8125rem; }

/* Problem */
.problem { padding: 100px 0; }
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 40px;
}
.problem-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.problem-item:hover { border-color: var(--text-faint); box-shadow: var(--shadow-sm); }
.problem-icon { font-size: 28px; margin-bottom: 10px; }
.problem-item h3 { margin-bottom: 6px; font-weight: 700; font-size: 1rem; }
.problem-item p { color: var(--text-muted); margin: 0; font-size: .9375rem; }

/* How it works */
.how { padding: 100px 0; background: var(--bg-alt); }
.steps {
  list-style: none; counter-reset: step;
  padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px;
}
.steps li { position: relative; padding-top: 18px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px -4px rgba(79,70,229,.35);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-muted); font-size: .9375rem; margin: 0; }

/* Demo */
.demo { padding: 100px 0; }
.demo-inner {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center;
}
.demo-copy .section-h { text-align: left; }
.demo-copy p { color: var(--text-muted); font-size: 1.0625rem; margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 10px 0 10px 28px; position: relative;
  color: var(--text); font-size: .9375rem;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--success) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/></svg>") center/10px no-repeat;
}
.demo-visual img, .demo-placeholder {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.demo-placeholder {
  aspect-ratio: 16/10; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--text-faint); font-size: .9375rem;
}

/* Features */
.features { padding: 100px 0; background: var(--bg-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.feature:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature h3 { margin-bottom: 6px; font-weight: 700; font-size: 1rem; }
.feature p { color: var(--text-muted); margin: 0; font-size: .9375rem; line-height: 1.55; }

/* Pricing */
.pricing { padding: 100px 0; }
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 40px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s, transform .15s;
}
.plan:hover { border-color: var(--text-faint); }
.plan.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 30px -10px rgba(79,70,229,.25);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--primary); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.plan-name { font-weight: 700; font-size: 1rem; color: var(--text-muted); margin-bottom: 8px; }
.plan-price { margin-bottom: 22px; }
.plan-price .price { font-size: 2.25rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.plan-price .per   { color: var(--text-muted); margin-left: 6px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-feats li {
  padding: 8px 0 8px 24px; position: relative; color: var(--text);
  border-bottom: 1px dashed var(--border-soft); font-size: .9375rem;
}
.plan-feats li:last-child { border-bottom: 0; }
.plan-feats li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--success); font-weight: 700;
}

/* Testimonials */
.testimonials { padding: 100px 0; background: var(--bg-alt); }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.t-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px; margin: 0;
}
.t-card blockquote {
  margin: 0 0 14px;
  color: var(--text); font-size: 1rem; line-height: 1.55;
}
.t-card figcaption { color: var(--text-muted); font-size: .8125rem; }

/* Final CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0b1220 0%, #1a1f36 100%);
  color: var(--text-invert);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ''; position: absolute; inset: auto; pointer-events: none;
  background: radial-gradient(400px 300px, rgba(99,102,241,.4), transparent 70%);
  width: 600px; height: 600px;
  top: -200px; left: -200px;
  filter: blur(20px);
}
.cta::after { top: auto; left: auto; bottom: -200px; right: -200px; background: radial-gradient(400px 300px, rgba(6,182,212,.25), transparent 70%); }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta p  { color: #c5cbdb; max-width: 560px; margin: 0 auto 28px; font-size: 1.0625rem; }
.cta .cta-foot { color: #8792a6; margin-top: 16px; }

/* FAQ */
.faq { padding: 100px 0; }
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--text-muted);
  font-weight: 400; font-size: 1.4rem;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; color: var(--primary); }
.faq p { color: var(--text-muted); margin: 12px 0 0; font-size: .9375rem; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #c5cbdb;
  padding: 56px 0 24px;
}
.site-footer .brand-name { color: #fff; }
.foot-inner {
  display: grid; grid-template-columns: 1.2fr 2fr;
  gap: 56px; margin-bottom: 40px;
}
.foot-brand .muted { color: #8792a6; margin-top: 14px; }
.foot-nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.foot-nav h4 { color: #fff; font-size: .75rem; margin: 0 0 14px; }
.foot-nav a {
  display: block;
  color: #8792a6;
  padding: 5px 0;
  font-size: .9375rem;
}
.foot-nav a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px; color: #6b778a;
  flex-wrap: wrap;
}

/* Contact modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 18, 32, .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
  animation: modalIn .18s ease-out;
}
@keyframes modalIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-card h3 { margin: 0 0 6px; font-size: 1.375rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; font-size: 1.5rem;
  color: var(--text-muted); cursor: pointer; line-height: 1;
  padding: 6px 10px; border-radius: 6px;
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }

.contact-form { display: grid; gap: 14px; margin-top: 18px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span { font-size: .8125rem; color: var(--text-muted); font-weight: 500; }
.contact-form input,
.contact-form textarea {
  font-family: inherit; font-size: .9375rem;
  padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-alt); color: var(--text);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.contact-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.contact-status { margin: 10px 0 0; font-size: .875rem; }
.contact-status.ok  { color: #059669; }
.contact-status.err { color: #dc2626; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; }
  .demo-inner { grid-template-columns: 1fr; gap: 40px; }
  .foot-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .hero { padding: 60px 0 40px; }
  .problem, .how, .demo, .features, .pricing, .testimonials, .faq, .cta { padding: 64px 0; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn.ghost { display: none; }
  h1 { font-size: 2.125rem; }
}

/* Print / a11y */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-card:hover { transform: none; }
}
