/* ============================================
   SHARED STRUCTURAL CSS
   ============================================
   Layout, components, animations, responsive.
   Uses CSS variables from the active theme file.
   Do NOT put brand-specific colour values here.
   ============================================ */

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

:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --max-width: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --yellow: #facc15;
  --red: #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ============================================
   GRID TEXTURE BACKGROUND
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(var(--accent-rgb), 0.025) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  background: var(--bg-nav-scrolled);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.03), inset 0 -1px 0 0 rgba(var(--accent-rgb), 0.06), 0 1px 3px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.logo-img {
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

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

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--cta-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--cta-orange-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--cta-orange-glow);
}

/* Shimmer effect */
.shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  width: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.nav-mobile { display: none; background: none; border: none; color: var(--text-primary); padding: 8px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--cta-orange-rgb), 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(var(--accent-rgb), 0.06);
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12), 0 0 20px rgba(var(--accent-rgb), 0.06);
  animation: fadeUp 0.6s var(--ease) both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
  color: #ffffff;
  animation: fadeUp 0.6s var(--ease) 0.1s both;
}

.hero h1 .highlight {
  position: relative;
  display: inline;
  color: #ffffff;
  white-space: nowrap;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: -6px; right: -6px;
  height: 30%;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.8;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  animation: fadeUp 0.6s var(--ease) 0.3s both;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--cta-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.btn-primary:hover {
  background: var(--cta-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--cta-orange-glow);
}

.btn-primary svg { width: 16px; height: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  transition: all 0.3s var(--ease);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}

.btn-outline svg { width: 16px; height: 16px; }

/* Audio Demo */
.hero-demo {
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: none;
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  animation: fadeUp 0.6s var(--ease) 0.4s both;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.1), inset 0 1px 0 0 rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.1);
}

.demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.demo-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--accent-glow);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15);
}

.demo-icon svg { width: 20px; height: 20px; }

.demo-meta h4 { font-size: 13px; font-weight: 600; }
.demo-meta p { font-size: 12px; color: var(--text-tertiary); }

.demo-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-btn {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.play-btn:hover { background: var(--accent-light); transform: scale(1.06); }
.play-btn svg { width: 16px; height: 16px; color: #000; margin-left: 2px; }

.waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
}

.waveform .bar {
  flex: 1;
  background: rgba(var(--accent-rgb), 0.25);
  border-radius: 2px;
  transition: background 0.15s;
}

.waveform .bar.active { background: var(--accent); }

.demo-time {
  font-size: 12px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  padding: 56px 0;
  border: none;
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.06), inset 0 -1px 0 rgba(var(--accent-rgb), 0.06);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.02) 0%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================
   TRUST BAR (industry pills)
   ============================================ */
.trust-bar {
  padding: 48px 0;
}

.trust-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.trades-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.trade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.trade-pill:hover {
  color: var(--text-primary);
  background: var(--accent-glow);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.25);
}

.trade-pill .ico { font-size: 15px; line-height: 1; }

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section { padding: 100px 0; }
.section-dark {
  background: var(--bg-secondary);
  position: relative;
}
.section-dark::before,
.section-dark::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.12) 30%, rgba(var(--accent-rgb), 0.12) 70%, transparent);
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   CALL JOURNEY (How It Works)
   ============================================ */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.journey-step {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border: none;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
}

.journey-step:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18), 0 8px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent-glow);
  border: none;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.2);
}

.journey-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.journey-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FEATURES — Hero row + uniform grid
   ============================================ */

/* Top hero row: 2 big showcase cards (60/40) */
.features-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-hero-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}

.feature-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.feature-hero-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2), inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.24), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.feature-hero-ico {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.feature-hero-ico svg { width: 22px; height: 22px; }

.feature-hero-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature-hero-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Mock transcript inside hero card */
.mock-transcript {
  margin-top: auto;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06), inset 0 2px 4px rgba(0,0,0,0.15);
}

.mock-transcript .ai { color: var(--accent); font-weight: 600; }
.mock-transcript .caller { color: var(--cta-orange-light); font-weight: 600; }

/* CRM pipeline mockup */
.mock-pipeline {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mock-pipeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06), inset 0 2px 4px rgba(0,0,0,0.15);
}

