/* ============================================
   BizHubby — Component Stylesheet
   Meta-inspired (see DESIGN.md)
   ============================================ */

/* ------------------------------------------------------------------
   Layout primitives
------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

@media (max-width: 767px) {
  :root { --container-gutter: 20px; }
}

/* ------------------------------------------------------------------
   Typography
------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.33;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-base);
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(0, 100, 224, 0.08);
  border: 1px solid rgba(0, 100, 224, 0.18);
}

.section-headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.17;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
  font-feature-settings: 'ss01', 'ss02';
  margin: 0 0 var(--space-base);
}

.section-headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--slate);
}

.section-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
  color: var(--charcoal);
  max-width: 60ch;
}

@media (max-width: 767px) {
  .section-headline { font-size: 36px; line-height: 1.16; }
  .section-sub { font-size: 16px; }
}

/* ------------------------------------------------------------------
   Buttons — pill, always (DESIGN.md rule)
------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: -0.14px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: 0;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

/* Marketing primary — black pill (DESIGN.md: button-primary) */
.btn--primary {
  background: var(--ink-button);
  color: var(--on-ink-button);
}
.btn--primary:hover { background: var(--charcoal); }
.btn--primary:active { transform: translateY(1px); }

/* Outlined secondary (DESIGN.md: button-secondary) */
.btn--secondary {
  background: transparent;
  color: var(--ink-deep);
  border: 2px solid var(--ink-deep);
  padding: 12px 26px;
}
.btn--secondary:hover { background: var(--ink-deep); color: var(--canvas); }

/* Quieter ghost (DESIGN.md: button-ghost) */
.btn--ghost {
  background: transparent;
  color: var(--ink-deep);
  border: 2px solid rgba(10, 19, 23, 0.12);
  padding: 10px 22px;
}
.btn--ghost:hover { border-color: var(--ink-deep); }

/* Cobalt — reserved for commerce-style CTAs (DESIGN.md: button-buy-cta) */
.btn--cobalt {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--cobalt:hover { background: var(--primary-deep); }
.btn--cobalt:active { transform: translateY(1px); }

/* Gradient — cobalt → purple, for "hero" CTAs (always visible at rest) */
.btn--gradient {
  background: linear-gradient(135deg, #0091ff 0%, #2c4ad8 35%, #6b25c4 70%, #a121ce 100%);
  color: #ffffff;
  box-shadow:
    0 12px 30px -8px rgba(0, 145, 255, 0.45),
    0 8px 22px -8px rgba(161, 33, 206, 0.5);
}
.btn--gradient:hover {
  background: linear-gradient(135deg, #00a4ff 0%, #3a5ce0 35%, #7a2dd4 70%, #b330d8 100%);
  box-shadow:
    0 16px 40px -8px rgba(0, 145, 255, 0.55),
    0 12px 30px -8px rgba(161, 33, 206, 0.6);
  transform: translateY(-1px);
}
.btn--gradient:active { transform: translateY(0); }

.btn--large {
  font-size: 16px;
  padding: 16px 32px;
}
.btn--secondary.btn--large { padding: 14px 30px; }
.btn--ghost.btn--large { padding: 14px 28px; }

/* ------------------------------------------------------------------
   Promo banner — full-width cobalt strip ABOVE nav (scarcity framing)
------------------------------------------------------------------- */
.promo-banner {
  background: linear-gradient(90deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-soft) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0.02em;
  padding: 10px var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.promo-banner__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success-bg);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(36, 228, 0, 0.6);
  animation: promo-pulse 2.4s ease-out infinite;
}
.promo-banner__link {
  color: var(--canvas);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}
@keyframes promo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(36, 228, 0, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(36, 228, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 228, 0, 0); }
}

/* ------------------------------------------------------------------
   Nav — scrolls with the page (non-sticky)
------------------------------------------------------------------- */
.nav {
  position: relative;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 14px var(--container-gutter);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-deep);
  text-decoration: none;
}
.nav__logo-img {
  width: 44px;
  height: 33px;
  display: block;
}
.footer__logo {
  width: 36px;
  height: 27px;
  color: var(--ink-deep);
  display: block;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-deep);
  font-feature-settings: 'ss01', 'ss02';
  position: relative;
  display: inline-block;
}
.nav__logo-text::after {
  content: '.';
  color: var(--primary);
  margin-left: 1px;
}

/* Footer brand — same treatment, smaller scale */
.footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-deep);
  font-feature-settings: 'ss01', 'ss02';
  position: relative;
  display: inline-block;
}
.footer__brand::after {
  content: '.';
  color: var(--primary);
  margin-left: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: -0.14px;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.nav__link:hover {
  background: var(--surface-soft);
  border-color: var(--hairline);
}

.nav__theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast);
  margin-left: var(--space-xs);
}
.nav__theme-toggle:hover { background: var(--surface-soft); }
.nav__theme-icon { width: 18px; height: 18px; }
.nav__theme-icon--moon { display: none; }
:root[data-theme='dark'] .nav__theme-icon--sun { display: none; }
:root[data-theme='dark'] .nav__theme-icon--moon { display: block; }

.nav__links .btn {
  margin-left: var(--space-xs);
  padding: 10px 22px;
}

.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--canvas);
}
.nav__hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink-deep);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__hamburger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: inline-flex; }
}

/* Mobile menu overlay */
.nav__mobile-overlay {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--canvas);
  padding: var(--space-section) var(--container-gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateY(-100%);
  transition: transform var(--t-slow);
  z-index: 40;
  visibility: hidden;
}
.nav__mobile-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-link {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink-deep);
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-feature-settings: 'ss01', 'ss02';
}

/* ------------------------------------------------------------------
   Hero — fills the viewport, content sits in lower half
------------------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 80px);
  padding: var(--space-xxxl) 0 var(--space-section);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-xxxl);
}

/* Decorative backdrop */
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 1;
}
.hero-orb--cobalt {
  width: 760px; height: 760px;
  top: -20%; left: -15%;
  background: radial-gradient(circle, rgba(0, 100, 224, 0.85), rgba(0, 100, 224, 0) 70%);
}
.hero-orb--purple {
  width: 680px; height: 680px;
  bottom: -18%; right: -12%;
  background: radial-gradient(circle, rgba(161, 33, 206, 0.75), rgba(161, 33, 206, 0) 70%);
}
.hero-orb--cyan {
  width: 480px; height: 480px;
  top: 55%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 145, 255, 0.4), rgba(0, 145, 255, 0) 70%);
  opacity: 0.75;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 25%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 25%, transparent 85%);
  opacity: 0.9;
}
/* Decorative dots — sparkle particles around the hero */
.hero__decor::before,
.hero__decor::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 12% 20%,  rgba(255,255,255,0.4) 50%, transparent),
    radial-gradient(circle 1px at 88% 14%,  rgba(0, 145, 255, 0.6) 50%, transparent),
    radial-gradient(circle 1.5px at 22% 78%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(circle 1px at 78% 82%,  rgba(161, 33, 206, 0.7) 50%, transparent),
    radial-gradient(circle 1px at 50% 18%,  rgba(0, 145, 255, 0.5) 50%, transparent),
    radial-gradient(circle 1.5px at 8% 50%, rgba(255,255,255,0.4) 50%, transparent),
    radial-gradient(circle 1px at 92% 50%,  rgba(255,255,255,0.35) 50%, transparent),
    radial-gradient(circle 1px at 35% 88%,  rgba(0, 145, 255, 0.5) 50%, transparent),
    radial-gradient(circle 1px at 62% 12%,  rgba(255,255,255,0.4) 50%, transparent);
  background-repeat: no-repeat;
  pointer-events: none;
}
/* Stronger horizon glow at the bottom of the hero */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 100, 224, 0.9) 30%, rgba(161, 33, 206, 0.9) 70%, transparent 100%);
  filter: blur(2px);
  z-index: 1;
}

/* Light mode adjustments — orbs softer, grid visible in light gray */
:root:not([data-theme='dark']) .hero-orb {
  opacity: 0.7;
}
:root:not([data-theme='dark']) .hero-orb--cobalt {
  background: radial-gradient(circle, rgba(0, 100, 224, 0.55), rgba(0, 100, 224, 0) 70%);
}
:root:not([data-theme='dark']) .hero-orb--purple {
  background: radial-gradient(circle, rgba(161, 33, 206, 0.45), rgba(161, 33, 206, 0) 70%);
}
:root:not([data-theme='dark']) .hero-orb--cyan {
  background: radial-gradient(circle, rgba(0, 145, 255, 0.3), rgba(0, 145, 255, 0) 70%);
}
:root:not([data-theme='dark']) .hero__grid {
  background-image:
    linear-gradient(rgba(0, 100, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 100, 224, 0.06) 1px, transparent 1px);
  opacity: 0.7;
}
:root:not([data-theme='dark']) .hero__decor::before,
:root:not([data-theme='dark']) .hero__decor::after {
  opacity: 0.5;
}

@media (max-height: 720px) {
  .hero { min-height: auto; padding: var(--space-section) 0; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: var(--space-section) 0; }
  .hero-orb--cobalt { width: 320px; height: 320px; }
  .hero-orb--purple { width: 320px; height: 320px; }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-section);
}
.hero__content {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(0, 100, 224, 0.2);
  background: rgba(0, 100, 224, 0.06);
  margin-bottom: var(--space-xl);
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(0, 100, 224, 0.4);
  animation: promo-pulse 2.4s ease-out infinite;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.06;
  color: var(--ink-deep);
  letter-spacing: -0.025em;
  font-feature-settings: 'ss01', 'ss02';
  margin-bottom: var(--space-xl);
}
.hero__headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--slate);
}
.hero__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: var(--space-xxl);
  max-width: 56ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Abstract waveform — pure decoration, no metaphor */
