/* ==========================================================================
   REVORAX — VOICE SALES WORKFLOWS
   Clean, premium landing-page design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-muted: #334155;
  --charcoal: #475569;
  --slate: #64748B;
  --slate-light: #94A3B8;

  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-soft: #DBEAFE;
  --blue-pale: #EFF6FF;

  --cyan: #06B6D4;
  --cyan-soft: #CFFAFE;

  --emerald: #10B981;
  --emerald-soft: #D1FAE5;
  --emerald-pale: #ECFDF5;

  --amber: #F59E0B;
  --amber-soft: #FEF3C7;
  --amber-pale: #FFFBEB;

  --rose: #F43F5E;
  --rose-soft: #FFE4E6;

  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-raised: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--blue-soft);
  color: var(--navy);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Shell ─── */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.4); opacity: 1; }
}
@keyframes waveBar {
  0%   { height: 15%; }
  50%  { height: 80%; }
  100% { height: 25%; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* stagger children */
.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.stagger.in-view > *:nth-child(1) { transition-delay:   0ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(2) { transition-delay:  80ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(3) { transition-delay: 160ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(4) { transition-delay: 240ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(5) { transition-delay: 320ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(6) { transition-delay: 400ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(7) { transition-delay: 480ms; opacity:1; transform:translateY(0); }
.stagger.in-view > *:nth-child(8) { transition-delay: 560ms; opacity:1; transform:translateY(0); }

/* ========================================================================
   NAV
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.brand small {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  background: var(--blue-pale);
  padding: .15rem .55rem;
  border-radius: 100px;
  margin-left: .35rem;
}
.header-nav { display: flex; gap: 1.75rem; }
.header-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color .2s;
}
.header-nav a:hover { color: var(--navy); }
.header-actions { display: flex; gap: .75rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-md  { height: 44px; padding: 0 1.5rem; font-size: .9rem; }
.btn-sm  { height: 36px; padding: 0 1.1rem; font-size: .82rem; }
.btn-lg  { height: 52px; padding: 0 2rem;   font-size: 1rem; }

.btn-fill {
  background: var(--navy);
  color: #fff;
}
.btn-fill:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,23,42,.15);
}
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--navy-muted);
  background: var(--surface-alt);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37,99,235,.2);
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, var(--blue-pale) 0%, #fff 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--charcoal);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================================================
   BOTTLENECK  — (MAIN · MOST IMPORTANT · HIGHLIGHT — FULLY SYNCED)
   ======================================================================== */
.bottleneck {
  padding: 5rem 0;
  background: var(--surface-alt);
  position: relative;
}
.bottleneck-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  color: var(--navy);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}
.bottleneck-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07), transparent 70%);
  pointer-events: none;
}
.bn-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.bn-badge svg { width: 14px; height: 14px; color: #DC2626; }

.bottleneck-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.bottleneck-card h2 .blue-hl,
.bottleneck-card h2 .amber {
  background: linear-gradient(135deg, var(--blue) 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bn-lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .4rem;
  color: var(--navy);
}
.bn-sub {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.75rem;
}
.bn-copy {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 800px;
  border-left: 4px solid var(--blue);
  padding: 1.25rem 1.5rem;
  background: var(--surface-raised);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.75rem;
}
.bn-copy strong { color: var(--navy); }

.bn-conclusion {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: .45rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2.5rem;
}

/* Metric cards inside bottleneck — Synced with site */
.bn-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.bn-metric {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.bn-metric:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}
.bn-metric-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  margin-bottom: .6rem;
  display: block;
}
.bn-metric-num.red {
  color: var(--blue);
}
.bn-metric-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.bn-metric-desc {
  font-size: .86rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ========================================================================
   LIVE DEMO  — (BIG · HIGHLIGHT)
   ======================================================================== */
.live-demo {
  padding: 5rem 0;
  background: var(--surface-alt);
}
.demo-console {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,.06);
  overflow: hidden;
}
.demo-top-bar {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.demo-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #F87171;
  background: rgba(248,113,113,.12);
  padding: .3rem .8rem;
  border-radius: 100px;
}
.rec-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F87171;
  animation: pulse 1.2s infinite;
}
.demo-title h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}
.demo-title p {
  font-size: .8rem;
  color: var(--slate-light);
  margin-top: .15rem;
}

/* Language pills */
.lang-pills {
  display: flex;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: .2rem;
  gap: .2rem;
}
.lang-pill {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 6px;
  color: var(--slate-light);
  transition: all .2s;
}
.lang-pill.active {
  background: var(--blue);
  color: #fff;
}

/* Player deck */
.player-deck {
  padding: 2rem;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s var(--ease);
  box-shadow: 0 4px 16px rgba(15,23,42,.18);
}
.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(15,23,42,.25);
}
.play-btn svg { width: 24px; height: 24px; }

.track-info { flex: 1; }
.track-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.track-desc {
  font-size: .82rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.track-desc svg { width: 14px; height: 14px; color: var(--blue); }
.time-display {
  font-family: 'Courier New', monospace;
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
}

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 56px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 0 .75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}
.waveform .bar {
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  min-height: 6px;
  max-height: 48px;
  transition: height .12s ease, background .12s ease;
}
.waveform.playing .bar {
  background: var(--blue);
  animation: waveBar 1.1s ease-in-out infinite alternate;
}

/* Scrubber */
.scrubber {
  width: 100%;
  height: 6px;
  background: var(--surface-raised);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.scrubber-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 100px;
  position: relative;
  transition: width .1s linear;
}
.scrubber-handle {
  position: absolute;
  right: -5px; top: -4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(37,99,235,.35);
}

/* Transcript */
.transcript {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.transcript-bar {
  padding: .75rem 1.25rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.transcript-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
}
.extraction-badge {
  font-size: .72rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-pale);
  border: 1px solid rgba(16,185,129,.2);
  padding: .2rem .6rem;
  border-radius: 100px;
}
.dialogue-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dialogue-row {
  display: flex;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  transition: background .2s;
}
.dialogue-row:last-child { border-bottom: 0; }
.dialogue-row.active {
  background: var(--blue-pale);
}
.d-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.d-avatar.ai { background: var(--navy); color: #fff; }
.d-avatar.prospect { background: var(--surface-raised); color: var(--slate); }
.d-body { flex: 1; }
.d-name {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: .15rem;
}
.dialogue-row.prospect .d-name { color: var(--slate); }
.d-text {
  font-size: .9rem;
  color: var(--text-primary);
  line-height: 1.55;
}

/* ========================================================================
   WORKFLOW  — 8-step pipeline
   ======================================================================== */
.workflow-section {
  padding: 5rem 0;
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  background: var(--blue-pale);
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--charcoal);
}
.section-head p strong { color: var(--navy); }

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.pipe-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: all .25s var(--ease);
}
.pipe-card:hover {
  border-color: rgba(37,99,235,.2);
  box-shadow: 0 4px 24px rgba(37,99,235,.06);
  transform: translateY(-3px);
}
.pipe-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .85rem;
}
.pipe-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.pipe-card p {
  font-size: .82rem;
  color: var(--charcoal);
  line-height: 1.55;
}
.pipe-arrow {
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: .7rem;
  z-index: 2;
}