.mock-pipeline-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.mock-pipeline-row .dot.green { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.mock-pipeline-row .dot.orange { background: var(--cta-orange); box-shadow: 0 0 8px var(--cta-orange); }
.mock-pipeline-row .dot.blue { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }

.mock-pipeline-row .label {
  font-size: 12px;
  color: var(--text-tertiary);
  flex: 1;
}

.mock-pipeline-row .value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================
   SCENARIO SECTION (Perfect For)
   ============================================ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scenario-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border: none;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
}

.scenario-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18), inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.scenario-emoji {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   VOICE AVATARS
   ============================================ */
.voices-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 150px;
  text-align: center;
  transition: transform 0.4s var(--ease);
}

.voice-card:hover {
  transform: translateY(-6px);
}

.voice-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, var(--accent), rgba(var(--accent-rgb), 0.15) 50%, var(--accent));
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.08);
}

.voice-card:hover .voice-avatar {
  box-shadow: 0 0 32px rgba(var(--accent-rgb), 0.2);
  background: conic-gradient(from 180deg, var(--accent-light), rgba(var(--accent-rgb), 0.3) 50%, var(--accent-light));
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.voice-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.voice-trait {
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 500;
}

.voice-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(var(--accent-rgb), 0.08);
  border: none;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.25s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15);
}

.voice-play:hover {
  background: rgba(var(--accent-rgb), 0.15);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}

.voice-play svg {
  width: 12px;
  height: 12px;
}

.voice-play.playing {
  background: rgba(var(--accent-rgb), 0.2);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45);
}

.voice-card.playing .voice-avatar {
  box-shadow: 0 0 36px rgba(var(--accent-rgb), 0.35);
  animation: voice-ring-pulse 1.8s ease-in-out infinite;
}

@keyframes voice-ring-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.25); }
  50%       { box-shadow: 0 0 44px rgba(var(--accent-rgb), 0.5); }
}

/* ============================================
   AGENT TYPES
   ============================================ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.agent-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.4s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.agent-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18), inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.agent-card:hover::before {
  opacity: 1;
}

.agent-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  position: relative;
}

.agent-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), rgba(var(--accent-rgb), 0.1) 50%, var(--accent));
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}

.agent-card:hover .agent-icon::after {
  opacity: 1;
}

.agent-icon.receptionist { background: rgba(var(--accent-rgb), 0.12); }
.agent-icon.after-hours { background: rgba(99, 102, 241, 0.12); }
.agent-icon.booking { background: rgba(var(--cta-orange-rgb), 0.12); }
.agent-icon.reminder { background: rgba(250, 204, 21, 0.12); }
.agent-icon.reactivation { background: rgba(34, 197, 94, 0.12); }
.agent-icon.qualifier { background: rgba(236, 72, 153, 0.12); }

.agent-icon.receptionist svg { color: var(--accent); }
.agent-icon.after-hours svg { color: #818cf8; }
.agent-icon.booking svg { color: var(--cta-orange); }
.agent-icon.reminder svg { color: var(--yellow); }
.agent-icon.reactivation svg { color: #22c55e; }
.agent-icon.qualifier svg { color: #ec4899; }

.agent-icon svg {
  width: 28px;
  height: 28px;
}

.agent-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.agent-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.agent-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: auto;
}

.agent-tag.inbound {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15);
}

.agent-tag.outbound {
  background: rgba(var(--cta-orange-rgb), 0.08);
  color: var(--cta-orange-light);
  box-shadow: inset 0 0 0 1px rgba(var(--cta-orange-rgb), 0.15);
}

.agent-tag.both {
  background: rgba(99, 102, 241, 0.08);
  color: #a5b4fc;
  box-shadow: inset 0 0 0 1px rgba(99,102,241,0.15);
}

.agent-stat {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.agent-stat strong {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   FEATURES TILE GRID (uniform 4-col grid)
   ============================================ */
.vfeatures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.vfeature-tile {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: all 0.4s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vfeature-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.vfeature-tile:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2), inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 20px rgba(0,0,0,0.22), 0 0 0 1px rgba(var(--accent-rgb), 0.05);
}

.vfeature-tile:hover::before {
  opacity: 1;
}

.vfeature-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-glow);
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.vfeature-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  line-height: 1.3;
}

.vfeature-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Coming-soon card variant */
.vfeature-tile.soon {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.05), rgba(var(--accent-rgb), 0.015));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.16), 0 1px 3px rgba(0,0,0,0.12);
}

