/* ============================================
   VOICES — Recording Studio Cinema
   voices.brainstormagi.com
   ============================================ */

:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --surface: rgba(18, 20, 27, 0.72);
  --surface-2: rgba(24, 26, 34, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-dim: #a0a4ad;
  --text-mute: #6b6f78;
  --red: #e11d2e;
  --red-soft: #ff2d3f;
  --red-glow: rgba(225, 29, 46, 0.35);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.3);
  --amber: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-red: 0 10px 40px rgba(225, 29, 46, 0.25);
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ============================================
   AMBIENT BACKGROUND LAYERS
   ============================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-mesh {
  background:
    radial-gradient(ellipse 900px 600px at 15% 8%, rgba(225, 29, 46, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 500px at 85% 30%, rgba(34, 197, 94, 0.08), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 50% 90%, rgba(225, 29, 46, 0.08), transparent 70%),
    linear-gradient(180deg, #07080b 0%, #0a0c11 50%, #07080b 100%);
}

.bg-grain {
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.bg-scanlines {
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.012) 3px,
    transparent 4px
  );
  opacity: 0.6;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbDrift 22s ease-in-out infinite;
}
.bg-orb.red {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.55), transparent 70%);
  top: -10%; left: -5%;
}
.bg-orb.green {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 70%);
  top: 30%; right: -8%;
  animation-delay: -8s;
}
.bg-orb.red-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.25), transparent 70%);
  bottom: -15%; left: 30%;
  animation-delay: -14s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

main { position: relative; z-index: 1; }

section { padding: 96px 0; position: relative; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 36px;
  height: 36px;
  justify-content: center;
}

.logo-bar {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  border-radius: 2px;
  animation: bar 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px var(--red-glow);
}
.logo-bar:nth-child(1) { height: 40%; animation-delay: -0.4s; }
.logo-bar:nth-child(2) { height: 75%; animation-delay: -0.2s; }
.logo-bar:nth-child(3) { height: 100%; animation-delay: 0s; }
.logo-bar:nth-child(4) { height: 60%; animation-delay: -0.3s; }

@keyframes bar {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.logo-primary { color: var(--text); }
.logo-divider {
  display: inline-block;
  width: 1px; height: 16px;
  background: var(--border-strong);
}
.logo-secondary {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 20px rgba(225, 29, 46, 0.35);
}
.nav-cta:hover {
  background: var(--red-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(225, 29, 46, 0.5);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

header.hero, main, footer, .nav, .top-bar {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(225, 29, 46, 0.1);
  border: 1px solid rgba(225, 29, 46, 0.28);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffcfd3;
  margin-bottom: 28px;
}
.eyebrow-dot { color: var(--red-soft); font-size: 14px; line-height: 1; }
.eyebrow-sep { color: var(--text-mute); }
.eyebrow-live { display: inline-flex; align-items: center; gap: 6px; color: #a8f0b4; }
.live-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--green-glow); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 920px;
}
.title-line { display: block; }
.title-accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, #ff5563 0%, var(--red) 50%, #ff8a95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-lede strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(225, 29, 46, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-lg { padding: 16px 28px; font-size: 15px; }

.hero-waveform {
  width: 100%;
  height: 120px;
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  justify-content: center;
}
.wv-bar {
  flex: 0 0 auto;
  width: 4px;
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: bottom;
  animation: wv-in 0.8s var(--ease) forwards, wv-idle 2.4s ease-in-out infinite;
  animation-delay: var(--delay, 0ms), calc(var(--delay, 0ms) + 800ms);
  box-shadow: 0 0 6px rgba(225, 29, 46, 0.4);
}
@keyframes wv-in {
  to { opacity: 0.85; transform: scaleY(1); }
}
@keyframes wv-idle {
  0%, 100% { transform: scaleY(var(--h, 0.6)); }
  50% { transform: scaleY(calc(var(--h, 0.6) * 0.5)); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-value.accent { color: var(--red-soft); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  margin-bottom: 56px;
  align-items: start;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red-soft);
  padding-top: 12px;
  border-top: 2px solid var(--red);
  text-transform: uppercase;
}
.section-num.green { color: var(--green); border-top-color: var(--green); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-title em {
  font-style: italic;
  color: var(--red-soft);
  font-weight: 400;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.55;
}

/* ============================================
   VOICE CARDS GRID
   ============================================ */
.voices-section { padding-top: 32px; }

.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.4), transparent 40%, transparent 60%, rgba(34, 197, 94, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

.card-corner {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.avatar-initials {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1a1d25, #242832);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.avatar-initials.female {
  background: linear-gradient(135deg, #3a1a22, #1a1d25);
  border-color: rgba(225, 29, 46, 0.35);
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.15);
}
.avatar-initials.male {
  background: linear-gradient(135deg, #1a2833, #1a1d25);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
}
.card.playing .avatar-ring {
  border-color: var(--red-soft);
  animation: ringPulse 1.2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.08); }
}

.card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.1;
}
.card-role {
  font-size: 13px;
  color: var(--text-dim);
}

.card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 18px;
}

.card-capabilities {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.4;
}
.cap svg {
  flex-shrink: 0;
  color: var(--green);
  opacity: 0.85;
}
.cap strong { color: var(--text); font-weight: 600; }

.scene-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.scene-tab {
  flex: 1;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  text-align: center;
}
.scene-tab:hover { color: var(--text-dim); }
.scene-tab.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(225, 29, 46, 0.35);
}

.sample-line {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  min-height: 66px;
  margin-bottom: 18px;
  font-style: italic;
  border-left: 2px solid var(--red);
  padding-left: 14px;
}

.card-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.play {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.12), rgba(225, 29, 46, 0.05));
  border: 1px solid rgba(225, 29, 46, 0.3);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  color: var(--text);
  min-height: 50px;
}
.play:hover {
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.2), rgba(225, 29, 46, 0.08));
  border-color: rgba(225, 29, 46, 0.55);
}
.play.playing {
  background: var(--red);
  border-color: var(--red);
}
.play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: all 0.2s var(--ease);
}
.play.playing .play-icon {
  background: #fff;
  color: var(--red);
}
.play-icon.ico-play::before {
  content: "";
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}
.play-icon.ico-stop::before {
  content: "";
  width: 10px; height: 10px;
  background: currentColor;
  border-radius: 2px;
}
.play-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  flex: 1;
  min-width: 0;
}
.play-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.play.playing .play-sub { color: rgba(255, 255, 255, 0.8); }
.play-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-top: 4px;
}
.play-wave span {
  display: block;
  width: 2px;
  background: var(--red-soft);
  border-radius: 1px;
  height: 4px;
  transition: height 0.08s linear;
}
.play.playing .play-wave span { background: #fff; }

.pick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.pick-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security { background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.03), transparent); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.sec-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.sec-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}
.sec-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--green);
}
.sec-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.sec-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.shield-ico {
  display: inline-block;
  width: 20px; height: 20px;
  vertical-align: middle;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  text-align: center;
  padding: 120px 0;
}
.cta .section-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.cta .section-title { max-width: 820px; }
.cta .section-sub { margin: 0 auto; }
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}
.footer-brand { color: var(--text-dim); }
.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-links a { transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--text); }
.sep { color: var(--text-mute); opacity: 0.5; }
.footer-hipaa {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  padding: 4px 10px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
}

