/* ==========================================================================
   Amaya Landing — Premium Dark Enterprise Theme
   ========================================================================== */

:root {
  --bg-deep: #06080F;
  --bg: #0A0E1A;
  --bg-2: #0F1424;
  --bg-card: #111827;
  --bg-card-hover: #1A2036;
  --border: rgba(99, 102, 241, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --ink: #FFFFFF;
  --ink-2: #E2E8F0;
  --body: #94A3B8;
  --muted: #64748B;
  --faint: #475569;

  --accent: #6366F1;
  --accent-dark: #4F46E5;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --accent-glow: rgba(99, 102, 241, 0.25);
  --cyan: #22D3EE;
  --violet: #8B5CF6;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
svg { max-width: 100%; height: auto; flex-shrink: 0; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ─── Type ─────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 2px;
}

.lede { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: var(--body); font-weight: 400; }

.section-head { max-width: 700px; margin-bottom: 50px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 16px 0 16px; }

/* ─── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner { display: flex; align-items: center; gap: 36px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 20px rgba(99,102,241,0.3); }
.brand-name { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.brand-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan); background: rgba(34, 211, 238, 0.1); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.15); white-space: nowrap; margin-left: 4px;
}

.nav-links { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: var(--r-sm); background: var(--bg-2); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: all .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  border-color: var(--border);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-plain { background: transparent; color: var(--body); padding-left: 10px; padding-right: 10px; }
.btn-plain:hover { color: var(--ink); }

.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 10px; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
  background: #06080f;
}
.hero-video-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-video-layer {
  position: absolute;
  inset: -25px;
  background: url('/hero_bg.png') center/cover no-repeat;
  animation: heroVideoPan 20s ease-in-out infinite alternate;
  filter: saturate(1.2) contrast(1.1) brightness(0.85);
  will-change: transform;
}
@keyframes heroVideoPan {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(-14px, -10px);
  }
  100% {
    transform: scale(1.04) translate(12px, -16px);
  }
}
.hero-light-shimmer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(99, 102, 241, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 25% 65%, rgba(34, 211, 238, 0.18) 0%, transparent 50%);
  animation: heroLightPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroLightPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 900px 700px at 75% 45%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 25% 65%, rgba(34, 211, 238, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6, 8, 15, 0.5) 0%, rgba(10, 14, 26, 0.85) 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content { max-width: 560px; }
.hero h1 { margin: 0 0 24px; color: var(--ink); }
.hero-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lede { color: var(--body); max-width: 50ch; }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-badges {
  display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--accent); opacity: 0.7; }

.hero-media { display: flex; align-items: center; justify-content: center; min-height: 480px; position: relative; }

/* ─── Live AI Meeting HUD Card ────────────────────────────────────────────── */

.ai-hud-card {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 20, 36, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: hudFloat 6s ease-in-out infinite alternate;
}

.ai-hud-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.35);
  border-color: rgba(34, 211, 238, 0.5);
}

@keyframes hudFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── HUD Tabs Navigation Bar ────────────────────────────────────────── */