.hero__waveform {
  margin: var(--space-xxxl) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  max-width: 640px;
  height: 96px;
}
.hero__waveform span {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, #0091FF 0%, #6b25c4 50%, #A121CE 100%);
  transform: scaleY(0.2);
  transform-origin: center;
  animation: wave-pulse 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.08s);
  box-shadow: 0 0 14px rgba(0, 145, 255, 0.45);
}
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.18); opacity: 0.5; }
  50%      { transform: scaleY(1);    opacity: 1;   }
}

@media (max-width: 640px) {
  .hero__waveform { max-width: 360px; height: 72px; gap: 3px; }
  .hero__waveform span { width: 3px; }
}

/* Legacy bridge-flow rules (kept harmless, unused now) */
.bridge-flow {
  margin: var(--space-xxxl) auto 0;
  display: flex;
  align-items: center;
  gap: var(--space-base);
  max-width: 620px;
  width: 100%;
}
.bridge-flow__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
}
.bridge-flow__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.bridge-flow__side--right .bridge-flow__label { color: var(--steel); }

.bridge-flow__node {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 100, 224, 0.1);
  border: 1px solid rgba(0, 100, 224, 0.3);
  color: var(--primary);
  flex: none;
}
.bridge-flow__node svg { width: 24px; height: 24px; }
.bridge-flow__node--bookings {
  background: rgba(161, 33, 206, 0.1);
  border-color: rgba(161, 33, 206, 0.3);
  color: var(--oculus-purple);
}
.bridge-flow__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: bridge-pulse 2.4s ease-out infinite;
}
.bridge-flow__node--bookings .bridge-flow__pulse { animation-delay: 1.2s; }

/* BizHubby badge floating above the bridge midpoint */
.bridge-flow__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 4px 10px 4px 5px;
  box-shadow: 0 4px 14px rgba(0, 100, 224, 0.2);
  z-index: 2;
}
.bridge-flow__badge img {
  border-radius: 50%;
  display: block;
}
:root[data-theme='dark'] .bridge-flow__badge {
  background: rgba(13, 24, 39, 0.92);
  border-color: var(--hairline);
}
@keyframes bridge-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.bridge-flow__track {
  position: relative;
  flex: 1;
  height: 60px;
  display: flex;
  align-items: center;
}
.bridge-flow__bridge {
  width: 100%;
  height: 100%;
}

/* Particles flowing across the bridge */
.bridge-flow__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(0, 145, 255, 0.6);
  margin-top: -4px;
  opacity: 0;
  animation: bridge-particle 3.6s linear infinite;
}
.bridge-flow__dot--1 { animation-delay: 0s;   }
.bridge-flow__dot--2 { animation-delay: 0.7s; }
.bridge-flow__dot--3 { animation-delay: 1.4s; }
.bridge-flow__dot--4 { animation-delay: 2.1s; }
.bridge-flow__dot--5 { animation-delay: 2.8s; }
@keyframes bridge-particle {
  0%   { left: 0%;   opacity: 0; transform: translateY(20px) scale(0.6); }
  10%  { opacity: 1; transform: translateY(0) scale(1); }
  50%  { transform: translateY(-30px) scale(1.1); }
  90%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { left: 100%; opacity: 0; transform: translateY(20px) scale(0.6); }
}

/* Light mode tweaks */
:root:not([data-theme='dark']) .bridge-flow__node {
  background: rgba(0, 100, 224, 0.06);
}
:root:not([data-theme='dark']) .bridge-flow__node--right {
  background: rgba(161, 33, 206, 0.06);
}

@media (max-width: 640px) {
  .bridge-flow { max-width: 460px; }
  .bridge-flow__node { width: 48px; height: 48px; }
  .bridge-flow__node svg { width: 20px; height: 20px; }
  .bridge-flow__track { height: 52px; }
  .bridge-flow__badge { font-size: 10px; padding: 3px 8px 3px 4px; }
  .bridge-flow__badge img { width: 14px; height: 14px; }
}

/* Hero showcase — wide gradient panel with floating UI cards */
.hero__showcase {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 420px;
  margin: 0 auto;
  border-radius: var(--r-xxxl);
  overflow: hidden;
  background: linear-gradient(135deg, #04101a 0%, #0a2440 45%, #0457cb 100%);
  box-shadow: var(--shadow-promo);
}
.hero__showcase-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 145, 255, 0.5), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(161, 33, 206, 0.4), transparent 55%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero__orb--1 { width: 120px; height: 120px; top: 8%;  right: 8%; }
.hero__orb--2 { width: 64px;  height: 64px;  bottom: 14%; left: 10%; }
.hero__orb--3 { width: 40px;  height: 40px;  top: 60%;   right: 38%; }

/* Floating UI cards on the showcase */
.showcase-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl);
  padding: var(--space-base);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  color: var(--ink-deep);
}
.showcase-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--steel);
  margin-bottom: 6px;
}
.showcase-card__app-icon { width: 14px; height: 14px; color: var(--primary); }
.showcase-card__app-name { font-weight: 700; color: var(--ink-deep); font-size: 12px; }
.showcase-card__time { margin-left: auto; }

/* SMS card — top-left */
.showcase-card--sms {
  top: 14%;
  left: 6%;
  width: 280px;
  /* hero animation removed */
}
.showcase-card--sms .showcase-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 2px;
}
.showcase-card--sms .showcase-card__body {
  font-size: 13px;
  line-height: 1.4;
  color: var(--charcoal);
}

/* Stat card — bottom-left */
.showcase-card--stat {
  bottom: 12%;
  left: 14%;
  width: 220px;
}
.showcase-card--stat .showcase-card__stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 2px;
}
.showcase-card--stat .showcase-card__stat-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.showcase-card--stat .showcase-card__stat-delta {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(49, 162, 76, 0.12);
  padding: 2px 6px;
  border-radius: var(--r-sm);
}
.showcase-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}
.showcase-card__bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
}
.showcase-card__bars span:last-child { opacity: 1; box-shadow: 0 0 12px rgba(0, 100, 224, 0.6); }

/* Calendar card — right */
.showcase-card--cal {
  top: 18%;
  right: 6%;
  width: 280px;
}
.showcase-card--cal .showcase-card__cal-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 100, 224, 0.1);
  padding: 2px 8px;
  border-radius: var(--r-full);
  margin-left: auto;
}
.showcase-card__slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.cal-slot {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--charcoal);
}
.cal-slot__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
}
.cal-slot--new {
  color: var(--ink-deep);
  font-weight: 700;
}
.cal-slot--new .cal-slot__bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 100, 224, 0.4);
}
.cal-slot__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--r-sm);
}
@keyframes slot-fill {
  0%, 100% { opacity: 0.5; transform: scaleX(0.5); transform-origin: left; }
  50%      { opacity: 1;   transform: scaleX(1);   transform-origin: left; }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Hero 3-pillar value-prop strip (replaces platforms strip) */
.hero__pillars {
  margin-top: var(--space-section);
  padding: var(--space-xl) var(--container-gutter);
  max-width: var(--container-max);
  margin-inline: auto;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.hero-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-base);
  padding: 6px 4px;
  border-radius: var(--r-xl);
  color: inherit;
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero-pillar:hover {
  background: rgba(0, 100, 224, 0.04);
  transform: translateY(-2px);
}
.hero-pillar__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(0, 100, 224, 0.12), rgba(0, 145, 255, 0.04));
  border: 1px solid rgba(0, 100, 224, 0.2);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-pillar__icon svg { width: 22px; height: 22px; }
.hero-pillar__text { min-width: 0; }
.hero-pillar__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.hero-pillar__sub {
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel);
}

@media (max-width: 900px) {
  .hero__pillars { grid-template-columns: 1fr; gap: var(--space-md); }
}

:root[data-theme='dark'] .hero-pillar__icon {
  background: linear-gradient(135deg, rgba(44, 138, 255, 0.18), rgba(44, 138, 255, 0.04));
  border-color: rgba(44, 138, 255, 0.3);
  color: var(--primary-soft);
}
:root[data-theme='dark'] .hero-pillar:hover {
  background: rgba(44, 138, 255, 0.08);
}

/* Pillar #3 (AI Automation) gets a purple accent for variety */
.hero__pillars .hero-pillar:nth-child(3) .hero-pillar__icon {
  background: linear-gradient(135deg, rgba(161, 33, 206, 0.14), rgba(161, 33, 206, 0.04));
  border-color: rgba(161, 33, 206, 0.28);
  color: #a121ce;
}
:root[data-theme='dark'] .hero__pillars .hero-pillar:nth-child(3) .hero-pillar__icon {
  background: linear-gradient(135deg, rgba(189, 80, 232, 0.2), rgba(189, 80, 232, 0.04));
  border-color: rgba(189, 80, 232, 0.35);
  color: #d18bf2;
}