/* ============================================
   STICKY PLAYER BAR
   ============================================ */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid var(--border-strong);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}
.player-bar.visible { transform: translateY(0); }

.player-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.player-voice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.player-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1a1d25, #242832);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.player-avatar.female {
  background: linear-gradient(135deg, #3a1a22, #1a1d25);
  border-color: rgba(225, 29, 46, 0.4);
}
.player-avatar.male {
  background: linear-gradient(135deg, #1a2833, #1a1d25);
  border-color: rgba(59, 130, 246, 0.35);
}

.player-meta { min-width: 0; }
.player-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-scene {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 2px;
}

.player-wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 42px;
}
.player-wave span {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--red-soft), var(--red));
  border-radius: 2px;
  height: 4px;
  transition: height 0.08s linear;
  box-shadow: 0 0 4px rgba(225, 29, 46, 0.3);
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.player-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  min-width: 60px;
  text-align: right;
}
.player-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s var(--ease);
}
.player-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; animation: fadeIn 0.25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: 100%;
  max-width: 560px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 10px;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 22px;
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: 14px var(--font-sans);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.15);
}
.form-row textarea { resize: vertical; min-height: 90px; }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  padding: 60px 28px;
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section-head,
  .security-head,
  .process-head { grid-template-columns: 1fr; gap: 16px; }
  .section-num { padding-top: 8px; max-width: 80px; }
  .nav-links { display: none; }
  .player-voice { min-width: 160px; }
  .player-inner { padding: 12px 20px; gap: 14px; }
  .player-wave { display: none; }
  .filters { gap: 18px; padding: 18px; }
}

@media (max-width: 620px) {
  .container,
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 20px; }
  .stat-value { font-size: 28px; }
  .voices-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .player-time { display: none; }
  .modal { padding: 28px 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ============================================
   LEGACY / COMPAT SELECTORS (from original HTML)
   ============================================ */

/* .wrap was the old container class */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* HIPAA top bar */
.top-bar {
  position: relative;
  z-index: 2;
  background: rgba(34, 197, 94, 0.06);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  color: #b8f0c4;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 32px;
}
.top-bar .shield-ico { color: var(--green); width: 14px; height: 14px; }
.top-bar strong { color: #e0ffe6; font-weight: 600; }

/* Hero inner wrapper */
.hero-inner {
  display: flex;
  flex-direction: column;
}

/* Hero stats use <strong> + <span> structure */
.stat strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--red-soft);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  margin-bottom: 36px;
  align-items: center;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(225, 29, 46, 0.35);
}

/* Voice card grid container */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  padding: 0;
}

/* Security + Process section heads */
.security-head,
.process-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  margin-bottom: 48px;
  align-items: start;
}

