/* ==========================================================================
   AGENT HARI — PREMIUM AI EMPLOYEE HOMEPAGE
   Aesthetic: Clean, Simple, Premium, Human-Built, Calm & Modern
   Palette: Exact Agent Hari Dashboard Blue (#FC2415) & Pure White / Dark Contrast
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS (MATCHING DASHBOARD)
   -------------------------------------------------------------------------- */
:root {
  /* Exact Dashboard Blue Color System (#FC2415) */
  --brand-blue: #031740;
  --brand-blue-hover: #031740;
  --brand-blue-subtle: #F0F4F8;
  --brand-blue-border: #BFDBFE;
  --brand-blue-text: #031740;
  --brand-blue-glow: rgba(252, 36, 21, 0.16);

  --primary-blue: #FC2415;
  --primary-blue-hover: #FC2415;
  --primary-blue-glow: rgba(252, 36, 21, 0.22);
  --deep-blue: #031740;
  --navy-dark: #031740;
  --cyan-accent: #FC2415;

  /* Surfaces & Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark-card: #0B111E;

  /* Neutral Text Typography */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light-slate: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-blue: #BFDBFE;
  --border-blue-active: #93C5FD;

  /* Status Colors */
  --status-success: #16A34A;
  --status-success-bg: #EFFDF4;
  --status-success-border: #BBF7D0;
  --status-warning: #D97706;
  --status-warning-bg: #FFFBEB;
  --status-warning-border: #FDE68A;
  --status-danger: #DC2626;
  --status-danger-bg: #FEF2F2;
  --status-danger-border: #FECACA;

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Elevated Surfaces */
  --shadow-subtle: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-medium: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
  --shadow-elevated: 0 20px 40px -8px rgba(252, 36, 21, 0.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-card: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

img, svg {
  display: block;
}

button, input, select {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono-font {
  font-family: var(--font-mono);
}

.text-blue {
  color: var(--brand-blue);
}

.text-brand-blue {
  color: var(--brand-blue);
}

.font-bold {
  font-weight: 700;
}

.section-spacing {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  background-color: var(--bg-primary);
}

.section-alternate {
  background-color: var(--bg-secondary) !important;
}

.container {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 56px;
  padding-right: 56px;
}

.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

.glow-card:hover {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-medium);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & BUTTONS
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-blue-border);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-short-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.section-header-simple {
  margin-bottom: 48px;
}

.section-header-simple.text-center {
  text-align: center;
}

.section-subtitle-clean {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(252, 36, 21, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(252, 36, 21, 0.35);
}

.btn-glow {
  box-shadow: 0 4px 16px rgba(252, 36, 21, 0.28) !important;
}

.btn-glow:hover {
  box-shadow: 0 8px 24px rgba(252, 36, 21, 0.42) !important;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. TOP STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  transition: all var(--transition-fast);
}

.nav-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 8px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-orb svg {
  stroke: var(--brand-blue) !important;
}

.nav-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

/* Header dropdowns (Services, Industries) */
.nav-dd {
  position: relative;
}

.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-dd-chev {
  transition: transform 0.2s ease;
}

.nav-dd:hover .nav-dd-chev,
.nav-dd.is-open .nav-dd-chev {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 290px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* invisible bridge so the menu doesn't close while the pointer crosses the gap */
.nav-dd-menu::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 12px;
}

.nav-dd:hover .nav-dd-menu,
.nav-dd.is-open .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dd-menu--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 340px;
}

.nav-dd-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0F172A;
  transition: background 0.15s ease;
}

.nav-dd-menu a:hover {
  background: rgba(15, 23, 42, 0.05);
}

.nav-dd-menu i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(var(--c));
  box-shadow: 0 0 0 4px rgba(var(--c), 0.16);
}

.nav-dd-menu b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.nav-dd-menu small {
  display: block;
  margin-top: 1px;
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748B;
}

.mobile-nav-panel .nav-acc summary {
  list-style: none;
  cursor: pointer;
}

.mobile-nav-panel .nav-acc summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel .nav-acc summary::after {
  content: "+";
  float: right;
  font-weight: 500;
}

.mobile-nav-panel .nav-acc[open] summary::after {
  content: "–";
}

.mobile-nav-panel .nav-sub {
  padding-left: 18px;
  font-size: 0.94rem;
  font-weight: 500;
}

.footer-credit-link {
  color: inherit;
}

.footer-credit-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* --------------------------------------------------------------------------
   5. HERO SECTION (SIMPLIFIED & HUMAN-BUILT)
   -------------------------------------------------------------------------- */
.hero-light-theme {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #EFF6FF 0%, #FFFFFF 60%, #F8FAFC 100%);
  margin-top: 0 !important;
  padding-top: 0;
  padding-bottom: 48px;
  color: var(--text-primary);
  overflow: visible;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-overlay-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(252, 36, 21, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 40%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-cyber-grid-light {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
  margin-left: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 18px;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseBlue 1.8s ease-in-out infinite;
}

.pulse-blue {
  background-color: var(--brand-blue);
  box-shadow: 0 0 10px rgba(252, 36, 21, 0.5);
}

@keyframes pulseBlue {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title-dark {
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-title-accent-blue {
  color: var(--brand-blue);
  display: block;
}

.hero-subtitle-dark {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-trust-dark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-divider {
  color: var(--brand-blue);
}

/* Hero 3D Smartphone Stage & Balanced Composition */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 780px;
  padding-top: 36px;
  padding-bottom: 24px;
  padding-right: 28px;
}

.glow-light {
  position: absolute;
  right: 12px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 36, 21, 0.10) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.floating-telemetry-pill,
.floating-glass-pill {
  display: none; /* Removed clutter in accordance with Section 3 requirements */
}

/* Composition Wrapper for Phone + Floating Banners */
.hero-phone-composition {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 375px;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;
}

.hero-banners-group {
  display: contents;
}

/* Smartphone Enclosure */
.phone-3d-wrapper {
  position: relative;
  width: 375px;
  max-width: 100%;
  z-index: 5;
  transition: transform 0.25s ease-out;
  animation: heroPhoneEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroPhoneEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Small Floating Product Banners (Real SaaS Product Indicators)
   -------------------------------------------------------------------------- */
.hero-floating-banner {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 175px;
  max-width: 215px;
  padding: 9px 13px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE; /* Subtle Agent Hari Blue Border */
  border-radius: 12px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(252, 36, 21, 0.04);
  z-index: 10;
  pointer-events: none;
  user-select: none;
}

/* Banner 1: AI Calling (Above Phone Top) */
.banner-calling {
  bottom: calc(100% + 14px);
  left: 18px;
  width: 182px;
  animation: bannerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
             subtleFloatA 5.5s ease-in-out 0.85s infinite;
}

/* Banner 2: 24/7 Assistant (Mid-Left of Phone) */
.banner-assistant {
  right: calc(100% + 12px);
  top: 20%;
  width: 185px;
  animation: bannerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both,
             subtleFloatB 6s ease-in-out 1.0s infinite;
}

/* Banner 3: Instant Response (Lower-Left of Phone) */
.banner-instant {
  right: calc(100% + 12px);
  bottom: 14%;
  width: 180px;
  animation: bannerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both,
             subtleFloatA 5.2s ease-in-out 1.15s infinite;
}

@keyframes bannerFadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleFloatA {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5px);
  }
}

@keyframes subtleFloatB {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2.5px);
  }
}

.hfb-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.hfb-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 6px rgba(252, 36, 21, 0.6);
  animation: pulseBlue 1.8s ease-in-out infinite;
}

.hfb-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hfb-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}

.hfb-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

.phone-shadow {
  position: absolute;
  bottom: -25px;
  left: 5%;
  width: 90%;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.18) 0%, transparent 70%);
  filter: blur(10px);
}

/* ==========================================================================
   PHOTOREALISTIC iPHONE FRAME (DARK CHASSIS) — COMPACT VIEWPORT FIT
   ========================================================================== */
.iphone-frame {
  position: relative;
  width: 310px;
  max-width: 100%;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 
    0 20px 50px -10px rgba(15, 23, 42, 0.3),
    0 0 0 1px #333336,
    inset 0 0 3px 2px rgba(255, 255, 255, 0.08);
  user-select: none;
}

.btn-silence { position: absolute; left: -3px; top: 75px; width: 3px; height: 18px; background: #333336; border-radius: 2px 0 0 2px; }
.btn-vol-up { position: absolute; left: -3px; top: 102px; width: 3px; height: 34px; background: #333336; border-radius: 2px 0 0 2px; }
.btn-vol-down { position: absolute; left: -3px; top: 144px; width: 3px; height: 34px; background: #333336; border-radius: 2px 0 0 2px; }
.btn-power { position: absolute; right: -3px; top: 114px; width: 3px; height: 46px; background: #333336; border-radius: 0 2px 2px 0; }

.iphone-screen {
  position: relative;
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  height: 560px;
  max-height: calc(100vh - 160px);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.island-lens { width: 7px; height: 7px; border-radius: 50%; background: #1E293B; position: relative; }
.lens-glow { position: absolute; top: 1px; left: 1px; width: 2.5px; height: 2.5px; border-radius: 50%; background: #38BDF8; opacity: 0.8; }
.island-sensor { width: 4.5px; height: 4.5px; border-radius: 50%; background: #0F172A; }

/* iOS Status Bar */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0F172A;
  z-index: 20;
}
.status-icons { display: flex; align-items: center; gap: 4px; }

/* Scrollable UI Body */
.screen-content {
  flex: 1;
  padding: 6px 9px 8px;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 10;
}
.screen-content::-webkit-scrollbar { display: none; }

/* Universal Glass Card Token */
.glass-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(252, 36, 21, 0.02);
}

/* 1. TOP HEADER */
.command-header-card {
  padding: 6px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.brand-group-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hari-voice-orb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FC2415;
  flex-shrink: 0;
}

.hari-voice-orb svg {
  width: 14px;
  height: 14px;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title-text {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.call-active-status {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.54rem;
  font-weight: 800;
  color: #FC2415;
  letter-spacing: 0.03em;
  margin-top: 1px;
}

.status-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #FC2415;
  box-shadow: 0 0 5px rgba(252, 36, 21, 0.7);
  animation: statusPulse 1.6s infinite ease-in-out;
}

@keyframes statusPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ios-call-timer-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #031740;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 7px;
  border-radius: 9999px;
}

/* 2. CENTRAL LIVE CALL AREA & 4 SATELLITE ACTION CARDS */
.central-call-stage {
  padding: 8px 5px;
  display: grid;
  grid-template-columns: 62px 1fr 62px;
  align-items: center;
  gap: 4px;
}

.satellite-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.satellite-tile {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.satellite-icon-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FC2415;
}

.satellite-icon-circle svg {
  width: 10px;
  height: 10px;
}

.satellite-label {
  font-size: 0.48rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.1;
}

.central-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-ring-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.voice-pulse-ring-1 {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.6px solid rgba(252, 36, 21, 0.35);
  animation: voiceRingAnim 2.2s ease-out infinite;
}

.voice-pulse-ring-2 {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.2px solid rgba(56, 189, 248, 0.25);
  animation: voiceRingAnim 2.2s ease-out 0.7s infinite;
}

@keyframes voiceRingAnim {
  0% { transform: scale(0.94); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 0.4; }
  100% { transform: scale(1.16); opacity: 0; }
}

.candidate-center-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FC2415 0%, #FC2415 100%);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(252, 36, 21, 0.28);
  position: relative;
  z-index: 2;
}

.candidate-full-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.candidate-role-text {
  font-size: 0.52rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
}

.telephony-flow-strip {
  font-size: 0.5rem;
  font-weight: 700;
  color: #FC2415;
  margin-top: 2px;
}

.speaking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.52rem;
  font-weight: 700;
  color: #16A34A;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 1px 5px;
  border-radius: 9999px;
  margin-top: 2px;
}

.speaking-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #16A34A;
  animation: speakingPulse 1.2s infinite;
}

@keyframes speakingPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.6; }
}

/* 3. LIVE CONVERSATION & REALISTIC WAVEFORM */
.waveform-section-container {
  padding: 7px 9px;
}

.waveform-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.wf-section-heading {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wf-listening-pill {
  font-size: 0.52rem;
  font-weight: 700;
  color: #FC2415;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 1px 5px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.listening-blue-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #FC2415;
  animation: statusPulse 1.5s infinite;
}

.gaussian-waveform-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  gap: 2px;
  padding: 1px 2px;
}

.g-bar {
  flex: 1;
  background: #FC2415;
  border-radius: 2px;
  height: var(--h, 40%);
  animation: naturalVoiceWave 1.4s ease-in-out infinite alternate;
}

.g-bar:nth-child(even) { animation-duration: 0.95s; }
.g-bar:nth-child(3n) { animation-duration: 1.6s; }

@keyframes naturalVoiceWave {
  0% { transform: scaleY(0.35); opacity: 0.65; }
  100% { transform: scaleY(1); opacity: 1; }
}

.wf-audio-spec-text {
  text-align: center;
  font-size: 0.5rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 4px;
}

/* 4. LIVE TRANSCRIPT (VERTICAL TIMELINE / LIST STYLE) */
.transcript-timeline-card {
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 7px;
  border-left: 2px solid #E2E8F0;
}

.timeline-entry.hari-entry {
  border-left-color: #FC2415;
}

.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entry-speaker {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.56rem;
  font-weight: 800;
  color: #0F172A;
}

.entry-speaker.hari-title { color: #FC2415; }

.entry-avatar-micro {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #FC2415;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.42rem;
  font-weight: 800;
}

.entry-timestamp {
  font-size: 0.48rem;
  color: #94A3B8;
  font-family: 'JetBrains Mono', monospace;
}

.entry-dialogue-text {
  font-size: 0.62rem;
  line-height: 1.35;
  color: #334155;
}

.live-extracting-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.52rem;
  font-weight: 700;
  color: #FC2415;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 3px 7px;
  border-radius: 6px;
  margin-top: 1px;
}

.extract-spinner {
  width: 6.5px;
  height: 6.5px;
  border: 1.2px solid #BFDBFE;
  border-top-color: #FC2415;
  border-radius: 50%;
  animation: spinAnim 1s linear infinite;
}

@keyframes spinAnim {
  to { transform: rotate(360deg); }
}

/* 5. EXTRACTED DETAILS (6 CELLS) */
.extracted-details-card {
  padding: 7px 9px;
}

.ext-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.ext-heading-title {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0F172A;
}

.ext-confidence-badge {
  font-size: 0.52rem;
  font-weight: 700;
  color: #16A34A;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 1px 5px;
  border-radius: 9999px;
}

.six-cells-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.info-cell {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E2E8F0;
  border-radius: 7px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
}

.cell-val {
  font-size: 0.62rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.cell-key {
  font-size: 0.48rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 1px;
}

.cell-high-fit {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.cell-high-fit .cell-val {
  color: #16A34A;
  display: flex;
  align-items: center;
  gap: 2px;
}

.cell-high-fit .cell-key {
  color: #15803D;
}

/* 6. REALISTIC iPHONE CALL CONTROLS */
.bottom-telephony-dock {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 7px 16px 9px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.03);
}

.telephony-ctrl-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.telephony-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s;
}

.telephony-btn svg {
  width: 15px;
  height: 15px;
}

.telephony-btn:hover {
  background: #EFF6FF;
  color: #FC2415;
  border-color: #BFDBFE;
}

.telephony-btn.active {
  background: #EFF6FF;
  color: #FC2415;
  border-color: #FC2415;
}

.telephony-btn.btn-hangup {
  width: 40px;
  height: 40px;
  background: #EF4444;
  border-color: #DC2626;
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}

.telephony-btn.btn-hangup svg {
  width: 17px;
  height: 17px;
}

.telephony-btn.btn-hangup:hover {
  background: #DC2626;
  transform: scale(1.05);
}

.btn-label-text {
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748B;
}

/* --------------------------------------------------------------------------
   6. SECTION: "THE 60-SECOND TEST" (DASHBOARD BLUE)
   -------------------------------------------------------------------------- */
.instant-test-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.instant-test-grid {
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.test-heading {
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.test-desc {
  font-size: 1.075rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
}

.callout-capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  color: var(--brand-blue-text);
  font-size: 0.875rem;
  margin-bottom: 22px;
}

.phone-input-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  max-width: 480px;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.phone-input-bar:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 18px rgba(252, 36, 21, 0.16);
}

.country-prefix-tag {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding-right: 12px;
  border-right: 1px solid var(--border-light);
}

.phone-input-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  color: var(--text-primary);
}

.btn-call-now {
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.9rem;
}

.instant-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ic-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pill-free {
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.blue-dot-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.pill-dlt {
  color: var(--text-muted);
}

/* Smartphone Mockup Card */
.incoming-smartphone-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 36px;
  padding: 24px 20px 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  max-width: 330px;
  margin: 0 auto;
  transition: all var(--transition-smooth);
}

.incoming-phone-notch {
  width: 70px;
  height: 14px;
  background: #F1F5F9;
  border-radius: 10px;
  margin: 0 auto 16px;
}

.incoming-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.dot-incoming-blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: pulseBlue 1.5s infinite;
}

.incoming-avatar-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  border: 1.5px solid var(--brand-blue-border);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(252, 36, 21, 0.14);
}

.incoming-avatar-orb span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.incoming-caller-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.incoming-caller-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.incoming-caller-num {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.incoming-call-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 14px;
}

.call-btn-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.call-action-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.call-action-circle:hover {
  transform: scale(1.08);
}

.btn-decline-call {
  background: #FEE2E2;
  color: #DC2626;
}

.btn-accept-call {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(252, 36, 21, 0.35);
  animation: pulseAccept 1.8s infinite;
}

@keyframes pulseAccept {
  0% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(252, 36, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0); }
}

.call-btn-sublabel {
  font-size: 0.72rem;
  font-weight: 700;
}

.label-red { color: #DC2626; }
.label-blue { color: var(--brand-blue); }

.incoming-tap-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.incoming-live-note-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Outbound Dialing Screen Animation */
.incoming-dialing-screen {
  display: block;
  text-align: center;
  position: relative;
  padding: 4px 0 10px;
  animation: fadeInDial 0.3s ease-out;
}

.incoming-dialing-screen.hidden {
  display: none;
}

@keyframes fadeInDial {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.dialing-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.dialing-radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 8px rgba(252, 36, 21, 0.8);
  animation: pulseBlue 1.2s infinite;
}

.dialing-avatar-radar {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(252, 36, 21, 0.5);
  pointer-events: none;
  animation: radarPulse 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.radar-pulse-ring.ring-1 {
  animation-delay: 0s;
}

.radar-pulse-ring.ring-2 {
  animation-delay: 0.7s;
}

.radar-pulse-ring.ring-3 {
  animation-delay: 1.4s;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.65);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.dialing-avatar-orb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FC2415, #E01E10);
  border: 2px solid #FFFFFF;
  box-shadow: 0 8px 24px rgba(252, 36, 21, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.dialing-avatar-orb span {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
}

.dialing-wave-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.dialing-wave-indicator .d-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: dialDotBounce 1.2s infinite ease-in-out;
}

.dialing-wave-indicator .d-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dialing-wave-indicator .d-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dialDotBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.dialing-state-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-left: 4px;
}

/* Active In-Call View */
.in-call-screen {
  display: none;
  text-align: left;
}

.in-call-screen.active {
  display: block;
}

.incoming-ringing-screen.hidden {
  display: none;
}

.in-call-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.in-call-status-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.in-call-timer {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

.in-call-voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  margin-bottom: 12px;
}

.in-call-wave-bar {
  width: 3px;
  background: var(--brand-blue);
  border-radius: 2px;
  height: 50%;
  animation: miniBarPulse 0.9s ease-in-out infinite alternate;
}

.in-call-wave-bar:nth-child(2) { animation-delay: 0.15s; height: 90%; }
.in-call-wave-bar:nth-child(3) { animation-delay: 0.3s; height: 40%; }
.in-call-wave-bar:nth-child(4) { animation-delay: 0.45s; height: 75%; }
.in-call-wave-bar:nth-child(5) { animation-delay: 0.6s; height: 100%; }

@keyframes miniBarPulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.in-call-transcription {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.in-call-transcription strong {
  color: var(--brand-blue);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.in-call-quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.in-call-chip-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.in-call-chip-btn:hover {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue-text);
}

.in-call-extractions-box {
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  margin-bottom: 14px;
  font-size: 0.68rem;
  color: var(--brand-blue-text);
  font-weight: 600;
}

.in-call-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-end-demo-call {
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-end-demo-call:hover {
  background: #B91C1C;
}

/* Call Completed Screen */
.call-finished-screen {
  display: none;
  padding: 16px 8px;
}

.call-finished-screen.active {
  display: block;
}

.call-finished-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.call-finished-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.call-finished-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.call-finished-stats {
  display: flex;
  justify-content: space-around;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 16px;
}

.c-stat-item {
  display: flex;
  flex-direction: column;
}

.c-stat-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.c-stat-lbl {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. SIGNATURE SCROLL-DRIVEN STORYTELLING STACK (RECRUITMENT -> SALES -> SUPPORT)
   -------------------------------------------------------------------------- */
.industry-scroll-section {
  position: relative;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  padding: 60px 0 80px 0;
}

.industry-scroll-track {
  position: relative;
  width: 100%;
}

.industry-sticky-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

/* Subtle Progress Indicator Bar */
.story-progress-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  z-index: 30;
}

.story-indicator-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-indicator-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
}

.story-indicator-item .ind-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-indicator-item.active {
  background: #FFFFFF;
  color: #FC2415;
  box-shadow: 0 4px 14px rgba(252, 36, 21, 0.18);
}

.story-indicator-item.active .ind-dot {
  background: #FC2415;
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(252, 36, 21, 0.5);
}

.story-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.story-hint-pill .hint-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38BDF8;
}

/* Cards Stack Stage */
.cards-stack-stage {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 540px;
  height: auto;
  margin: 0 auto;
}

/* Individual Story Card: Premium Dark Treatment with Physical Depth */
.story-card {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 540px;
  background: #0B111E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(252, 36, 21, 0.16);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  transform-origin: center center;
  will-change: transform, opacity;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  scroll-margin-top: 84px;
}

.story-card.active,
.story-card.card-in-front {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
  transform: translateY(0) scale(1);
  border-color: rgba(252, 36, 21, 0.42);
  box-shadow: 0 35px 85px -15px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(252, 36, 21, 0.35),
              0 0 40px -10px rgba(252, 36, 21, 0.25);
}

.story-card.card-in-back {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(16px) scale(0.98);
}

.story-card .feature-split-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr 390px;
  align-items: center;
  gap: 24px;
}