@media (max-width: 900px) {
  .hero { padding: var(--space-section) 0 var(--space-section); }
  .hero__headline { font-size: 44px; }
  .hero__showcase { height: 360px; }
  .showcase-card--sms { width: 240px; left: 4%; }
  .showcase-card--cal { width: 240px; right: 4%; }
  .showcase-card--stat { left: 8%; bottom: 8%; }
}
@media (max-width: 640px) {
  .hero__headline { font-size: 36px; }
  .hero__sub { font-size: 17px; }
  .hero__showcase { height: 460px; }
  .showcase-card--sms { top: 6%; left: 50%; transform: translateX(-50%); width: 86%; }
  .showcase-card--cal { top: auto; bottom: 38%; right: 50%; transform: translateX(50%); width: 86%; }
  .showcase-card--stat { display: none; }
}

/* ------------------------------------------------------------------
   Services — 4-up grid, photographic feature card chrome
------------------------------------------------------------------- */
.services { padding: var(--space-section-lg) 0; }
.services__header {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.services__header .section-label,
.services__header .section-headline,
.services__header .section-sub { margin-inline: auto; }
.services__header .section-sub { max-width: 56ch; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxxl);
  padding: var(--space-xxl);
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  min-height: 280px;
  overflow: hidden;
  gap: 0;
  box-shadow: 0 1px 0 rgba(0, 100, 224, 0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 100, 224, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 100, 224, 0.3), 0 4px 12px rgba(0, 100, 224, 0.08);
}

.service-card__number {
  position: absolute;
  top: var(--space-xxl);
  right: var(--space-xxl);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.service-card__icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(0, 100, 224, 0.1), rgba(0, 145, 255, 0.05));
  border: 1px solid rgba(0, 100, 224, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  color: var(--primary);
}
.service-card__icon-box svg { width: 28px; height: 28px; }

.service-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  margin-bottom: var(--space-md);
}
.service-card__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--charcoal);
}
.service-card__list {
  margin-top: var(--space-base);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--slate);
}
.service-card__list li {
  position: relative;
  padding-left: 18px;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.service-card__arrow {
  align-self: flex-start;
  margin-top: var(--space-xxl);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-deep);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  flex: none;
}
.service-card__arrow svg { width: 16px; height: 16px; }
.service-card:hover .service-card__arrow {
  background: var(--primary);
  color: var(--canvas);
  border-color: var(--primary);
  transform: rotate(-12deg);
}

/* Featured service — spans full row, cobalt gradient, fully centered */
.service-card--featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-base);
  border-color: transparent;
  color: #ffffff;
  min-height: 0;
  padding: var(--space-xxl) var(--space-xxxl);
  background-image:
    radial-gradient(circle at 92% 8%, rgba(0, 145, 255, 0.45), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(161, 33, 206, 0.28), transparent 55%),
    linear-gradient(135deg, #04101a 0%, #0a2440 55%, #0457cb 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 100, 224, 0.45);
}
.service-card--featured > * { position: relative; z-index: 1; }

/* Top row: icon + featured tag, centered together */
.service-card__featured-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-base);
  margin-bottom: var(--space-base);
  flex-wrap: wrap;
}
.service-card__number-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* Learn-more link — sits at the bottom, centered */
.service-card__featured-link {
  margin-top: var(--space-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 18px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.service-card__featured-link svg { width: 14px; height: 14px; }
.service-card--featured:hover .service-card__featured-link {
  background: #ffffff;
  color: #0a1317;
  transform: translateY(-1px);
}

.service-card--featured .service-card__icon-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
  margin-bottom: 0;
}
.service-card--featured .service-card__title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}
.service-card--featured .service-card__desc {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.5;
  max-width: 60ch;
  margin: 0 auto var(--space-xl);
}

/* Bullets in 3 columns × 2 rows, centered grid */
.service-card--featured .service-card__list {
  margin-top: 0;
  padding-top: var(--space-base);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md) var(--space-xl);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  text-align: left;
  width: 100%;
  max-width: 760px;
}
.service-card--featured .service-card__list li { padding-left: 20px; }
.service-card--featured .service-card__list li::before {
  background: var(--primary-soft);
  width: 7px; height: 7px;
  top: 7px;
  box-shadow: 0 0 10px rgba(0, 145, 255, 0.8);
}
.service-card--featured .service-card__arrow { display: none; }

@media (max-width: 1023px) {
  .service-card--featured { padding: var(--space-xxl); }
  .service-card--featured .service-card__title { font-size: 36px; }
  .service-card--featured .service-card__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: var(--space-xl); min-height: 0; }
  .service-card--featured .service-card__title { font-size: 30px; }
  .service-card--featured .service-card__list { grid-template-columns: 1fr; }
  .service-card__featured-link span:not(.sr-only) { display: none; }
  .service-card__featured-link { padding: 8px; }
}

/* ------------------------------------------------------------------
   AI Receptionist showpiece
------------------------------------------------------------------- */
.ai-feature {
  padding: var(--space-section) 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 100, 224, 0.08), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(161, 33, 206, 0.05), transparent 55%),
    var(--surface-soft);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  position: relative;
}
.ai-feature__header {
  max-width: 760px;
  margin: 0 auto var(--space-xxl);
  text-align: center;
}
.ai-feature__header .section-headline,
.ai-feature__header .section-sub { margin-inline: auto; }
.ai-feature__header .section-sub { max-width: 60ch; }

.ai-feature__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--space-base);
}
.ai-feature__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.6);
  animation: promo-pulse 2.4s ease-out infinite;
}

/* Showpiece: phone + try card */
.ai-feature__showpiece {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-section);
  align-items: stretch;
  margin-bottom: 0;
}
.ai-feature__try {
  justify-content: center;
}

/* Phone stage */
.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}
.phone-stage__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 100, 224, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 50px;
  padding: 14px;
  box-shadow: 0 45px 90px -20px rgba(0,0,0,0.4), 0 0 0 6px #0a1317;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 25px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a1317 0%, #1c1e21 100%);
  border-radius: 36px;
  overflow: hidden;
  color: #fff;
}
.phone__status {
  position: absolute;
  top: 14px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.phone__status-center { font-size: 11px; opacity: 0.85; }
.phone__status-signal svg { width: 16px; height: 11px; }

/* Phone views — faster loop with sequential bubble typing
   Cycle (9s):
     0–8%    : calling visible (brief intro)
     8–15%   : crossfade to transcript
     15–95%  : transcript visible; bubbles type in one at a time
     95–100% : crossfade back to calling */
.phone__view {
  position: absolute;
  inset: 0;
  padding: 56px 22px 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
}
.phone__view--calling {
  animation: phone-calling 9s ease-in-out infinite;
}
.phone__view--transcript {
  animation: phone-transcript 9s ease-in-out infinite;
}
@keyframes phone-calling {
  0%, 8%   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  15%      { opacity: 0; transform: translateY(-6px) scale(0.98); filter: blur(4px); }
  92%      { opacity: 0; transform: translateY(6px) scale(0.98); filter: blur(4px); }
  100%     { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes phone-transcript {
  0%, 8%   { opacity: 0; transform: translateY(6px) scale(0.98); filter: blur(4px); }
  15%      { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  92%      { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  100%     { opacity: 0; transform: translateY(-6px) scale(0.98); filter: blur(4px); }
}

/* Transcript bubbles — appear sequentially on same 9s loop */
.phone-line {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: phone-bubble-in 9s ease-out infinite;
}
.phone__transcript .phone-line:nth-child(1) { animation-delay: 1.6s; }
.phone__transcript .phone-line:nth-child(2) { animation-delay: 3.0s; }
.phone__transcript .phone-line:nth-child(3) { animation-delay: 4.4s; }
.phone__transcript .phone-line:nth-child(4) { animation-delay: 5.8s; }
@keyframes phone-bubble-in {
  0%       { opacity: 0; transform: translateY(8px) scale(0.96); }
  4%       { opacity: 0; transform: translateY(8px) scale(0.96); }
  10%      { opacity: 1; transform: translateY(0) scale(1); }
  88%      { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100%{ opacity: 0; transform: translateY(-4px) scale(0.97); }
}

.phone__caller {
  text-align: center;
  margin-top: 12px;
  margin-bottom: auto;
}
.phone__caller-name { font-size: 22px; font-weight: 500; }
.phone__caller-num { font-size: 14px; opacity: 0.6; margin-top: 4px; }
.phone__caller-status { font-size: 12px; opacity: 0.55; margin-top: 16px; letter-spacing: 0.06em; }

.phone__pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 18px;
  margin-top: auto;
}
.phone__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  opacity: 0.7;
}
.phone__btn svg {
  width: 22px; height: 22px;
  padding: 14px;
  box-sizing: content-box;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.phone__btn--active svg { background: rgba(255,255,255,0.85); color: #0a1317; }
.phone__btn--end svg { background: var(--critical-strong); color: #fff; }

/* Transcript view */
.phone__pulse-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0, 100, 224, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 12px;
  color: var(--primary-soft);
}
.phone__pulse-icon svg { width: 28px; height: 28px; }
.phone__pulse-rays line { animation: pulse-rays 1.6s ease-in-out infinite; }
@keyframes pulse-rays { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.phone__transcript-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 10px;
}
.phone__transcript-head svg { width: 12px; height: 12px; }

.phone__transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-line {
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.4;
}
.phone-line--user {
  background: rgba(255,255,255,0.08);
  align-self: flex-end;
  max-width: 78%;
}
.phone-line--ai {
  background: var(--primary);
  align-self: flex-start;
  max-width: 78%;
}
.phone-line__name {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.phone__continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 10px;
}
.phone__continue svg { width: 12px; height: 12px; }

.phone__home {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}

/* Try-it card */
.ai-feature__try { display: flex; flex-direction: column; gap: var(--space-base); }
.ai-feature__try-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  padding: var(--space-xxxl) var(--space-xxl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ai-feature__try-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-base);
}
.ai-feature__try-line {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin-bottom: var(--space-xl);
  font-feature-settings: 'ss01', 'ss02';
  max-width: 28ch;
}
.ai-feature__try-number {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--on-primary);
  padding: 16px 32px;
  border-radius: var(--r-full);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.16px;
  transition: background var(--t-fast), transform var(--t-fast);
  box-shadow: 0 12px 28px -10px rgba(0, 100, 224, 0.55);
}
.ai-feature__try-number:hover { background: var(--primary-deep); transform: translateY(-1px); }
.ai-feature__try-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--steel);
  margin-top: var(--space-base);
  max-width: 40ch;
}

.did-you-know {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
  padding: var(--space-xxl) var(--space-xl);
  overflow: hidden;
}
.did-you-know__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--space-md);
  text-align: center;
}
.did-you-know__head svg { width: 15px; height: 15px; }
.did-you-know__rotator {
  position: relative;
  height: 64px;
  overflow: hidden;
}
.did-you-know__line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0;
  animation: dyk-cycle 16s ease-in-out infinite;
}
.did-you-know__line strong {
  color: var(--primary);
  font-weight: 700;
  margin-right: 4px;
}
.did-you-know__line:nth-child(1) { animation-delay: 0s; }
.did-you-know__line:nth-child(2) { animation-delay: 4s; }
.did-you-know__line:nth-child(3) { animation-delay: 8s; }
.did-you-know__line:nth-child(4) { animation-delay: 12s; }
@keyframes dyk-cycle {
  0%, 22%   { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* Capability grid */
.ai-feature__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-base);
  margin-bottom: var(--space-section);
}
.ai-feature-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 100, 224, 0.15), transparent 60%),
    linear-gradient(180deg, #0a1830 0%, #050c14 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.ai-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 138, 255, 0.45);
  box-shadow: 0 20px 50px -20px rgba(0, 100, 224, 0.45);
}
.ai-feature-card__icon-box {
  width: 48px; height: 48px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(44, 138, 255, 0.2), rgba(44, 138, 255, 0.05));
  border: 1px solid rgba(44, 138, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-soft);
  margin-bottom: var(--space-base);
}
.ai-feature-card__icon-box svg { width: 22px; height: 22px; }
.ai-feature-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.ai-feature-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.ai-feature__cta { text-align: center; }