/* Philosophy */
.philosophy {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 40px rgba(15,23,42,.2);
}
.philosophy h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: .6rem;
}
.philosophy h3 .blue-hl { color: #60A5FA; }
.philosophy h3 .cyan-hl { color: var(--cyan); }
.philosophy p {
  font-size: .95rem;
  color: var(--slate-light);
  max-width: 580px;
  margin: 0 auto;
}

/* ========================================================================
   HOW-IT-WORKS  — dashboard image + post-enquiry CTA
   ======================================================================== */
.how-section {
  padding: 5rem 0;
  background: var(--surface-alt);
}
.dash-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,.08);
  margin-bottom: 2.5rem;
  background: #fff;
}
.dash-img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.dash-img-wrap:hover img { transform: scale(1.01); }
.dash-caption {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.dash-caption-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.dash-tags {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.dash-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--surface-raised);
  padding: .25rem .65rem;
  border-radius: var(--radius-sm);
}
.dash-tag .check { color: var(--emerald); font-weight: 700; }

/* Post-enquiry */
.post-enquiry {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}
.post-enquiry h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.post-enquiry p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================================
   AUDIT CTA
   ======================================================================== */
.audit-section {
  padding: 5rem 0;
}
.audit-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(15,23,42,.2);
}
.audit-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.audit-card .sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.audit-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}
.audit-input {
  width: 100%;
  height: 48px;
  padding: 0 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.audit-input:focus {
  border-color: var(--blue);
}
.audit-input::placeholder { color: var(--slate); }
.audit-note {
  font-size: .8rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.audit-note svg { width: 15px; height: 15px; color: var(--emerald); }

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: .82rem;
  color: var(--slate);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: var(--charcoal);
  transition: color .2s;
}
.footer-links a:hover { color: var(--navy); }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-arrow { display: none; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .bottleneck-card { padding: 2.5rem 1.5rem; }
  .demo-top-bar { padding: 1rem 1.25rem; }
  .player-controls { flex-direction: column; text-align: center; gap: 1rem; }
  .pipeline { grid-template-columns: 1fr; }
  .philosophy { padding: 2rem 1.5rem; }
  .audit-card { padding: 3rem 1.5rem; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-light); }

/* ─── Mobile polish — site review 2026-09-26 ─── */
html, body { overflow-x: clip; }

@media (max-width: 768px) {
  .header-actions .btn-outline { display: none; }
  .header-inner { height: 58px; }
  .demo-top-bar { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .lang-pills { display: flex; width: 100%; }
  .lang-pill { flex: 1; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .brand small { display: none; }
}