.vfeature-tile.soon .vfeature-ico {
  background: rgba(var(--cta-orange-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--cta-orange-rgb), 0.25);
}

.vfeature-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--cta-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px var(--cta-orange-glow);
}

.vfeature-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   COMPARISON
   ============================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.compare-card.bad {
  background: rgba(239,68,68,0.04);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(239,68,68,0.12), 0 1px 3px rgba(0,0,0,0.1);
}

.compare-card.good {
  background: var(--accent-glow);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 1px 3px rgba(0,0,0,0.1);
}

.compare-card h3 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.compare-card.bad h3 { color: var(--red); }
.compare-card.good h3 { color: var(--accent); }

.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compare-card li svg { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; }
.compare-card.bad li svg { color: var(--red); }
.compare-card.good li svg { color: var(--accent); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.test-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border: none;
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.4s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
  position: relative;
}

.test-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18), inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.test-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 56px;
  font-family: Georgia, serif;
  color: rgba(var(--accent-rgb), 0.08);
  line-height: 1;
  pointer-events: none;
}

.test-stars {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.test-card blockquote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: normal;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-glow), rgba(34,197,94,0.3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.test-name { font-size: 13px; font-weight: 600; }
.test-role { font-size: 12px; color: var(--text-tertiary); }

/* ============================================
   PRICING (single card with 3 line items)
   ============================================ */
.pricing-card {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
              linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.2) 80%) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 0 32px rgba(var(--accent-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.12);
  transition: all 0.4s var(--ease);
}

.pricing-card:hover {
  box-shadow: 0 0 48px rgba(var(--accent-rgb), 0.18), 0 12px 32px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}

.pricing-card-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(var(--accent-rgb), 0.15);
}

.pricing-card-head h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.pricing-card-head p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08);
  transition: all 0.3s var(--ease);
}

.pricing-line:hover {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.pricing-line-info {
  flex: 1;
  min-width: 0;
}

.pricing-line-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pricing-line-title .pricing-line-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  flex-shrink: 0;
}

.pricing-line-title .pricing-line-ico svg {
  width: 14px;
  height: 14px;
}

.pricing-line-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 36px;
}

.pricing-line-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.pricing-line-amount .val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text-primary);
}

.pricing-line-amount .cur {
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-line-amount .per {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 2px;
}

.pricing-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
}

.price-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s var(--ease);
  border: none;
  background: var(--cta-orange);
  color: #fff;
}

.price-btn:hover {
  background: var(--cta-orange-light);
  box-shadow: 0 8px 24px var(--cta-orange-glow);
  transform: translateY(-1px);
}

.pricing-foot {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ====== Pricing 2-col layout: card + estimator ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

/* When the grid is used, the card loses its own max-width */
.pricing-grid .pricing-card { max-width: none; margin: 0; }

/* ====== Everything Included list ====== */
.pricing-included {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed rgba(var(--accent-rgb), 0.18);
}

.pricing-included-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.pricing-included-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.pricing-included-sub {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-included-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  list-style: none;
  padding: 0;
}

.pricing-included-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pricing-included-list li svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  min-width: 15px;
  margin-top: 2px;
}

.pricing-included-list li.differentiator {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-included-list li.differentiator svg {
  color: var(--cta-orange-light);
}

/* ====== Cost Estimator Panel ====== */
.pricing-estimator {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.1), 0 1px 3px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.pricing-estimator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.estimator-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.estimator-head-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  flex-shrink: 0;
}

.estimator-head-ico svg { width: 18px; height: 18px; }

.estimator-head-text h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.estimator-head-text p {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.estimator-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimator-input label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.estimator-input label .minutes-val {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.estimator-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(var(--accent-rgb), 0.1);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.estimator-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent), 0 0 0 4px rgba(var(--accent-rgb), 0.15);
  transition: all 0.15s var(--ease);
}

.estimator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.estimator-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px var(--accent);
}

.estimator-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06), inset 0 2px 4px rgba(0,0,0,0.15);
  font-size: 12.5px;
}

.estimator-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.estimator-row .val { color: var(--text-primary); font-weight: 600; }

.estimator-divider {
  height: 1px;
  background: rgba(var(--accent-rgb), 0.12);
  margin: 2px 0;
}

.estimator-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 6px;
}