@media (max-width: 900px) {
  .ai-feature__showpiece { grid-template-columns: 1fr; gap: var(--space-xxxl); }
  .phone-stage { min-height: 520px; }
  .ai-feature__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ai-feature__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   AI Flow — "After the call" CRM automation panel
------------------------------------------------------------------- */
.ai-flow {
  padding: var(--space-section-lg) 0;
  position: relative;
  overflow: hidden;
}
.ai-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 100, 224, 0.07), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(161, 33, 206, 0.05), transparent 50%);
  pointer-events: none;
}
.ai-flow .container { position: relative; }

.ai-flow__head {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.ai-flow__head .section-label,
.ai-flow__head .section-headline,
.ai-flow__head .section-sub { margin-inline: auto; }
.ai-flow__head .section-sub { max-width: 62ch; }

/* ------------------------------------------------------------------
   AI Flow — 3-step horizontal flow (Phone → Calendar → CRM)
   10s loop is the master cycle. All elements keyed off shared timing.
------------------------------------------------------------------- */
.ai-flow__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-base);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
}

.flow-step__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.flow-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 8px 20px -8px rgba(0, 100, 224, 0.6);
}
.flow-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  line-height: 1.3;
}
.flow-step__sub {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.3;
}

.flow-step__mockup {
  flex: 1;
  display: flex;
  align-items: stretch;
}
.flow-step__mockup > * { width: 100%; }

/* Step 1 — Call card */
.call-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0 20px 40px -20px rgba(0, 100, 224, 0.15);
}
.call-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(49, 162, 76, 0.1);
  border: 1px solid rgba(49, 162, 76, 0.25);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 4px;
}
.call-card__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.call-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.call-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-deep);
}
.call-card__num {
  font-size: 13px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.call-card__duration {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
}
.call-card__duration-value {
  color: var(--ink-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: call-duration-tick 10s steps(1) infinite;
}
@keyframes call-duration-tick {
  0%   { content: '0:00'; }
  /* CSS can't animate text content directly; the value stays 2:14, the animation is decorative */
}
.call-card__intent {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-soft);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.call-card__intent-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.call-card__intent-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Arrows between steps */
.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 64px;
  height: 100%;
  position: relative;
}
.flow-arrow__line {
  position: relative;
  width: 48px;
  height: 2px;
  background: var(--hairline-soft);
  border-radius: 2px;
  overflow: hidden;
}
.flow-arrow__line::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: flow-arrow-pulse 10s linear infinite;
}
.flow-arrow--1 .flow-arrow__line::after { animation-delay: 1.5s; }
.flow-arrow--2 .flow-arrow__line::after { animation-delay: 5s; }
@keyframes flow-arrow-pulse {
  0%   { left: -30%; opacity: 0; }
  5%   { opacity: 1; }
  18%  { left: 100%; opacity: 1; }
  20%, 100% { left: 100%; opacity: 0; }
}
.flow-arrow__head {
  position: absolute;
  right: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(0, 100, 224, 0.6);
}
.flow-arrow__head svg { width: 12px; height: 12px; }

/* Step 2 — Calendar (reuses .mini-cal styles below) */
.flow-step__mockup--cal .mini-cal {
  width: 100%;
}

/* Step 3 — CRM card */
.crm-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  padding: var(--space-base);
  box-shadow: 0 20px 40px -20px rgba(0, 100, 224, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crm-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-soft);
}
.crm-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.crm-card__head-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.crm-card__head-id {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.crm-card__fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.crm-field {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(4px);
  animation: crm-field-in 10s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}
.crm-field--1 { animation-delay: 5.4s; }
.crm-field--2 { animation-delay: 5.9s; }
.crm-field--3 { animation-delay: 6.4s; }
.crm-field--4 { animation-delay: 6.9s; }
.crm-field--5 { animation-delay: 7.4s; }
@keyframes crm-field-in {
  0%, 50%  { opacity: 0; transform: translateY(4px); }
  60%      { opacity: 1; transform: translateY(0); }
  90%      { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(-4px); }
}

.crm-field__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.crm-field__value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-deep);
}
.crm-field__value--good { color: var(--success); }

.crm-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline-soft);
}
.crm-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(0, 100, 224, 0.1);
  color: var(--primary);
  opacity: 0;
  transform: translateY(4px);
  animation: crm-tag-in 10s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}
.crm-tag--1 { animation-delay: 7.9s; }
.crm-tag--2 { animation-delay: 8.2s; }
.crm-tag--3 { animation-delay: 8.5s; }
@keyframes crm-tag-in {
  0%, 78%  { opacity: 0; transform: translateY(4px); }
  86%      { opacity: 1; transform: translateY(0); }
  90%      { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(-4px); }
}

/* Hide the legacy split layout's bits we no longer use */
.ai-flow__split,
.ai-flow__connector,
.device-card,
.mini-phone,
.sms { /* keep CSS for fallback but the new HTML doesn't reference these */ }

/* Outer device card (per side) */
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-base);
}
.device-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.device-card__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.6);
  animation: promo-pulse 2.4s ease-out infinite;
}
.device-card__label-text { font-weight: 700; }
.device-card__time {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Mini-phone — narrower than the AI receptionist phone */
.mini-phone {
  position: relative;
  width: 280px;
  height: 460px;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35), 0 0 0 5px #0a1317;
}
.mini-phone__notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.mini-phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a1317 0%, #1c1e21 100%);
  border-radius: 34px;
  overflow: hidden;
  padding: 50px 16px 24px;
  color: #fff;
}
.mini-phone__home {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
}

/* SMS thread */
.sms { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.sms__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sms__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 100, 224, 0.4);
}
.sms__avatar svg { width: 16px; height: 16px; }
.sms__name { font-size: 13px; font-weight: 700; }
.sms__status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sms__pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: promo-pulse 2.4s ease-out infinite;
}

.sms__thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.sms__bubble {
  padding: 8px 12px;
  border-radius: 14px;
  max-width: 86%;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
}
.sms__bubble--in {
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.sms__bubble--in strong { color: var(--primary-soft); font-weight: 700; }
.sms__bubble--out {
  background: var(--primary);
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.sms__bubble--1 { animation: sms-pop 12s ease-out infinite 0.5s; }
.sms__bubble--2 { animation: sms-pop 12s ease-out infinite 1.8s; }
.sms__bubble--3 { animation: sms-pop 12s ease-out infinite 4.2s; }

@keyframes sms-pop {
  0%, 4%   { opacity: 0; transform: translateY(8px) scale(0.95); }
  10%      { opacity: 1; transform: translateY(0) scale(1); }
  90%      { opacity: 1; transform: translateY(0) scale(1); }
  100%     { opacity: 0; transform: translateY(8px) scale(0.95); }
}

/* Connector */
.ai-flow__connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ai-flow__connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary), var(--primary-soft));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.ai-flow__connector-line::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0.8;
  animation: connector-flow 2.4s linear infinite;
}
@keyframes connector-flow {
  0%   { left: -30%; }
  100% { left: 100%; }
}
.ai-flow__connector-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px var(--primary);
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
  animation: connector-pulse 2.4s linear infinite;
}
@keyframes connector-pulse {
  0%   { left: 0%; opacity: 1; }
  85%  { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.ai-flow__connector-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  position: absolute;
  top: calc(50% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--canvas);
  padding: 2px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--hairline-soft);
}