@media (max-width: 1100px) {
  .story-card .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cards-stack-stage, .story-card {
    position: relative;
    height: auto;
    min-height: auto;
  }
}

/* Dark Card Text Side */
.story-card .section-eyebrow {
  background: rgba(252, 36, 21, 0.12);
  border: 1px solid rgba(252, 36, 21, 0.3);
  color: #FFA299;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.story-card .section-title {
  color: #FFFFFF;
  margin-bottom: 12px;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.story-card .section-short-desc {
  color: #94A3B8;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.story-card .human-touch-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 20px;
}

.story-card .ht-icon-wrap {
  color: #FC2415;
  flex-shrink: 0;
  margin-top: 2px;
}

.story-card .ht-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.story-card .ht-text span {
  display: block;
  color: #94A3B8;
  font-size: 0.76rem;
  line-height: 1.4;
}

.story-card .btn-primary {
  background: #FC2415;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(252, 36, 21, 0.35);
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252, 36, 21, 0.5);
}

/* --------------------------------------------------------------------------
   COMPACT BUSINESS DASHBOARD COMPONENT
   -------------------------------------------------------------------------- */
.feature-dash-side {
  position: relative;
  width: 100%;
  min-width: 0;
  clip-path: inset(0 0 0 0 round 14px);
  will-change: transform, opacity;
}

.compact-dashboard {
  background: #0D1526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.story-card.active .compact-dashboard,
.story-card.card-in-front .compact-dashboard {
  border-color: rgba(252, 36, 21, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px -6px rgba(252, 36, 21, 0.15);
}

/* Header Strip */
.dash-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-header-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFA299;
}

.dash-header-title .dash-icon {
  color: #FFA299;
}

.dash-header-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* Stats Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dash-stat-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-stat-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-mono);
  line-height: 1.15;
}

.dash-stat-label {
  font-size: 0.58rem;
  color: #94A3B8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Charts Grid */
.dash-charts-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 10px;
}

.dash-chart-card,
.dash-donut-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
}

.dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dash-chart-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #F1F5F9;
}

.dash-chart-sub {
  font-size: 0.56rem;
  color: #94A3B8;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Bar Chart */
.dash-bar-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  height: 60px;
  padding-top: 4px;
}

.dash-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar-track {
  width: 100%;
  max-width: 14px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px 3px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.dash-bar-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #FC2415 0%, #FFA299 100%);
  box-shadow: 0 0 10px rgba(252, 36, 21, 0.35);
  border-radius: 2px 2px 0 0;
  transition: height 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
  transform: translateZ(0);
}

.dash-bar-day {
  font-size: 0.56rem;
  font-weight: 600;
  color: #94A3B8;
}

/* Donut Chart */
.dash-donut-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.dash-donut-visual {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-svg {
  transform: rotate(-90deg);
  width: 48px;
  height: 48px;
  overflow: visible;
}

.donut-mask-stroke {
  stroke-dasharray: 0 100;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 750ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: stroke-dasharray;
}

.donut-seg {
  transform-origin: center;
}

.donut-center-stat {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-mono);
  pointer-events: none;
}

.dash-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  flex: 1;
  min-width: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.56rem;
  line-height: 1.2;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-blue { background: #FC2415; }
.dot-blue-light { background: #FFA299; }
.dot-blue-pale { background: #93C5FD; }
.dot-slate { background: #475569; }

.legend-label {
  color: #94A3B8;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legend-val {
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* CSAT Meter for Support */
.dash-csat-bar {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.csat-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.csat-lbl {
  font-size: 0.56rem;
  color: #94A3B8;
  font-weight: 600;
}

.csat-score-val {
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFA299;
  font-family: var(--font-mono);
}

.csat-meter-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.csat-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFA299 0%, #FC2415 100%);
  box-shadow: 0 0 8px rgba(252, 36, 21, 0.4);
  border-radius: 2px;
  transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Activity Panel */
.dash-activity-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
}

.dash-act-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.dash-act-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-act-meta {
  font-size: 0.56rem;
  color: #64748B;
  font-weight: 500;
}

.dash-act-clipped-container {
  overflow: hidden;
}

.dash-act-table {
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: none !important;
  opacity: 1 !important;
}

.dash-act-tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  padding: 2px 0;
}

.dash-act-th {
  color: #64748B;
  font-weight: 700;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1px;
}

.cand-name {
  color: #F8FAFC;
  font-weight: 600;
}

.text-muted-sub {
  color: #94A3B8;
}

.dash-badge-pill {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.dash-badge-pill.pill-active {
  background: rgba(252, 36, 21, 0.16);
  border: 1px solid rgba(252, 36, 21, 0.35);
  color: #FFA299;
}

.dash-badge-pill.pill-subtle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
}

/* Realistic Call Card Component (Preserved Internal Layout with Dark Card Styling) */
.realistic-call-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

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

.call-status-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot-blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 10px rgba(252, 36, 21, 0.7);
  animation: pulseBlue 1.8s infinite;
}

.status-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #F8FAFC;
}

.call-clock {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #94A3B8;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.call-voice-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-wave-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.mini-wave-bars span {
  width: 2.5px;
  height: 60%;
  background: var(--brand-blue);
  border-radius: 1px;
  animation: waveBarBounce 0.8s ease-in-out infinite alternate;
}

.mini-wave-bars span:nth-child(2) { animation-delay: 0.2s; height: 100%; }
.mini-wave-bars span:nth-child(3) { animation-delay: 0.4s; height: 40%; }
.mini-wave-bars span:nth-child(4) { animation-delay: 0.6s; height: 80%; }

@keyframes waveBarBounce {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.voice-state-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFA299;
}

.status-pill-clean {
  font-size: 0.72rem;
  font-weight: 600;
  color: #93C5FD;
  background: rgba(252, 36, 21, 0.15);
  border: 1px solid rgba(252, 36, 21, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Call Parties Strip */
.call-parties-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0F172A;
}

.party-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.party-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.avatar-agent {
  background: rgba(252, 36, 21, 0.2);
  border: 1.5px solid rgba(252, 36, 21, 0.4);
  color: #FFA299;
}

.avatar-candidate {
  background: #1E293B;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #0F172A;
}

.party-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.2;
}

.party-role {
  font-size: 0.7rem;
  color: #94A3B8;
}

.call-flow-icon {
  font-size: 0.85rem;
  color: #64748B;
}

/* Call Dialogue Stream */
.call-dialogue-stream {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #090E17;
  min-height: 180px;
}

.dialogue-entry {
  max-width: 92%;
  padding: 7px 11px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.42;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.entry-agent {
  align-self: flex-start;
  background: rgba(252, 36, 21, 0.12);
  border: 1px solid rgba(252, 36, 21, 0.25);
  color: #0F172A;
}

.entry-contact {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

.dialogue-speaker {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

.entry-agent .dialogue-speaker {
  color: #FFA299;
}

.entry-contact .dialogue-speaker {
  color: #94A3B8;
}

.dialogue-quote {
  font-style: normal;
}

/* Information Extraction Card */
.extraction-card {
  padding: 12px 18px 14px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.extraction-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ext-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38BDF8;
}

.ext-target {
  font-size: 0.68rem;
  color: #64748B;
  font-family: var(--font-mono);
}

.extraction-items-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  gap: 8px;
}

.ext-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.ext-item.item-active-glow {
  border-color: rgba(252, 36, 21, 0.6) !important;
  background: rgba(252, 36, 21, 0.16) !important;
  box-shadow: 0 0 14px rgba(252, 36, 21, 0.3) !important;
}

.ext-item.highlight-item {
  border-color: rgba(252, 36, 21, 0.4);
  background: rgba(252, 36, 21, 0.1);
}

.ext-item.highlight-item-blue {
  border-color: rgba(252, 36, 21, 0.4);
  background: rgba(252, 36, 21, 0.1);
  grid-column: span 2;
}

.ext-label {
  font-size: 0.62rem;
  color: #94A3B8;
  display: block;
  margin-bottom: 2px;
}

.ext-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   8. SECTION: HOW IT WORKS (SIMPLE 4 STEPS)
   -------------------------------------------------------------------------- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hiw-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.hiw-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8, #FC2415);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hiw-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 36, 21, 0.45);
  box-shadow: 0 16px 36px -8px rgba(252, 36, 21, 0.16), 0 0 24px -2px rgba(252, 36, 21, 0.22);
}

.hiw-step-card:hover::before {
  opacity: 1;
}

.hiw-step-card:hover .hiw-step-icon {
  transform: scale(1.18);
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(252, 36, 21, 0.38);
  border-color: var(--brand-blue);
}

.hiw-step-num {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.hiw-step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hiw-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. SECTION: INDUSTRIES (PRESERVED CONTENT, VISUAL DASHBOARD BLUE)
   -------------------------------------------------------------------------- */
.industry-visual-showcase {
  max-width: 1080px;
  margin: 0 auto;
}

.ind-pill-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 4px;
  margin-bottom: 28px;
  width: 100%;
}

.ind-pill-selector::-webkit-scrollbar {
  display: none;
}

.ind-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.835rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.ind-pill-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.ind-pill-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(252, 36, 21, 0.28);
}

.ind-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-smooth);
}

.ind-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ind-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ind-preview-badge {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.ind-tag-pill {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ind-latency-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--brand-blue);
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.ind-dialogue-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.ind-agent-line {
  display: flex;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.ind-speaker-label {
  font-weight: 800;
  color: var(--brand-blue);
  white-space: nowrap;
}

.ind-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ind-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   10. SECTION: CLOSING CTA (CLEAN & MINIMAL)
   -------------------------------------------------------------------------- */
.cta-clean-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-clean-box {
  max-width: 680px;
  margin: 0 auto;
}

.cta-clean-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.cta-clean-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer-light {
  background: #FFFFFF;
  padding: 60px 0 32px;
  color: var(--text-secondary);
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--brand-blue);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-credit {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-light-slate, #94A3B8);
  text-align: center;
}

.footer-credit strong {
  font-weight: 700;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. INTERACTIVE DEMO MODAL
   -------------------------------------------------------------------------- */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.demo-modal-backdrop.active {
  display: flex;
}

.demo-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.modal-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-blue);
}

.modal-success-screen {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.modal-success-screen.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--brand-blue);
}

.success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.success-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE DESIGN (BREAKPOINTS & ACCESSIBILITY)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-visual {
    padding-right: 14px;
  }

  .banner-assistant {
    right: calc(100% + 14px);
    width: 184px;
  }

  .banner-instant {
    display: none; /* Keep composition clean with 2 banners on compact desktop */
  }

  .story-card .feature-split-grid {
    grid-template-columns: 200px 1.05fr 360px;
    gap: 16px;
  }

  .story-card {
    padding: 20px 24px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar-wrapper {
    align-items: center;
  }

  .meta-strip-light {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    justify-content: center;
    padding-right: 0;
    padding-top: 24px;
  }

  .hero-phone-composition {
    margin: 28px auto 0;
  }

  .banner-calling {
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 14px);
  }

  .banner-assistant {
    right: calc(100% + 14px);
    top: 32%;
    width: 185px;
  }

  .banner-instant {
    display: none;
  }

  .instant-test-grid {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .story-card {
    padding: 32px 32px;
  }

  .cards-stack-stage {
    height: 600px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  /* On Mobile / Small Tablets: Disable sticky stack, show clean natural flow */
  .industry-scroll-track {
    height: auto !important;
  }

  .industry-sticky-viewport {
    position: static !important;
    height: auto !important;
    padding: 56px 20px !important;
    overflow: visible !important;
  }

  .story-progress-indicator {
    display: none;
  }

  .cards-stack-stage {
    height: auto !important;
    position: static !important;
  }

  .story-card {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 32px;
    padding: 24px 20px;
  }

  .story-card .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-dash-side {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-call-side {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-text-side {
    max-width: 100%;
    text-align: center;
  }

  .feature-action-row {
    justify-content: center;
  }

  .story-card .dialogue-entry,
  .story-card .ext-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 600px) {
  .dash-charts-grid {
    grid-template-columns: 1fr;
  }
  .dash-donut-card {
    display: none;
  }
  .dash-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .dash-stat-box {
    padding: 5px 6px;
  }
  .dash-stat-number {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section-spacing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .ind-preview-card {
    padding: 24px 20px;
  }

  .ind-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .phone-input-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 10px;
    gap: 8px;
  }

  .country-prefix-tag {
    border-right: none;
    padding-right: 0;
  }

  .btn-call-now {
    width: 100%;
  }

  .cta-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions-row .btn {
    width: 100%;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 24px;
    padding-right: 0;
  }

  .hero-phone-composition {
    width: 100%;
    max-width: 360px;
    margin: 20px auto 0;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .phone-3d-wrapper {
    width: 100%;
    max-width: 360px;
    transform: none !important;
    order: 1;
    margin: 0 auto;
  }

  /* Mobile: Small horizontal benefit badges beneath the phone */
  .hero-banners-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    max-width: 440px;
    order: 2;
  }

  .hero-floating-banner {
    position: static !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    min-width: 0;
    max-width: none;
    width: auto;
    flex: 0 1 auto;
    padding: 7px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .banner-calling,
  .banner-assistant,
  .banner-instant {
    display: flex !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    width: auto;
  }

  .call-parties-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .call-flow-icon {
    display: none;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .phone-3d-wrapper,
  .hero-floating-banner,
  .banner-calling,
  .banner-assistant,
  .banner-instant {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .industry-scroll-track {
    height: auto !important;
  }

  .industry-sticky-viewport {
    position: static !important;
    height: auto !important;
  }

  .cards-stack-stage {
    position: relative !important;
    height: auto !important;
  }

  .story-card {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 36px;
  }

  .dw-bar,
  .live-dot-pulse,
  .pulse-blue,
  .btn-accept-call,
  .in-call-wave-bar,
  .mini-wave-bars span {
    animation: none !important;
  }

  .story-card .dialogue-entry,
  .story-card .ext-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ==========================================================================
   SUPPLEMENTARY COMPONENT STYLES (SERVICES, HUMAN TOUCH, STORIES, PREVIEW)
   ========================================================================== */

/* Top Nav Sound FX Toggle & Brand Image */
.nav-brand-icon-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-sound-toggle:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
}

/* Hero Section Base, Sample Voice Preview & Trust Indicators */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top:  80px;
  padding-bottom:  80px;
}

.hero-voice-sample-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  margin-top: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.btn-voice-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-voice-preview:hover {
  background: var(--primary-blue-hover);
  box-shadow: 0 2px 8px rgba(252, 36, 21, 0.3);
}

.voice-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-btn-text {
  font-size: 0.8rem;
}

.voice-sample-visualizer {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.v-bar {
  width: 3px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.voice-sample-visualizer.playing .v-bar:nth-child(1) { animation: voiceWave 0.8s ease-in-out infinite 0.1s; }
.voice-sample-visualizer.playing .v-bar:nth-child(2) { animation: voiceWave 0.8s ease-in-out infinite 0.2s; }
.voice-sample-visualizer.playing .v-bar:nth-child(3) { animation: voiceWave 0.8s ease-in-out infinite 0.3s; }
.voice-sample-visualizer.playing .v-bar:nth-child(4) { animation: voiceWave 0.8s ease-in-out infinite 0.4s; }
.voice-sample-visualizer.playing .v-bar:nth-child(5) { animation: voiceWave 0.8s ease-in-out infinite 0.25s; }
.voice-sample-visualizer.playing .v-bar:nth-child(6) { animation: voiceWave 0.8s ease-in-out infinite 0.15s; }
.voice-sample-visualizer.playing .v-bar:nth-child(7) { animation: voiceWave 0.8s ease-in-out infinite 0.35s; }

@keyframes voiceWave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.voice-sample-badge {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.trust-item-naturalness {
  color: #059669;
  font-weight: 600;
}

.trust-svg-icon {
  flex-shrink: 0;
}

.icon-check svg, .icon-zap svg {
  display: block;
}

.phone-ambient-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(252, 36, 21, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   CORE VOICE SERVICES SECTION (#services) — dark spotlight redesign
   -------------------------------------------------------------------------- */
.service-cards-section {
  position: relative;
  overflow: hidden;
  background: #050B1A;
  border-top: 0;
  isolation: isolate;
}

.svc-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 380px at 15% 0%, rgba(59, 99, 255, 0.28), transparent 70%),
    radial-gradient(560px 360px at 85% 10%, rgba(252, 36, 21, 0.22), transparent 70%),
    radial-gradient(700px 400px at 50% 100%, rgba(16, 185, 129, 0.12), transparent 70%);
  animation: svcAurora 14s ease-in-out infinite alternate;
}

.svc-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

@keyframes svcAurora {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

.svc-header { max-width: 760px; margin: 0 auto; }

.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.svc-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FC2415;
  box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.7);
  animation: svcPulse 1.8s infinite;
}

@keyframes svcPulse {
  70% { box-shadow: 0 0 0 10px rgba(252, 36, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0); }
}

.svc-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.svc-title-grad {
  background: linear-gradient(90deg, #8FB0FF 0%, #FFFFFF 45%, #FF8A80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 620px;
  margin: 0 auto;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
  align-items: stretch;
}

/* Card: glass + gradient border + cursor spotlight */
.service-card {
  --accent: 96, 140, 255;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent), 0.55);
  box-shadow: 0 30px 70px -25px rgba(var(--accent), 0.45);
}

.svc-recruit { --accent: 96, 140, 255; }
.svc-sales { --accent: 252, 36, 21; }
.svc-support { --accent: 16, 185, 129; }
.svc-appointment { --accent: 168, 85, 247; }
.svc-receptionist { --accent: 34, 211, 238; }

/* 5 cards: 3 on the first row, 2 wider ones centred below */
.service-cards-grid { grid-template-columns: repeat(6, 1fr); }
.service-cards-grid > .service-card { grid-column: span 2; }
.service-cards-grid > .service-card:nth-child(n+4) { grid-column: span 3; }

.service-card > * { position: relative; z-index: 1; }

.service-card-featured {
  background: linear-gradient(180deg, rgba(252, 36, 21, 0.14), rgba(255, 255, 255, 0.03));
  border-color: rgba(252, 36, 21, 0.45);
  box-shadow: 0 30px 80px -30px rgba(252, 36, 21, 0.5);
  transform: translateY(-14px);
}

.service-card-featured:hover { transform: translateY(-22px); }

.service-popular-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  left: auto;
  background: linear-gradient(90deg, #FC2415, #FF6A3D);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(252, 36, 21, 0.45);
  z-index: 2;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-card-featured .service-badge { display: none; }

.service-icon-orb {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--accent));
  background: rgba(var(--accent), 0.14);
  border: 1px solid rgba(var(--accent), 0.4);
  box-shadow: 0 0 28px rgba(var(--accent), 0.35);
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Animated voice waveform */
.svc-wave {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 78px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-right: 26px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0 !important;
}

.svc-wave i {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgb(var(--accent)), transparent);
  transform: scaleY(0.2);
  animation: svcBar 1.2s ease-in-out infinite;
}

.svc-wave i:nth-child(2) { animation-delay: -0.15s; }
.svc-wave i:nth-child(3) { animation-delay: -0.3s; }
.svc-wave i:nth-child(4) { animation-delay: -0.45s; }
.svc-wave i:nth-child(5) { animation-delay: -0.6s; }
.svc-wave i:nth-child(6) { animation-delay: -0.75s; }
.svc-wave i:nth-child(7) { animation-delay: -0.9s; }
.svc-wave i:nth-child(8) { animation-delay: -1.05s; }
.svc-wave i:nth-child(9) { animation-delay: -1.2s; }

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

.service-card:hover .svc-wave { opacity: 1; }

/* Big metric */
.svc-metric {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.svc-metric-num {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(var(--accent), 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-metric-label {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94A3B8;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: #A8B3C7;
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-feature-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.svc-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--accent), 0.18);
  border: 1px solid rgba(var(--accent), 0.5);
  position: relative;
}

.svc-tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid rgb(var(--accent));
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-card-action { margin-top: auto; }

.btn-service-card,
.svc-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.14s ease;
}

.svc-btn:hover {
  background: rgba(var(--accent), 0.18);
  border-color: rgba(var(--accent), 0.6);
  color: #fff;
}

.svc-btn-primary {
  background: linear-gradient(90deg, #FC2415, #FF5A36);
  border-color: transparent;
  box-shadow: 0 10px 28px -8px rgba(252, 36, 21, 0.7);
}

.svc-btn-primary:hover {
  background: linear-gradient(90deg, #FF3B2D, #FF6A47);
  border-color: transparent;
}

.svc-arrow { transition: transform 0.25s ease; }
.svc-btn:hover .svc-arrow { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .svc-aurora, .svc-wave i, .svc-live-dot { animation: none; }
  .svc-wave i { transform: scaleY(0.6); }
}

@media (max-width: 1024px) {
  .service-cards-grid > .service-card,
  .service-cards-grid > .service-card:nth-child(n+4) { grid-column: auto; }
  .service-card-featured, .service-card-featured:hover { transform: none; }
  .service-cards-grid { margin-top: 48px; }
}

/* --------------------------------------------------------------------------
   HUMAN TOUCH SECTION & CALLER STORIES (#human-touch)
   -------------------------------------------------------------------------- */
.human-touch-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.human-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
  margin-bottom: 50px;
}

.human-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.human-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.06);
}

.hp-icon-orb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.orb-amber {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.orb-blue {
  background: #EFF6FF;
  color: var(--primary-blue);
  border: 1px solid #BFDBFE;
}

.orb-rose {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
}

.orb-emerald {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.hp-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hp-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  align-self: flex-start;
}

.hp-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FC2415;
  flex-shrink: 0;
}

/* Caller Stories / Genuine Human Reactions */
.human-stories-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl, 20px);
  padding: 36px 32px;
  margin-bottom: 40px;
}

.human-stories-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  text-align: left;
}

.hsh-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hsh-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.caller-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.caller-quote-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.caller-quote-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -2px rgba(15, 23, 42, 0.06);
}