.estimator-total-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.estimator-total-val {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.estimator-total-per {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 4px;
}

.estimator-setup-note {
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
}

/* ====== Honest billing trust strip ====== */
.pricing-trust {
  max-width: 1040px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pricing-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.06);
  transition: all 0.25s var(--ease);
}

.pricing-trust-item:hover {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15);
}

.pricing-trust-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-trust-ico svg { width: 14px; height: 14px; }

.pricing-trust-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pricing-trust-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; }
  .pricing-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pricing-included-list { grid-template-columns: 1fr; }
  .pricing-trust { grid-template-columns: 1fr; }
  .pricing-estimator { padding: 22px; }
}

@media (max-width: 600px) {
  .pricing-card { padding: 28px 20px; }
  .pricing-line { flex-direction: column; align-items: stretch; }
  .pricing-line-amount { align-items: flex-start; text-align: left; padding-left: 36px; }
  .pricing-line-desc { padding-left: 36px; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 1px 2px rgba(0,0,0,0.08);
}

.faq-item:hover {
  background: rgba(var(--accent-rgb), 0.06);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 2px 6px rgba(0,0,0,0.15);
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q svg {
  width: 18px; height: 18px; min-width: 18px;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--cta-orange-rgb), 0.05) 35%, transparent 65%);
  pointer-events: none;
  animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.cta-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-phone {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.cta-phone a {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   WORKFLOW FLOW DIAGRAM (coded, dark-theme)
   ============================================ */

/* Tab switcher */
.flow-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  width: fit-content;
  margin: 0 auto 40px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.flow-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.flow-tab:hover:not(.active) {
  color: var(--text-primary);
}

.flow-tab.active {
  background: var(--accent);
  color: #042c37;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.flow-tab svg {
  width: 14px;
  height: 14px;
}

.flow.hidden { display: none; }

.flow {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(var(--accent-rgb), 0.12), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(var(--cta-orange-rgb), 0.08), transparent 55%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* Base node */
.flow-node {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease);
  width: 100%;
  max-width: 460px;
}

.flow-node:hover {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.25), 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.flow-node-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--accent-glow);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  flex-shrink: 0;
  color: var(--accent);
}

.flow-node-ico svg { width: 22px; height: 22px; }

.flow-node-ico.ico-accent { background: var(--accent-glow); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3); color: var(--accent); }
.flow-node-ico.ico-green { background: rgba(34, 197, 94, 0.15); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35); color: #22c55e; }
.flow-node-ico.ico-orange { background: rgba(var(--cta-orange-rgb), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--cta-orange-rgb), 0.35); color: var(--cta-orange-light); }
.flow-node-ico.ico-red { background: rgba(239, 68, 68, 0.14); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35); color: #ef4444; }

.flow-node-body { flex: 1; text-align: left; }

.flow-node-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.flow-node-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

/* Start / end pill-shaped nodes */
.flow-node-start, .flow-node-end {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.06));
  box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.3), 0 4px 14px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-full);
  padding: 14px 22px;
}

/* LeadsHub hub node */
.flow-node-hub {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.3), 0 6px 18px rgba(0, 0, 0, 0.2);
}

.flow-node-hub .flow-node-sub {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.flow-hub-logo {
  height: 38px;
  width: auto;
}

/* Staff avatars row */
.flow-node-staff {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 20px;
}

.flow-node-staff .flow-node-title { text-align: center; }

.flow-staff-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.flow-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.3);
}

/* Decision diamond + YES branch row */
.flow-decision-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  margin: 8px 0;
}

.flow-decision {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-decision::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: linear-gradient(135deg, rgba(var(--cta-orange-rgb), 0.16), rgba(var(--cta-orange-rgb), 0.06));
  box-shadow: inset 0 0 0 1.5px rgba(var(--cta-orange-rgb), 0.45), 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: rotate(45deg);
  border-radius: 16px;
}

.flow-decision-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  padding: 0 20px;
}

/* Yes branch: card + horizontal connector line */
.flow-yes-branch {
  display: flex;
  align-items: center;
  position: absolute;
  right: calc(50% + 110px);
  top: 50%;
  transform: translateY(-50%);
  gap: 0;
}

.flow-yes-branch .flow-node {
  max-width: 260px;
  min-width: 240px;
  padding: 12px 16px;
}

.flow-yes-branch .flow-node-ico {
  width: 36px;
  height: 36px;
  font-size: 16px;
  border-radius: 10px;
}