/* Mini calendar */
.mini-cal {
  width: 320px;
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  padding: var(--space-base);
  box-shadow: 0 30px 60px -20px rgba(0, 100, 224, 0.18);
}
.mini-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: var(--space-md);
}
.mini-cal__month {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-deep);
  font-feature-settings: 'ss01', 'ss02';
}
.mini-cal__day {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.mini-cal__count {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 100, 224, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.mini-cal__slots {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.mini-cal__slot {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}
.mini-cal__time {
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.mini-cal__event {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  padding: 6px 10px;
  border-radius: var(--r-md);
}
.mini-cal__empty {
  height: 26px;
  border-radius: var(--r-md);
  border: 1px dashed var(--hairline);
  opacity: 0.6;
}

/* The slot that books in (highlighted) */
.mini-cal__slot--booking .mini-cal__event--new {
  position: relative;
  background: linear-gradient(135deg, #1e8e3e, #137333);
  border-color: transparent;
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  transform: scale(0.92);
  transform-origin: left center;
  box-shadow: 0 12px 30px -10px rgba(30, 142, 62, 0.55);
  animation: cal-event-in 10s ease-out infinite 3s;
}
.mini-cal__event-title { font-size: 13px; font-weight: 700; }
.mini-cal__event-sub { font-size: 11px; opacity: 0.85; }
.mini-cal__event-tag {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 7px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
}
@keyframes cal-event-in {
  0%, 25%  { opacity: 0; transform: scale(0.92); }
  32%      { opacity: 1; transform: scale(1.06); }
  38%, 92% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(0.92); }
}
.mini-cal__slot--booking .mini-cal__time {
  color: #1e8e3e;
  animation: cal-time-active 10s ease-out infinite 3s;
}
@keyframes cal-time-active {
  0%, 28%   { color: var(--steel); }
  32%, 100% { color: #1e8e3e; }
}

/* Hide old workflow panel CSS by neutralising the old class scope */
.ai-flow__panel-foot {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 14px;
  color: var(--steel);
}
.ai-flow__panel-foot strong { color: var(--primary); font-weight: 700; }

/* Responsive */
@media (max-width: 1023px) {
  .ai-flow__steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 420px;
  }
  .flow-arrow {
    width: 100%;
    height: 48px;
  }
  .flow-arrow__line {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--hairline-soft), var(--primary), var(--hairline-soft));
  }
  .flow-arrow__line::after {
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: flow-arrow-pulse-v 10s linear infinite;
    left: 0;
  }
  .flow-arrow--1 .flow-arrow__line::after { animation-delay: 1.5s; }
  .flow-arrow--2 .flow-arrow__line::after { animation-delay: 5s; }
  @keyframes flow-arrow-pulse-v {
    0%   { top: -30%; opacity: 0; }
    5%   { opacity: 1; }
    18%  { top: 100%; opacity: 1; }
    20%, 100% { top: 100%; opacity: 0; }
  }
  .flow-arrow__head {
    position: absolute;
    bottom: 0; right: auto;
    transform: rotate(90deg);
  }
}

/* Dark mode tweaks */
:root[data-theme='dark'] .call-card,
:root[data-theme='dark'] .crm-card {
  background: rgba(13, 24, 39, 0.6);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(10px);
}
:root[data-theme='dark'] .mini-cal {
  background: rgba(13, 24, 39, 0.6);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(10px);
}
:root[data-theme='dark'] .mini-cal__event {
  background: rgba(5, 12, 20, 0.6);
  border-color: var(--hairline-soft);
}
:root[data-theme='dark'] .crm-tag {
  background: rgba(44, 138, 255, 0.15);
  color: var(--primary-soft);
}

/* ---- Below: legacy workflow-panel rules (no longer used in HTML but kept harmless) ---- */
.ai-flow__panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxxl);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 100, 224, 0.22), 0 2px 6px rgba(20, 22, 26, 0.05);
}

/* Window chrome */
.ai-flow__window {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  padding: var(--space-base) var(--space-xl);
  background: var(--surface-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.ai-flow__dots { display: flex; gap: 6px; flex: none; }
.ai-flow__dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--hairline);
}
.ai-flow__dots span:nth-child(1) { background: #ff5f57; }
.ai-flow__dots span:nth-child(2) { background: #febc2e; }
.ai-flow__dots span:nth-child(3) { background: #28c840; }

.ai-flow__window-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-left: auto;
}
.ai-flow__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.6);
  animation: promo-pulse 2.4s ease-out infinite;
}
.ai-flow__timer {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ai-flow__timer-value { color: var(--primary); }

/* Progress bar */
.ai-flow__progress {
  height: 3px;
  background: var(--hairline-soft);
  position: relative;
}
.ai-flow__progress-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary));
  animation: flow-progress 14s linear infinite;
}
@keyframes flow-progress {
  0%   { inset: 0 100% 0 0; }
  6%   { inset: 0 100% 0 0; }                 /* sit before step 1 lands */
  16%  { inset: 0 75% 0 0; }                  /* step 1 complete */
  35%  { inset: 0 50% 0 0; }                  /* step 2 complete */
  54%  { inset: 0 25% 0 0; }                  /* step 3 complete */
  72%  { inset: 0 0%  0 0; }                  /* step 4 complete */
  90%  { inset: 0 0%  0 0; }
  100% { inset: 0 100% 0 0; }
}

/* Events list */
.ai-flow__events {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  padding: var(--space-xxl) var(--space-xxl);
  margin: 0;
}
/* Vertical rail behind the step circles */
.ai-flow__events::before {
  content: '';
  position: absolute;
  top: var(--space-xxl);
  bottom: var(--space-xxl);
  left: calc(var(--space-xxl) + 17px);
  width: 2px;
  background: var(--hairline-soft);
}
/* Cobalt portion of the rail that fills as steps complete */
.ai-flow__events::after {
  content: '';
  position: absolute;
  top: var(--space-xxl);
  left: calc(var(--space-xxl) + 17px);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-soft));
  animation: flow-rail 14s ease-out infinite;
}
@keyframes flow-rail {
  0%, 6%   { height: 0; }
  16%      { height: 16%; }
  35%      { height: 42%; }
  54%      { height: 68%; }
  72%, 90% { height: calc(100% - 0px); }
  100%     { height: 0; }
}

.flow-event {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-base);
  align-items: stretch;
}

/* Step circle (left rail anchor) */
.flow-event__step {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 14px;
  z-index: 1;
  transition: background var(--t-fast), border-color var(--t-fast);
  animation: flow-step-active 14s ease-out infinite;
}
.flow-event__step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel);
  transition: opacity var(--t-fast);
  animation: flow-step-num-fade 14s ease-out infinite;
}
.flow-event__step-check {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  animation: flow-step-check 14s ease-out infinite;
}
.flow-event__step-check svg { width: 16px; height: 16px; }

/* Staggered animation delays */
.flow-event--1 .flow-event__step,
.flow-event--1 .flow-event__step-num,
.flow-event--1 .flow-event__step-check { animation-delay: 0.0s; }
.flow-event--2 .flow-event__step,
.flow-event--2 .flow-event__step-num,
.flow-event--2 .flow-event__step-check { animation-delay: 2.6s; }
.flow-event--3 .flow-event__step,
.flow-event--3 .flow-event__step-num,
.flow-event--3 .flow-event__step-check { animation-delay: 5.2s; }
.flow-event--4 .flow-event__step,
.flow-event--4 .flow-event__step-num,
.flow-event--4 .flow-event__step-check { animation-delay: 7.8s; }

@keyframes flow-step-active {
  0%, 6%   { background: var(--canvas); border-color: var(--hairline); box-shadow: none; }
  10%      { background: var(--canvas); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 100, 224, 0.15); }
  14%, 100% { background: var(--canvas); border-color: var(--primary); box-shadow: none; }
}
@keyframes flow-step-num-fade {
  0%, 8%   { opacity: 1; }
  14%, 100% { opacity: 0; }
}
@keyframes flow-step-check {
  0%, 10%  { opacity: 0; transform: scale(0.6); }
  16%      { opacity: 1; transform: scale(1.18); }
  20%, 100%{ opacity: 1; transform: scale(1); }
}

/* Event card */
.flow-event__card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--space-base);
  align-items: center;
  padding: var(--space-base);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
  opacity: 0;
  transform: translateX(-6px);
  animation: flow-card-in 14s ease-out infinite;
}
.flow-event--1 .flow-event__card { animation-delay: 0.2s; }
.flow-event--2 .flow-event__card { animation-delay: 2.8s; }
.flow-event--3 .flow-event__card { animation-delay: 5.4s; }
.flow-event--4 .flow-event__card { animation-delay: 8.0s; }
@keyframes flow-card-in {
  0%, 4%   { opacity: 0; transform: translateX(-6px); }
  10%      { opacity: 1; transform: translateX(0); }
  90%      { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(-6px); }
}