/* Tags (style badges on card) */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(225, 29, 46, 0.1);
  border: 1px solid rgba(225, 29, 46, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffcfd3;
}

/* CTA section (direct h2/p) */
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.cta > p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 16px;
  line-height: 1.55;
}

/* ============================================
   v2 ADDITIONS — HIPAA per card, AxisCare panel,
   how-to-pick, SMS pick button, accent chips
   ============================================ */

/* Card corner badge — bigger, number-forward */
.card-corner {
  position: absolute;
  top: 16px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}
.corner-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--red), #a5131f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(225, 29, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* HIPAA per-card badge — sits under the corner number, left of card-head */
.card-hipaa {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  color: #a8f0b4;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.card-hipaa svg { color: var(--green); }

/* Card header — pad top to clear badges */
.card-head { padding-top: 22px; }

/* Title + meta wrapper — replaces old .card-name/.card-role */
.card-title { min-width: 0; }
.card-title h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.1;
  color: var(--text);
}
.card-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Avatar compatibility — app.js uses .avatar (with .female/.male) wrapping .avatar-initials as span */
.avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1d25, #242832);
  border: 1px solid var(--border-strong);
}
.avatar.female {
  background: linear-gradient(135deg, #3a1a22, #1a1d25);
  border-color: rgba(225, 29, 46, 0.35);
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.15);
}
.avatar.male {
  background: linear-gradient(135deg, #1a2833, #1a1d25);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}
.avatar .avatar-initials {
  position: static;
  width: auto;
  height: auto;
  background: none;
  border: none;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

/* Plays container — three stacked scene buttons */
.plays {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* Restructured .play button — horizontal with icon, scene label, inline wave, status */
.play {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  min-height: 48px;
  text-align: left;
}
.play-icon {
  position: relative;
}
.play-icon .ico-play,
.play-icon .ico-stop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s var(--ease);
}
.play-icon .ico-stop { opacity: 0; }
.play.playing .play-icon .ico-play { opacity: 0; }
.play.playing .play-icon .ico-stop { opacity: 1; }
/* Reset — these pseudo-element arrows would duplicate the real SVG */
.play-icon.ico-play::before,
.play-icon.ico-stop::before { content: none; }

.play-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  flex-direction: row;
  margin-top: 0;
}
.play-wave {
  height: 22px;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  opacity: 0.55;
}
.play-wave span {
  height: 5px;
  transition: height 0.08s linear;
}
.play.playing .play-wave { opacity: 1; }
.play-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.play.playing .play-sub { color: rgba(255, 255, 255, 0.85); }

.play-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
  transition: width 0.12s linear;
  border-bottom-left-radius: var(--radius-sm);
}
.play.playing .play-bar { background: #fff; }

/* SMS pick link — replaces old reservation button, shows voice # */
.pick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.14), rgba(225, 29, 46, 0.06));
  border: 1px solid rgba(225, 29, 46, 0.35);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  text-decoration: none;
  margin-top: 4px;
}
.pick-btn:hover {
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.26), rgba(225, 29, 46, 0.12));
  border-color: rgba(225, 29, 46, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 29, 46, 0.2);
}
.pick-btn strong {
  font-family: var(--font-mono);
  color: #ffd7db;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pick-btn svg { flex-shrink: 0; opacity: 0.8; }
.pick-btn:hover svg { opacity: 1; }

/* ============================================
   HOW TO PICK — 3 steps
   ============================================ */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 64px;
}
.how-card {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}
.how-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.how-card.highlight {
  border-color: rgba(225, 29, 46, 0.4);
  background: linear-gradient(160deg, rgba(225, 29, 46, 0.08), var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.how-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-soft);
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1.5px solid var(--red);
  display: inline-block;
  padding-right: 24px;
}
.how-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.how-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.inline-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-soft);
  padding: 1px 6px;
  background: rgba(225, 29, 46, 0.12);
  border-radius: 4px;
}
.how-contact {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(225, 29, 46, 0.14);
  border: 1px solid rgba(225, 29, 46, 0.45);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.contact-pill:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}
.contact-pill svg { opacity: 0.85; }

/* ============================================
   AXISCARE CAPABILITIES PANEL
   ============================================ */
.axiscare-panel {
  margin: 72px 0 56px;
}
.axiscare-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
}
.axiscare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.ax-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.ax-card:hover {
  border-color: rgba(225, 29, 46, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.ax-ico {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 12px;
  filter: grayscale(0.2);
}
.ax-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.ax-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .axiscare-head { grid-template-columns: 56px 1fr; gap: 18px; }
  .card-head { padding-top: 38px; }
  .card-corner { top: 14px; right: 14px; }
  .corner-num { font-size: 13px; padding: 5px 10px; }
  .card-hipaa { top: 14px; left: 14px; font-size: 9px; padding: 3px 7px; }
  .filters { gap: 16px; padding: 18px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-orb { animation: none; }
  .wv-bar { animation: none; opacity: 0.85; transform: scaleY(0.6); }
}