.flow-yes-branch .flow-node-ico svg { width: 18px; height: 18px; }

.flow-yes-branch .flow-node-title {
  font-size: 12.5px;
  white-space: nowrap;
}
.flow-yes-branch .flow-node-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.flow-yes-line {
  position: relative;
  width: 150px;
  height: 2px;
  background: rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
}

.flow-yes-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid rgba(34, 197, 94, 0.5);
}

.flow-yes-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.3);
  white-space: nowrap;
}

/* Orange branch variant (outbound: voicemail) */
.flow-yes-line.is-orange { background: rgba(var(--cta-orange-rgb), 0.5); }
.flow-yes-line.is-orange::after { border-right-color: rgba(var(--cta-orange-rgb), 0.5); }
.flow-yes-line.is-orange .flow-yes-label {
  color: var(--cta-orange-light);
  background: rgba(var(--cta-orange-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--cta-orange-rgb), 0.3);
}

/* Red branch variant (outbound: not interested / opt-out) */
.flow-yes-line.is-red { background: rgba(239, 68, 68, 0.5); }
.flow-yes-line.is-red::after { border-right-color: rgba(239, 68, 68, 0.5); }
.flow-yes-line.is-red .flow-yes-label {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.3);
}

/* Accent branch label (outbound: "Human — continue" / "Interested — continue") */
.flow-branch-label.is-accent {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}

/* Vertical connector line between stacked nodes */
.flow-line {
  position: relative;
  width: 2px;
  height: 28px;
  background: rgba(var(--accent-rgb), 0.3);
  z-index: 1;
}

.flow-line::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid rgba(var(--accent-rgb), 0.5);
}

/* "No — connect to voice agent" branch label between two lines */
.flow-branch-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--cta-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  background: rgba(var(--cta-orange-rgb), 0.1);
  border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1px rgba(var(--cta-orange-rgb), 0.3);
}

/* Chip inside AI node */
.flow-chip {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
}

/* Log bullet list */
.flow-node-log {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 18px 22px 20px;
}

.flow-node-log .flow-node-title { text-align: left; }

.flow-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-log-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bullet-accent { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.bullet-orange { background: var(--cta-orange); box-shadow: 0 0 8px var(--cta-orange); }
.bullet-blue { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }
.bullet-green { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

@media (max-width: 768px) {
  .flow { max-width: 100%; }
  .flow-node { max-width: 100%; padding: 14px 16px; gap: 10px; }
  .flow-node-ico { width: 36px; height: 36px; font-size: 18px; }
  .flow-node-title { font-size: 13px; }
  .flow-node-sub { font-size: 11px; }
  .flow-decision { width: 140px; height: 140px; }
  .flow-decision-inner { font-size: 12px; padding: 0 14px; }
  /* Stack YES branch below the diamond on mobile */
  .flow-yes-branch {
    position: static;
    transform: none;
    margin-bottom: 14px;
    flex-direction: column-reverse;
    align-items: center;
  }
  .flow-yes-line {
    width: 2px;
    height: 20px;
    background: rgba(34, 197, 94, 0.5);
  }
  .flow-yes-line::after {
    top: auto;
    bottom: -1px;
    right: 50%;
    transform: translateX(50%);
    border-top: 7px solid rgba(34, 197, 94, 0.5);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: none;
  }
  .flow-yes-label { position: static; transform: none; margin-bottom: 4px; }
  .flow-decision-row { flex-direction: column; min-height: 0; }
}

/* Full-size modal for workflow diagram */
.workflow-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  overflow-y: auto;
}

.workflow-modal.open {
  display: flex;
  opacity: 1;
}

.workflow-modal-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: auto;
}

.workflow-modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  z-index: 10;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.workflow-modal-close:hover {
  background: rgba(0, 0, 0, 1);
  transform: rotate(90deg);
}

.workflow-modal-close svg { width: 18px; height: 18px; }

.workflow-modal img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .workflow-card { padding: 20px 14px 14px; }
  .workflow-label-left { font-size: 11px; letter-spacing: 0.8px; }
}