.flow-event__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}
.flow-event__icon svg { width: 20px; height: 20px; }
.flow-event__icon--cobalt { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.flow-event__icon--green  { background: linear-gradient(135deg, #31a24c, #1e6b30); }
.flow-event__icon--purple { background: linear-gradient(135deg, #a121ce, #6b1486); }
.flow-event__icon--slate  { background: linear-gradient(135deg, #5d6c7b, #3a4655); }

.flow-event__body { min-width: 0; }
.flow-event__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-deep);
  line-height: 1.35;
  margin-bottom: 2px;
}
.flow-event__sub {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flow-event__time {
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Footer line — centered */
.ai-flow__panel-foot {
  text-align: center;
  padding: var(--space-base) var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--hairline-soft);
  font-size: 14px;
  color: var(--steel);
}
.ai-flow__panel-foot strong { color: var(--primary); font-weight: 700; }

/* Dark-mode tweaks for flow panel */
:root[data-theme='dark'] .ai-flow__panel {
  background: rgba(13, 24, 39, 0.7);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(44, 138, 255, 0.4);
}
:root[data-theme='dark'] .ai-flow__window {
  background: rgba(5, 12, 20, 0.6);
  border-bottom-color: var(--hairline-soft);
}
:root[data-theme='dark'] .flow-event__card {
  background: rgba(5, 12, 20, 0.6);
  border-color: var(--hairline-soft);
}
:root[data-theme='dark'] .flow-event__step {
  background: rgba(5, 12, 20, 0.6);
}

@media (max-width: 640px) {
  .ai-flow__events { padding: var(--space-xl) var(--space-base); }
  .ai-flow__events::before,
  .ai-flow__events::after {
    left: calc(var(--space-base) + 17px);
    top: var(--space-xl);
    bottom: var(--space-xl);
  }
  .flow-event__card { grid-template-columns: 36px 1fr; padding: var(--space-md); }
  .flow-event__time { display: none; }
  .flow-event__sub { white-space: normal; }
  .ai-flow__window { padding: 10px var(--space-base); }
  .ai-flow__window-title { font-size: 12px; }
  .ai-flow__timer { display: none; }
}

/* ------------------------------------------------------------------
   Numbers — 3 before→after stat cards (replaced dense table)
------------------------------------------------------------------- */
.numbers { padding: var(--space-section-lg) 0; }
.numbers__head {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.numbers__head .section-label,
.numbers__head .section-headline,
.numbers__head .section-sub { margin-inline: auto; }
.numbers__head .section-sub { max-width: 58ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-section);
}

.stat {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  padding: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 100, 224, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 100, 224, 0.35);
}

.stat__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'ss01', 'ss02';
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.stat__value-unit {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0;
}
.stat__delta {
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stat__delta::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(49, 162, 76, 0.5);
}

.stat__viz {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-base);
  padding-top: var(--space-base);
  border-top: 1px solid var(--hairline-soft);
}
.stat-bar { display: flex; flex-direction: column; gap: 4px; }
.stat-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.stat-bar__num { font-size: 13px; letter-spacing: 0; }
.stat-bar__num--bad  { color: var(--critical); }
.stat-bar__num--good { color: var(--primary); }
.stat-bar__track {
  position: relative;
  height: 8px;
  background: var(--surface-soft);
  border-radius: var(--r-full);
  overflow: hidden;
}
.stat-bar__fill {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: var(--w, 0%);
  border-radius: var(--r-full);
}
.stat-bar__fill--bad {
  background: linear-gradient(90deg, #f0284a, #c81836);
}
.stat-bar__fill--good {
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  box-shadow: 0 0 12px rgba(0, 100, 224, 0.4);
}

.numbers__footnote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.numbers__footnote-line {
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.numbers__footnote-line strong { color: var(--ink-deep); font-weight: 700; }
.numbers__footnote-line em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.numbers__note {
  font-size: 12px;
  color: var(--steel);
}

/* Dark mode */
:root[data-theme='dark'] .stat {
  background: rgba(13, 24, 39, 0.5);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(8px);
}
:root[data-theme='dark'] .stat:hover {
  border-color: rgba(44, 138, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(44, 138, 255, 0.5);
}
:root[data-theme='dark'] .stat__value { color: var(--primary-soft); }
:root[data-theme='dark'] .stat__value-unit { color: var(--primary-soft); }
:root[data-theme='dark'] .stat-bar__num--bad  { color: #ff6b85; }
:root[data-theme='dark'] .stat-bar__num--good { color: var(--primary-soft); }
:root[data-theme='dark'] .stat-bar__track { background: rgba(255, 255, 255, 0.06); }
:root[data-theme='dark'] .stat-bar__fill--bad {
  background: linear-gradient(90deg, #ff6b85, #d9374f);
}

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; }
  .stat__col-value { font-size: 30px; }
}

/* ------------------------------------------------------------------
   Channels — where leads come from (Google / Meta / Maps mockups)
------------------------------------------------------------------- */
.channels { padding: var(--space-section-lg) 0; position: relative; }
.channels__head {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.channels__head .section-label,
.channels__head .section-headline,
.channels__head .section-sub { margin-inline: auto; }
.channels__head .section-sub { max-width: 60ch; }

.channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.channel-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 100, 224, 0.3);
  box-shadow: 0 30px 60px -30px rgba(0, 100, 224, 0.35);
}

/* Browser-style chrome at the top of each card */
.channel-card__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  padding: 10px var(--space-base);
  background: #f1f3f4;
  border-bottom: 1px solid #e0e0e0;
}
.channel-card__dots { display: flex; gap: 5px; flex: none; }
.channel-card__dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #d0d0d0;
}
.channel-card__dots span:nth-child(1) { background: #ff5f57; }
.channel-card__dots span:nth-child(2) { background: #febc2e; }
.channel-card__dots span:nth-child(3) { background: #28c840; }

.channel-card__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3c4043;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  padding: 6px 14px;
  flex: 1;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.channel-card__address svg { width: 14px; height: 14px; flex: none; }
.channel-card__google-mic {
  width: 16px !important;
  height: 16px !important;
  margin-left: auto;
}

/* Instagram chrome variant — clean white IG header with camera-icon logo */
.channel-card__chrome--ig {
  background: #ffffff;
  border-bottom: 1px solid #efefef;
  padding: 10px var(--space-base);
}
.channel-card__ig-bar {
  display: flex;
  align-items: center;
  width: 100%;
}
.channel-card__ig-logo {
  width: 26px;
  height: 26px;
}
.channel-card__ig-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.channel-card__ig-icons svg {
  width: 20px; height: 20px;
}

/* Card body */
.channel-card__body {
  padding: var(--space-base);
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-feature-settings: normal;
  -webkit-font-smoothing: auto;
}

/* ---- Google search ad — authentic Google styling ---- */
.channel-card--google .channel-card__body {
  padding: var(--space-base);
  font-family: arial, sans-serif;
  justify-content: center;
}
.gsr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: arial, sans-serif;
}
.gsr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.gsr__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e8eaed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 4px;
}
.gsr__icon svg { width: 100%; height: 100%; }
.gsr__site {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  line-height: 1.2;
}
.gsr__tag {
  font-size: 11px;
  font-weight: 700;
  color: #202124;
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.gsr__url {
  font-size: 12px;
  color: #4d5156;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}
.gsr__title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a0dab;
  margin-top: 6px;
  letter-spacing: 0;
}
.channel-card--google:hover .gsr__title { text-decoration: underline; text-decoration-color: #1a0dab; }
.gsr__desc {
  font-size: 13px;
  line-height: 1.45;
  color: #4d5156;
}
.gsr__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: #4d5156;
}
.gsr__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fbbc04;
  font-weight: 600;
}
.gsr__rating svg { width: 13px; height: 13px; }
.gsr__reviews { color: #4d5156; }
.gsr__call {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #1a73e8;
  font-weight: 500;
  font-size: 13px;
}
.gsr__call svg { width: 13px; height: 13px; }

/* Sitelinks — the 4 mini-links below a Google ad */
.gsr__sitelinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8eaed;
}
.gsr__sitelink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
}
.gsr__sitelink-sub {
  color: #4d5156;
  font-size: 12px;
  font-weight: 400;
}
.channel-card--google:hover .gsr__sitelink span:first-child { text-decoration: underline; }

/* "People also search for" chips */
.gsr__related {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e8eaed;
}
.gsr__related-label {
  font-size: 13px;
  color: #202124;
  margin-bottom: 8px;
  font-weight: 500;
}
.gsr__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gsr__chip {
  font-size: 12px;
  color: #202124;
  background: #f1f3f4;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  padding: 6px 12px;
  white-space: nowrap;
}

/* ---- Instagram post — authentic IG styling ---- */
.channel-card__body--ig { padding: 0; background: #ffffff; }
.ig-post {
  font-size: 13px;
  color: #262626;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ig-post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--space-base);
}
.ig-post__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #FED373 0%, #F15245 35%, #D92E7F 65%, #9B36B7 100%);
  padding: 2px;
  position: relative;
}
.ig-post__avatar::after {
  content: 'M';
  position: absolute;
  inset: 2px;
  background: #ffffff;
  color: #262626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.ig-post__user { flex: 1; min-width: 0; }
.ig-post__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #262626;
}
.ig-post__sponsored { font-weight: 400; color: #262626; }
.ig-post__sub {
  font-size: 11px;
  color: #8e8e8e;
  line-height: 1.2;
}
.ig-post__more {
  font-size: 20px;
  color: #262626;
  letter-spacing: 1px;
  font-weight: 700;
}
.ig-post__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%),
    linear-gradient(135deg, #0064e0 0%, #0457cb 45%, #a121ce 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  padding: 16px;
  text-align: center;
}
.ig-post__overlay-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-feature-settings: 'ss01', 'ss02';
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.ig-post__overlay-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
}
.ig-post__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--space-base) 4px;
  color: #262626;
}
.ig-post__actions svg { width: 22px; height: 22px; }
.ig-post__likes {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
  padding: 4px var(--space-base) 2px;
}
.ig-post__caption {
  font-size: 13px;
  line-height: 1.4;
  color: #262626;
  padding: 2px var(--space-base) 0;
}
.ig-post__caption strong { font-weight: 600; }
.ig-post__comments {
  font-size: 13px;
  color: #8e8e8e;
  padding: 6px var(--space-base) 0;
}
.ig-post__timestamp {
  font-size: 11px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 4px var(--space-base) 0;
}
.ig-post__cta {
  display: flex;
  margin: 14px var(--space-base) var(--space-base);
  background: #0095f6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  width: calc(100% - var(--space-base) * 2);
}
.ig-post__cta svg { width: 16px; height: 16px; }

/* ---- Google Maps listing — mobile app view ---- */
.channel-card__chrome--maps {
  background: #ffffff;
  border-bottom: 1px solid #e8eaed;
  padding: 10px var(--space-base);
  gap: 10px;
  font-family: arial, sans-serif;
}
.maps-searchbar__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: transparent;
  flex: none;
}
.maps-searchbar__menu svg { width: 18px; height: 18px; }
.maps-searchbar__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: var(--r-full);
  padding: 6px 10px 6px 12px;
  font-size: 13px;
  color: #3c4043;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.maps-searchbar__pill > span {
  flex: 1;
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.maps-searchbar__pin { width: 16px; height: 16px; flex: none; }
.maps-searchbar__mic { width: 16px; height: 16px; flex: none; }