.caller-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.caller-quote {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.caller-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.caller-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.avatar-c1 {
  background: linear-gradient(135deg, #FC2415, #E01E10);
}

.avatar-c2 {
  background: linear-gradient(135deg, #059669, #047857);
}

.avatar-c3 {
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.caller-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.caller-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.caller-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Empathy Scoreboard Strip */
.empathy-scoreboard-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.esc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.esc-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-blue);
  font-family: var(--font-mono, monospace);
}

.esc-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   CAPABILITY COMMAND CENTER: DONUT CHARTS, PIPELINES, & TABLE HELPERS
   -------------------------------------------------------------------------- */
.donut-bg { stroke: #E2E8F0; }
.seg-screened { stroke: #FC2415; }
.seg-shortlist { stroke: #10B981; }
.seg-reject { stroke: #EF4444; }
.seg-qual { stroke: #FC2415; }
.seg-int { stroke: #10B981; }
.seg-fol { stroke: #F59E0B; }
.seg-not { stroke: #94A3B8; }
.seg-order { stroke: #FC2415; }
.seg-refund { stroke: #8B5CF6; }
.seg-acc { stroke: #10B981; }
.seg-oth { stroke: #64748B; }

.col-cand { width: 140px; font-weight: 600; color: var(--text-primary); }
.col-comp { flex: 1; color: var(--text-secondary); }
.col-lead { width: 140px; font-weight: 600; color: var(--text-primary); }
.col-status { width: 100px; text-align: right; }

.story-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.hint-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
}

.ext-human-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.human-touch-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft-blue);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ht-icon-wrap {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.ht-text {
  font-size: 0.84rem;
  color: var(--deep-blue);
  line-height: 1.45;
}

.pulse-dot-green {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.incoming-caller-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pill-pen-icon {
  display: inline-flex;
  align-items: center;
}

.party-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.instant-call-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-section {
  position: relative;
}

.section-alternate {
  background: var(--bg-secondary);
}

.ind-pill-svg {
  flex-shrink: 0;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OVERRIDES FOR NEW SECTIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0;
  }
  .human-pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .caller-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .empathy-scoreboard-strip {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .human-pillars-grid {
    grid-template-columns: 1fr;
  }
  .empathy-scoreboard-strip {
    grid-template-columns: 1fr;
  }
  .human-stories-wrap {
    padding: 24px 18px;
  }
}

/* --------------------------------------------------------------------------
   CASE-INSENSITIVE / REMO VOICE & TIMELINE ALIASES
   -------------------------------------------------------------------------- */
.Remo-voice-orb, .remo-voice-orb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFA299, #FC2415 60%, #E01E10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 30px -5px rgba(252, 36, 21, 0.45), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.Remo-voice-orb svg, .remo-voice-orb svg {
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.timeline-entry.Remo-entry, .timeline-entry.remo-entry {
  background: #F0F6FF;
  border: 1px solid #BFDBFE;
  border-left: 3px solid #FC2415;
}

.entry-speaker.Remo-title, .entry-speaker.remo-title {
  color: #FC2415;
  font-weight: 700;
}

.avatar-contact {
  background: linear-gradient(135deg, #475569, #334155);
  color: #FFFFFF;
}

.domain-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.eyebrow-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ind-name {
  font-weight: 700;
}

.ind-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}

.open-demo-btn {
  cursor: pointer;
}

.test-copy-col {
  display: flex;
  flex-direction: column;
}

.test-phone-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   TAKEREMO BRANDING, VISIBILITY & LAYOUT REFINEMENTS
   ========================================================================== */

/* 1. Nav Brand Logo */
.nav-brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.nav-brand-logo-img:hover {
  opacity: 0.92;
}

/* 2. Reduced Section Spacing After Nav and Hero */
.hero-section {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}
.section-spacing {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.human-stories-wrap {
  margin-bottom: 24px !important;
  padding: 24px 28px !important;
}

/* 3. Cards Deck & Container Containment (01 Recruitment, 02 Sales, 03 Support) */
.cards-stack-stage {
  min-height: 640px !important;
  height: 640px !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border-radius: var(--radius-card) !important;
}

.story-card {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #0B111E !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card) !important;
  padding: 20px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.story-card .feature-split-grid,
.feature-split-grid.domain-card-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 250px 1fr 375px !important;
  gap: 20px !important;
  align-items: center !important;
}

/* 4. Realistic Call Card: Compact & Contained inside Box */
.realistic-call-card {
  background: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 375px !important;
  margin: 0 auto !important;
}

.call-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px !important;
  background: #0B111E !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.call-status-tag {
  color: #F8FAFC !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
}
.voice-state-text {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #93C5FD !important;
}

.call-parties-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0F172A !important;
}
.party-name {
  color: #F8FAFC !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
}
.party-role {
  color: #94A3B8 !important;
  font-size: 0.68rem !important;
}

.call-dialogue-stream {
  padding: 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: #090E17 !important;
  min-height: auto !important;
}

/* 5. Remo & Contact Speech Bubbles Visibility */
.realistic-call-card .entry-agent,
.dialogue-entry.entry-agent {
  align-self: flex-start !important;
  background: #192742 !important;
  border: 1px solid rgba(96, 165, 250, 0.38) !important;
  color: #FFFFFF !important;
  padding: 7px 11px !important;
  border-radius: 12px !important;
  max-width: 90% !important;
}
.realistic-call-card .entry-agent .dialogue-speaker,
.dialogue-entry.entry-agent .dialogue-speaker {
  color: #93C5FD !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
  display: block !important;
}
.realistic-call-card .entry-agent .dialogue-quote,
.dialogue-entry.entry-agent .dialogue-quote {
  color: #F1F5F9 !important;
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
}

.realistic-call-card .entry-contact,
.dialogue-entry.entry-contact {
  align-self: flex-end !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  padding: 7px 11px !important;
  border-radius: 12px !important;
  max-width: 90% !important;
}
.realistic-call-card .entry-contact .dialogue-speaker,
.dialogue-entry.entry-contact .dialogue-speaker {
  color: #0F172A !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 2px !important;
  display: block !important;
}
.realistic-call-card .entry-contact .dialogue-quote,
.dialogue-entry.entry-contact .dialogue-quote {
  color: #1E293B !important;
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
}

/* 6. Extracted Information Card */
.extraction-card {
  padding: 8px 14px !important;
  background: #0B111E !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.ext-badge {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.ext-target {
  color: #94A3B8 !important;
  font-size: 0.65rem !important;
}
.extraction-items-row {
  display: flex !important;
  gap: 6px !important;
  margin: 6px 0 !important;
}
.ext-item {
  flex: 1 !important;
  background: #162032 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 4px 6px !important;
}
.ext-label {
  color: #94A3B8 !important;
  font-size: 0.58rem !important;
  display: block !important;
}
.ext-value {
  color: #F8FAFC !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
}
.ext-human-note {
  color: #94A3B8 !important;
  font-size: 0.65rem !important;
}

/* 7. Bar Graphs, Charts & Table Contrast Inside Story Cards */
.story-card .dash-bar-fill {
  background: linear-gradient(180deg, #FFA299 0%, #FC2415 100%) !important;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5) !important;
}
.story-card .dash-bar-track {
  background: rgba(255, 255, 255, 0.12) !important;
}
.story-card .dash-bar-day {
  color: #CBD5E1 !important;
  font-weight: 600 !important;
  font-size: 0.64rem !important;
}
.story-card .dash-chart-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
.story-card .dash-chart-sub {
  color: #94A3B8 !important;
}
.story-card .dash-stat-number {
  color: #FFFFFF !important;
}
.story-card .dash-stat-label {
  color: #94A3B8 !important;
}

/* Recent Inbound Calls & Candidate Pipeline Tables */
.story-card .dash-act-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
}
.story-card .dash-act-meta {
  color: #94A3B8 !important;
  font-size: 0.64rem !important;
}
.story-card .dash-act-th,
.story-card .dash-act-th span,
.story-card .dash-act-th .col-cand,
.story-card .dash-act-th .col-status {
  color: #94A3B8 !important;
  font-size: 0.62rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}
.story-card .dash-act-tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.story-card .dash-act-tr .cand-name,
.story-card .dash-act-tr .col-cand,
.story-card .cand-name {
  color: #F8FAFC !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
}

/* 8. Bottom-Left Highlight Box (Empathetic Experience) */
.story-card .human-touch-highlight {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  margin-top: 14px !important;
  margin-bottom: 16px !important;
}
.story-card .human-touch-highlight .ht-icon-wrap {
  background: rgba(255, 68, 51, 0.18) !important;
  color: #FF4433 !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.story-card .human-touch-highlight .ht-text {
  color: #E2E8F0 !important;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
}
.story-card .human-touch-highlight .ht-text strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  display: block !important;
  margin-bottom: 2px !important;
}
.story-card .human-touch-highlight .ht-text span {
  color: #CBD5E1 !important;
  display: block !important;
}

/* ==========================================================================
   USER REQUESTED POLISH: SPACING, MIC ICON, BANNERS, AND DECK CLEANUP
   ========================================================================== */

/* 1. Reduce gap between nav and hero section */
.top-nav {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.hero-section {
  padding-top: 0;
  padding-bottom: 48px;
}

.hero-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 2. Reduce size of mic icon in phone */
.Remo-voice-orb,
.remo-voice-orb,
.brand-group-left .Remo-voice-orb {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  margin: 0 10px 0 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(252, 36, 21, 0.3) !important;
}

.Remo-voice-orb svg,
.remo-voice-orb svg,
.brand-group-left .Remo-voice-orb svg {
  width: 15px !important;
  height: 15px !important;
}

.command-header-card {
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.brand-group-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

#live-mute-btn svg {
  width: 16px !important;
  height: 16px !important;
}

/* 3. The 60-Second Test: Remove banner styling (no giant full-width empty boxes) */
.instant-test-section .test-copy-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.instant-test-section .section-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  color: #FF4433 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.instant-test-section .section-eyebrow svg {
  color: #FF4433 !important;
}

.instant-test-section .callout-capability-pill {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
  align-self: flex-start !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 12px 0 22px 0 !important;
  color: #475569 !important;
  font-size: 0.88rem !important;
}

.instant-test-section .callout-capability-pill .pill-pen-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--brand-blue, #031740) !important;
}

/* 4. While scrolling cards: cards cleanly stay in container and NEVER merge */
.cards-stack-stage {
  position: relative !important;
  overflow: hidden !important;
  height: 640px !important;
  min-height: 640px !important;
  border-radius: var(--radius-card) !important;
}

.story-card {
  transition: opacity 0.35s ease, transform 0.35s ease !important;
  will-change: opacity, transform !important;
}

.story-card.card-in-back {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.98) !important;
}

.story-card.card-in-front {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* SCROLL STACK DECK ANIMATION */
.scroll-stack-section {
  padding: 100px 20px;
  background: var(--bg-primary);
}
.scroll-stack-header {
  text-align: center;
  margin-bottom: 60px;
}
.scroll-stack-header h2 {
  font-size: 3rem;
  color: var(--deep-blue);
  font-family: var(--font-display);
}
.scroll-stack-deck {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.scroll-stack-card {
  position: sticky;
  top: 15vh;
  width: 100%;
  height: 65vh;
  background: var(--bg-card);
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(3, 23, 64, 0.08);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .scroll-stack-card { height: 75vh; }
}
.stack-card-header {
  padding: 30px 40px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 20px;
}
.stack-card-number {
  font-family: var(--font-mono);
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.2rem;
}
.stack-card-title {
  font-size: 1.8rem;
  color: var(--deep-blue);
  font-weight: 700;
}
.stack-card-content {
  padding: 40px;
  flex: 1;
  background: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}
.ai-mock-ui {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.ai-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--deep-blue);
}
.ai-mock-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.ai-mock-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.ai-mock-row:last-child { border: none; }

.hp-bullet { background-color: #FC2415 !important; }
.trust-item svg { stroke: #FC2415 !important; color: #FC2415 !important; }
.hero-phone-screen .accent-dot, .hero-phone-screen .active-indicator { background-color: #FC2415 !important; }

/* --------------------------------------------------------------------------
   MOBILE VIEW (phones) — hamburger menu + layout fixes
   -------------------------------------------------------------------------- */
.nav-menu-toggle,
.mobile-nav-panel {
  display: none;
}

@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img, svg, video, canvas {
    max-width: 100%;
  }

  .container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Navigation */
  .nav-container {
    width: 100%;
    padding: 8px 14px;
    gap: 10px;
  }

  .nav-brand-logo-img {
    height: 40px;
    width: auto;
    max-width: 220px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-outline,
  .nav-sound-toggle {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 8px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .nav-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .top-nav.menu-open .nav-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .top-nav.menu-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .top-nav.menu-open .nav-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-panel {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 18px 18px;
    background: #fff;
    border-top: 1px solid var(--border-light);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .top-nav.menu-open .mobile-nav-panel {
    display: flex;
  }

  .mobile-nav-panel .nav-link {
    display: block;
    padding: 13px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .mobile-nav-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar-wrapper,
  .meta-strip-light {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Section headings and grids */
  h2 {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.2;
  }

  .service-cards-grid,
  .human-pillars-grid,
  .footer-content-grid,
  .instant-test-grid {
    grid-template-columns: 1fr;
  }

  .instant-test-grid {
    padding: 28px 18px;
  }

  .story-card .feature-split-grid {
    grid-template-columns: 1fr;
  }

  .feature-dash-side,
  .feature-call-side {
    max-width: 100%;
    overflow: hidden;
  }

  /* Wide tables/code blocks scroll inside their box instead of the page */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  .nav-actions .btn-primary span {
    font-size: 0.74rem;
  }

  .nav-brand-logo-img {
    max-width: 175px;
  }

  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   HERO — tablet and phone
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-content {
    margin: 0 auto;
    max-width: 640px;
    padding-top: 28px;
  }

  .hero-subtitle-dark {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-trust-dark {
    justify-content: center;
  }

  .hero-voice-sample-card {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-phone-composition {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    gap: 12px;
    padding-top: 0;
  }

  .hero-content {
    padding-top: 20px;
    max-width: 100%;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 14px;
  }

  .hero-title-dark {
    font-size: clamp(1.85rem, 8.4vw, 2.4rem);
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .hero-subtitle-dark {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-voice-sample-card {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 18px;
  }

  /* Trust bar: tidy wrapped row, no stray dividers */
  .hero-trust-dark {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-trust-dark .trust-divider {
    display: none;
  }

  .hero-trust-dark .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* Phone fits the screen width */
  .hero-visual {
    padding: 8px 0 0;
    min-height: 0;
  }

  .glow-light {
    right: 50%;
    transform: translateX(50%);
    width: 260px;
    height: 260px;
  }

  .hero-phone-composition,
  .phone-3d-wrapper {
    width: 100%;
    max-width: 330px;
  }

  .iphone-frame {
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
  }

  .iphone-screen {
    height: 540px;
    max-height: none;
  }

  .hero-light-theme {
    padding-bottom: 32px;
  }
}

@media (max-width: 380px) {
  .hero-title-dark {
    font-size: 1.75rem;
  }

  .iphone-frame {
    max-width: 280px;
  }

  .iphone-screen {
    height: 500px;
  }
}

/* --------------------------------------------------------------------------
   WORKFLOW CARDS (Recruitment / Sales / Customer Support) — phone
   Tabs switch one card at a time; no blank gaps from hidden cards.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .industry-scroll-section {
    padding: 36px 0 44px;
  }

  .industry-sticky-viewport {
    padding: 0 14px !important;
    align-items: stretch;
  }

  /* Bring the tab bar back (an earlier rule hides it) as a scrollable row */
  .story-progress-indicator {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 5px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .story-progress-indicator::-webkit-scrollbar {
    display: none;
  }

  .story-indicator-item {
    flex: 1 0 auto;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .story-hint-pill {
    display: none;
  }

  /* Show only the selected card */
  .cards-stack-stage {
    min-height: 0;
  }

  .story-card:not(.active) {
    display: none !important;
  }

  .story-card.active {
    display: flex !important;
    visibility: visible !important;
    margin-bottom: 0;
    min-height: 0;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .story-card .feature-split-grid {
    gap: 20px;
  }

  /* Text block: left aligned, readable */
  .feature-text-side {
    text-align: left;
  }

  .story-card .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .story-card .section-short-desc {
    font-size: 0.92rem;
    max-width: 100%;
  }

  .story-card .human-touch-highlight {
    text-align: left;
  }

  .story-card .ht-text strong {
    font-size: 0.88rem;
  }

  .story-card .ht-text span {
    font-size: 0.82rem;
  }

  .feature-action-row {
    justify-content: stretch;
  }

  .feature-action-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Analytics panel */
  .feature-dash-side,
  .feature-call-side {
    max-width: 100%;
  }

  .compact-dashboard {
    padding: 12px;
  }

  .dash-header-strip {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dash-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .dash-stat-box {
    padding: 8px 8px;
  }

  .dash-stat-number {
    font-size: 1.15rem;
  }

  .dash-stat-label {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .dash-charts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Funnel card was hidden on phones; show it full width */
  .dash-donut-card {
    display: flex;
  }

  .dash-bar-container {
    height: 84px;
  }

  .dash-act-tr {
    font-size: 0.74rem;
    padding: 5px 0;
  }

  /* Call card fits the screen */
  .realistic-call-card {
    max-width: 100% !important;
  }

  .call-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .extraction-items-row {
    flex-wrap: wrap;
  }

  .extraction-items-row .ext-item {
    flex: 1 1 calc(50% - 6px) !important;
  }

  .extraction-top {
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .story-indicator-item {
    padding: 8px 11px;
    font-size: 0.74rem;
  }

  .dash-stats-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dash-stat-number {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   "Built for conversations across industries" — phone
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #industries .section-header-simple {
    margin-bottom: 24px;
    padding: 0 4px;
  }

  #industries .section-subtitle-clean {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* All 8 industries visible as wrapped pills; centered scroll used to clip the first ones */
  .ind-pill-selector {
    flex-wrap: wrap !important;
    justify-content: center;
    overflow: visible;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
  }

  .ind-pill-btn {
    padding: 8px 13px;
    font-size: 0.8rem;
    flex-shrink: 1;
  }

  .ind-pill-btn:hover {
    transform: none;
  }

  .ind-preview-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .ind-preview-header {
    gap: 10px;
    margin-bottom: 16px;
  }

  .ind-badge-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ind-preview-badge {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .ind-latency-pill {
    font-size: 0.7rem;
  }

  .ind-dialogue-box {
    padding: 14px 14px;
    margin-bottom: 16px;
  }

  .ind-agent-line {
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
  }

  .ind-text {
    font-size: 0.92rem;
  }

  .ind-chips-row {
    gap: 6px;
  }

  .ind-chip {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
}

/* ==========================================================================
   HERO — "VOICE ORBIT" REDESIGN
   Full-width hero on desktop + brand-new phone UI (living voice orb, live
   captions, call stages, extracted data). All classes are prefixed rp-.
   ========================================================================== */

/* ---- Full-width animated sound-wave field behind the hero ---- */
.hero-wavefield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.hero-wavefield .wf-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: wfSway 7s ease-in-out infinite alternate;
}

.hero-wavefield .wf-line-1 { stroke: url(#wf-grad-a); }
.hero-wavefield .wf-line-2 { stroke: url(#wf-grad-b); animation-duration: 9s; animation-delay: -3s; }
.hero-wavefield .wf-line-3 { stroke: url(#wf-grad-a); stroke-width: 1.3; opacity: 0.7; animation-duration: 11s; animation-delay: -6s; }

@keyframes wfSway {
  from { transform: translateY(-26px) scaleY(0.85); }
  to { transform: translateY(26px) scaleY(1.2); }
}

/* ---- Device ---- */
.rp-device {
  position: relative;
  width: 320px;
  height: 650px;
  margin: 0 auto;
  z-index: 5;
}

.rp-body {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(150deg, #36406a 0%, #0b1022 38%, #1b2447 100%);
  box-shadow:
    0 60px 100px -34px rgba(3, 23, 64, 0.6),
    0 26px 50px -24px rgba(252, 36, 21, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 2px 3px rgba(255, 255, 255, 0.12);
}

.rp-screen {
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px 14px;
  border-radius: 40px;
  overflow: hidden;
  color: #FFFFFF;
  background:
    radial-gradient(120% 60% at 50% -5%, #223a86 0%, rgba(34, 58, 134, 0) 60%),
    linear-gradient(180deg, #0a1230 0%, #060a1b 100%);
  font-family: var(--font-main);
}

/* drifting colour glows inside the glass */
.rp-screen::before,
.rp-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(54px);
  pointer-events: none;
}

.rp-screen::before {
  left: -90px;
  bottom: -60px;
  background: rgba(252, 36, 21, 0.38);
  animation: rpDriftA 11s ease-in-out infinite alternate;
}

.rp-screen::after {
  right: -100px;
  top: 150px;
  background: rgba(56, 189, 248, 0.22);
  animation: rpDriftB 13s ease-in-out infinite alternate;
}

@keyframes rpDriftA { to { transform: translate(60px, -50px) scale(1.15); } }
@keyframes rpDriftB { to { transform: translate(-50px, 60px) scale(1.2); } }

.rp-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 88px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #02040c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rp-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 10px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  height: 22px;
}

.rp-status-icons { display: inline-flex; align-items: flex-end; gap: 2px; }
.rp-status-icons i { display: block; width: 3px; background: #fff; border-radius: 1px; opacity: 0.9; }
.rp-status-icons i:nth-child(1) { height: 5px; }
.rp-status-icons i:nth-child(2) { height: 8px; }
.rp-status-icons i:nth-child(3) { height: 11px; }

.rp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.rp-brand { display: flex; align-items: center; gap: 8px; }

.rp-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FC2415, #ff6a3d);
  box-shadow: 0 6px 16px -4px rgba(252, 36, 21, 0.7);
}

.rp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.rp-brand-text b { font-size: 0.8rem; font-weight: 800; }
.rp-brand-text em { font-style: normal; font-size: 0.62rem; color: #9fb0d9; }

.rp-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rp-rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FC2415;
  box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.7);
  animation: rpRec 1.6s ease-out infinite;
}

@keyframes rpRec {
  0% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(252, 36, 21, 0); }
}

/* ---- Living voice orb ---- */
.rp-orb-stage {
  position: relative;
  height: 134px;
  flex: 0 0 134px;
  display: grid;
  place-items: center;
}

.rp-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  opacity: 0;
  animation: rpRing 3.6s ease-out infinite;
}

.rp-ring-2 { animation-delay: 1.2s; }
.rp-ring-3 { animation-delay: 2.4s; }

@keyframes rpRing {
  0% { transform: scale(0.8); opacity: 0.55; }
  100% { transform: scale(2.1); opacity: 0; }
}

.rp-orb {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  isolation: isolate;
  animation: rpOrbBreath 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(252, 36, 21, 0.55));
}

@keyframes rpOrbBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.rp-blob {
  position: absolute;
  inset: 0;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  mix-blend-mode: screen;
  animation: rpMorph 6s ease-in-out infinite;
}

.rp-blob-a { background: radial-gradient(circle at 30% 30%, #ff8a4c, #FC2415 62%, transparent 72%); }
.rp-blob-b { background: radial-gradient(circle at 70% 60%, #38BDF8, #2f6df6 58%, transparent 72%); animation-duration: 7.5s; animation-direction: reverse; }
.rp-blob-c { background: radial-gradient(circle at 50% 80%, #ff4f79, transparent 66%); animation-duration: 9s; }

@keyframes rpMorph {
  0%   { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  33%  { border-radius: 58% 42% 44% 56% / 52% 58% 42% 48%; transform: rotate(120deg) scale(1.06); }
  66%  { border-radius: 42% 58% 52% 48% / 56% 42% 58% 44%; transform: rotate(240deg) scale(0.96); }
  100% { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; transform: rotate(360deg) scale(1); }
}

.rp-orb-core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0) 75%);
  filter: blur(1px);
  z-index: 2;
}

.rp-orb-spec {
  position: absolute;
  top: 12%;
  left: 20%;
  width: 28%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(4px);
  transform: rotate(-24deg);
  z-index: 3;
}

.rp-orb,
.rp-blob-a,
.rp-ring {
  transition: filter 0.6s ease, opacity 0.6s ease, border-color 0.6s ease;
}

/* listening: the orb turns cooler and calmer */
.rp-orb-stage[data-state="listening"] .rp-orb { filter: drop-shadow(0 0 26px rgba(56, 189, 248, 0.6)); animation-duration: 5s; }
.rp-orb-stage[data-state="listening"] .rp-blob-a { opacity: 0.35; }
.rp-orb-stage[data-state="listening"] .rp-ring { border-color: rgba(56, 189, 248, 0.5); animation-duration: 5s; }

/* ---- Caller + state ---- */
.rp-caller {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.rp-caller-name { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.rp-caller-meta { font-size: 0.68rem; color: #9fb0d9; }

.rp-state {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffd9d3;
  background: rgba(252, 36, 21, 0.16);
  border: 1px solid rgba(252, 36, 21, 0.35);
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.rp-state-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rpBlink 1.2s ease-in-out infinite; }
@keyframes rpBlink { 50% { opacity: 0.25; } }

.rp-orb-stage[data-state="listening"] ~ .rp-caller .rp-state {
  color: #cdeeff;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}

/* ---- Waveform ---- */
.rp-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 26px;
}

.rp-wave span {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff8a4c, #FC2415);
  transform-origin: center;
  transform: scaleY(0.18);
  animation: rpBar 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.07s);
}

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

.rp-orb-stage[data-state="listening"] ~ .rp-wave span {
  background: linear-gradient(180deg, #7fd4ff, #2f6df6);
  animation-duration: 1.7s;
}

/* ---- Live captions ---- */
.rp-captions {
  flex: 0 0 auto;
  height: 80px;
  overflow: hidden;
  padding: 8px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.rp-cap-who {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff9a86;
}

.rp-captions.is-caller .rp-cap-who { color: #7fd4ff; }

.rp-cap-text {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.36;
  color: #eef2ff;
}

.rp-cap-text .w {
  opacity: 0.18;
  transition: opacity 0.25s ease;
}

.rp-cap-text .w.on { opacity: 1; }

/* ---- Stage tracker ---- */
.rp-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-stages li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f80ad;
  transition: color 0.4s ease;
}

.rp-stages li i {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.rp-stages li i::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #FC2415, #ff8a4c);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-stages li.on { color: #ffffff; }
.rp-stages li.on i::after { transform: scaleX(1); }

/* ---- Extracted data chips ---- */
.rp-extract {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.rp-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  opacity: 0.55;
  transform: translateY(4px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, border-color 0.4s ease;
}

.rp-chip span { font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa1cf; }
.rp-chip b { font-size: 0.74rem; font-weight: 700; color: transparent; transition: color 0.4s ease; position: relative; }

/* waiting state: a soft shimmering bar instead of an empty box */
.rp-chip b::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 62%;
  height: 7px;
  margin-top: -3px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  animation: rpShimmer 1.6s linear infinite;
}

.rp-chip.on b::after { display: none; }

@keyframes rpShimmer { to { background-position: -200% 0; } }

.rp-chip.on {
  opacity: 1;
  transform: none;
  background: rgba(252, 36, 21, 0.14);
  border: 1px solid rgba(252, 36, 21, 0.45);
  box-shadow: 0 8px 20px -10px rgba(252, 36, 21, 0.7);
}

.rp-chip.on b { color: #ffffff; }
.rp-chip.on span::after { content: " \2713"; color: #ff9a86; }

/* ---- Fit score ---- */
.rp-fit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
}

.rp-fit-label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8fa1cf; white-space: nowrap; }

.rp-fit-track {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.rp-fit-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #FC2415, #ffb24c);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-fit-num { min-width: 28px; text-align: right; font-size: 0.78rem; font-variant-numeric: tabular-nums; }

/* ---- Dock ---- */
.rp-dock {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 4px;
}

.rp-dock-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rp-dock-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }
.rp-dock-btn.active { background: #ffffff; color: #0a1230; }

.rp-dock-btn.rp-end {
  width: 50px;
  height: 50px;
  border: none;
  background: linear-gradient(135deg, #FC2415, #d4180c);
  box-shadow: 0 10px 22px -8px rgba(252, 36, 21, 0.9);
}

/* ---- "Interview booked" floating badge ---- */
.banner-booking {
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-booking.on {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   DESKTOP: hero covers the whole screen width and height
   ========================================================================== */
@media (min-width: 1025px) {
  .hero-section.hero-light-theme {
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
  }

  .hero-section .hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 5vw, 110px);
    padding-right: clamp(28px, 5vw, 110px);
    grid-template-columns: minmax(340px, 0.92fr) minmax(480px, 1.08fr);
    gap: clamp(24px, 4vw, 80px);
    align-items: center;
  }

  .hero-section .hero-content {
    margin: 0;
    max-width: 660px;
    padding: 24px 0;
  }

  .hero-section .hero-visual {
    min-height: 720px;
    padding: 24px 0;
    justify-content: center;
  }

  /* soft stage light behind the device */
  .hero-section .hero-visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(620px, 100%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
      radial-gradient(circle at 35% 35%, rgba(252, 36, 21, 0.16), transparent 58%),
      radial-gradient(circle at 70% 65%, rgba(56, 189, 248, 0.2), transparent 60%);
    filter: blur(26px);
    pointer-events: none;
  }

  .hero-section .hero-phone-composition {
    width: 320px;
    margin: 0 auto;
  }

  .hero-section .phone-3d-wrapper {
    width: 320px;
  }

  /* floating glass cards around the device */
  .hero-section .hero-floating-banner {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px -16px rgba(3, 23, 64, 0.35);
    z-index: 12;
  }

  .hero-section .banner-calling   { top: 96px;  left: -160px; bottom: auto; right: auto; }
  .hero-section .banner-assistant { top: 250px; right: -160px; left: auto; bottom: auto; }
  .hero-section .banner-instant   { top: auto;  bottom: 150px; left: -150px; right: auto; display: flex; }
  .hero-section .banner-booking   { position: absolute; top: auto; bottom: 70px; right: -150px; left: auto; width: 182px; }
}

/* Large screens: scale the device up so the hero stays full and balanced */
@media (min-width: 1600px) {
  .hero-section .rp-device { transform: scale(1.14); transform-origin: center; }
  .hero-section .banner-calling   { left: -190px; }
  .hero-section .banner-assistant { right: -190px; }
  .hero-section .banner-instant   { left: -180px; }
  .hero-section .banner-booking   { right: -180px; }
}

@media (min-width: 1900px) {
  .hero-section .rp-device { transform: scale(1.24); }
  .hero-section .banner-calling   { left: -210px; }
  .hero-section .banner-assistant { right: -210px; }
  .hero-section .banner-instant   { left: -200px; }
  .hero-section .banner-booking   { right: -200px; }
}

/* Compact desktops: keep it clean, show the two main badges only */
@media (min-width: 1025px) and (max-width: 1279px) {
  .hero-section .banner-instant,
  .hero-section .banner-booking { display: none; }
  .hero-section .banner-calling   { left: -90px; }
  .hero-section .banner-assistant { right: -90px; }
}

/* ==========================================================================
   TABLET + PHONE: stacked, badges in a tidy row under the device
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-wavefield { opacity: 0.4; }

  .hero-section .hero-banners-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 440px;
    margin-top: 22px;
    order: 2;
  }

  .hero-section .hero-floating-banner {
    position: static !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    padding: 7px 12px;
    border-radius: 10px;
    display: flex !important;
  }

  .hero-section .banner-booking { display: none !important; }

  .hero-section .phone-3d-wrapper { order: 1; }
}

@media (max-width: 359px) {
  .rp-device { transform: scale(0.9); transform-origin: top center; margin-bottom: -64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wavefield .wf-line,
  .rp-screen::before,
  .rp-screen::after,
  .rp-ring,
  .rp-orb,
  .rp-blob,
  .rp-wave span,
  .rp-rec,
  .rp-state-dot { animation: none !important; }
  .rp-wave span { transform: scaleY(0.5); }
}

/* ==========================================================================
   HERO PHONE — SMALLER SIZE
   One scale value (--rps) controls the whole hero phone. Lower = smaller.
   ========================================================================== */
:root { --rps: 0.8; }
@media (min-width: 1600px) { :root { --rps: 0.88; } }
@media (min-width: 1900px) { :root { --rps: 0.94; } }
@media (max-width: 1024px) { :root { --rps: 0.86; } }

.hero-section .phone-3d-wrapper {
  width: calc(320px * var(--rps));
  max-width: none;
  height: calc(650px * var(--rps));
}

.hero-section .rp-device {
  margin: 0;
  transform: scale(var(--rps));
  transform-origin: top left;
}

@media (min-width: 1025px) {
  .hero-section .hero-phone-composition { width: calc(320px * var(--rps)); }

  /* badges sit next to the (smaller) phone again */
  .hero-section .banner-calling   { top: 80px;  left: -160px; }
  .hero-section .banner-assistant { top: 215px; right: -160px; }
  .hero-section .banner-instant   { bottom: 120px; left: -150px; }
  .hero-section .banner-booking   { bottom: 56px; right: -150px; }
}

@media (min-width: 1600px) {
  .hero-section .rp-device { transform: scale(var(--rps)); }
  .hero-section .banner-calling   { left: -160px; }
  .hero-section .banner-assistant { right: -160px; }
  .hero-section .banner-instant   { left: -150px; }
  .hero-section .banner-booking   { right: -150px; }
}

@media (min-width: 1900px) {
  .hero-section .rp-device { transform: scale(var(--rps)); }
  .hero-section .banner-calling   { left: -160px; }
  .hero-section .banner-assistant { right: -160px; }
  .hero-section .banner-instant   { left: -150px; }
  .hero-section .banner-booking   { right: -150px; }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .hero-section .banner-calling   { left: -90px; }
  .hero-section .banner-assistant { right: -90px; }
}

@media (max-width: 359px) {
  .hero-section .rp-device { transform: scale(0.8); margin-bottom: 0; }
}

/* ==========================================================================
   HERO — tighter space between the header and the hero (desktop)
   ========================================================================== */
@media (min-width: 1025px) {
  .hero-section.hero-light-theme {
    min-height: 0;
    align-items: flex-start;
  }

  .hero-section .hero-grid {
    padding-top: 30px !important;
    padding-bottom: 40px;
  }

  .hero-section .hero-content {
    padding: 0;
  }

  .hero-section .hero-visual {
    min-height: calc(650px * var(--rps) + 30px);
    padding: 0;
  }
}

/* phone header icon uses the site tab image */
.rp-brand-mark {
  overflow: hidden;
  background: #031740;
  box-shadow: 0 6px 16px -6px rgba(3, 23, 64, 0.8);
}

.rp-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

/* ==========================================================================
   HERO BADGES — Lead Generation -> Lead Qualified, Instant Response ->
   Appointment Booked, Interview Booked -> Interview Call
   ========================================================================== */
.banner-lead {
  animation: bannerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both,
             subtleFloatB 5.8s ease-in-out 1.2s infinite;
}

/* text + icon swap */
.hero-floating-banner .hfb-content,
.hero-floating-banner .hfb-icon-box {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hfb-swap-out .hfb-content,
.hfb-swap-out .hfb-icon-box {
  opacity: 0;
  transform: translateY(-9px);
}

.hfb-swap-in .hfb-content,
.hfb-swap-in .hfb-icon-box {
  animation: hfbIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hfbIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* quick orange glow while a badge changes */
.hero-floating-banner {
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.hero-section .banner-booking {
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.hero-section .hero-floating-banner.hfb-flash {
  border-color: #FC2415;
  box-shadow: 0 0 0 4px rgba(252, 36, 21, 0.16), 0 18px 40px -16px rgba(3, 23, 64, 0.35);
}

@media (min-width: 1025px) {
  /* a little wider so "APPOINTMENT BOOKED" fits on one line */
  .hero-section .banner-lead,
  .hero-section .banner-instant,
  .hero-section .banner-booking {
    width: 236px;
    min-width: 236px;
    max-width: 236px;
  }

  /* wider badges sit further out so they only just touch the phone edge */
  .hero-section .banner-lead    { top: 112px;    right: -206px; left: auto;   bottom: auto; }
  .hero-section .banner-instant { bottom: 100px; left: -206px;  right: auto;  top: auto; }
  .hero-section .banner-booking { bottom: 56px;  right: -206px; left: auto;   top: auto; }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .hero-section .banner-lead { display: none; }
}

/* phones/tablets: the interview badge shows up (in the row) when it appears */
@media (max-width: 1024px) {
  .hero-section .banner-booking.on { display: flex !important; }
}

/* Bulk Calls badge (solid website-blue icon, sits above Instant Response) */
.banner-bulk {
  animation: bannerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both,
             subtleFloatA 5.2s ease-in-out 1s infinite;
}

.hfb-icon-box.hfb-icon-solid {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

@media (min-width: 1025px) {
  .hero-section .banner-bulk {
    width: 236px;
    min-width: 236px;
    max-width: 236px;
    bottom: 250px;
    left: -206px;
    right: auto;
    top: auto;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .hero-section .banner-bulk { display: none; }
}

/* ==========================================================================
   THE 60-SECOND TEST (#instant-call-demo) — clean redesign + ripple animation
   ========================================================================== */
.instant-test-section {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

/* Drop the boxed card: copy and phone sit directly on the page */
.instant-test-section .instant-test-grid.glow-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.instant-test-section .test-heading {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

/* Heading highlight: a red underline that draws itself, then repeats */
.instant-test-section .test-heading .text-brand-blue {
  color: #FC2415;
  background-image: linear-gradient(#FC2415, #FC2415);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 3px;
  animation: testUnderline 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  padding-bottom: 4px;
}

@keyframes testUnderline {
  0% { background-size: 0% 3px; }
  35%, 80% { background-size: 100% 3px; }
  100% { background-size: 100% 3px; opacity: 1; }
}

.instant-test-section .test-desc {
  font-size: 1.08rem;
  color: #64748B;
  margin-bottom: 8px;
}

.instant-test-section .phone-input-bar {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  padding: 6px 6px 6px 20px;
  max-width: 500px;
}

.instant-test-section .phone-input-bar:focus-within {
  border-color: #FC2415;
  box-shadow: 0 0 0 4px rgba(252, 36, 21, 0.1), 0 10px 30px -12px rgba(252, 36, 21, 0.35);
}

.instant-test-section .btn-call-now {
  padding: 13px 26px;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(252, 36, 21, 0.7);
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 168px;
  justify-content: center;
  gap: 8px;
}

/* Let the number field shrink so the button can never push out of the bar */
.instant-test-section .phone-input-bar input {
  min-width: 0;
}

.instant-test-section .phone-input-bar .btn-call-now:disabled {
  opacity: 1;
  cursor: progress;
}

@media (max-width: 640px) {
  .instant-test-section .instant-call-form {
    width: 100%;
  }
  .instant-test-section .phone-input-bar {
    width: 100%;
    max-width: none;
    align-items: stretch;
    padding: 12px;
  }
  .instant-test-section .country-prefix-tag {
    text-align: left;
    padding-left: 6px;
  }
  .instant-test-section .phone-input-bar input {
    width: 100%;
    padding: 8px 6px;
  }
  .instant-test-section .btn-call-now {
    width: 100%;
    min-width: 0;
  }
}

.instant-test-section .ic-trust-pill.pill-free {
  background: transparent;
  border: 0;
  padding: 0;
  color: #475569;
}

.instant-test-section .blue-dot-mini {
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: testDotPulse 2s infinite;
}

@keyframes testDotPulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Phone column: soft glow + radiating "ringing" ripples */
.instant-test-section .test-phone-col {
  position: relative;
}

.instant-test-section .incoming-smartphone-card {
  position: relative;
  z-index: 1;
  border: 1px solid #E2E8F0;
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.3);
}

.ring-ripples {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
}

.ring-ripples i {
  position: absolute;
  left: -170px;
  top: -170px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(252, 36, 21, 0.45);
  opacity: 0;
  transform: scale(0.6);
  animation: testRipple 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.ring-ripples i:nth-child(2) { animation-delay: 1.6s; }
.ring-ripples i:nth-child(3) { animation-delay: 3.2s; }

@keyframes testRipple {
  0% { opacity: 0; transform: scale(0.6); }
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(2.1); }
}

@media (max-width: 1024px) {
  .instant-test-section .instant-test-grid.glow-card {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring-ripples i,
  .instant-test-section .test-heading .text-brand-blue,
  .instant-test-section .blue-dot-mini { animation: none; }
  .instant-test-section .test-heading .text-brand-blue { background-size: 100% 3px; }
}

/* ==========================================================================
   WORKFLOW TABS (01 Recruitment / 02 Sales / 03 Customer Support)
   Clean segmented control with a springy sliding thumb
   ========================================================================== */
.story-progress-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: auto;
  padding: 5px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  box-shadow: none;
}

/* One white pill that glides behind the active tab */
.story-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--thumb-w, 0px);
  transform: translateX(var(--thumb-x, 0px));
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.story-thumb::after { display: none; }

.story-indicator-item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 24px;
  text-align: center;
  border-radius: 999px;
  color: #64748B;
  background: transparent;
  transition: color 0.3s ease;
}

.story-indicator-item:hover {
  background: transparent;
  color: #0F172A;
}

.story-indicator-item.active,
.story-indicator-item.active:hover {
  background: transparent;
  box-shadow: none;
  color: #0F172A;
}

.story-indicator-item .ind-dot { display: none; }

/* Just a small number and the name, nothing else */
.story-indicator-item .ind-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94A3B8;
  transition: color 0.3s ease;
}

.story-indicator-item.active .ind-num { color: var(--acc-tab, #FC2415); }

.story-indicator-item .ind-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.story-indicator-item .ind-sub { display: none; }

@media (max-width: 820px) {
  .story-progress-indicator {
    display: flex;
    width: 100%;
  }
  .story-indicator-item {
    flex: 1 0 auto;
    padding: 10px 16px;
    white-space: nowrap;
  }
}

.story-hint-pill {
  background: transparent;
  border: 0;
  padding: 0;
  color: #94A3B8;
  font-weight: 500;
}

.story-hint-pill .hint-dot {
  background: #FC2415;
  animation: testDotPulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .story-thumb, .story-indicator-item .ind-num { transition: none; }
  .story-progress-indicator .story-thumb::after, .story-hint-pill .hint-dot { animation: none; }
}

/* ==========================================================================
   WORKFLOW CARDS REDESIGN (#capabilities) — light, clean, one accent per card
   Recruitment = blue · Sales = red · Customer Support = green
   ========================================================================== */
.industry-scroll-section {
  background: #F7F9FC;
  border-bottom: 1px solid #E8ECF2;
}

#recruitment { --acc: #3B63FF; --acc-rgb: 59, 99, 255; --acc-soft: #EEF2FF; }
#sales { --acc: #FC2415; --acc-rgb: 252, 36, 21; --acc-soft: #FFF1EF; }
#support { --acc: #059669; --acc-rgb: 5, 150, 105; --acc-soft: #ECFDF5; }

/* ---- Card shell ---- */
.story-card {
  background: #FFFFFF !important;
  border: 1px solid #E8ECF2 !important;
  border-radius: 32px !important;
  box-shadow: 0 30px 70px -40px rgba(15, 23, 42, 0.28) !important;
}

.story-card.active,
.story-card.card-in-front {
  border-color: rgba(var(--acc-rgb), 0.3) !important;
  box-shadow: 0 40px 90px -40px rgba(var(--acc-rgb), 0.4), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

/* Big ghost numeral behind the text column */
.story-card::before {
  position: absolute;
  left: 30px;
  top: 6px;
  font-size: 12rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(var(--acc-rgb), 0.07);
  pointer-events: none;
  z-index: 0;
}
#recruitment::before { content: "01"; }
#sales::before { content: "02"; }
#support::before { content: "03"; }

.story-card .feature-split-grid { position: relative; z-index: 1; }

@media (min-width: 1101px) {
  .cards-stack-stage {
    height: 660px !important;
    overflow: visible !important;
  }

  .story-card {
    padding: 36px 40px !important;
  }

  .story-card .feature-split-grid,
  .feature-split-grid.domain-card-grid {
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr) 350px !important;
    gap: 32px !important;
  }
}

/* ---- Text column ---- */
.story-card .section-eyebrow {
  background: var(--acc-soft);
  border: 1px solid rgba(var(--acc-rgb), 0.25);
  color: var(--acc);
}

.story-card .section-title {
  color: #0F172A;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.story-card .section-short-desc {
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.65;
}

.story-card .human-touch-highlight {
  background: var(--acc-soft) !important;
  border: 0 !important;
  border-radius: 16px !important;
}

.story-card .human-touch-highlight .ht-icon-wrap {
  background: #FFFFFF !important;
  color: var(--acc) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.story-card .human-touch-highlight .ht-text,
.story-card .human-touch-highlight .ht-text strong { color: #0F172A !important; }
.story-card .human-touch-highlight .ht-text span { color: #64748B !important; }

.story-card .btn-primary {
  background: var(--acc) !important;
  border-color: var(--acc) !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 26px -10px rgba(var(--acc-rgb), 0.7) !important;
}

/* ---- Dashboard column ---- */
.story-card .compact-dashboard,
.story-card.active .compact-dashboard,
.story-card.card-in-front .compact-dashboard {
  background: #F8FAFC;
  border: 1px solid #EAEFF5;
  border-radius: 24px;
  padding: 20px;
  gap: 14px;
  box-shadow: none;
}

.story-card .dash-header-strip { border-bottom: 1px solid #E8ECF2; padding-bottom: 12px; }
.story-card .dash-header-title,
.story-card .dash-header-title .dash-icon { color: var(--acc); }
.story-card .dash-header-badge {
  background: #FFFFFF;
  border: 1px solid #E8ECF2;
  color: #64748B;
}

.story-card .dash-stat-box,
.story-card .dash-chart-card,
.story-card .dash-donut-card,
.story-card .dash-activity-panel {
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: 16px;
}

.story-card .dash-stat-box { padding: 12px 14px; }
.story-card .dash-chart-card,
.story-card .dash-donut-card { padding: 12px 14px; }
.story-card .dash-activity-panel { padding: 12px 14px; }

.story-card .dash-stat-number { color: #0F172A !important; font-size: 1.5rem; }
.story-card .dash-stat-label { color: #94A3B8 !important; font-size: 0.64rem; }
.story-card .dash-chart-title,
.story-card .dash-act-title { color: #0F172A !important; }
.story-card .dash-chart-sub,
.story-card .dash-act-meta { color: #94A3B8 !important; }

.story-card .dash-bar-track { background: #EEF2F7 !important; max-width: 18px; border-radius: 6px 6px 0 0; }
.story-card .dash-bar-fill {
  background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.55), var(--acc)) !important;
  box-shadow: none !important;
  border-radius: 6px 6px 0 0;
}
.story-card .dash-bar-day { color: #94A3B8 !important; }

.story-card .donut-bg { stroke: #EEF2F7; }
.story-card .donut-svg g circle:nth-child(1) { stroke: var(--acc); }
.story-card .donut-svg g circle:nth-child(2) { stroke: rgba(var(--acc-rgb), 0.45); }
.story-card .donut-svg g circle:nth-child(3) { stroke: #CBD5E1; }
.story-card .donut-svg g circle:nth-child(4) { stroke: #E2E8F0; }
.story-card .donut-center-stat { color: #0F172A; }
.story-card .dot-blue { background: var(--acc); }
.story-card .dot-blue-light { background: rgba(var(--acc-rgb), 0.45); }
.story-card .dot-slate { background: #CBD5E1; }
.story-card .dot-blue-pale { background: #E2E8F0; }
.story-card .legend-label { color: #64748B; }
.story-card .legend-val { color: #0F172A; }

.story-card .dash-csat-bar { border-top: 1px solid #EEF2F7; }
.story-card .csat-lbl { color: #94A3B8; }
.story-card .csat-score-val { color: var(--acc); }
.story-card .csat-meter-track { background: #EEF2F7; }
.story-card .csat-meter-fill {
  background: linear-gradient(90deg, rgba(var(--acc-rgb), 0.5), var(--acc));
  box-shadow: none;
}

.story-card .dash-act-th,
.story-card .dash-act-th span,
.story-card .dash-act-th .col-cand,
.story-card .dash-act-th .col-status { color: #94A3B8 !important; border-bottom-color: #EEF2F7; }
.story-card .dash-act-tr { border-bottom: 1px solid #F1F5F9 !important; padding: 5px 0; }
.story-card .dash-act-tr .cand-name,
.story-card .dash-act-tr .col-cand,
.story-card .cand-name,
.story-card .col-lead { color: #0F172A !important; }
.story-card .col-comp,
.story-card .text-muted-sub { color: #94A3B8 !important; }

.story-card .dash-badge-pill.pill-active {
  background: var(--acc-soft);
  border: 1px solid rgba(var(--acc-rgb), 0.3);
  color: var(--acc);
}
.story-card .dash-badge-pill.pill-subtle {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
}

/* ---- Call column ---- */
.story-card .realistic-call-card {
  background: #FFFFFF !important;
  border: 1px solid #EAEFF5 !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 60px -32px rgba(15, 23, 42, 0.3) !important;
}

.story-card .call-card-top,
.story-card .call-parties-strip,
.story-card .extraction-card {
  background: #FFFFFF !important;
  border-color: #EEF2F7 !important;
}

.story-card .call-dialogue-stream { background: #F8FAFC !important; }

.story-card .call-status-tag,
.story-card .status-title { color: #0F172A !important; }
.story-card .call-clock { background: #F1F5F9; border: 1px solid #E2E8F0; color: #64748B; }
.story-card .voice-state-text { color: var(--acc) !important; }
.story-card .mini-wave-bars span { background: var(--acc); }
.story-card .pulse-dot-blue { background: var(--acc); box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0.5); }

.story-card .party-name { color: #0F172A !important; }
.story-card .party-role { color: #94A3B8 !important; }
.story-card .avatar-agent { background: var(--acc-soft); border: 1.5px solid rgba(var(--acc-rgb), 0.4); color: var(--acc); }
.story-card .avatar-candidate,
.story-card .avatar-contact { background: #F1F5F9; border: 1.5px solid #E2E8F0; color: #475569; }
.story-card .call-flow-icon { color: #CBD5E1; }

.story-card .realistic-call-card .entry-agent,
.story-card .realistic-call-card .dialogue-entry.entry-agent {
  background: rgba(var(--acc-rgb), 0.09) !important;
  border: 1px solid rgba(var(--acc-rgb), 0.22) !important;
  border-radius: 16px 16px 16px 4px !important;
}
.story-card .realistic-call-card .entry-agent .dialogue-speaker { color: var(--acc) !important; }
.story-card .realistic-call-card .entry-agent .dialogue-quote { color: #1E293B !important; }

.story-card .realistic-call-card .entry-contact,
.story-card .realistic-call-card .dialogue-entry.entry-contact {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px 16px 4px 16px !important;
}
.story-card .realistic-call-card .entry-contact .dialogue-speaker { color: #64748B !important; }
.story-card .realistic-call-card .entry-contact .dialogue-quote { color: #334155 !important; }

.story-card .ext-badge { color: var(--acc) !important; }
.story-card .ext-target { color: #94A3B8 !important; }
.story-card .ext-item { background: #F8FAFC !important; border: 1px solid #EAEFF5 !important; }
.story-card .ext-item.highlight-item,
.story-card .ext-item.highlight-item-blue {
  background: var(--acc-soft) !important;
  border-color: rgba(var(--acc-rgb), 0.3) !important;
}
.story-card .ext-label { color: #94A3B8 !important; }
.story-card .ext-value { color: #0F172A !important; }
.story-card .ext-value.text-blue { color: var(--acc) !important; }
.story-card .ext-human-note { color: #64748B !important; }

/* ---- Entrance animation: runs every time a card becomes active ---- */
.story-card.active .feature-text-side { animation: storyRise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.story-card.active .feature-dash-side { animation: storyRise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both; }
.story-card.active .feature-call-side { animation: storyRise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s both; }
.story-card.active::before { animation: storyNumIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Call transcript types itself in, one bubble at a time */
.story-card.active .entry-agent { animation: bubbleInL 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.story-card.active .entry-contact { animation: bubbleInR 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.story-card.active .dialogue-entry:nth-child(1) { animation-delay: 0.6s; }
.story-card.active .dialogue-entry:nth-child(2) { animation-delay: 1.4s; }
.story-card.active .dialogue-entry:nth-child(3) { animation-delay: 2.2s; }
.story-card.active .dialogue-entry:nth-child(4) { animation-delay: 3s; }
.story-card.active .ext-item { animation: bubbleInL 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.story-card.active .ext-item:nth-child(1) { animation-delay: 3.6s; }
.story-card.active .ext-item:nth-child(2) { animation-delay: 3.75s; }
.story-card.active .ext-item:nth-child(3) { animation-delay: 3.9s; }
.story-card.active .ext-item:nth-child(4) { animation-delay: 4.05s; }

@keyframes storyRise {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes storyNumIn {
  from { opacity: 0; translate: -30px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes bubbleInL {
  from { clip-path: inset(0 100% 0 0 round 16px); translate: 0 8px; }
  to { clip-path: inset(0 0 0 0 round 16px); translate: 0 0; }
}
@keyframes bubbleInR {
  from { clip-path: inset(0 0 0 100% round 16px); translate: 0 8px; }
  to { clip-path: inset(0 0 0 0 round 16px); translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-card.active .feature-text-side,
  .story-card.active .feature-dash-side,
  .story-card.active .feature-call-side,
  .story-card.active::before,
  .story-card.active .dialogue-entry,
  .story-card.active .ext-item { animation: none; }
}

/* ==========================================================================
   WORKFLOW CARDS — DARK MODE (layered over the layout/animations above)
   ========================================================================== */
#recruitment { --acc: #7B9BFF; --acc-rgb: 123, 155, 255; --acc-soft: rgba(123, 155, 255, 0.14); }
#sales { --acc: #FF5F52; --acc-rgb: 255, 95, 82; --acc-soft: rgba(255, 95, 82, 0.14); }
#support { --acc: #34D399; --acc-rgb: 52, 211, 153; --acc-soft: rgba(52, 211, 153, 0.14); }

/* Shell */
.story-card {
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(var(--acc-rgb), 0.13), transparent 70%),
    #090E1A !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7) !important;
}

.story-card.active,
.story-card.card-in-front {
  border-color: rgba(var(--acc-rgb), 0.4) !important;
  box-shadow: 0 40px 90px -40px rgba(var(--acc-rgb), 0.45), 0 0 0 1px rgba(var(--acc-rgb), 0.1) !important;
}

.story-card::before { color: rgba(255, 255, 255, 0.045); }

/* A thin accent line sweeps across the top edge each time a card opens */
.story-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.story-card.active::after { animation: cardLine 1.4s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes cardLine {
  0% { transform: scaleX(0); opacity: 1; }
  70% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.35; }
}

/* Text column */
.story-card .section-eyebrow { background: var(--acc-soft); border-color: rgba(var(--acc-rgb), 0.35); color: var(--acc); }
.story-card .section-title { color: #FFFFFF; }
.story-card .section-short-desc { color: #94A3B8; }

.story-card .human-touch-highlight {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.story-card .human-touch-highlight .ht-icon-wrap {
  background: rgba(var(--acc-rgb), 0.16) !important;
  color: var(--acc) !important;
  box-shadow: none;
}
.story-card .human-touch-highlight .ht-text,
.story-card .human-touch-highlight .ht-text strong { color: #FFFFFF !important; }
.story-card .human-touch-highlight .ht-text span { color: #94A3B8 !important; }

.story-card .btn-primary {
  color: #08101E !important;
  font-weight: 800;
  box-shadow: 0 12px 28px -10px rgba(var(--acc-rgb), 0.8) !important;
}

/* Dashboard */
.story-card .compact-dashboard,
.story-card.active .compact-dashboard,
.story-card.card-in-front .compact-dashboard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.story-card .dash-header-strip { border-bottom-color: rgba(255, 255, 255, 0.07); }
.story-card .dash-header-badge { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); color: #94A3B8; }

.story-card .dash-stat-box,
.story-card .dash-chart-card,
.story-card .dash-donut-card,
.story-card .dash-activity-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.story-card .dash-stat-number { color: #FFFFFF !important; }
.story-card .dash-stat-label,
.story-card .dash-chart-sub,
.story-card .dash-act-meta,
.story-card .dash-bar-day { color: #94A3B8 !important; }
.story-card .dash-chart-title,
.story-card .dash-act-title { color: #FFFFFF !important; }

.story-card .dash-bar-track { background: rgba(255, 255, 255, 0.08) !important; }
.story-card .dash-bar-fill {
  background: linear-gradient(180deg, var(--acc), rgba(var(--acc-rgb), 0.45)) !important;
  box-shadow: 0 0 14px rgba(var(--acc-rgb), 0.35) !important;
}

.story-card .donut-bg { stroke: rgba(255, 255, 255, 0.08); }
.story-card .donut-svg g circle:nth-child(3) { stroke: #475569; }
.story-card .donut-svg g circle:nth-child(4) { stroke: #334155; }
.story-card .donut-center-stat,
.story-card .legend-val { color: #FFFFFF; }
.story-card .legend-label { color: #94A3B8; }
.story-card .dot-slate { background: #475569; }
.story-card .dot-blue-pale { background: #334155; }

.story-card .dash-csat-bar { border-top-color: rgba(255, 255, 255, 0.07); }
.story-card .csat-lbl { color: #94A3B8; }
.story-card .csat-meter-track { background: rgba(255, 255, 255, 0.08); }
.story-card .csat-meter-fill { background: linear-gradient(90deg, rgba(var(--acc-rgb), 0.5), var(--acc)); box-shadow: 0 0 10px rgba(var(--acc-rgb), 0.4); }

.story-card .dash-act-th,
.story-card .dash-act-th span,
.story-card .dash-act-th .col-cand,
.story-card .dash-act-th .col-status { color: #64748B !important; border-bottom-color: rgba(255, 255, 255, 0.07); }
.story-card .dash-act-tr { border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important; }
.story-card .dash-act-tr .cand-name,
.story-card .dash-act-tr .col-cand,
.story-card .cand-name,
.story-card .col-lead { color: #F1F5F9 !important; }
.story-card .col-comp,
.story-card .text-muted-sub { color: #94A3B8 !important; }

.story-card .dash-badge-pill.pill-active { background: rgba(var(--acc-rgb), 0.14); border-color: rgba(var(--acc-rgb), 0.35); color: var(--acc); }
.story-card .dash-badge-pill.pill-subtle { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); color: #94A3B8; }

/* Call panel */
.story-card .realistic-call-card {
  background: #0E1526 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8) !important;
}

.story-card .call-card-top,
.story-card .call-parties-strip,
.story-card .extraction-card {
  background: #0E1526 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

.story-card .call-dialogue-stream { background: #080C17 !important; }

.story-card .call-status-tag,
.story-card .status-title { color: #F8FAFC !important; }
.story-card .call-clock { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.08); color: #94A3B8; }
.story-card .party-name { color: #F8FAFC !important; }
.story-card .party-role { color: #94A3B8 !important; }
.story-card .avatar-agent { background: rgba(var(--acc-rgb), 0.16); border-color: rgba(var(--acc-rgb), 0.45); color: var(--acc); }
.story-card .avatar-candidate,
.story-card .avatar-contact { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #CBD5E1; }
.story-card .call-flow-icon { color: #475569; }

.story-card .realistic-call-card .entry-agent,
.story-card .realistic-call-card .dialogue-entry.entry-agent {
  background: rgba(var(--acc-rgb), 0.14) !important;
  border: 1px solid rgba(var(--acc-rgb), 0.32) !important;
}
.story-card .realistic-call-card .entry-agent .dialogue-quote { color: #F1F5F9 !important; }

.story-card .realistic-call-card .entry-contact,
.story-card .realistic-call-card .dialogue-entry.entry-contact {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.story-card .realistic-call-card .entry-contact .dialogue-speaker { color: #94A3B8 !important; }
.story-card .realistic-call-card .entry-contact .dialogue-quote { color: #E2E8F0 !important; }

.story-card .ext-target { color: #64748B !important; }
.story-card .ext-item { background: rgba(255, 255, 255, 0.04) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; }
.story-card .ext-item.highlight-item,
.story-card .ext-item.highlight-item-blue { background: rgba(var(--acc-rgb), 0.14) !important; border-color: rgba(var(--acc-rgb), 0.4) !important; }
.story-card .ext-label { color: #94A3B8 !important; }
.story-card .ext-value { color: #FFFFFF !important; }
.story-card .ext-value.text-blue { color: var(--acc) !important; }
.story-card .ext-human-note { color: #94A3B8 !important; }

@media (prefers-reduced-motion: reduce) {
  .story-card.active::after { animation: none; opacity: 0.35; }
}

/* ==========================================================================
   SERVICES (#services) — expanding accordion panels (replaces the bento grid)
   One panel open at a time; the rest fold into slim vertical tabs.
   ========================================================================== */
.service-cards-section .service-cards-grid {
  display: flex;
  gap: 12px;
  height: 560px;
  margin-top: 56px;
  align-items: stretch;
}

.service-cards-grid > .service-card {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 26px;
  transform: none !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
  transition: flex-grow 0.75s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s ease;
  outline: none;
}

.service-cards-grid > .service-card.is-open {
  flex-grow: 4.4;
  cursor: default;
  border-color: rgba(var(--accent), 0.5);
  background:
    radial-gradient(520px 300px at 0% 0%, rgba(var(--accent), 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 40px 80px -40px rgba(var(--accent), 0.55);
}

.service-cards-grid > .service-card:not(.is-open):hover,
.service-cards-grid > .service-card:not(.is-open):focus-visible {
  border-color: rgba(var(--accent), 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

/* Content keeps a fixed width so text never re-wraps while the panel resizes */
.service-cards-grid > .service-card > *:not(.svc-rail):not(.svc-wave):not(.service-popular-pill):not(.svc-progress) {
  width: 450px;
  max-width: 100%;
  flex-shrink: 0;
}

.service-cards-grid > .service-card > *:not(.svc-rail) {
  transition: opacity 0.35s ease;
}

.service-cards-grid > .service-card:not(.is-open) > *:not(.svc-rail) {
  opacity: 0;
  pointer-events: none;
}

.service-cards-grid > .service-card.is-open > *:not(.svc-rail) {
  opacity: 1;
  transition: opacity 0.5s ease 0.3s;
}

.service-cards-grid > .service-card.is-open .service-popular-pill { opacity: 1; }
.service-cards-grid .service-popular-pill { top: 22px; right: 22px; }

/* Folded state: number on top, name running vertically, a plus at the bottom */
.svc-rail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 26px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease 0.25s;
}

.service-card.is-open .svc-rail { opacity: 0; transition: opacity 0.2s ease; }

.svc-rail-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgb(var(--accent));
}

.svc-rail-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.svc-rail-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: rgb(var(--accent));
  background: rgba(var(--accent), 0.14);
  border: 1px solid rgba(var(--accent), 0.4);
  box-shadow: 0 0 26px rgba(var(--accent), 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.service-card:not(.is-open):hover .svc-rail-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 34px rgba(var(--accent), 0.55);
}

/* Folded panels: tinted in their own colour with a slowly breathing glow */
.service-cards-grid > .service-card:not(.is-open) {
  background:
    linear-gradient(180deg, rgba(var(--accent), 0.1) 0%, rgba(255, 255, 255, 0.02) 55%),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(var(--accent), 0.22);
}

.service-cards-grid > .service-card::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -10%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--accent), 0.4), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  animation: svcBreathe 4.5s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

.service-cards-grid > .service-card:nth-child(2)::before { animation-delay: -0.9s; }
.service-cards-grid > .service-card:nth-child(3)::before { animation-delay: -1.8s; }
.service-cards-grid > .service-card:nth-child(4)::before { animation-delay: -2.7s; }
.service-cards-grid > .service-card:nth-child(5)::before { animation-delay: -3.6s; }

.service-cards-grid > .service-card.is-open::before { opacity: 0.18; animation: none; }

@keyframes svcBreathe {
  0%, 100% { opacity: 0.35; transform: translateY(8%); }
  50% { opacity: 0.8; transform: translateY(0); }
}

.svc-rail-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #E2E8F0;
}

.svc-rail::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s ease;
}

.service-card:not(.is-open):hover .svc-rail::after {
  background: rgba(var(--accent), 0.2);
  border-color: rgba(var(--accent), 0.6);
  transform: rotate(90deg);
}

/* Open panel: waveform sits top-right, progress line runs along the bottom */
.service-cards-grid > .service-card .svc-wave { top: 100px; right: 0; left: auto; width: 170px; padding-right: 30px; }

.svc-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgb(var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(var(--accent), 0.7);
}

/* Tablet & phone: vertical accordion */
@media (max-width: 1024px) {
  .service-cards-section .service-cards-grid {
    flex-direction: column;
    height: auto;
    margin-top: 40px;
  }

  .service-cards-grid > .service-card,
  .service-cards-grid > .service-card.is-open {
    flex: none;
    height: 78px;
    padding: 28px 24px;
    transition: height 0.6s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s ease;
  }

  .service-cards-grid > .service-card.is-open { height: 640px; }

  .service-cards-grid > .service-card > *:not(.svc-rail):not(.svc-wave):not(.service-popular-pill):not(.svc-progress) {
    width: 100%;
  }

  .svc-rail {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 22px;
  }

  .svc-rail-name {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.05rem;
  }

  .svc-rail::after { margin-left: auto; }
  .svc-rail-top { flex-direction: row; gap: 14px; }
  .svc-rail-icon { width: 40px; height: 40px; border-radius: 13px; }
  .service-cards-grid > .service-card .svc-wave { top: 100px; width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-cards-grid > .service-card { transition: none; }
  .service-cards-grid > .service-card::before { animation: none; }
  .svc-progress { display: none; }
}

/* ==========================================================================
   THE HUMAN DIFFERENCE (#human-touch) — open, typographic, no boxes
   A breathing voice waveform, hairline columns, and a calm scroll reveal
   ========================================================================== */
.human-touch-section {
  background: #FFFFFF;
  border-top: 1px solid #E8ECF2;
}

.human-touch-section .section-title {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

/* Voice waveform: bars rise and fall at different speeds, tallest in the middle */
.ht-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 76px;
  max-width: 560px;
  margin: 36px auto 0;
}

.ht-wave i {
  --amp: 0.25;
  flex: 1 1 0;
  max-width: 5px;
  height: 100%;
  border-radius: 4px;
  background: #CBD5E1;
  transform: scaleY(0.1);
  animation: htWave 2.8s ease-in-out infinite;
}

.ht-wave i:nth-child(2n) { animation-duration: 3.4s; animation-delay: -0.6s; }
.ht-wave i:nth-child(3n) { animation-duration: 2.3s; animation-delay: -1.1s; }
.ht-wave i:nth-child(5n) { animation-duration: 3.9s; animation-delay: -2s; }
.ht-wave i:nth-child(7n) { animation-duration: 2.6s; animation-delay: -0.3s; }

.ht-wave i:nth-child(n+7):nth-child(-n+12),
.ht-wave i:nth-last-child(n+7):nth-last-child(-n+12) { --amp: 0.5; }
.ht-wave i:nth-child(n+13):nth-child(-n+17),
.ht-wave i:nth-last-child(n+13):nth-last-child(-n+17) { --amp: 0.78; }
.ht-wave i:nth-child(n+18):nth-child(-n+24) { --amp: 1; }

.ht-wave i:nth-child(n+16):nth-child(-n+26) { background: linear-gradient(180deg, #FC2415, #FF8A6B); }
.ht-wave i:nth-child(-n+4),
.ht-wave i:nth-last-child(-n+4) { opacity: 0.55; }

@keyframes htWave {
  0%, 100% { transform: scaleY(0.1); }
  50% { transform: scaleY(var(--amp)); }
}

/* Four pillars: open columns with a hairline and a short red accent that draws in */
.human-touch-section .human-pillars-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0 44px;
  margin: 72px 0 80px;
  counter-reset: hp;
}

.human-touch-section .human-pillar-card.glow-card {
  position: relative;
  counter-increment: hp;
  background: transparent;
  border: 0;
  border-top: 1px solid #E2E8F0;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0 0;
  transform: none;
}

.human-touch-section .human-pillar-card.glow-card:hover { border-color: #E2E8F0; box-shadow: none; }

.human-touch-section .human-pillar-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: #FC2415;
  transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.human-touch-section .human-pillar-card:hover::before { width: 100%; }

.human-touch-section .human-pillar-card::after {
  content: "0" counter(hp);
  position: absolute;
  top: 26px;
  right: 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #CBD5E1;
}

.human-touch-section .hp-icon-orb {
  width: auto;
  height: auto;
  margin-bottom: 22px;
  background: none;
  border: 0;
  border-radius: 0;
  color: #0F172A;
  justify-content: flex-start;
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.human-touch-section .hp-icon-orb svg { width: 28px; height: 28px; stroke-width: 1.7; }
.human-touch-section .human-pillar-card:hover .hp-icon-orb { color: #FC2415; transform: translateY(-3px); }

.human-touch-section .hp-title {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.human-touch-section .hp-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748B;
}

.human-touch-section .hp-badge {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0F172A;
}

/* Caller stories: open quote columns */
.human-touch-section .human-stories-wrap {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 64px;
}

.human-touch-section .human-stories-header {
  align-items: center;
  text-align: center;
  margin-bottom: 44px;
}

.human-touch-section .hsh-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.human-touch-section .hsh-sub { font-size: 0.92rem; }

.human-touch-section .caller-testimonials-grid { gap: 0; }

.human-touch-section .caller-quote-card {
  background: transparent;
  border: 0;
  border-left: 1px solid #E2E8F0;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 36px;
  gap: 14px;
  transform: none;
}

.human-touch-section .caller-quote-card:first-child { border-left: 0; padding-left: 0; }
.human-touch-section .caller-quote-card:last-child { padding-right: 0; }

.human-touch-section .caller-quote-card::before {
  content: "\201C";
  height: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.9;
  color: #FC2415;
}

.human-touch-section .caller-quote {
  order: 1;
  font-size: 1.02rem;
  font-style: normal;
  line-height: 1.65;
  color: #334155;
}

.human-touch-section .caller-stars { order: 2; }
.human-touch-section .caller-stars svg { width: 13px; height: 13px; }
.human-touch-section .caller-profile { order: 3; border-top: 0; padding-top: 0; margin-top: 0; }

/* Stats: one plain strip between two hairlines */
.human-touch-section .empathy-scoreboard-strip {
  background: transparent;
  border: 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  border-radius: 0;
  box-shadow: none;
  padding: 44px 0;
  gap: 0;
}

.human-touch-section .esc-item {
  padding: 0 16px;
  border-left: 1px solid #E2E8F0;
}

.human-touch-section .esc-item:first-child { border-left: 0; }

.human-touch-section .esc-num {
  font-size: 2.7rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0F172A;
  transition: color 0.3s ease;
}

.human-touch-section .esc-item:hover .esc-num { color: #FC2415; }

.human-touch-section .esc-label {
  max-width: 170px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #64748B;
}

/* Calm scroll reveal (only active once JS marks the section ready) */
.human-touch-section.ht-ready .human-pillar-card,
.human-touch-section.ht-ready .caller-quote-card,
.human-touch-section.ht-ready .esc-item,
.human-touch-section.ht-ready .human-stories-header {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.human-touch-section.ht-ready .human-pillar-card::before { width: 0; }

.human-touch-section.ht-ready .is-in {
  opacity: 1;
  translate: 0 0;
}

.human-touch-section.ht-ready .human-pillar-card.is-in::before { width: 36px; transition-delay: 0.35s; }
.human-touch-section.ht-ready .human-pillar-card.is-in:hover::before { width: 100%; transition-delay: 0s; }

.human-touch-section.ht-ready .is-in:nth-child(2) { transition-delay: 0.1s; }
.human-touch-section.ht-ready .is-in:nth-child(3) { transition-delay: 0.2s; }
.human-touch-section.ht-ready .is-in:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 1024px) {
  .human-touch-section .human-pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; margin: 56px 0 64px; }
  .human-touch-section .caller-testimonials-grid { grid-template-columns: 1fr; gap: 36px; }
  .human-touch-section .caller-quote-card,
  .human-touch-section .caller-quote-card:first-child,
  .human-touch-section .caller-quote-card:last-child { border-left: 0; padding: 0; }
  .human-touch-section .empathy-scoreboard-strip { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .human-touch-section .esc-item:nth-child(3) { border-left: 0; }
}

@media (max-width: 640px) {
  .human-touch-section .human-pillars-grid { grid-template-columns: 1fr; }
  .ht-wave { height: 60px; gap: 4px; }
  .human-touch-section .esc-num { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-wave i { animation: none; transform: scaleY(0.35); }
  .human-touch-section.ht-ready .human-pillar-card,
  .human-touch-section.ht-ready .caller-quote-card,
  .human-touch-section.ht-ready .esc-item,
  .human-touch-section.ht-ready .human-stories-header { opacity: 1; translate: 0 0; transition: none; }
  .human-touch-section.ht-ready .human-pillar-card::before { width: 36px; }
}

/* ==========================================================================
   THE HUMAN DIFFERENCE v2 — dark, with a live voice scene that reacts to the
   selected pillar (layered over the rules above via the #human-touch id)
   ========================================================================== */
#human-touch {
  position: relative;
  overflow: hidden;
  background: #060B18;
  border-top: 0;
  isolation: isolate;
}

#human-touch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 380px at 92% 0%, rgba(252, 36, 21, 0.2), transparent 70%),
    radial-gradient(640px 380px at 0% 35%, rgba(59, 99, 255, 0.16), transparent 70%);
}

#human-touch .section-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
}

#human-touch .section-title { color: #FFFFFF; }

/* Pillars become a selectable list on the left, scene on the right */
#human-touch .human-pillars-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: 64px;
  row-gap: 0;
  margin: 64px 0 80px;
  align-items: stretch;
}

#human-touch .human-pillar-card.glow-card {
  grid-column: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-content: start;
  position: relative;
  cursor: pointer;
  padding: 26px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

#human-touch .human-pillar-card.glow-card:nth-child(4) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
#human-touch .human-pillar-card.glow-card:hover { border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }

#human-touch .human-pillar-card::before { display: none; }

#human-touch .human-pillar-card::after {
  top: 30px;
  color: #475569;
}

#human-touch .hp-icon-orb {
  grid-row: 1;
  margin: 2px 0 0;
  color: #64748B;
  transition: color 0.4s ease;
}

#human-touch .hp-icon-orb svg { width: 24px; height: 24px; }

#human-touch .hp-title {
  grid-column: 2;
  margin: 0;
  padding-right: 36px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #94A3B8;
  transition: color 0.4s ease;
}

#human-touch .hp-desc,
#human-touch .hp-badge {
  grid-column: 2;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease, margin 0.5s ease;
}

#human-touch .hp-desc { font-size: 0.92rem; line-height: 1.65; color: #94A3B8; flex: none; }
#human-touch .hp-badge { color: #E2E8F0; width: fit-content; }

#human-touch .human-pillar-card.is-active .hp-icon-orb { color: #FF6A4D; }
#human-touch .human-pillar-card.is-active .hp-title { color: #FFFFFF; }
#human-touch .human-pillar-card.is-active .hp-desc { max-height: 150px; margin-top: 12px; opacity: 1; }
#human-touch .human-pillar-card.is-active .hp-badge { max-height: 36px; margin-top: 14px; opacity: 1; }
#human-touch .human-pillar-card:not(.is-active):hover .hp-title { color: #E2E8F0; }
#human-touch .human-pillar-card:not(.is-active):hover .hp-icon-orb { color: #E2E8F0; transform: none; }
#human-touch.ht-ready .human-pillar-card { opacity: 1; translate: 0 0; }

.ht-progress {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #FC2415;
  box-shadow: 0 0 10px rgba(252, 36, 21, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Scene panel */
.ht-stage {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(252, 36, 21, 0.13), transparent 70%),
    #0B1224;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.ht-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ht-scene.is-on { opacity: 1; visibility: visible; }

.ht-scene-label {
  position: absolute;
  top: 26px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94A3B8;
}

.ht-scene-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FC2415;
  animation: svcPulse 1.8s infinite;
}

.ht-chip {
  padding: 9px 18px;
  font-size: 0.86rem;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

/* Scene 1: breathing orb with rings */
.ht-orb-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
}

.ht-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(252, 36, 21, 0.55);
  opacity: 0;
}

.ht-orb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB9A5, #FC2415 55%, #8A0F06);
  box-shadow: 0 0 90px rgba(252, 36, 21, 0.55);
}

.ht-scene-breath.is-on .ht-orb { animation: htBreathe 5s ease-in-out infinite; }
.ht-scene-breath.is-on .ht-ring { animation: htRing 5s ease-out infinite; }
.ht-scene-breath .ht-ring:nth-child(2) { animation-delay: 1.65s; }
.ht-scene-breath .ht-ring:nth-child(3) { animation-delay: 3.3s; }

@keyframes htBreathe { 0%, 100% { transform: scale(0.88); } 50% { transform: scale(1.1); } }
@keyframes htRing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }

/* Scene 2: speech bars that cut to flat when the caller interrupts */
.ht-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 130px;
}

.ht-bars i {
  --amp: 0.4;
  display: block;
  width: 6px;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, #FF6A4D, #FC2415);
  transform: scaleY(0.15);
}

.ht-bars i:nth-child(n+5):nth-child(-n+7),
.ht-bars i:nth-child(n+15):nth-child(-n+17) { --amp: 0.7; }
.ht-bars i:nth-child(n+8):nth-child(-n+14) { --amp: 1; }

.ht-scene-cut.is-on .ht-bars { animation: htCut 4.5s infinite; }
.ht-scene-cut.is-on .ht-bars i { animation: htWave 1.1s ease-in-out infinite; }
.ht-bars i:nth-child(2n) { animation-delay: -0.3s; }
.ht-bars i:nth-child(3n) { animation-delay: -0.6s; }
.ht-bars i:nth-child(5n) { animation-delay: -0.2s; }

.ht-scene-cut .ht-chip { position: absolute; bottom: 58px; }
.ht-scene-cut.is-on .ht-chip-a { animation: htChipA 4.5s infinite; }
.ht-scene-cut.is-on .ht-chip-b { animation: htChipB 4.5s infinite; color: #FFB4A8; border-color: rgba(252, 36, 21, 0.45); }
.ht-scene-cut .ht-chip-b { opacity: 0; }

@keyframes htCut {
  0%, 40% { transform: scaleY(1); }
  42.7%, 80% { transform: scaleY(0.04); }
  85%, 100% { transform: scaleY(1); }
}
@keyframes htChipA { 0%, 40% { opacity: 1; } 41%, 84% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes htChipB { 0%, 41% { opacity: 0; } 43%, 80% { opacity: 1; } 84%, 100% { opacity: 0; } }

/* Scene 3: empathy — warm heartbeat orb, frustration falls while calm rises */
.ht-orb-rose {
  width: 108px;
  height: 108px;
  background: radial-gradient(circle at 35% 30%, #FFD3DC, #FB7185 55%, #9F1239);
  box-shadow: 0 0 80px rgba(251, 113, 133, 0.5);
}

.ht-scene-care.is-on .ht-orb { animation: htHeart 2.4s ease-in-out infinite; }

@keyframes htHeart {
  0%, 100% { transform: scale(0.95); }
  15% { transform: scale(1.07); }
  30% { transform: scale(0.98); }
  45% { transform: scale(1.05); }
  60% { transform: scale(0.95); }
}

.ht-scene-care { gap: 26px; }

.ht-meters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(300px, 70%);
}

.ht-meter span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  color: #94A3B8;
}

.ht-meter b {
  display: block;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.ht-meter u {
  display: block;
  height: 100%;
  border-radius: 6px;
  text-decoration: none;
  transform-origin: left center;
}

.ht-fill-down { background: #FB7185; transform: scaleX(0.9); }
.ht-fill-up { background: #34D399; transform: scaleX(0.12); }
.ht-scene-care.is-on .ht-fill-down { animation: htDown 3.2s ease-in-out infinite alternate; }
.ht-scene-care.is-on .ht-fill-up { animation: htUp 3.2s ease-in-out infinite alternate; }

@keyframes htDown { from { transform: scaleX(0.9); } to { transform: scaleX(0.14); } }
@keyframes htUp { from { transform: scaleX(0.12); } to { transform: scaleX(0.92); } }

/* Scene 4: follow-through checklist lands one line at a time */
.ht-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(330px, 80%);
}

.ht-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  font-size: 0.95rem;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  opacity: 0;
}

.ht-checks li i {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #34D399;
  background: rgba(52, 211, 153, 0.14);
}

.ht-checks li i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #34D399;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ht-scene-done.is-on .ht-checks li { animation: htRow 7s ease infinite; }
.ht-scene-done.is-on .ht-checks li:nth-child(1) { animation-delay: 0.2s; }
.ht-scene-done.is-on .ht-checks li:nth-child(2) { animation-delay: 1.1s; }
.ht-scene-done.is-on .ht-checks li:nth-child(3) { animation-delay: 2s; }

@keyframes htRow {
  0% { opacity: 0; translate: 0 14px; }
  7%, 90% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 14px; }
}

/* Caller stories + stats, dark */
#human-touch .hsh-title { color: #FFFFFF; }
#human-touch .hsh-sub { color: #94A3B8; }

#human-touch .caller-testimonials-grid { gap: 20px; }

#human-touch .caller-quote-card,
#human-touch .caller-quote-card:first-child,
#human-touch .caller-quote-card:last-child {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: none;
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#human-touch .caller-quote-card:hover { border-color: rgba(252, 36, 21, 0.4); background: rgba(255, 255, 255, 0.06); }
#human-touch .caller-quote { color: #CBD5E1; }
#human-touch .caller-name { color: #FFFFFF; }
#human-touch .caller-role { color: #94A3B8; }

#human-touch .empathy-scoreboard-strip,
#human-touch .esc-item { border-color: rgba(255, 255, 255, 0.1); }
#human-touch .esc-num { color: #FFFFFF; }
#human-touch .esc-item:hover .esc-num { color: #FF6A4D; }
#human-touch .esc-label { color: #94A3B8; }

/* ---- Voice: toggle button + live caption inside the scene panel ---- */
.ht-sound {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ht-sound:hover { background: rgba(255, 255, 255, 0.12); }
.ht-sound:focus-visible { outline: 2px solid #FC2415; outline-offset: 2px; }

.ht-sound .ico-off { display: none; }
.ht-sound[data-state="off"] .ico-on { display: none; }
.ht-sound[data-state="off"] .ico-off { display: block; }
.ht-sound[data-state="off"] { color: #94A3B8; }

.ht-sound[data-state="blocked"] {
  color: #FFFFFF;
  background: rgba(252, 36, 21, 0.22);
  border-color: rgba(252, 36, 21, 0.6);
  animation: htSoundNudge 1.8s ease-in-out infinite;
}

@keyframes htSoundNudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 36, 21, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(252, 36, 21, 0); }
}

.ht-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  width: min(82%, 440px);
  text-align: center;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ht-caption.is-show { opacity: 1; }

/* Longer lines (some languages run long) get a wider, slightly smaller caption so it stays clear of the scene */
.ht-caption.is-long { width: min(92%, 560px); }
.ht-caption.is-long .ht-caption-text { font-size: 0.84rem; line-height: 1.45; }

.ht-caption-who {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FF6A4D;
}

.ht-caption-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.ht-scene-cut .ht-chip { bottom: 96px; }

/* ---- Language tabs above the scenes ---- */
.ht-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
  max-width: 720px;
}

.ht-lang-tab {
  padding: 9px 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ht-lang-tab:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.ht-lang-tab:focus-visible { outline: 2px solid #FC2415; outline-offset: 2px; }

.ht-lang-tab.is-active {
  color: #FFFFFF;
  background: #FC2415;
  border-color: #FC2415;
  box-shadow: 0 8px 22px -10px rgba(252, 36, 21, 0.8);
}

.ht-lang-tab.is-loading { opacity: 0.7; cursor: progress; }

@media (max-width: 640px) {
  .ht-lang-tabs { gap: 8px; margin-top: 22px; }
  .ht-lang-tab { padding: 8px 14px; font-size: 0.8rem; }
}

/* ---- Real Callers: light panel with a looping, auto-scrolling row of cards ---- */
#human-touch .human-stories-wrap {
  position: relative;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid #E8ECF2;
  border-radius: 32px;
  padding: 56px 0;
  margin: 0 0 64px;
}

/* Soft fades at both edges so cards slide in and out gently */
#human-touch .human-stories-wrap::before,
#human-touch .human-stories-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
#human-touch .human-stories-wrap::before { left: 0; background: linear-gradient(90deg, #F8FAFC, rgba(248, 250, 252, 0)); }
#human-touch .human-stories-wrap::after { right: 0; background: linear-gradient(270deg, #F8FAFC, rgba(248, 250, 252, 0)); }

#human-touch .human-stories-header { margin-bottom: 36px; padding: 0 24px; }
#human-touch .hsh-title { color: #0F172A; }
#human-touch .hsh-sub { color: #64748B; }

#human-touch .caller-testimonials-grid {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 6px 0 14px;
}

#human-touch .caller-testimonials-grid.is-looping { animation: callerScroll 55s linear infinite; }
#human-touch .human-stories-wrap:hover .caller-testimonials-grid.is-looping { animation-play-state: paused; }

@keyframes callerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Without the loop (reduced motion), let people scroll the row by hand */
#human-touch .caller-testimonials-grid:not(.is-looping) {
  width: auto;
  overflow-x: auto;
  padding-left: 28px;
  padding-right: 28px;
}

#human-touch .human-stories-wrap .caller-testimonials-grid .caller-quote-card {
  flex: 0 0 380px;
  margin-right: 20px;
  background: #FFFFFF;
  border: 1px solid #E8ECF2;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.22);
  opacity: 1;
  translate: 0 0;
}

#human-touch .human-stories-wrap .caller-testimonials-grid .caller-quote-card:hover {
  background: #FFFFFF;
  border-color: rgba(252, 36, 21, 0.4);
  box-shadow: 0 18px 40px -18px rgba(252, 36, 21, 0.3);
}

/* Stats strip lives inside the light panel */
#human-touch .human-stories-wrap .empathy-scoreboard-strip {
  margin: 28px 48px 0;
  padding: 40px 0 0;
  border-bottom: 0;
  border-top-color: #E2E8F0;
}
#human-touch .human-stories-wrap .esc-item { border-left-color: #E2E8F0; }
#human-touch .human-stories-wrap .esc-num { color: #0F172A; }
#human-touch .human-stories-wrap .esc-item:hover .esc-num { color: #FC2415; }
#human-touch .human-stories-wrap .esc-label { color: #64748B; }

@media (max-width: 1024px) {
  #human-touch .human-stories-wrap .empathy-scoreboard-strip { margin: 28px 24px 0; }
}

#human-touch .human-stories-wrap .caller-quote { color: #334155; }
#human-touch .human-stories-wrap .caller-name { color: #0F172A; }
#human-touch .human-stories-wrap .caller-role { color: #64748B; }
#human-touch .human-stories-wrap .caller-stars { color: #F59E0B; font-size: 0.95rem; letter-spacing: 2px; }

@media (max-width: 640px) {
  #human-touch .human-stories-wrap { border-radius: 24px; padding: 40px 0; }
  #human-touch .human-stories-wrap .caller-testimonials-grid .caller-quote-card { flex-basis: 300px; padding: 24px; }
  #human-touch .human-stories-wrap::before,
  #human-touch .human-stories-wrap::after { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  #human-touch .caller-testimonials-grid.is-looping { animation: none; }
}

/* ---- Human Difference: phone layout (<= 640px only) ---- */
@media (max-width: 640px) {
  #human-touch .section-title { font-size: 1.9rem; }
  #human-touch .container .human-pillars-grid { margin: 36px 0 48px; }

  /* Scene panel: taller, content centred above a reserved caption area */
  #human-touch .ht-stage { min-height: 500px; border-radius: 24px; margin-bottom: 20px; }

  .ht-scene { justify-content: center; gap: 22px; padding: 60px 16px 128px; }
  .ht-scene-label { top: 22px; left: 20px; font-size: 0.64rem; letter-spacing: 0.12em; }
  .ht-sound { top: 14px; right: 14px; padding: 7px 12px; font-size: 0.74rem; }

  .ht-caption { bottom: 20px; width: calc(100% - 40px); }
  .ht-caption-text { font-size: 0.88rem; }

  .ht-orb-wrap, .ht-orb { width: 118px; height: 118px; }
  .ht-orb-rose { width: 92px; height: 92px; }
  .ht-chip { font-size: 0.8rem; padding: 8px 14px; text-align: center; }

  .ht-bars { height: 100px; gap: 4px; }
  .ht-bars i { width: 5px; }
  .ht-scene-cut .ht-chip { bottom: 128px; max-width: calc(100% - 32px); }

  .ht-scene-care { gap: 18px; }
  .ht-meters { width: 82%; }
  .ht-checks { width: 100%; gap: 12px; }
  .ht-checks li { padding: 13px 14px; font-size: 0.9rem; }

  /* Pillar list */
  #human-touch .human-pillar-card.glow-card { padding: 22px 0; }
  #human-touch .hp-title { font-size: 1.08rem; padding-right: 30px; }
  #human-touch .hp-desc { font-size: 0.88rem; }

  /* Real callers panel + stats */
  #human-touch .human-stories-header { padding: 0 20px; margin-bottom: 28px; }
  #human-touch .hsh-title { font-size: 1.3rem; }
  #human-touch .human-stories-wrap .empathy-scoreboard-strip { margin: 24px 20px 0; padding-top: 28px; gap: 24px 0; }
  #human-touch .esc-item { padding: 0 8px; }
  #human-touch .esc-num { font-size: 1.75rem; white-space: nowrap; }
  #human-touch .esc-label { font-size: 0.76rem; }
}

@media (max-width: 1024px) {
  #human-touch .human-pillars-grid { grid-template-columns: 1fr; margin: 48px 0 64px; }
  #human-touch .human-pillar-card.glow-card { grid-column: 1; }
  .ht-stage { grid-column: 1; grid-row: auto; order: -1; min-height: 360px; margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-scene * { animation: none !important; }
  .ht-checks li { opacity: 1; }
  .ht-meter .ht-fill-down { transform: scaleX(0.3); }
  .ht-meter .ht-fill-up { transform: scaleX(0.8); }
  .ht-scene-cut .ht-chip-b { opacity: 0; }
  .ht-bars i { transform: scaleY(0.5); }
  .ht-progress { display: none; }
}

/* ---- Real Callers: phone polish (<= 640px only; placed last so it wins) ---- */
@media (max-width: 640px) {
  #human-touch .human-stories-wrap {
    border-radius: 24px;
    padding: 36px 0 30px;
    margin-bottom: 0;
  }

  #human-touch .human-stories-header { padding: 0 22px; margin-bottom: 24px; gap: 8px; }
  #human-touch .hsh-title { font-size: 1.35rem; line-height: 1.25; text-wrap: balance; }
  #human-touch .hsh-sub { font-size: 0.88rem; line-height: 1.5; text-wrap: balance; }

  /* Narrower edge fades so cards are visible almost edge to edge */
  #human-touch .human-stories-wrap::before,
  #human-touch .human-stories-wrap::after { width: 22px; }

  /* Slower loop on small screens, and it holds still while a finger is down */
  #human-touch .caller-testimonials-grid.is-looping { animation-duration: 85s; }
  #human-touch .human-stories-wrap:active .caller-testimonials-grid.is-looping { animation-play-state: paused; }

  /* Lighter, shorter cards; a sliver of the next one always peeks in */
  #human-touch .human-stories-wrap .caller-testimonials-grid .caller-quote-card {
    flex: 0 0 min(80vw, 300px);
    margin-right: 14px;
    padding: 22px 20px;
    gap: 12px;
    border-radius: 20px;
  }

  #human-touch .caller-quote-card::before { height: 24px; font-size: 3.2rem; }
  #human-touch .human-stories-wrap .caller-quote { font-size: 0.93rem; line-height: 1.6; }
  #human-touch .human-stories-wrap .caller-stars { font-size: 0.85rem; }
  #human-touch .caller-avatar { width: 36px; height: 36px; }
  #human-touch .human-stories-wrap .caller-name { font-size: 0.86rem; }
  #human-touch .human-stories-wrap .caller-role { font-size: 0.74rem; line-height: 1.35; }

  /* Stats: an even 2x2 grid with one clean cross divider */
  #human-touch .human-stories-wrap .empathy-scoreboard-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 12px 22px 0;
    padding: 0;
    border-top: 1px solid #E2E8F0;
  }

  #human-touch .human-stories-wrap .esc-item,
  #human-touch .human-stories-wrap .esc-item:nth-child(3) {
    justify-content: flex-start;
    padding: 22px 10px 20px;
    border-left: 0;
    border-bottom: 0;
  }

  #human-touch .human-stories-wrap .esc-item:nth-child(odd) { border-right: 1px solid #E2E8F0; }
  #human-touch .human-stories-wrap .esc-item:nth-child(-n+2) { border-bottom: 1px solid #E2E8F0; }

  #human-touch .esc-num { font-size: 1.7rem; }
  #human-touch .esc-label { max-width: 150px; font-size: 0.74rem; line-height: 1.35; }
}

/* ==========================================================================
   HOW IT WORKS (#how-it-works) — a simple timeline that draws itself
   A line runs through the four steps; each circle fills red as the line reaches it.
   (Without JS everything simply shows in its finished state.)
   ========================================================================== */
#how-it-works .section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.035em;
}

#how-it-works .how-it-works-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
}

/* Track (grey) and progress (red) lines, running through the circle centres */
#how-it-works .how-it-works-grid::before,
#how-it-works .how-it-works-grid::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  border-radius: 2px;
}

#how-it-works .how-it-works-grid::before { background: #E2E8F0; }

#how-it-works .how-it-works-grid::after {
  background: linear-gradient(90deg, #FC2415, #FF7A59);
  transform: scaleX(1);
  transform-origin: left center;
}

/* Steps: no boxes, centred */
#how-it-works .hiw-step-card {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

#how-it-works .hiw-step-card::before { display: none; }
#how-it-works .hiw-step-card:hover { transform: none; border-color: transparent; box-shadow: none; }

#how-it-works .hiw-step-card:nth-child(1) { --i: 1; }
#how-it-works .hiw-step-card:nth-child(2) { --i: 2; }
#how-it-works .hiw-step-card:nth-child(3) { --i: 3; }
#how-it-works .hiw-step-card:nth-child(4) { --i: 4; }

#how-it-works .hiw-step-icon {
  order: 1;
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FC2415;
  border: 2px solid #FC2415;
  color: #FFFFFF;
  box-shadow: 0 12px 26px -10px rgba(252, 36, 21, 0.65);
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#how-it-works .hiw-step-icon svg { width: 26px; height: 26px; stroke-width: 2; }

#how-it-works .hiw-step-card:hover .hiw-step-icon {
  transform: translateY(-4px);
  background: #FC2415;
  border-color: #FC2415;
  color: #FFFFFF;
  box-shadow: 0 16px 30px -10px rgba(252, 36, 21, 0.7);
}

#how-it-works .hiw-step-num {
  order: 2;
  margin: 20px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #FC2415;
  transition: color 0.45s ease;
}

#how-it-works .hiw-step-title {
  order: 3;
  max-width: 190px;
  margin: 6px 0 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #0F172A;
  transition: color 0.45s ease;
}

/* Starting state (only when JS is running): everything quiet until the section is seen */
#how-it-works.hiw-ready .how-it-works-grid::after { transform: scaleX(0); }

#how-it-works.hiw-ready .hiw-step-icon {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
}

#how-it-works.hiw-ready .hiw-step-num { color: #CBD5E1; }
#how-it-works.hiw-ready .hiw-step-title { color: #94A3B8; }

/* When seen: the line draws in 3s; each step lights up as the line reaches it (1s apart) */
#how-it-works.hiw-ready .how-it-works-grid.is-in::after {
  transform: scaleX(1);
  transition: transform 3s linear;
}

#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-icon {
  background: #FC2415;
  border-color: #FC2415;
  color: #FFFFFF;
  box-shadow: 0 12px 26px -10px rgba(252, 36, 21, 0.65);
  transition-delay: calc((var(--i) - 1) * 1s);
  animation: hiwPop 0.55s ease calc((var(--i) - 1) * 1s) backwards;
}

#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-num,
#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-title {
  transition-delay: calc((var(--i) - 1) * 1s);
}

#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-num { color: #FC2415; }
#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-title { color: #0F172A; }

@keyframes hiwPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* Final step keeps a soft ring pulsing once the timeline is complete */
#how-it-works .hiw-step-card:last-child .hiw-step-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(252, 36, 21, 0.5);
  opacity: 0;
}

#how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-card:last-child .hiw-step-icon::after {
  animation: hiwRing 2.6s ease-out 3.6s infinite;
}

@keyframes hiwRing {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* Phones & small tablets: a vertical timeline */
@media (max-width: 768px) {
  #how-it-works .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 44px;
  }

  #how-it-works .how-it-works-grid::before,
  #how-it-works .how-it-works-grid::after {
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }

  #how-it-works .how-it-works-grid::after {
    background: linear-gradient(180deg, #FC2415, #FF7A59);
    transform: scaleY(1);
    transform-origin: top center;
  }

  #how-it-works.hiw-ready .how-it-works-grid::after { transform: scaleY(0); }
  #how-it-works.hiw-ready .how-it-works-grid.is-in::after { transform: scaleY(1); }

  #how-it-works .hiw-step-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 22px;
    align-items: center;
    padding: 0;
    text-align: left;
  }

  #how-it-works .hiw-step-icon { grid-row: 1 / span 2; }
  #how-it-works .hiw-step-num { margin: 0; align-self: end; }
  #how-it-works .hiw-step-title { margin: 2px 0 0; max-width: none; align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  #how-it-works.hiw-ready .how-it-works-grid::after,
  #how-it-works.hiw-ready .how-it-works-grid.is-in::after { transform: none; transition: none; }
  #how-it-works.hiw-ready .hiw-step-icon,
  #how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-icon {
    background: #FC2415;
    border-color: #FC2415;
    color: #FFFFFF;
    animation: none;
    transition-delay: 0s;
  }
  #how-it-works.hiw-ready .hiw-step-num { color: #FC2415; }
  #how-it-works.hiw-ready .hiw-step-title { color: #0F172A; }
  #how-it-works.hiw-ready .how-it-works-grid.is-in .hiw-step-card:last-child .hiw-step-icon::after { animation: none; }
}

/* ==========================================================================
   INDUSTRIES (#industries) — underline tabs that act as a timer, and a clean
   call card whose line types itself in word by word. Rotates automatically.
   ========================================================================== */
#industries .section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

#industries .industry-visual-showcase { max-width: 1120px; }

/* Tabs: plain text on a hairline; the active one gets a red underline that fills over 7.5s */
#industries .ind-pill-selector {
  justify-content: center;
  gap: 2px;
  margin: 48px 0 40px;
  padding: 0;
  border-bottom: 1px solid #E2E8F0;
}

#industries .ind-pill-btn {
  position: relative;
  padding: 14px 15px 16px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #94A3B8;
  transition: color 0.3s ease;
}

#industries .ind-pill-btn:hover { background: none; color: #475569; transform: none; }
#industries .ind-pill-btn.active { background: none; color: #0F172A; box-shadow: none; }

#industries .ind-pill-btn .ind-pill-svg { margin-right: 0 !important; transition: color 0.3s ease; }
#industries .ind-pill-btn.active .ind-pill-svg { color: #FC2415; }

/* Language tabs under the section heading */
#industries .ind-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 720px;
}

#industries .ind-lang-tab {
  padding: 8px 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#industries .ind-lang-tab:hover { border-color: #CBD5E1; color: #0F172A; }
#industries .ind-lang-tab:focus-visible { outline: 2px solid #FC2415; outline-offset: 2px; }

#industries .ind-lang-tab.is-active {
  color: #FFFFFF;
  background: #FC2415;
  border-color: #FC2415;
  box-shadow: 0 8px 20px -10px rgba(252, 36, 21, 0.75);
}

/* Card header: voice on/off, next to the latency pill */
#industries .ind-header-right { display: inline-flex; align-items: center; gap: 10px; position: relative; }

#industries .ind-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

#industries .ind-voice-btn:hover { border-color: #CBD5E1; background: #F8FAFC; }
#industries .ind-voice-btn:focus-visible { outline: 2px solid #FC2415; outline-offset: 2px; }
#industries .ind-voice-btn .ico-off { display: none; }
#industries .ind-voice-btn[data-state="off"] .ico-on { display: none; }
#industries .ind-voice-btn[data-state="off"] .ico-off { display: block; }
#industries .ind-voice-btn[data-state="off"] { color: #94A3B8; }
#industries .ind-voice-btn[data-state="blocked"] { color: #FC2415; border-color: rgba(252, 36, 21, 0.5); background: rgba(252, 36, 21, 0.06); }

@media (max-width: 640px) {
  #industries .ind-lang-tabs { gap: 8px; margin-top: 22px; }
  #industries .ind-lang-tab { padding: 7px 14px; font-size: 0.8rem; }
  #industries .ind-header-right { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
}

.ind-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #FC2415;
  transform: scaleX(0);
  transform-origin: left center;
}

/* The call card: open, airy, with a big faint quote mark */
#industries .ind-preview-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 52px 40px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E8ECF2;
  border-radius: 28px;
  box-shadow: 0 30px 60px -36px rgba(15, 23, 42, 0.25);
}

#industries .ind-preview-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11rem;
  line-height: 1;
  color: rgba(252, 36, 21, 0.06);
  pointer-events: none;
}

#industries .ind-preview-header { margin-bottom: 0; position: relative; }

#industries .ind-badge-wrap { gap: 14px; }

#industries .ind-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #FC2415;
}

#industries .ind-preview-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FC2415;
  animation: svcPulse 1.8s infinite;
}

#industries .ind-tag-pill { font-size: 0.8rem; color: #94A3B8; }

#industries .ind-latency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  color: #475569;
}

#industries .ind-latency-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
}

#industries .ind-dialogue-box {
  position: relative;
  padding: 0;
  margin: 30px 0 34px;
  background: none;
  border: 0;
  border-radius: 0;
}

#industries .ind-agent-line { display: block; }

#industries .ind-speaker-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748B;
}

#industries .ind-speaker-label::before {
  content: "R";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FC2415;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 6px 14px -4px rgba(252, 36, 21, 0.55);
}

#industries .ind-text {
  display: block;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #0F172A;
}

#industries .ind-word { display: inline-block; }

#industries .ind-chips-row { gap: 10px; }

#industries .ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

#industries .ind-chip svg { flex-shrink: 0; color: #FC2415; }

/* Swap animation: runs each time an industry opens */
#industries .ind-preview-card.is-swap .ind-preview-badge { animation: indFade 0.45s ease both; }
#industries .ind-preview-card.is-swap .ind-word { animation: indWord 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--w, 0) * 38ms); }
#industries .ind-preview-card.is-swap .ind-chip { animation: indChip 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.6s + var(--c, 0) * 110ms); }

@keyframes indFade { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes indWord { from { opacity: 0; translate: 0 10px; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes indChip { from { opacity: 0; translate: 0 10px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* Tablet / phone */
@media (max-width: 900px) {
  #industries .ind-pill-selector {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 36px 0 28px;
  }
  #industries .ind-pill-btn { flex-shrink: 0; padding: 12px 14px 14px; }
}

@media (max-width: 640px) {
  #industries .ind-preview-card { padding: 28px 22px 26px; border-radius: 22px; }
  #industries .ind-preview-card::before { font-size: 7rem; right: 18px; }
  #industries .ind-preview-header { flex-direction: row; align-items: flex-start; }
  #industries .ind-badge-wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  #industries .ind-preview-badge { font-size: 0.7rem; line-height: 1.3; }
  #industries .ind-latency-pill { display: none; }
  #industries .ind-dialogue-box { margin: 22px 0 24px; }
  #industries .ind-text { font-size: 1.12rem; line-height: 1.55; }
  #industries .ind-chip { font-size: 0.78rem; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #industries .ind-pill-btn.active .ind-progress { transform: scaleX(1); }
  #industries .ind-preview-card.is-swap .ind-preview-badge,
  #industries .ind-preview-card.is-swap .ind-word,
  #industries .ind-preview-card.is-swap .ind-chip { animation: none; }
  #industries .ind-preview-badge::before { animation: none; }
}

/* Desktop: use the full width — label column on the left, call line + tags on the right */
@media (min-width: 901px) {
  #industries .industry-visual-showcase { max-width: none; }

  #industries .ind-pill-selector { justify-content: space-between; padding: 0 8px; }

  #industries .ind-preview-card {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    column-gap: 72px;
    align-items: start;
    padding: 56px 64px;
  }

  #industries .ind-preview-header {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding-right: 48px;
    border-right: 1px solid #E8ECF2;
  }

  #industries .ind-badge-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  #industries .ind-preview-badge { font-size: 0.86rem; line-height: 1.45; }

  #industries .ind-dialogue-box { grid-column: 2; grid-row: 1; margin: 0 0 34px; }
  #industries .ind-chips-row { grid-column: 2; grid-row: 2; }
  #industries .ind-text { font-size: 1.75rem; line-height: 1.45; }
}

/* ==========================================================================
   CLOSING CTA (#final-cta) — one calm dark panel with a slow aurora
   ========================================================================== */
#final-cta .cta-clean-box {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 84px 48px 70px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #FFFFFF;
  background: #060B18;
  border-radius: 36px;
  box-shadow: 0 50px 100px -50px rgba(6, 11, 24, 0.85);
}

#final-cta .cta-clean-box::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(500px 320px at 20% 20%, rgba(252, 36, 21, 0.34), transparent 70%),
    radial-gradient(520px 340px at 85% 80%, rgba(59, 99, 255, 0.28), transparent 70%);
  animation: ctaDrift 12s ease-in-out infinite alternate;
}

#final-cta .cta-clean-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 78%);
}

@keyframes ctaDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

#final-cta .cta-clean-title {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

#final-cta .cta-clean-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: #94A3B8;
}

#final-cta .cta-actions-row { gap: 14px; }

#final-cta .cta-btn-primary {
  position: relative;
  gap: 10px;
  background: #FC2415 !important;
  border-color: #FC2415 !important;
  color: #FFFFFF !important;
  box-shadow: 0 16px 34px -12px rgba(252, 36, 21, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#final-cta .cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(252, 36, 21, 0.9);
}

#final-cta .cta-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(252, 36, 21, 0.7);
  opacity: 0;
  pointer-events: none;
  animation: ctaPing 3s ease-out infinite;
}

@keyframes ctaPing {
  0% { opacity: 0.8; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.14, 1.55); }
}

#final-cta .cta-arrow { transition: transform 0.25s ease; }
#final-cta .cta-btn-primary:hover .cta-arrow { transform: translateX(4px); }

#final-cta .cta-btn-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}

#final-cta .cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

#final-cta .cta-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 0.84rem;
  color: #94A3B8;
}

#final-cta .cta-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: testDotPulse 2s infinite;
}

@media (max-width: 640px) {
  #final-cta .cta-clean-box { padding: 56px 22px 48px; border-radius: 26px; }
  #final-cta .cta-note { align-items: flex-start; text-align: left; }
  #final-cta .cta-note-dot { margin-top: 6px; flex-shrink: 0; }
  #final-cta .cta-clean-sub { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  #final-cta .cta-clean-box::before,
  #final-cta .cta-btn-primary::after,
  #final-cta .cta-note-dot { animation: none; }
}

/* ==========================================================================
   DEMO REQUEST FORM (modal) — clean fields, clear states
   ========================================================================== */
.demo-modal-backdrop { background: rgba(6, 11, 24, 0.62); }
.demo-modal-backdrop.active { animation: modalFade 0.25s ease both; }

.demo-modal-dialog {
  max-width: 580px;
  max-height: 92vh;
  padding: 38px 38px 30px;
  border-radius: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
}

.demo-modal-backdrop.active .demo-modal-dialog { animation: modalRise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

.demo-modal-dialog .modal-header { display: block; margin-bottom: 26px; }

.demo-modal-dialog .modal-badge {
  display: inline-flex;
  padding: 5px 12px;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #FC2415;
  background: #FFF1EF;
  border-radius: 999px;
}

.demo-modal-dialog .modal-title {
  margin: 14px 0 8px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.demo-modal-dialog .modal-subtitle {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748B;
}

.modal-close-btn { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.modal-close-btn:hover { background: #FFF1EF; color: #FC2415; border-color: #FECACA; }

.demo-modal-dialog .modal-form { gap: 18px; }

.demo-modal-dialog .form-group label { font-size: 0.8rem; font-weight: 700; color: #0F172A; }
.demo-modal-dialog .form-group .req { color: #FC2415; }
.demo-modal-dialog .form-group .opt { font-weight: 500; color: #94A3B8; }

.demo-modal-dialog .form-group input,
.demo-modal-dialog .form-group select,
.demo-modal-dialog .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: #0F172A;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-modal-dialog .form-group ::placeholder { color: #A0AEC0; }

.demo-modal-dialog .form-group input:focus,
.demo-modal-dialog .form-group select:focus,
.demo-modal-dialog .form-group textarea:focus {
  background: #FFFFFF;
  border-color: #FC2415;
  box-shadow: 0 0 0 4px rgba(252, 36, 21, 0.1);
}

.demo-modal-dialog .form-group input:not(:placeholder-shown):invalid { border-color: #F87171; }

.demo-modal-dialog .form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.demo-modal-dialog .form-group textarea { min-height: 84px; resize: vertical; line-height: 1.5; }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
}

.form-error[hidden] { display: none; }

.demo-modal-dialog .modal-form .btn-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.demo-modal-dialog .modal-form .btn-glow:disabled { opacity: 0.8; cursor: wait; }

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin { to { transform: rotate(360deg); } }

.form-fineprint { margin: -4px 0 0; font-size: 0.76rem; text-align: center; color: #94A3B8; }

/* Success state */
.demo-modal-dialog .modal-success-screen { padding: 20px 8px 8px; }

.demo-modal-dialog .success-icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.demo-modal-dialog .success-icon-wrap svg polyline {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.6s ease 0.2s forwards;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.demo-modal-dialog .success-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.demo-modal-dialog .success-desc { max-width: 400px; line-height: 1.6; margin-bottom: 8px; }
.demo-modal-dialog .success-desc strong { color: #0F172A; overflow-wrap: anywhere; }

/* Once the request is sent, the success message replaces the form and its header */
.demo-modal-dialog:has(.modal-success-screen.visible) .modal-header { display: none; }
.demo-modal-dialog:has(.modal-success-screen.visible) .modal-success-screen { padding-top: 34px; }
.success-hint { margin: 0 0 22px; font-size: 0.8rem; color: #94A3B8; }

@media (max-width: 640px) {
  .demo-modal-dialog { padding: 28px 20px 24px; border-radius: 22px; }
  .demo-modal-dialog .modal-title { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-modal-backdrop.active,
  .demo-modal-backdrop.active .demo-modal-dialog,
  .demo-modal-dialog .success-icon-wrap svg polyline { animation: none; stroke-dashoffset: 0; }
}

/* ==========================================================================
   FOOTER — real logo, a clear call to action, tidy link columns, proper bottom bar
   ========================================================================== */
.site-footer-light {
  padding: 72px 0 28px;
  background: linear-gradient(180deg, #F8FAFC 0, #FFFFFF 180px);
  border-top: 1px solid #E8ECF2;
}

.site-footer-light .footer-content-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.site-footer-light .footer-brand-header { display: inline-flex; margin-bottom: 22px; }
.footer-logo { display: block; width: auto; height: 54px; }

.site-footer-light .footer-tagline {
  max-width: 300px;
  margin-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748B;
}

.footer-cta-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 11px 20px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #0F172A;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-cta-btn:hover {
  background: #FC2415;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(252, 36, 21, 0.65);
}

.footer-cta-btn svg { transition: transform 0.25s ease; }
.footer-cta-btn:hover svg { transform: translateX(4px); }
.footer-cta-btn:focus-visible { outline: 2px solid #FC2415; outline-offset: 3px; }

.site-footer-light .footer-status-indicator {
  display: flex;
  width: fit-content;
  padding: 6px 13px;
  font-size: 0.76rem;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.site-footer-light .footer-status-indicator .pulse-dot-blue {
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: testDotPulse 2s infinite;
}

.site-footer-light .footer-col-title {
  margin-bottom: 20px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: #94A3B8;
}

.site-footer-light .footer-links-list { gap: 13px; }

.site-footer-light .footer-links-list a {
  display: inline-block;
  font-size: 0.92rem;
  color: #334155;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-light .footer-links-list a:hover { color: #FC2415; transform: translateX(3px); }

.site-footer-light .footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid #E8ECF2;
}

.site-footer-light .footer-copyright { margin: 0; font-size: 0.82rem; text-align: left; color: #94A3B8; }
.site-footer-light .footer-credit { margin: 0; font-size: 0.82rem; text-align: right; }

@media (max-width: 1024px) {
  .site-footer-light .footer-content-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
  .site-footer-light .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-footer-light { padding: 52px 0 24px; }
  .site-footer-light .footer-content-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 40px; }
  .footer-logo { height: 48px; }
  .site-footer-light .footer-bottom-bar { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .site-footer-light .footer-copyright,
  .site-footer-light .footer-credit { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-light .footer-status-indicator .pulse-dot-blue { animation: none; }
}

/* ==========================================================================
   WORKFLOW CARDS 04 + 05 (Appointment Setting, Receptionist)
   ========================================================================== */
#appointment { --acc: #C084FC; --acc-rgb: 192, 132, 252; --acc-soft: rgba(192, 132, 252, 0.14); }
#receptionist { --acc: #22D3EE; --acc-rgb: 34, 211, 238; --acc-soft: rgba(34, 211, 238, 0.14); }
#appointment::before { content: "04"; }
#receptionist::before { content: "05"; }

/* Five tabs: never let the bar push the page wider than the screen */
.story-progress-indicator {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.story-progress-indicator::-webkit-scrollbar { display: none; }

/* ==========================================================================
   WORKFLOW SECTION — Mobile M (375px) and Mobile L (425px) only
   Older desktop rules force a 3-column grid and a 640px height with !important,
   so these rules are !important too and sit last. Tabs choose one card at a
   time; each card stacks: text, then dashboard, then the call.
   ========================================================================== */
@media (min-width: 361px) and (max-width: 480px) {
  .industry-scroll-section { padding: 28px 0 36px; }
  .industry-sticky-viewport { padding: 0 12px !important; }

  /* Tabs: one scrollable row, the active tab is kept in view by the script */
  .story-progress-indicator {
    width: 100%;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 999px;
    scroll-behavior: smooth;
  }
  .story-indicator-item { padding: 9px 14px; font-size: 0.8rem; }
  .story-indicator-item .ind-num { font-size: 0.68rem; }

  /* The stage grows with its content instead of a fixed 640px box */
  .cards-stack-stage {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  .story-card.active {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 22px 14px 20px !important;
    align-items: stretch !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  /* One column: text, then dashboard, then call */
  .story-card .feature-split-grid,
  .feature-split-grid.domain-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
  }

  .story-card::before { font-size: 5.5rem; left: 14px; top: 4px; }

  .story-card .section-title { font-size: 1.45rem; line-height: 1.22; }
  .story-card .section-short-desc { font-size: 0.9rem; line-height: 1.6; }
  .story-card .human-touch-highlight { margin-top: 12px !important; margin-bottom: 16px !important; padding: 12px !important; }
  .feature-action-row .btn { width: 100%; justify-content: center; }

  /* Dashboard fits the card */
  .feature-dash-side { max-width: 100%; clip-path: none; }
  .story-card .compact-dashboard,
  .story-card.active .compact-dashboard { padding: 14px; gap: 12px; border-radius: 18px; }
  .dash-stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .story-card .dash-stat-box { padding: 10px 8px; }
  .story-card .dash-stat-number { font-size: 1.2rem; }
  .story-card .dash-stat-label { font-size: 0.6rem; white-space: normal; line-height: 1.25; }
  .dash-charts-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dash-bar-container { height: 92px; }
  .dash-act-tr { gap: 10px; }
  .dash-act-tr .col-cand { width: auto; min-width: 0; }
  .story-card .dash-act-tr .cand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Call panel fits the card */
  .feature-call-side { max-width: 100%; }
  .story-card .realistic-call-card { max-width: 100% !important; width: 100% !important; }
  .call-card-top { flex-wrap: wrap; gap: 8px; }
  .story-card .call-parties-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .story-card .call-flow-icon { display: none; }
  .extraction-items-row { flex-wrap: wrap !important; gap: 6px !important; }
  .extraction-items-row .ext-item { flex: 1 1 calc(50% - 6px) !important; min-width: 0; }
  .extraction-top { flex-wrap: wrap; gap: 6px; }
}

/* footer: regions line (very small), in the brand column */
.site-footer-light .footer-regions {
  margin: 18px 0 0;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #FC2415;
}
.site-footer-light .footer-regions span {
  background: linear-gradient(110deg, #FC2415 0%, #FC2415 40%, #FFB4A8 50%, #FC2415 60%, #FC2415 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footerRegionsShimmer 3.2s linear infinite;
}
@keyframes footerRegionsShimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .site-footer-light .footer-regions span { animation: none; background: none; -webkit-text-fill-color: currentColor; }
}
.site-footer-light .footer-social { display: flex; gap: 10px; margin-top: 14px; }
.site-footer-light .footer-social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #031740; background: rgba(3, 23, 64, 0.06); border: 1px solid rgba(3, 23, 64, 0.18); transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s; }
.site-footer-light .footer-social a:hover { color: #fff; background: #FC2415; border-color: #FC2415; transform: translateY(-2px); }

/* Skip link: hidden until a keyboard user presses Tab */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #031740;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
#main-content:focus { outline: none; }

/* ==========================================================================
   Header "Book a Demo" button: frosted-glass look with a light sweep that glides across it
   ========================================================================== */
.btn-book-demo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #FC2415; /* the bright red of the "remo" in the logo */
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -10px 16px rgba(120, 0, 0, 0.12),
    0 6px 20px rgba(252, 36, 21, 0.38);
  animation: bd-glow 2.8s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
.btn-book-demo > * { position: relative; z-index: 1; }
/* glass gloss on the top half */
.btn-book-demo::before {
  content: "";
  position: absolute;
  inset: 0 0 48% 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 2;
}
/* the shine that sweeps across, then rests for a moment */
.btn-book-demo::after {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -75%;
  width: 45%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 3;
  animation: bd-shine 3.4s ease-in-out infinite;
}
.btn-book-demo:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 16px rgba(120, 0, 0, 0.12),
    0 12px 30px rgba(252, 36, 21, 0.55);
}
.btn-book-demo:hover::after { animation-duration: 1.2s; }
.btn-book-demo:active { transform: translateY(0) scale(0.97); }
.btn-book-demo:focus-visible { outline: 3px solid rgba(252, 36, 21, 0.4); outline-offset: 3px; }

@keyframes bd-shine {
  0%   { left: -75%; }
  55%, 100% { left: 135%; }
}
@keyframes bd-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 16px rgba(120,0,0,.12), 0 6px 20px rgba(252,36,21,.34); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -10px 16px rgba(120,0,0,.12), 0 8px 28px rgba(252,36,21,.58); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-book-demo, .btn-book-demo::after { animation: none; }
  .btn-book-demo::after { display: none; }
}
/* very small phones: the header is crowded, the menu panel carries the button instead */
@media (max-width: 480px) {
  .nav-actions .btn-book-demo { display: none; }
}
.mobile-nav-cta .btn-book-demo { justify-content: center; }

/* The Book a Demo form shows only name, email and phone */
#demo-modal.demo-quick .demo-full-only { display: none; }
#demo-modal.demo-quick .form-row:nth-of-type(2) { grid-template-columns: 1fr; }