/* ============================================
   WATCH-THE-DEMO VIDEO SECTION
   ============================================ */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.video-wrap::before {
  content: '';
  position: absolute;
  inset: -60px -40px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(var(--accent-rgb), 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(var(--cta-orange-rgb), 0.1), transparent 55%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  transition: all 0.45s var(--ease);
  display: block;
  z-index: 1;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}

/* Thumbnail "poster" layer */
.video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 36px 40px;
  text-align: center;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(var(--accent-rgb), 0.18), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(var(--cta-orange-rgb), 0.1), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
}

/* Subtle grid overlay for texture */
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--accent-rgb), 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.video-thumb-content {
  position: relative;
  z-index: 2;
}

.video-thumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
}

.video-thumb-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.video-thumb-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  max-width: 620px;
  line-height: 1.2;
  margin: 0 auto;
}

.video-thumb-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 6px auto 0;
  max-width: 560px;
}

/* Circular play button with concentric rings */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow:
    0 0 0 10px rgba(var(--accent-rgb), 0.18),
    0 0 0 22px rgba(var(--accent-rgb), 0.08),
    0 20px 48px rgba(0, 0, 0, 0.5);
  transition: all 0.35s var(--ease);
  z-index: 3;
}

.video-card:hover .video-play-btn {
  background: var(--accent-light);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 0 0 12px rgba(var(--accent-rgb), 0.22),
    0 0 0 26px rgba(var(--accent-rgb), 0.1),
    0 25px 60px rgba(0, 0, 0, 0.6);
}

.video-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 5px; /* optical centering for the play triangle */
}

/* Subtle ping animation on the outer ring */
.video-play-btn::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.35);
  animation: videoPing 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes videoPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Duration chip in bottom-right of thumbnail */
.video-duration {
  position: absolute;
  bottom: 18px;
  right: 20px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  z-index: 3;
  font-variant-numeric: tabular-nums;
}

/* Below-video meta row */
.video-meta {
  margin-top: 28px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.video-meta-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--text-tertiary); }

@media (max-width: 768px) {
  .video-thumb { padding: 20px 22px; }
  .video-play-btn { width: 72px; height: 72px; }
  .video-play-btn svg { width: 28px; height: 28px; }
  .video-duration { bottom: 12px; right: 12px; }
  .video-meta { flex-direction: column; gap: 6px; }
  .video-meta-divider { display: none; }
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.video-modal.open {
  display: flex;
  opacity: 1;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(var(--accent-rgb), 0.18);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s var(--ease);
}

.video-modal.open .video-modal-inner {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: rotate(90deg);
}

.video-modal-close svg { width: 18px; height: 18px; }

.video-modal #video-modal-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-modal iframe,
.video-modal video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Coming-soon placeholder inside modal */
.video-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.1), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(var(--cta-orange-rgb), 0.08), transparent 60%),
    var(--bg-secondary);
}

.video-coming-soon-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), 0.3);
  margin-bottom: 4px;
}

.video-coming-soon-ico svg { width: 32px; height: 32px; }

.video-coming-soon h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.video-coming-soon p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

/* ============================================
   BOOKING MODAL
   ============================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.booking-modal.open {
  display: flex;
  opacity: 1;
}

.booking-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(var(--accent-rgb), 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s var(--ease);
}

.booking-modal.open .booking-modal-inner {
  transform: scale(1) translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.booking-modal-close svg {
  width: 18px;
  height: 18px;
}

.booking-modal iframe {
  flex: 1;
  width: 100%;
  min-height: 680px;
  border: none;
  display: block;
  background: #fff;
}

@media (max-width: 768px) {
  .booking-modal { padding: 0; }
  .booking-modal-inner { max-height: 100vh; height: 100vh; border-radius: 0; }
  .booking-modal iframe { min-height: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.06);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
}

.footer-brand .logo-img {
  width: 120px;
  height: 24px;
}

.footer-copy { font-size: 12px; color: var(--text-tertiary); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a { font-size: 12px; color: var(--text-tertiary); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-hero { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .vfeatures-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .feature-hero-card { padding: 24px; }

  .journey-steps { grid-template-columns: 1fr; }
  .scenarios { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }

  .voices-row { gap: 24px; }
  .voice-card { width: 130px; }
  .voice-avatar { width: 100px; height: 100px; }

  .vfeatures-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .section { padding: 72px 0; }

  .footer-row { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .agents-grid { grid-template-columns: 1fr; gap: 14px; }
  .agent-card { padding: 24px 20px; }
  .vfeatures-grid { grid-template-columns: 1fr; }
}