.channel-card__body--maps {
  padding: 0;
  position: relative;
  background: #ffffff;
  font-family: arial, sans-serif;
}
.maps-bg {
  position: relative;
  aspect-ratio: 5 / 3;
  background: #e8eaed;
  overflow: hidden;
  flex: 1;
  min-height: 180px;
}
/* Authentic Google Maps style: pale gray-beige land, mint-green park patches */
.maps-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, #c8e6c9 0%, transparent 22%),
    radial-gradient(circle at 78% 22%, #c8e6c9 0%, transparent 18%),
    radial-gradient(ellipse at 70% 75%, #aedff1 0%, transparent 15%),
    #f0e8d6;
}
.maps-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}
.maps-road {
  position: absolute;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
/* White major roads */
.maps-road--1 { left: -5%; right: -5%; top: 38%; height: 12px; transform: rotate(-3deg); }
.maps-road--2 { top: -5%; bottom: -5%; left: 36%; width: 9px; transform: rotate(2deg); }
/* Yellow highway */
.maps-road--3 {
  left: -5%; right: -5%; top: 72%; height: 10px;
  background: #fde293;
  box-shadow: 0 0 0 1px #f0c64a;
  transform: rotate(1deg);
}

.maps-pin {
  position: absolute;
  top: 36%; left: 44%;
  transform: translate(-50%, -100%);
  color: #ea4335;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  z-index: 2;
}
.maps-pin svg { width: 34px; height: 34px; }
.maps-pin::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 5px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(2px);
}

/* "Your location" blue dot */
.maps-userdot {
  position: absolute;
  top: 62%; left: 30%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #4285f4;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 8px rgba(66, 133, 244, 0.18);
  z-index: 2;
}

.maps-card {
  padding: var(--space-base);
  background: #ffffff;
  font-family: arial, sans-serif;
}
.maps-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.maps-card__name {
  font-size: 18px;
  font-weight: 500;
  color: #202124;
  letter-spacing: 0;
}
.maps-card__status {
  font-size: 11px;
  font-weight: 600;
  color: #1e8e3e;
  background: rgba(30, 142, 62, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-full);
  flex: none;
}
.maps-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 4px;
}
.maps-card__rating strong { color: #202124; font-weight: 500; }
.maps-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-right: 2px;
}
.maps-card__stars svg { width: 12px; height: 12px; color: #fbbc04; }
.maps-card__rating-meta { color: #5f6368; }
.maps-card__category {
  font-size: 12px;
  color: #5f6368;
  margin-bottom: 8px;
}
.maps-card__desc {
  font-size: 12.5px;
  color: #3c4043;
  line-height: 1.45;
  margin-bottom: 12px;
}

/* Tabs row */
.maps-tabs {
  display: flex;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e8eaed;
  overflow: hidden;
}
.maps-tab {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #5f6368;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}
.maps-tab--active {
  color: #1a73e8;
}
.maps-tab--active::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0; right: 0;
  height: 2px;
  background: #1a73e8;
}

/* Action row — icons over labels */
.maps-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.maps-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.maps-action svg { width: 22px; height: 22px; }
.maps-action span {
  font-size: 10px;
  font-weight: 500;
  color: #5f6368;
  letter-spacing: 0.02em;
}

/* Hours / Phone / Website rows below actions */
.maps-meta-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid #e8eaed;
}
.maps-meta-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #3c4043;
  line-height: 1.3;
}
.maps-meta-rows li svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.maps-meta-rows__strong {
  font-weight: 500;
  color: #202124;
}
.maps-meta-rows__sub {
  color: #5f6368;
}
.maps-meta-rows__link {
  color: #1a73e8;
  font-weight: 500;
}

/* Card label below */
.channel-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px var(--space-base);
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-deep);
  border-top: 1px solid var(--hairline-soft);
  background: var(--canvas);
  text-align: center;
}
.channel-card__logo {
  width: 18px;
  height: 18px;
  flex: none;
}
.channel-card__logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.channel-card__logo--meta-mark {
  width: 30px;
  height: 15px;
}
.channel-card__logo--ig {
  width: 18px;
  height: 18px;
}

/* CTA strip */
.channels__cta {
  margin-top: var(--space-section);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-base);
}
.channels__cta-note {
  font-size: 14px;
  color: var(--steel);
  max-width: 50ch;
}

@media (max-width: 1023px) {
  .channels__grid { grid-template-columns: 1fr; gap: var(--space-lg); max-width: 480px; margin: 0 auto; }
}

/* Channels — platform mockups stay authentic in BOTH themes.
   We don't override their internal colors in dark mode; the card label
   gets a thin theme-adapted border so it sits cleanly. */
:root[data-theme='dark'] .channel-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
:root[data-theme='dark'] .channel-card__label {
  background: rgba(5, 12, 20, 0.6);
  border-top-color: var(--hairline-soft);
  color: var(--ink-deep);
}

/* ------------------------------------------------------------------
   How we work — 4-step process timeline (kept as orphan styles in case reused)
------------------------------------------------------------------- */
.process { padding: var(--space-section-lg) 0; }
.process__head {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.process__head .section-label,
.process__head .section-headline,
.process__head .section-sub { margin-inline: auto; }
.process__head .section-sub { max-width: 60ch; }

.process__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) var(--space-xxl);
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxl);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.process-step:hover {
  border-color: rgba(0, 100, 224, 0.3);
  transform: translateX(6px);
  box-shadow: 0 20px 40px -25px rgba(0, 100, 224, 0.3);
}

/* Connecting line between steps */
.process-step::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 100%;
  width: 2px;
  height: var(--space-base);
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0.4;
}
.process-step:last-child::before { display: none; }

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex: none;
  box-shadow: 0 10px 25px -10px rgba(0, 100, 224, 0.6);
}

.process-step__body { min-width: 0; }
.process-step__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  margin-bottom: 2px;
  font-feature-settings: 'ss01', 'ss02';
}
.process-step__time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.process-step__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
}

.process-step__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.process-step__icon svg { width: 24px; height: 24px; }

.process__cta {
  text-align: center;
  margin-top: var(--space-xxxl);
}

@media (max-width: 767px) {
  .process-step {
    grid-template-columns: auto 1fr;
    padding: var(--space-base) var(--space-xl);
    gap: var(--space-base);
  }
  .process-step__num { width: 44px; height: 44px; font-size: 16px; }
  .process-step__icon { display: none; }
  .process-step::before { left: 38px; }
}

/* Dark-mode tweaks for process */
:root[data-theme='dark'] .process-step {
  background: rgba(13, 24, 39, 0.5);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(8px);
}
:root[data-theme='dark'] .process-step:hover {
  border-color: rgba(44, 138, 255, 0.4);
  box-shadow: 0 20px 40px -25px rgba(44, 138, 255, 0.5);
}
:root[data-theme='dark'] .process-step__icon {
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary-soft);
}