.hud-tabs-bar {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hud-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.hud-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
  color: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.hud-pane { display: none; flex-direction: column; gap: 14px; }
.hud-pane.active { display: flex; }

/* ─── Summary Pane ───────────────────────────────────────────────────── */
.hud-summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-badge { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.risk-pill.low { font-size: 10.5px; font-weight: 750; color: #4ade80; background: rgba(74, 222, 128, 0.12); padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(74, 222, 128, 0.25); }
.summary-meta { font-size: 11px; color: #64748b; font-weight: 500; }
.summary-title { font-size: 14px; font-weight: 700; color: #fff; margin: 0; }
.summary-list { margin: 0; padding-left: 18px; font-size: 12.5px; color: #cbd5e1; display: flex; flex-direction: column; gap: 6px; }

/* ─── Actions Pane ───────────────────────────────────────────────────── */
.hud-actions-box { display: flex; flex-direction: column; gap: 10px; }
.action-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
}
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.action-text { display: flex; flex-direction: column; gap: 2px; }
.action-text strong { font-size: 12.5px; color: #fff; }
.action-text span { font-size: 12px; color: #94a3b8; }

/* ─── Audit Pane ─────────────────────────────────────────────────────── */
.hud-audit-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.audit-score { font-size: 13px; font-weight: 800; color: #4ade80; background: rgba(74, 222, 128, 0.12); padding: 3px 8px; border-radius: 6px; }
.audit-status { font-size: 11.5px; color: #64748b; font-weight: 500; }
.audit-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #cbd5e1; padding: 4px 0; }
.pass-tag { font-size: 10.5px; font-weight: 750; color: #22d3ee; background: rgba(34, 211, 238, 0.12); padding: 2px 7px; border-radius: 4px; }

.hud-live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #22d3ee;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hud-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--body);
  font-weight: 500;
}

.hud-speaker-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.speaker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.speaker-meta { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.speaker-meta strong { font-size: 13.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.role-pill { font-size: 10px; font-weight: 700; color: #818cf8; background: rgba(129, 140, 248, 0.15); padding: 2px 6px; border-radius: 4px; }

.audio-spectrum { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 2px; }
.audio-spectrum .bar { width: 3px; background: #22d3ee; border-radius: 2px; animation: soundWave 1.2s ease-in-out infinite alternate; }
.audio-spectrum .b1 { height: 40%; animation-delay: 0.1s; }
.audio-spectrum .b2 { height: 80%; animation-delay: 0.3s; }
.audio-spectrum .b3 { height: 100%; animation-delay: 0.2s; }
.audio-spectrum .b4 { height: 50%; animation-delay: 0.5s; }
.audio-spectrum .b5 { height: 90%; animation-delay: 0.4s; }
.audio-spectrum .b6 { height: 60%; animation-delay: 0.15s; }
.audio-spectrum .b7 { height: 100%; animation-delay: 0.35s; }
.audio-spectrum .b8 { height: 40%; animation-delay: 0.25s; }
.audio-spectrum .b9 { height: 70%; animation-delay: 0.45s; }

@keyframes soundWave {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.hud-transcript { display: flex; flex-direction: column; gap: 10px; }

.trans-line {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--body);
  border: 1px solid transparent;
}

.trans-line.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #e2e8f0;
}

.trans-time { font-size: 11px; font-weight: 600; color: #64748b; flex-shrink: 0; margin-top: 1px; }

.dlp-shield {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.hud-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.dlp-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--body); }
.dlp-status strong { color: #22d3ee; font-weight: 600; }

.action-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* ─── Platform strip ───────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg);
  padding: 36px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.strip-label { font-size: 12px; font-weight: 650; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.strip-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.strip-item svg { width: 20px; height: 20px; color: var(--faint); }

/* ─── Sections & Grids ──────────────────────────────────────────────────── */

section { padding: 100px 0; position: relative; z-index: 2; }
.section-dark { background: var(--bg-deep); }
.section-alt {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(99, 102, 241, 0.25);
}
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

.check-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--body); line-height: 1.5;
}
.check-list li::before {
  content: '✓'; color: var(--cyan); font-weight: 800; font-size: 13px; flex-shrink: 0; margin-top: 1px;
}

/* ─── Steps ───────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }

/* ─── Stats ───────────────────────────────────────────────────────────── */

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: transform 0.2s;
}
.stat:hover { transform: translateY(-2px); }
.stat-num { font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--body); line-height: 1.5; }

/* ─── Split ───────────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 80px 0; }
.split.flip > div:first-child { order: 2; }
.split.flip > div:last-child { order: 1; }
.split-media {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

/* ─── Mock ────────────────────────────────────────────────────────────── */

.mock {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); opacity: 0.4; }
.mock-title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.turn { display: flex; gap: 12px; }
.turn-avatar {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.turn-avatar.alt { background: rgba(34,211,238,0.12); color: var(--cyan); }
.turn-avatar.alt2 { background: rgba(139,92,246,0.12); color: var(--violet); }
.turn-name { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; display: flex; align-items: baseline; gap: 8px; }
.turn-name span { font-size: 12px; font-weight: 500; color: var(--faint); }
.turn-text { font-size: 14px; color: var(--body); }
.turn-text mark {
  background: rgba(239, 68, 68, 0.15); color: #FCA5A5; padding: 2px 6px; border-radius: 4px;
  font-weight: 600; font-size: 12px; font-family: monospace; border: 1px solid rgba(239,68,68,0.2);
}

.mock-panel { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg-2); margin-top: 8px; }
.mock-panel-head {
  padding: 10px 14px; background: var(--bg-deep); border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px;
}
.mock-panel-head svg { color: var(--accent); width: 13px; height: 13px; }
.mock-list { margin: 0; padding: 14px 14px 14px 32px; font-size: 13px; color: var(--body); }
.mock-list li { margin-bottom: 6px; }
.mock-list li:last-child { margin-bottom: 0; }

.chip-row { padding: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 650; }
.chip.ok { background: rgba(34,197,94,0.12); color: #4ADE80; border: 1px solid rgba(34,197,94,0.2); }
.chip.warn { background: rgba(250,204,21,0.1); color: #FBBF24; border: 1px solid rgba(250,204,21,0.15); }

/* ─── Editions Link ────────────────────────────────────────────────────── */

.edition-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 14px; font-weight: 600;
  color: var(--accent); text-decoration: none; transition: gap 0.2s;
}
.edition-link:hover { gap: 10px; color: var(--cyan); }

/* ─── FAQ & CTA ────────────────────────────────────────────────────────── */

.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer; outline: none; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 12px; color: var(--body); font-size: 15px; line-height: 1.65; }

.cta-band {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 50% 50%, rgba(99,102,241,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: var(--body); margin-bottom: 32px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ─── Footer ───────────────────────────────────────────────────────────── */

.footer { padding: 80px 0 40px; background: var(--bg-deep); border-top: 1px solid var(--border-subtle); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-blurb { margin-top: 20px; font-size: 14px; color: var(--faint); max-width: 300px; }
.footer h4 { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 16px; margin-top: 24px; }
.footer-socials a { color: var(--faint); transition: color 0.15s; }
.footer-socials a:hover { color: var(--ink); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--faint); font-weight: 500;
}
.footer-base nav { display: flex; gap: 24px; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-media { min-height: 300px; }
  .grid-2, .grid-3, .split, .steps { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > div:first-child { order: 1; }
  .split.flip > div:last-child { order: 2; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .section-head { text-align: center; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden; width: 100%; position: relative; }
  .wrap { padding: 0 16px; width: 100%; box-sizing: border-box; }
  h1 { font-size: clamp(28px, 7.5vw, 38px) !important; word-break: break-word; overflow-wrap: break-word; line-height: 1.2; }
  h2 { font-size: clamp(22px, 6vw, 30px) !important; word-break: break-word; overflow-wrap: break-word; }
  .eyebrow { font-size: 11px; flex-wrap: wrap; }
  .lede { font-size: 15px; word-break: break-word; }
  
  .hero { padding: 40px 0 60px; min-height: auto; }
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; max-width: 100%; justify-content: center; box-sizing: border-box; }
  .hero-badges { gap: 10px 14px; justify-content: center; width: 100%; }
  .hero-badge { font-size: 12px; }

  .hero-media { min-height: auto; width: 100%; margin-top: 24px; padding: 0; }
  .ai-hud-card { width: 100%; max-width: 100%; padding: 16px; box-sizing: border-box; }
  .hud-tabs-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 2px; }
  .hud-tab { padding: 6px 8px; font-size: 11px; flex-shrink: 0; }
  .trans-line { font-size: 12px; padding: 8px 10px; }
  .dlp-shield { font-size: 10px; padding: 2px 5px; white-space: normal; word-break: break-all; }
  .hud-footer { flex-direction: column; align-items: flex-start; gap: 8px; }

  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--bg-2);
    padding: 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: flex; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-base { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px !important; }
  .wrap { padding: 0 14px; }
  .btn-lg { padding: 13px 20px; font-size: 14px; }
  .nav-inner { height: 60px; }
  .brand-name { font-size: 18px; }
}