/* ------------------------------------------------------------------
   Why — 3-up reassurance tiles
------------------------------------------------------------------- */
.why { padding: var(--space-section-lg) 0; }
.why__head {
  max-width: 760px;
  margin: 0 auto var(--space-section);
  text-align: center;
}
.why__head .section-label,
.why__head .section-headline { margin-inline: auto; }
.why__head .section-headline { margin-bottom: 0; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.why-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
  padding: var(--space-xxl) var(--space-xl);
}
.why-card__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--primary), #8c2dd1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-base);
}
.why-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  margin-bottom: var(--space-md);
  font-feature-settings: 'ss01', 'ss02';
}
.why-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Contact form — Meta input chrome with decorative cobalt backdrop
------------------------------------------------------------------- */
.contact {
  position: relative;
  padding: var(--space-section-lg) 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline-soft);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 25%, rgba(0, 100, 224, 0.16), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(161, 33, 206, 0.08), transparent 55%);
  z-index: 0;
}
.contact .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-section);
  align-items: start;
}
.contact__info { padding-top: var(--space-base); }
.contact__headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-deep);
  margin-bottom: var(--space-base);
  font-feature-settings: 'ss01', 'ss02';
}
.contact__headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--primary);
}
.contact__desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: var(--space-xxl);
  max-width: 50ch;
}

.contact__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  margin-bottom: var(--space-xxl);
  padding-left: 0;
}
.contact__steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-base);
  align-items: start;
}
.contact__step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(0, 100, 224, 0.6);
  flex: none;
}
.contact__step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: 2px;
}
.contact__step-desc {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--space-base);
  border-top: 1px solid var(--hairline-soft);
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.contact__detail svg { width: 18px; height: 18px; color: var(--primary); }
.contact__detail a:hover { color: var(--primary); }

.form {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxxl);
  padding: var(--space-xxxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  box-shadow: 0 40px 80px -30px rgba(0, 100, 224, 0.18), 0 1px 3px rgba(20, 22, 26, 0.05);
  position: relative;
}
.form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 100, 224, 0.4), rgba(0, 145, 255, 0.05) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.14px;
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  display: block;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 12px var(--space-base);
  font-size: 16px;
  line-height: 1.5;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form__input { height: 48px; }
.form__select {
  height: 48px;
  padding: 0 48px 0 16px;
  line-height: 46px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6c7b' stroke-width='2' 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;
  background-size: 16px;
}
.form__select option { font-size: 15px; padding: 8px; }
.form__textarea { min-height: 110px; resize: vertical; }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--stone); }

.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 100, 224, 0.18);
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: var(--space-xxxl); }
  .contact__headline { font-size: 36px; }
  .form { padding: var(--space-xl); }
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
  padding: var(--space-section) 0 var(--space-xxxl);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.footer__left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-deep);
}
.footer__left img { border-radius: var(--r-sm); }
.footer__center {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--ink-deep); }
.footer__right { display: flex; gap: var(--space-md); }
.footer__social {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.footer__social:hover { background: var(--ink-deep); color: var(--canvas); border-color: var(--ink-deep); }
.footer__social svg { width: 18px; height: 18px; }

/* Magnetic CTA wrapper kept for layout parity */
.magnetic { display: inline-block; }

/* ==================================================================
   DARK MODE — component overrides
   Deep-navy canvas, cobalt-tinted surfaces, glow on focal points
================================================================== */
:root[data-theme='dark'] body {
  background:
    radial-gradient(circle at 0% 0%, rgba(44, 138, 255, 0.08), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(161, 33, 206, 0.06), transparent 50%),
    var(--canvas);
}

/* Promo banner — cobalt gradient already works on both modes */
:root[data-theme='dark'] .promo-banner {
  background: linear-gradient(90deg, var(--primary-deep) 0%, var(--primary) 50%, var(--primary-soft) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
:root[data-theme='dark'] .promo-banner__dot { background: #24e400; }
:root[data-theme='dark'] .promo-banner__link { color: #ffffff; }

/* Nav */
:root[data-theme='dark'] .nav {
  background: rgba(5, 12, 20, 0.85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--hairline-soft);
}
:root[data-theme='dark'] .nav__link:hover {
  background: rgba(44, 138, 255, 0.08);
  border-color: rgba(44, 138, 255, 0.3);
  color: var(--primary-soft);
}
:root[data-theme='dark'] .nav__theme-toggle,
:root[data-theme='dark'] .nav__hamburger {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline);
}
:root[data-theme='dark'] .nav__theme-toggle:hover {
  background: rgba(44, 138, 255, 0.1);
  border-color: var(--primary);
}

/* Hero eyebrow + visual */
:root[data-theme='dark'] .hero__eyebrow {
  background: rgba(44, 138, 255, 0.1);
  border-color: rgba(44, 138, 255, 0.3);
  color: var(--primary-soft);
}
:root[data-theme='dark'] .hero__visual {
  box-shadow: 0 40px 100px -20px rgba(44, 138, 255, 0.5);
}

/* Platforms strip */
:root[data-theme='dark'] .hero__platforms-list li svg { color: var(--primary-soft); }

/* Service cards — cobalt rim, subtle inner glow */
:root[data-theme='dark'] .service-card {
  background: linear-gradient(180deg, rgba(13, 24, 39, 0.6), rgba(5, 12, 20, 0.6));
  border-color: var(--hairline-soft);
  backdrop-filter: blur(10px);
}
:root[data-theme='dark'] .service-card:hover {
  border-color: rgba(44, 138, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(44, 138, 255, 0.4);
}
:root[data-theme='dark'] .service-card__icon-box {
  background: linear-gradient(135deg, rgba(44, 138, 255, 0.18), rgba(44, 138, 255, 0.04));
  border-color: rgba(44, 138, 255, 0.3);
  color: var(--primary-soft);
}
:root[data-theme='dark'] .service-card__arrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline);
}

/* Featured service — keep cobalt gradient, deepen the dark base */
:root[data-theme='dark'] .service-card--featured {
  background:
    radial-gradient(circle at 92% 8%, rgba(92, 171, 255, 0.5), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(161, 33, 206, 0.32), transparent 55%),
    linear-gradient(135deg, #020610 0%, #061830 55%, #0457cb 100%);
  box-shadow: 0 40px 80px -30px rgba(44, 138, 255, 0.6);
}

/* AI feature backdrop */
:root[data-theme='dark'] .ai-feature {
  background:
    radial-gradient(circle at 50% 0%, rgba(44, 138, 255, 0.08), transparent 60%),
    var(--surface-soft);
  border-color: var(--hairline-soft);
}
:root[data-theme='dark'] .ai-feature__badge {
  background: rgba(13, 24, 39, 0.8);
  border-color: var(--hairline);
}
:root[data-theme='dark'] .ai-feature__try-card,
:root[data-theme='dark'] .did-you-know,
:root[data-theme='dark'] .ai-feature-card,
:root[data-theme='dark'] .why-card,
:root[data-theme='dark'] .form,
:root[data-theme='dark'] .numbers__table-wrap {
  background: rgba(13, 24, 39, 0.5);
  border-color: var(--hairline-soft);
  backdrop-filter: blur(8px);
}
:root[data-theme='dark'] .ai-feature-card__icon-box,
:root[data-theme='dark'] .ai-feature__try-card .ai-feature__try-eyebrow + * + .ai-feature__try-number,
:root[data-theme='dark'] .ai-feature__try-number {
  /* keep cobalt CTA */
}

/* Phone — glow harder in dark */
:root[data-theme='dark'] .phone-stage__glow {
  background: radial-gradient(circle at 50% 50%, rgba(44, 138, 255, 0.35), transparent 70%);
}
:root[data-theme='dark'] .phone {
  box-shadow: 0 40px 100px -10px rgba(44, 138, 255, 0.4), 0 0 0 6px #0d1827;
}

/* Numbers table — cobalt rail */
:root[data-theme='dark'] .numbers__cell--ours {
  background: linear-gradient(180deg, rgba(44, 138, 255, 0.15), rgba(44, 138, 255, 0.04));
}
:root[data-theme='dark'] .numbers__row--head .numbers__cell--ours {
  background: linear-gradient(180deg, rgba(44, 138, 255, 0.22), rgba(44, 138, 255, 0.08));
}

/* Why cards — top hairline accent */
:root[data-theme='dark'] .why-card { position: relative; }
:root[data-theme='dark'] .why-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-xl); right: var(--space-xl);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

/* Contact backdrop */
:root[data-theme='dark'] .contact {
  background:
    radial-gradient(circle at 80% 20%, rgba(44, 138, 255, 0.1), transparent 50%),
    var(--surface-soft);
}

/* Section labels — slightly brighter in dark */
:root[data-theme='dark'] .section-label {
  background: rgba(44, 138, 255, 0.12);
  border-color: rgba(44, 138, 255, 0.3);
  color: var(--primary-soft);
}

/* Form inputs */
:root[data-theme='dark'] .form__input,
:root[data-theme='dark'] .form__select,
:root[data-theme='dark'] .form__textarea {
  background: rgba(5, 12, 20, 0.6);
  border-color: var(--hairline);
  color: var(--ink);
}
:root[data-theme='dark'] .form__input::placeholder,
:root[data-theme='dark'] .form__textarea::placeholder { color: var(--steel); }

/* Footer */
:root[data-theme='dark'] .footer__social {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline);
}
:root[data-theme='dark'] .footer__social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Secondary/ghost buttons — make borders visible on dark */
:root[data-theme='dark'] .btn--secondary {
  border-color: var(--canvas);
  color: var(--ink-deep);
}
:root[data-theme='dark'] .btn--secondary:hover {
  background: var(--canvas);
  color: var(--canvas);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  color: var(--primary-soft);
}
:root[data-theme='dark'] .btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}
:root[data-theme='dark'] .btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-soft);
}

/* Selection / focus */
:root[data-theme='dark'] ::selection { background: var(--primary); color: #fff; }
