/* ============================================================
   AIVARA — Light mode, brand-aligned (cyan→blue→purple gradient)
   Fonts: Montserrat (headings) · Poppins (body)
   ============================================================ */

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

:root {
  /* Surfaces */
  --bg: #fdfcfa;            /* whiter warm white (was #fbfaf7) */
  --bg-soft: #f6f4ee;       /* slightly warmer panels */
  --surface: #ffffff;
  --surface-2: #fcfbf8;

  /* Text */
  --text: #0f1729;          /* deep navy */
  --text-soft: #475569;
  --text-mute: #94a3b8;

  /* Lines */
  --line: rgba(15, 23, 41, 0.08);
  --line-strong: rgba(15, 23, 41, 0.16);

  /* Brand gradient stops — sampled to match the logo */
  --grad-1: #2BC8E6;        /* cyan (matches logo brightest) */
  --grad-2: #4F7BE0;        /* blue mid */
  --grad-3: #7656CC;        /* purple (matches logo darker) */

  /* Solid accents */
  --accent: #5E6BD0;        /* deep indigo */
  --accent-light: #8b8df0;
  --cyan: #2BC8E6;
  --purple: #7656CC;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.04), 0 1px 3px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 41, 0.06), 0 2px 6px rgba(15, 23, 41, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 41, 0.08), 0 8px 24px rgba(15, 23, 41, 0.05);
  --shadow-glow: 0 12px 40px rgba(99, 102, 241, 0.18);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ============ BACKGROUND BLURS ============ */
.bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.bg-blur-1 {
  top: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--cyan), transparent 65%);
  opacity: 0.55;             /* more saturated than before (was 0.35) */
}

.bg-blur-2 {
  bottom: -200px;
  left: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--purple), transparent 65%);
  opacity: 0.40;             /* more saturated than before (was 0.25) */
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-weight: 800; }

.title-grad {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--r-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ NAV (Podium-style top bar) ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px;
  background: rgba(251, 250, 247, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

/* AIVARA logo (transparent bg) */
.logo-mark-img {
  display: block;
  object-fit: contain;
  background: transparent;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.32em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 36px;
}

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

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

/* Right-side action cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-phone svg {
  color: var(--accent);
}

.nav-phone:hover {
  color: var(--accent);
}

.nav-signin,
.nav-portal {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-signin:hover,
.nav-portal:hover {
  color: var(--accent);
}

.nav-demo-btn {
  padding: 10px 20px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(118, 86, 204, 0.22);
  transition: all 0.25s ease;
}

.nav-demo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(118, 86, 204, 0.36);
  color: #ffffff;
}

/* ============ INDUSTRY BAR (light, sits cleanly below nav, Podium-style) ============ */
.industrybar {
  position: fixed;
  top: 65px;            /* directly under the 65px nav */
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;  /* clean white surface, distinct from cream page bg */
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 41, 0.02), 0 4px 14px rgba(15, 23, 41, 0.03);
}

.industrybar-inner {
  display: flex;
  flex-direction: column;        /* stack label on top of pills (Podium pattern) */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px 12px;
  max-width: 1440px;
  margin: 0 auto;
}

/* "Select your industry" — gradient title sits on top of the buttons */
.industrybar-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.industrybar-pills {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;                /* don't stretch — keep pills centered as a block */
  flex-wrap: wrap;
  justify-content: center;
}

/* Highlight one pill — used to draw the eye to a featured industry */
.industrybar-pill.is-featured {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(118, 86, 204, 0.22);
}
.industrybar-pill.is-featured:hover {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(118, 86, 204, 0.30);
}

.industrybar-pill {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.industrybar-pill:hover {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(118, 86, 204, 0.18);
}

@media (max-width: 1024px) {
  .industrybar { top: 58px; }
  .industrybar-inner { padding: 8px 24px 10px; gap: 6px; }
  /* Label stays visible — it's the headline now */
  .industrybar-label { font-size: 11px; letter-spacing: 0.20em; }
}

@media (max-width: 640px) {
  .industrybar { top: 54px; }
  .industrybar-inner { padding: 7px 12px 9px; }
  .industrybar-label { font-size: 10px; letter-spacing: 0.18em; }
  .industrybar-pills { gap: 4px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .industrybar-pill { font-size: 11px; padding: 5px 12px; }
}

/* ============ HERO ============ */
.hero {
  padding: 160px 56px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-inner {
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.eyebrow-pill {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* ============ HERO HEADLINE STAGED ANIMATION ============
   Phase 1 (0.0 – 0.6s):  "AI is out." fades in (dark, readable)
   Phase 2 (1.2 – 2.0s):  strike line draws across, text grays out
   Phase 3 (2.2s+):       "Synthetic Intelligence is in." reveals + chrome shimmer loops
*/

/* "AI is out." — fades in dark, then grays out as the line strikes through */
.strike-line {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-weight: 400;
  opacity: 0;
  animation:
    strike-in    0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards,
    strike-fade  0.8s ease-out 1.2s forwards;
}

@keyframes strike-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes strike-fade {
  from { color: var(--text); }
  to   { color: rgba(15, 23, 41, 0.32); }
}

/* The strike line itself — drawn left-to-right after the user has read the line */
.strike-line::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 4px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2), var(--grad-3));
  border-radius: 4px;
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left center;
  box-shadow: 0 2px 10px rgba(118, 86, 204, 0.28);
  animation: strike-draw 0.8s cubic-bezier(0.7, 0, 0.3, 1) 1.2s forwards;
}

@keyframes strike-draw {
  from { transform: rotate(-3deg) scaleX(0); }
  to   { transform: rotate(-3deg) scaleX(1); }
}

/* "Synthetic Intelligence is in." — chrome shimmer plays ONCE on reveal, then settles */
.hero-title .title-grad {
  background: linear-gradient(
    100deg,
    #1a2347 0%,
    #4F7BE0 22%,
    #6F90E8 42%,
    #b8c8ff 50%,
    #6F90E8 58%,
    #4F7BE0 78%,
    #7656CC 100%
  );
  background-size: 200% 100%;
  background-position: 50% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation:
    chrome-reveal     1.0s cubic-bezier(0.2, 0.8, 0.2, 1) 2.2s forwards,
    chrome-shimmer-1x 1.6s ease-in-out 3.2s 1 forwards;
  filter: drop-shadow(0 4px 14px rgba(118, 86, 204, 0.18));
}

@keyframes chrome-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Plays exactly once — sweep light from right to left, then settle on the brand gradient */
@keyframes chrome-shimmer-1x {
  0%   { background-position: 100% 0; }
  100% { background-position: 50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .strike-line,
  .strike-line::after,
  .hero-title .title-grad {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .strike-line { color: rgba(15, 23, 41, 0.32); }
  .strike-line::after { transform: rotate(-3deg) scaleX(1); }
}

.hero-sub {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* ============ "Book a Demo" — clean static gradient pill, no movement ============ */
.btn-shiny {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  box-shadow: 0 8px 24px rgba(118, 86, 204, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-shiny:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(118, 86, 204, 0.34);
}

/* Inner pill — the actual clickable surface */
.btn-shiny-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #0f1729;
  color: #ffffff;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s ease;
}

.btn-shiny:hover .btn-shiny-inner {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mute);
}

.meta-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  border-radius: 50%;
}

/* ============ HERO VISUAL ============ */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.dashboard-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dashboard-card:hover {
  transform: rotateY(-2deg) rotateX(0deg) translateY(-4px);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.dash-dots {
  display: inline-flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: status-pulse 1.6s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.06); }
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.dash-stat {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-stat + .dash-stat {
  border-left: 1px solid var(--line);
}

.dash-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-stat-unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  margin-left: 2px;
}

.dash-stat-trend {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
}

.dash-flow {
  padding: 14px 18px;
}

.flow-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}

.flow-row + .flow-row {
  border-top: 1px solid var(--line);
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
}

.flow-dot-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
  animation: flow-pulse 1.4s ease-in-out infinite;
}

@keyframes flow-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.06); transform: scale(1.15); }
}

.flow-dot-success { background: #22c55e; }
.flow-dot-pending { background: #f59e0b; opacity: 0.5; }

.flow-label {
  color: var(--text);
  font-weight: 500;
}

.flow-row-pending .flow-label {
  color: var(--text-mute);
}

.flow-time {
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* Floating hero badges */
.hero-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-1 {
  top: 30px;
  left: -40px;
  animation-delay: -0s;
}

.hero-badge-2 {
  bottom: 40px;
  right: -30px;
  animation-delay: -2s;
}

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

.badge-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.badge-emoji {
  font-size: 22px;
}

.badge-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  padding: 60px 56px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 0 28px;
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
}

/* ============ SECTIONS ============ */
.section {
  padding: 88px 56px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

/* Full-bleed tinted backgrounds — break up the white */
.section-tinted-cyan,
.section-tinted-purple,
.section-tinted-warm {
  max-width: 100%;
  padding-left: 56px;
  padding-right: 56px;
}

.section-tinted-cyan > *,
.section-tinted-purple > *,
.section-tinted-warm > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.section-tinted-cyan {
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(59, 130, 246, 0.10), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #f1f7fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tinted-purple {
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(139, 92, 246, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(99, 102, 241, 0.10), transparent 60%),
    linear-gradient(180deg, #faf8ff 0%, #f5f1fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tinted-warm {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255, 220, 180, 0.18), transparent 60%),
    linear-gradient(180deg, #fef9f0 0%, #fdf3e3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ TRUSTED BY ============ */
.section-trusted-by {
  padding: 64px 56px;
  text-align: center;
  max-width: 1320px;
  margin: 0 auto;
}

.section-trusted-by .trust-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Marquee scroll — floating logos, no cards */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 88px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
  padding: 16px 0;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  flex: 0 0 auto;
  width: auto;
  height: 56px;
  max-height: 56px;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* RSS — high-contrast black-bg version. Frame as a dark "tile" so the gold
   lettering pops against the cream marquee row. */
.partner-logo[src*="rss"] {
  max-width: 170px;
  height: 56px;
  padding: 6px 14px;
  background: #0f1729;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 41, 0.10);
  opacity: 1;
}

/* Muscle Mods — same dark-tile treatment for consistency */
.partner-logo[src*="muscle"] {
  max-width: 170px;
  height: 56px;
  padding: 6px 14px;
  background: #0f1729;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 41, 0.10);
  opacity: 1;
}

.logo-placeholder {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.trust-note {
  font-size: 12px;
  color: var(--text-mute);
  font-style: italic;
}


/* ============ PROOF ROW (3 stat blocks) ============ */
.proof-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  margin: 80px auto 64px;
  max-width: 1180px;
}

.proof-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.proof-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.proof-stat-hero {
  background: linear-gradient(135deg, #0f1729, #1e1b4b 60%, #2a1858 100%);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-glow);
  color: white;
}

.proof-stat-hero .proof-num {
  background: linear-gradient(120deg, #22D3EE 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-stat-hero .proof-label {
  color: rgba(255, 255, 255, 0.85);
}

.proof-stat-hero .proof-sub {
  color: rgba(255, 255, 255, 0.65);
}

.proof-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.proof-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.proof-sub {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .proof-row { grid-template-columns: 1fr; }
}

/* ============ AGENTS — SVG ATOM (iconic 3-orbit diagram) ============ */
.atom-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

#atom-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Nucleus — AIVARA logo on a glowing white disc, layered above the SVG */
.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6%;
  z-index: 5;
  box-shadow:
    0 0 0 1px rgba(118, 86, 204, 0.22),
    0 16px 50px rgba(118, 86, 204, 0.32),
    0 0 70px rgba(34, 211, 238, 0.28),
    0 0 40px rgba(79, 123, 224, 0.22);
  animation: nucleus-pulse 3.5s ease-in-out infinite;
}

.nucleus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes nucleus-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(118, 86, 204, 0.2),
      0 16px 50px rgba(118, 86, 204, 0.32),
      0 0 70px rgba(34, 211, 238, 0.28),
      0 0 40px rgba(79, 123, 224, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(118, 86, 204, 0.36),
      0 22px 64px rgba(118, 86, 204, 0.5),
      0 0 90px rgba(34, 211, 238, 0.42),
      0 0 56px rgba(79, 123, 224, 0.36);
  }
}

/* Agent name chips below the atom */
.agent-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 32px auto 0;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: all 0.25s ease;
}

.agent-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ac-cyan::before   { background: #22D3EE; box-shadow: 0 0 8px rgba(34, 211, 238, 0.6); }
.ac-blue::before   { background: #4F7BE0; box-shadow: 0 0 8px rgba(79, 123, 224, 0.6); }
.ac-purple::before { background: #7656CC; box-shadow: 0 0 8px rgba(118, 86, 204, 0.6); }

.agent-chip:hover {
  border-color: rgba(118, 86, 204, 0.4);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .atom-stage { max-width: 280px; }
  @keyframes e-orbit {
    from { transform: rotate(0deg)   translateX(140px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
  }
}

/* (Legacy atom-core / atom-pill / atom-pos rules removed — replaced by 3D atom above) */

/* ============ AGENTS ATOMIC GRID (3x3, legacy) ============ */
.agents-head {
  text-align: center;
  margin-bottom: 24px;
  margin-top: 16px;
}

.agents-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.agents-sub {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}

.agents-atom {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.agents-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.agent-cell {
  position: relative;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.agent-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(139, 92, 246, 0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.agent-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-md);
}

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

.agent-cell > * { position: relative; }

.agent-cell-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--r-sm);
  color: var(--accent);
  margin-bottom: 8px;
}

.agent-cell-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.agent-cell-role {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.agent-cell-replaces {
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

/* Center cell — the "9" hero */
.agent-cell-center {
  background: linear-gradient(135deg, #0f1729 0%, #1e1b4b 60%, #2a1858 100%);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: var(--shadow-glow);
  color: white;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.agent-cell-center::before { display: none; }

.agent-cell-center .agent-cell-name {
  color: white;
  font-size: 22px;
}

.agent-cell-center .agent-cell-role {
  color: rgba(255, 255, 255, 0.78);
  flex: none;
}

.agent-center-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, #22D3EE 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.agent-center-stat {
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #22D3EE;
  letter-spacing: 0.06em;
  background: rgba(34, 211, 238, 0.12);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .agents-grid-9 { grid-template-columns: repeat(2, 1fr); }
  .agent-cell-center { grid-column: span 2; }
}

@media (max-width: 600px) {
  .agents-grid-9 { grid-template-columns: 1fr; }
  .agent-cell-center { grid-column: span 1; }
}

/* ============ WORKFLOW DEMO ============ */
.workflow-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 72px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.wf-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wf-step:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-md);
}

.wf-step-active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(139, 92, 246, 0.08));
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.05), var(--shadow-md);
}

.wf-time {
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.wf-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}

.wf-detail {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

.wf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-light);
  font-weight: 300;
}

@media (max-width: 1024px) {
  .workflow-demo {
    grid-template-columns: 1fr;
  }
  .wf-arrow { transform: rotate(90deg); }
}

/* ============ CARDS ============ */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.04), rgba(139, 92, 246, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.card-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ OUTCOME CARDS (4-up colorful) ============ */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.outcome-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* No per-card color tints — uniform brand treatment, calm and consistent */
.outcome-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.06;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-lg);
}

.outcome-card:hover::before { opacity: 0.14; }

.outcome-card > * { position: relative; }

.outcome-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  background: rgba(94, 107, 208, 0.06);
  border: 1px solid rgba(94, 107, 208, 0.12);
  color: var(--accent);
}

.outcome-stat {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}

.outcome-card .outcome-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--text);
}

.outcome-card .outcome-body {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Industries section header — left-aligned, smaller, distinct from Outcomes */
.industries-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.industries-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}

.industries-sub {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
  margin: 0;
}

/* ============ INDUSTRY POP CARDS ============ */
.industry-cards-pop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ind-pop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 32px 28px 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ind-pop::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Uniform brand-colored blur for all industries (no rainbow) */
.ind-pop::before { background: var(--accent); }

.ind-pop:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg);
}

.ind-pop:hover::before { opacity: 0.4; }

.ind-pop > * { position: relative; }

.ind-pop-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  margin-bottom: 6px;
  color: white;
}

/* All industry icons use the brand gradient — clean, uniform */
.ind-pop .ind-pop-icon {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  box-shadow: 0 6px 20px rgba(118, 86, 204, 0.22);
}

.ind-pop-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.ind-pop-tag {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
}

.ind-pop-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 22px;
  color: var(--text-mute);
  transition: all 0.3s ease;
}

.ind-pop:hover .ind-pop-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .industry-cards-pop { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .industry-cards-pop { grid-template-columns: 1fr; }
}

/* Outcome cards (legacy) */
.card-outcome {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-outcome:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.outcome-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.outcome-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.outcome-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ APPROACH FLOW ============ */
.approach-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  color: white;
  border-radius: var(--r-pill);
  margin: 0 auto 22px;
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.step-body {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  width: 80px;
}

.step-arrow svg { width: 100%; height: auto; }

/* ============ INDUSTRIES ============ */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 24px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  overflow: hidden;
}

.ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(139, 92, 246, 0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ind-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-md);
}

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

.ind-card > * { position: relative; }

.ind-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--r-sm);
  color: var(--accent);
  margin-bottom: 4px;
}

.ind-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ind-card-tag {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
}

/* ============ FINAL CTA ============ */
.section-cta {
  padding-bottom: 112px;
}

.cta-card {
  position: relative;
  padding: 80px 56px;
  background: linear-gradient(135deg, #0f1729 0%, #1e1b4b 60%, #2a1858 100%);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%);
  filter: blur(80px);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  filter: blur(80px);
}

.cta-card > * { position: relative; }

.cta-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.cta-title {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-card .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============ FOOTER ============ */
.footer {
  padding: 80px 56px 36px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;     /* tighter brand col, slightly wider Reach Us so socials don't crowd */
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto 56px;
  align-items: start;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tag {
  color: var(--text-soft);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-mute);
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover { color: var(--text); }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 41, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.modal-stage {
  padding: 56px 56px 48px;
  display: none;
}

.modal-stage.active { display: block; }

.modal-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.modal-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.modal-sub {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 540px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Modal back button */
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-mute);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.25s ease;
}

.modal-back:hover { color: var(--text); }

/* Industry detail */
.detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.detail-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-md);
  color: var(--accent);
}

.detail-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.detail-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.detail-sub {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.detail-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.detail-bullets li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.bullet-k {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  align-self: center;
}

.bullet-v {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.detail-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}

.proof-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  border-radius: 50%;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.detail-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.detail-secondary {
  color: var(--text-soft);
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  cursor: pointer;
}

.detail-secondary:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ============ FAQ SECTION ============ */
.section-faq { padding: 100px 24px; max-width: 900px; margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.25s ease;
  color: var(--accent);
}

.faq-item[open] .faq-chevron {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2));
  color: #fff;
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 28px 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.faq-body p + p { margin-top: 12px; }

.faq-body strong { color: var(--text); }

.faq-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(94,107,208,0.08);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

/* ---- AI Model Comparison Table ---- */
.ai-compare-wrap {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.ai-compare-wrap .section-sub {
  margin-top: 12px;
  margin-bottom: 36px;
}

.ai-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.ai-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13.5px;
}

.ai-table thead tr {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 60%, var(--grad-3));
  color: #fff;
}

.ai-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ai-table td {
  padding: 16px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
  color: var(--text-soft);
}

.ai-table tbody tr:last-child td { border-bottom: none; }

.ai-table tbody tr:hover td { background: var(--bg-soft); }

.ai-table .col-model {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text);
  min-width: 130px;
  white-space: nowrap;
}

.ai-table .col-aivara {
  color: var(--accent);
  font-weight: 500;
  min-width: 200px;
}

.ai-table .col-cost {
  white-space: nowrap;
  text-align: center;
}

.ai-cost-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
}
.cost-free { background: rgba(43,200,230,0.12); color: #0d9aad; }
.cost-low  { background: rgba(94,107,208,0.1);  color: var(--accent); }
.cost-mid  { background: rgba(118,86,204,0.1);  color: var(--purple); }
.cost-high { background: rgba(255,100,100,0.1); color: #c0392b; }

.ai-row-highlight td { background: rgba(94,107,208,0.04); }

.ai-routing-note {
  margin-top: 20px;
  padding: 18px 24px;
  background: linear-gradient(120deg, rgba(43,200,230,0.06), rgba(118,86,204,0.06));
  border: 1px solid rgba(94,107,208,0.15);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.ai-routing-note strong { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-phone span { display: none; } /* icon only on tablet */
  .nav-signin, .nav-portal { display: none; }
  .hero {
    padding: 180px 24px 80px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-badge { display: none; }
  .section { padding: 80px 24px; }
  .section-cta { padding-bottom: 100px; }
  .cta-card { padding: 56px 32px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .approach-flow { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { transform: rotate(90deg); width: 40px; height: 40px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .hero { padding: 100px 18px 60px; }
  .hero-title { font-size: 40px; }
  .section { padding: 64px 18px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-stage { padding: 32px 22px; }
  .footer { padding: 56px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  .trust-list { flex-direction: column; gap: 12px; }
  .trust-divider { display: none; }
  .detail-bullets li { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ CONTACT FORM SECTION ============ */
.section-contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.contact-copy { padding-top: 8px; }

.contact-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
}

.contact-sub {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}

.contact-inline-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(94, 107, 208, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-inline-link:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(94, 107, 208, 0.10);
}

/* Form card */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

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

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

.form-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.form-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 5l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-mute);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(94, 107, 208, 0.12);
}

.form-submit {
  align-self: flex-start;
  margin-top: 6px;
}

.form-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  min-height: 18px;
}
.form-status[data-kind="ok"]    { color: #0ea871; }
.form-status[data-kind="error"] { color: #c0364c; }

/* Hero secondary text link (sits next to Book a Demo) */
.btn-secondary-text {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 14px 6px;
  transition: color 0.2s ease;
}
.btn-secondary-text:hover { color: var(--accent); }

/* Industries section header — drop bottom rule when title is missing (cleaner) */
.industries-head:has(> .industries-sub:only-child) {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
  justify-content: flex-start;
}

/* ============ MOBILE TUNING ============ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-contact { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 640px) {
  /* Industrybar pills scroll horizontally on mobile (already), tighten padding */
  .industrybar-inner { padding: 9px 16px; }

  /* Hero — readable on small screens, no awkward word-breaks */
  .hero { padding: 96px 18px 48px; }
  .hero-title { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.12; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { gap: 8px; flex-direction: column; align-items: stretch; }
  .btn-shiny { width: 100%; justify-content: center; }
  .btn-shiny-inner { justify-content: center; width: 100%; padding: 14px 22px; }
  .btn-secondary-text { padding: 8px 0; justify-content: center; }

  /* Hide the floating dashboard badges on mobile — they crowd the hero */
  .hero-badge { display: none; }

  /* Tighten the contact form card */
  .contact-form { padding: 22px; gap: 12px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 16px; /* prevents iOS zoom-on-focus */ }
  .form-submit { width: 100%; justify-content: center; }

  /* Final CTA — stack buttons full-width */
  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; justify-content: center; }

  /* Footer — left-align cleanly, generous spacing */
  .footer-grid { gap: 32px; }
  .footer-col h4 { font-size: 12px; letter-spacing: 0.18em; }

  /* FAQ mobile */
  .faq-list { gap: 10px; }
  .faq-summary { font-size: 15px; padding: 18px 20px; }
  .faq-body { padding: 0 20px 18px; font-size: 14px; }
  .ai-table-wrap { border-radius: var(--r-md); }
  .ai-table th, .ai-table td { font-size: 12px; padding: 12px 14px; min-width: 120px; }
  .ai-table .col-model { min-width: 110px; }
  .ai-table .col-aivara { min-width: 160px; }
}

/* ============================================================
   GAIN SECTION — CHAT MOCKUP + STAT CARDS (split layout)
   ============================================================ */
.gain-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .gain-split { grid-template-columns: 1fr; gap: 32px; }
}

/* Mockup card */
.gain-mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gain-mockup-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(120deg, rgba(43, 200, 230, 0.06), rgba(118, 86, 204, 0.06));
  border-bottom: 1px solid var(--line);
}

.gain-mockup-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.gain-mockup-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gain-mockup-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.gain-mockup-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.gain-mockup-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}

.gain-mockup-channel {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
}

/* Chat body */
.gain-chat {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.chat-msg.chat-in  { align-self: flex-start; align-items: flex-start; }
.chat-msg.chat-out { align-self: flex-end;   align-items: flex-end;   }

.chat-bubble {
  font-size: 14px;
  line-height: 1.5;
  padding: 11px 16px;
  border-radius: 18px;
  max-width: 100%;
  word-wrap: break-word;
}

.chat-msg.chat-in .chat-bubble {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--text);
}

.chat-msg.chat-out .chat-bubble {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 14px rgba(118, 86, 204, 0.18);
}

.chat-msg.chat-out .chat-bubble strong { color: #ffffff; }

.chat-time {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
}

.chat-event {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-top: 4px;
  background: rgba(14, 168, 113, 0.06);
  border: 1px solid rgba(14, 168, 113, 0.18);
  border-radius: 100px;
  font-size: 12px;
  color: #0e8d62;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.chat-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0e8d62;
  box-shadow: 0 0 0 4px rgba(14, 168, 113, 0.18);
}

/* Mockup footer — at-a-glance stats */
.gain-mockup-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.foot-stat {
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--line);
}
.foot-stat:last-child { border-right: none; }

.foot-stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot-stat-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Stat cards stack to the right of the mockup */
.gain-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: stretch;
}

@media (max-width: 600px) {
  .gain-stats { grid-template-columns: 1fr; }
  .chat-bubble { font-size: 13.5px; }
  .gain-mockup-channel { display: none; }
}

/* ============================================================
   FIRST-VISIT "SELECT YOUR INDUSTRY" POPUP
   ============================================================ */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 41, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.welcome-overlay.open {
  display: flex;
  opacity: 1;
}

.welcome-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 44px 40px 32px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(15, 23, 41, 0.20);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.welcome-overlay.open .welcome-card {
  transform: translateY(0) scale(1);
}

.welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--surface-2);
  border-radius: 50%;
  color: var(--text-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.welcome-close:hover { background: var(--bg-soft); color: var(--text); }

.welcome-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.welcome-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.welcome-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.welcome-pill {
  position: relative;
  padding: 14px 12px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.22s ease;
}

.welcome-pill:hover {
  border-color: var(--accent);
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.welcome-pill.is-featured {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(118, 86, 204, 0.28);
}

.welcome-pill.is-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f1729;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.welcome-pill.is-featured:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.welcome-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.welcome-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(94, 107, 208, 0.3);
  transition: all 0.2s ease;
}
.welcome-foot a:hover { color: var(--purple); border-color: var(--purple); }

@media (max-width: 480px) {
  .welcome-card { padding: 36px 22px 24px; }
  .welcome-title { font-size: 22px; }
  .welcome-grid { grid-template-columns: 1fr 1fr; }
  .welcome-pill { padding: 12px 10px; font-size: 12.5px; }
}

/* ============================================================
   AIVARA ROUTING ENGINE TIER TABLE
   ============================================================ */

.tier-table .col-tier { min-width: 170px; }

.tier-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-cell-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.10), rgba(118, 86, 204, 0.12));
  border: 1px solid rgba(94, 107, 208, 0.18);
  color: var(--accent);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tier-table tbody tr:hover .tier-cell-icon {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.04);
}

.tier-cell-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tier-cell-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.tier-cell-id {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 2px;
}

/* Speed bars — small data-viz indicator */
.col-speed { width: 90px; }
.speed-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.speed-bars i {
  display: block;
  width: 5px;
  background: var(--line-strong);
  border-radius: 2px;
}
.speed-bars i:nth-child(1) { height: 7px; }
.speed-bars i:nth-child(2) { height: 12px; }
.speed-bars i:nth-child(3) { height: 18px; }

.speed-bars[data-level="1"] i:nth-child(1),
.speed-bars[data-level="2"] i:nth-child(1),
.speed-bars[data-level="2"] i:nth-child(2),
.speed-bars[data-level="3"] i {
  background: linear-gradient(180deg, var(--grad-1), var(--grad-3));
}

@media (max-width: 900px) {
  .tier-cell-text .tier-cell-id { display: none; }
  .tier-cell { gap: 10px; }
  .tier-cell-icon { width: 34px; height: 34px; }
  .tier-table .col-tier { min-width: 130px; }
  .col-speed { width: auto; min-width: 70px; }
}

/* ============================================================
   ROUTING TIER TABLE — MOBILE CARDS
   Below 720px the 4-column table doesn't fit; convert each row to
   a stacked card so Speed + Cost stay visible without horizontal scroll.
   ============================================================ */
@media (max-width: 720px) {
  .tier-table thead { display: none; }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table td { display: block; width: 100%; }
  .tier-table tr {
    margin-bottom: 12px;
    padding: 16px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }
  .tier-table.is-light tr {
    background: var(--surface);
    border-color: var(--line);
  }
  .tier-table td {
    border-bottom: none !important;
    padding: 6px 0;
    text-align: left;
  }
  .tier-table .col-tier { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.10) !important; margin-bottom: 8px; }
  .tier-table .col-aivara::before {
    content: 'Used for ';
    display: inline;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.50);
    margin-right: 6px;
  }
  .tier-table .col-speed,
  .tier-table .col-cost {
    display: inline-block !important;
    width: auto !important;
    margin-right: 16px;
    font-size: 12px;
  }
  .tier-table .col-speed::before { content: 'Speed: '; color: rgba(255, 255, 255, 0.50); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; margin-right: 4px; }
  .tier-table .col-cost::before  { content: 'Cost: ';  color: rgba(255, 255, 255, 0.50); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; margin-right: 4px; }

  /* Ai-row-highlight no longer needs special bg in card mode */
  .tier-table .ai-row-highlight { background: rgba(94, 107, 208, 0.08); }
}

/* ============================================================
   LEGACY ROUTING CARDS (still in CSS, no longer used in HTML)
   ============================================================ */
.routing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.routing-card {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.routing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.04), rgba(118, 86, 204, 0.05));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.routing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 107, 208, 0.28);
  box-shadow: var(--shadow-md);
}
.routing-card:hover::before { opacity: 1; }

.routing-card > * { position: relative; }

.routing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.10), rgba(118, 86, 204, 0.12));
  border: 1px solid rgba(94, 107, 208, 0.18);
  color: var(--accent);
  margin-bottom: 6px;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.3s ease, color 0.3s ease;
}

.routing-card:hover .routing-icon {
  transform: scale(1.06) rotate(-3deg);
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(118, 86, 204, 0.28);
}

.routing-tier {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.routing-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.routing-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

.routing-when {
  margin-top: auto;
  padding-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
  .routing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .routing-grid { grid-template-columns: 1fr; gap: 12px; }
  .routing-card { padding: 22px 20px; }
  .routing-name { font-size: 20px; }
}

/* ============================================================
   FOOTER SOCIAL ICONS
   ============================================================ */
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.social-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(94, 107, 208, 0.28);
}

/* ============================================================
   MOBILE TOP LAYOUT TIGHTEN
   Tightens the nav + industrybar stack so they don't feel cramped
   ============================================================ */
@media (max-width: 640px) {
  .nav {
    padding: 10px 14px;
  }
  .logo-mark { width: 28px; height: 28px; }
  .logo-text { font-size: 15px; letter-spacing: 0.28em; }
  .nav-actions { gap: 10px; }
  .nav-phone svg { width: 18px; height: 18px; }
  .nav-demo-btn {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 100px;
  }

  /* Industrybar — full-bleed pill scroller, no wrapping, edge-fade for affordance */
  .industrybar {
    top: 50px;            /* directly under the compact mobile nav */
    box-shadow: 0 1px 0 rgba(15, 23, 41, 0.04);
  }
  .industrybar-inner {
    padding: 8px 14px;
    gap: 8px;
  }
  .industrybar-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 24px;       /* hint that more is to the right */
    scrollbar-width: none;
  }
  .industrybar-pills::-webkit-scrollbar { display: none; }
  .industrybar-pill {
    scroll-snap-align: start;
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Hero starts further down on mobile to clear the new (taller) stacked industrybar */
  .hero,
  .hero-v2 {
    padding-top: 152px;
  }
}

/* ============================================================
   HERO V2 (Viktor-structured)
   ============================================================ */
.hero-v2 {
  padding: 170px 56px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-v2-inner { max-width: 600px; }

.hero-v2-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-v2-sub {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 28px;
}

.hero-v2-sub strong { color: var(--text); font-weight: 600; }

.hero-v2-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.trust-badge svg { color: var(--accent); flex-shrink: 0; }
.trust-badge strong { color: var(--text); font-weight: 600; }

.hero-v2-visual {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-v2 { grid-template-columns: 1fr; gap: 36px; padding: 132px 24px 60px; }
  .hero-trust { gap: 16px; }
  .trust-badge { font-size: 12px; }
}

@media (max-width: 640px) {
  .hero-v2-ctas { flex-direction: column; align-items: stretch; }
  .hero-v2-ctas .btn { width: 100%; justify-content: center; }

  /* Trust badges — neat 2-column grid instead of awkward wrap */
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: 4px;
  }
  .trust-badge {
    font-size: 12px;
  }
  .trust-badge svg { width: 16px; height: 16px; }
}

/* ============================================================
   THREE PRODUCT PROOFS
   ============================================================ */
.section-proofs { padding: 88px 56px; max-width: 1320px; margin: 0 auto; }

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

.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 107, 208, 0.28);
  box-shadow: var(--shadow-lg);
}

.proof-visual {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.06), rgba(118, 86, 204, 0.08));
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Proof icon — replaces elaborate visuals with a clean iconographic mark */
.proof-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.14), rgba(118, 86, 204, 0.16));
  border: 1px solid rgba(94, 107, 208, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.3s ease, color 0.3s ease;
}

.proof-card:hover .proof-icon {
  transform: scale(1.05) rotate(-3deg);
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(118, 86, 204, 0.30);
}

/* Proof card 1 — revenue dashboard */
.pv-rev-head { display: flex; flex-direction: column; gap: 2px; }
.pv-rev-label { font-size: 11px; color: var(--text-mute); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pv-rev-amt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-rev-trend { font-size: 11px; color: #0e8d62; font-weight: 600; }
.pv-rev-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  margin-top: 6px;
}
.pv-rev-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--grad-1), var(--grad-3));
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}
.pv-rev-bars span:last-child { background: linear-gradient(180deg, #2BC8E6, #4F7BE0); opacity: 1; }
.pv-rev-foot {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 500;
}
.pv-rev-foot i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.dot-cyan { background: var(--cyan); }
.dot-purple { background: var(--purple); }

/* Proof card 2 — multi-channel funnel */
.pv-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.pv-chan-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pv-chan-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.ch-ig { background: linear-gradient(135deg, #f58529, #dd2a7b) !important; }
.ch-fb { background: #1877f2 !important; }
.ch-sms { background: #0e8d62 !important; }
.ch-email { background: #5e6bd0 !important; }
.ch-google { background: #ea4335 !important; }
.ch-voice { background: #7656cc !important; }
.pv-funnel-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
}
.pv-pipeline {
  text-align: center;
  padding: 10px 14px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  color: #ffffff;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
}

/* Proof card 3 — Friday report */
.pv-rep-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.pv-rep-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--text); }
.pv-rep-week { font-size: 11px; color: var(--text-mute); font-weight: 600; }
.pv-rep-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-soft);
}
.pv-rep-row .pv-rep-num { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text); }
.pv-rep-row-positive .pv-rep-num { color: #0e8d62; }
.pv-rep-update {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-soft);
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.pv-rep-update-tag {
  background: rgba(14, 168, 113, 0.10);
  color: #0e8d62;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 9px;
  flex-shrink: 0;
}

.proof-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.proof-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-proofs { padding: 64px 24px; }
}

/* ============================================================
   THE SHIFT (comparison rows) — with drifting orbs background
   ============================================================ */
.section-shift {
  /* Full-bleed gradient bg with overflow:hidden contains the orbs cleanly */
  padding: 88px 56px;
  margin: 0;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.72), transparent 80%),
    var(--bg);
}

.section-shift > .section-head,
.section-shift > .shift-table-wrap,
.section-shift > .shift-foot {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.shift-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shift-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);    /* heavier blur removes any visible square edge */
  opacity: 0.45;
  will-change: transform;
}

.shift-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(43, 200, 230, 0.70), transparent 70%);
  animation: shift-orb-drift-1 22s ease-in-out infinite;
}
.shift-orb-2 {
  width: 700px;
  height: 700px;
  bottom: -240px;
  right: -240px;
  background: radial-gradient(circle, rgba(118, 86, 204, 0.70), transparent 70%);
  animation: shift-orb-drift-2 28s ease-in-out infinite;
}
/* Third orb removed — it was the source of the visible square hot-spot at center */

@keyframes shift-orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(180px, 80px) scale(1.08); }
  66%      { transform: translate(60px, 200px) scale(0.94); }
}
@keyframes shift-orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-200px, -120px) scale(1.10); }
  75%      { transform: translate(-80px, -240px) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .shift-orb { animation: none !important; }
}

/* Push content above orbs */
.section-shift > .section-head,
.section-shift > .shift-list,
.section-shift > .shift-foot {
  position: relative;
  z-index: 1;
}

/* ============================================================
   ROUTING ENGINE — dark band variant
   ============================================================ */
.section-routing.section-dark {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-routing.section-dark .ai-table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-routing.section-dark .ai-table { background: transparent; }

.section-routing.section-dark .ai-table thead tr {
  background: rgba(255, 255, 255, 0.06);
}

.section-routing.section-dark .ai-table th {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.section-routing.section-dark .ai-table td {
  color: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-routing.section-dark .ai-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.section-routing.section-dark .ai-row-highlight td {
  background: rgba(94, 107, 208, 0.10);
}

.section-routing.section-dark .tier-cell-name { color: #ffffff; }

.section-routing.section-dark .tier-cell-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.section-routing.section-dark .ai-cost-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section-routing.section-dark .speed-bars i {
  background: rgba(255, 255, 255, 0.20);
}
.section-routing.section-dark .speed-bars[data-level="1"] i:nth-child(1),
.section-routing.section-dark .speed-bars[data-level="2"] i:nth-child(1),
.section-routing.section-dark .speed-bars[data-level="2"] i:nth-child(2),
.section-routing.section-dark .speed-bars[data-level="3"] i {
  background: linear-gradient(180deg, #5be8ff, #c3a8ff);
}

.section-routing.section-dark .ai-routing-note {
  color: rgba(255, 255, 255, 0.78);
}
.section-routing.section-dark .ai-routing-note strong {
  background: linear-gradient(120deg, #5be8ff, #c3a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   SHIFT — 3-column comparison table
   ============================================================ */
.shift-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.shift-table {
  width: 100%;
  border-collapse: collapse;
}

.shift-table thead th {
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 16px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.shift-table thead th.col-new {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  letter-spacing: 0.14em;
}

.shift-table thead th.col-ai {
  text-align: center;
  width: 130px;
}

.shift-table tbody td {
  padding: 22px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
}

.shift-table tbody tr:last-child td { border-bottom: none; }

.shift-table tbody tr:hover td { background: var(--surface-2); }

.shift-table .col-old {
  background: var(--bg-soft);
  color: var(--text-mute);
  width: 32%;
}

.shift-table .col-new {
  color: var(--text);
  width: 48%;
}

.shift-table .col-ai {
  width: 130px;
  text-align: center;
  vertical-align: middle;
  background: var(--surface-2);
}

.shift-table .col-old p,
.shift-table .col-new p { margin: 8px 0 0; }

.shift-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.shift-table .col-new .shift-tag { display: none; }

.shift-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  background-size: 180% 180%;
  background-position: 0% 50%;
  border: none;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(118, 86, 204, 0.28);
}

.shift-ai-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(118, 86, 204, 0.40);
  color: #ffffff;
}

/* Mobile — collapse table to stacked cards (each row becomes a card) */
@media (max-width: 760px) {
  .shift-table thead { display: none; }
  .shift-table, .shift-table tbody, .shift-table tr, .shift-table td { display: block; width: 100% !important; }
  .shift-table-wrap { border: none; background: transparent; box-shadow: none; }
  .shift-table tbody tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .shift-table tbody td { padding: 16px 18px; border-bottom: 1px dashed var(--line); }
  .shift-table tbody tr td:last-child { border-bottom: none; }
  .shift-table .col-old { background: var(--bg-soft); }
  .shift-table .col-new { background: linear-gradient(135deg, rgba(43, 200, 230, 0.05), rgba(118, 86, 204, 0.06)); border-top: 0; }
  .shift-table .col-new::before {
    content: 'AIVARA';
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
  }
  .shift-table .col-ai { background: var(--surface-2); text-align: left; padding: 14px 18px; }
  .shift-table .col-ai .shift-ai-btn { width: 100%; justify-content: center; }
}

.shift-foot {
  display: flex;
  justify-content: center;
}

.shift-compare-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.shift-compare-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  transition: all 0.2s ease;
}

.shift-compare-link:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--purple);
}

@media (max-width: 800px) {
  .shift-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .shift-arrow { transform: rotate(90deg); justify-content: flex-start; padding-left: 16px; }
  .section-shift { padding: 64px 24px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section-how {
  padding: 88px 56px;
  max-width: 1320px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.how-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.how-step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.20;
  position: absolute;
  top: 18px;
  right: 24px;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.10), rgba(118, 86, 204, 0.12));
  border: 1px solid rgba(94, 107, 208, 0.18);
  color: var(--accent);
}

.how-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.how-step-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 1024px) {
  .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-how { padding: 64px 24px; }
}

/* ============================================================
   USE CASE TABS
   ============================================================ */
.section-usecases {
  padding: 88px 56px;
  max-width: 1320px;
  margin: 0 auto;
}

.usecase-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.usecase-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.usecase-tab:hover { color: var(--text); }

.usecase-tab.is-active {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(118, 86, 204, 0.22);
}

.usecase-panels { position: relative; }
.usecase-panel { display: none; }
.usecase-panel.is-active { display: block; }

.usecase-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

/* ============================================================
   SECTION-DARK — full-bleed dark band for visual rhythm
   Applied to: How It Works, Testimonials, Final CTA
   Compound selector (.section.section-dark) wins specificity over
   later section-specific overrides like .section-testimonials.
   ============================================================ */
.section.section-dark {
  background: linear-gradient(180deg, #0a1024 0%, #131c39 100%);
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 56px;
  padding-right: 56px;
  position: relative;
  overflow: hidden;
}

/* Testimonials gets a richer, more saturated dark blue — most visible visual break */
.section-testimonials.section-dark {
  background: linear-gradient(180deg, #06112d 0%, #0f1f4a 100%);
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 20%, rgba(43, 200, 230, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(118, 86, 204, 0.18), transparent 70%);
  pointer-events: none;
}

.section-dark > * {
  position: relative;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-title { color: #ffffff; }
.section-dark .section-eyebrow {
  background: linear-gradient(120deg, #5be8ff, #c3a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-dark .section-sub { color: rgba(255, 255, 255, 0.72); }

/* Cards inside dark sections */
.section-dark .how-step,
.section-dark .testimonial,
.section-dark .cta-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-dark .how-step-title,
.section-dark .testimonial-quote,
.section-dark .testimonial-name,
.section-dark .cta-title { color: #ffffff; }

.section-dark .how-step-body,
.section-dark .testimonial-title,
.section-dark .cta-sub { color: rgba(255, 255, 255, 0.72); }

.section-dark .how-step-icon,
.section-dark .testimonial-stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.section-dark .how-step-num {
  background: linear-gradient(120deg, #5be8ff, #c3a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.45;
}

.section-dark .testimonial-stat strong {
  background: linear-gradient(120deg, #5be8ff, #c3a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-dark .testimonial-author { border-top-color: rgba(255, 255, 255, 0.10); }

.section-dark .testimonial-linkedin {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}
.section-dark .testimonial-linkedin:hover {
  background: var(--accent);
  color: #ffffff;
}

.section-dark .cta-eyebrow {
  background: linear-gradient(120deg, #5be8ff, #c3a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.20);
}
.section-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* ============================================================
   USE-CASE PILLARS — replaces dense 4-card grid with tight row
   ============================================================ */
.usecase-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.usecase-pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.usecase-pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 107, 208, 0.32);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.usecase-pillar h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}

.usecase-pillar p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 1024px) {
  .usecase-pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .usecase-pillars { grid-template-columns: 1fr; }
  .usecase-pillar { padding: 18px 18px; }
}

/* Testimonial avatar — actual logo image variant (always white bg so logos pop) */
.testimonial-avatar-img {
  background: #ffffff;
  padding: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.testimonial-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section-dark .testimonial-avatar-img {
  background: #ffffff;        /* keep white in dark mode so logos still pop */
  border-color: rgba(255, 255, 255, 0.30);
}

/* Routing engine table — drop the col-strengths column responsive width */
.tier-table th, .tier-table td { font-size: 14px; }
.tier-table .col-aivara { font-size: 14px; line-height: 1.5; }

/* Use-case promise block — guarantee headline + pain-point hook */
.usecase-promise {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.04), rgba(118, 86, 204, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.usecase-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 12px;
}

.usecase-pain {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 640px) {
  .usecase-promise { padding: 20px 18px; }
  .usecase-headline { font-size: 19px; }
  .usecase-pain { font-size: 14px; }
}

/* Shift section foot — AI-engine compare links + written-take fallback */
.shift-foot {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.shift-foot-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0;
  text-align: center;
}

.shift-compare-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shift-engine-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shift-foot-note {
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
  margin: 6px 0 0;
}

.shift-foot-note a {
  color: var(--text-soft);
  border-bottom: 1px dotted var(--line-strong);
  margin: 0 2px;
}
.shift-foot-note a:hover { color: var(--accent); border-color: var(--accent); }

/* Ask-AI followup CTA */
.ask-ai-followup {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.ask-ai-followup a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(94, 107, 208, 0.30);
}
.ask-ai-followup a:hover { color: var(--purple); border-color: var(--purple); }

.usecase-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.usecase-card:hover {
  border-color: rgba(94, 107, 208, 0.28);
  box-shadow: var(--shadow-md);
}

.usecase-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.usecase-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 800px) {
  .section-usecases { padding: 64px 18px; }
  .usecase-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 16px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .usecase-tabs::-webkit-scrollbar { display: none; }
  .usecase-tab { font-size: 12.5px; padding: 9px 14px; }
  .usecase-deliverables { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials {
  padding: 88px 56px;
  max-width: 1320px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

/* 5-star rating row at the top of each testimonial */
.testimonial-rating {
  display: inline-flex;
  gap: 3px;
  align-self: flex-start;
  color: #f7b500;        /* warm gold */
}
.testimonial-rating svg {
  width: 16px;
  height: 16px;
  display: block;
}
.section-dark .testimonial-rating {
  color: #ffce4d;        /* slightly brighter on dark */
  filter: drop-shadow(0 0 4px rgba(255, 206, 77, 0.30));
}

.testimonial-stat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(43, 200, 230, 0.08), rgba(118, 86, 204, 0.10));
  border: 1px solid rgba(94, 107, 208, 0.20);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
}

.testimonial-stat strong {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonial-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.testimonial-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-title { font-size: 12px; color: var(--text-soft); }

.testimonial-linkedin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.testimonial-linkedin:hover {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-testimonials { padding: 64px 24px; }
}

/* ============================================================
   ASK AI ABOUT AIVARA
   ============================================================ */
.section-ask-ai {
  padding: 88px 56px;
  max-width: 1320px;
  margin: 0 auto;
}

.ask-ai-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  background-image:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(43, 200, 230, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(118, 86, 204, 0.10), transparent 60%);
}

/* Bottom Ask AI section in dark-band variant — full-bleed dark, no card frame */
.section-ask-ai.section-dark {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-ask-ai.section-dark .ask-ai-card {
  background: transparent;
  background-image: none;
  border: none;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: none;
}

.section-ask-ai.section-dark .ask-ai-title { color: #ffffff; }
.section-ask-ai.section-dark .ask-ai-sub   { color: rgba(255, 255, 255, 0.78); }

/* The 4 AI engine buttons get the full brand gradient (matching primary CTAs) */
.section-ask-ai.section-dark .ask-ai-btn {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  background-size: 180% 180%;
  background-position: 0% 50%;
  border: none;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(118, 86, 204, 0.35);
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.section-ask-ai.section-dark .ask-ai-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(118, 86, 204, 0.50);
  color: #ffffff;
}

/* "or skip ahead" divider between AI buttons + CTA buttons */
.ask-ai-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px auto 22px;
  max-width: 320px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ask-ai-divider::before,
.ask-ai-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.ask-ai-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .ask-ai-cta-row { flex-direction: column; align-items: stretch; }
  .ask-ai-cta-row .btn { width: 100%; justify-content: center; }
}

.ask-ai-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 6px 0 12px;
  color: var(--text);
}

.ask-ai-sub {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0 auto 28px;
  max-width: 540px;
  line-height: 1.55;
}

.ask-ai-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.ask-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
}

.ask-ai-btn:hover {
  border-color: var(--accent);
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(118, 86, 204, 0.22);
}

@media (max-width: 640px) {
  .ask-ai-card { padding: 40px 22px; }
  .ask-ai-buttons { flex-direction: column; align-items: stretch; }
  .ask-ai-btn { justify-content: center; }
}

/* Routing engine — top note (replaces bottom note position) */
.ai-routing-note-top {
  margin-top: 8px;
  margin-bottom: 28px;
}

/* ============================================================
   COMPARE PAGES (shared template)
   ============================================================ */
.compare-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.compare-hero {
  max-width: 920px;
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.compare-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.compare-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}

.compare-lede {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto 28px;
}

.compare-table-wrap {
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-soft);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-soft);
}

.compare-table thead th.col-aivara {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  color: #ffffff;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  width: 26%;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .check { color: #0e8d62; font-weight: 700; }
.compare-table .miss { color: #94a3b8; }

@media (max-width: 800px) {
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
  .compare-table tbody td:first-child { width: 30%; font-size: 12px; }
}

.compare-bottom-cta {
  text-align: center;
  margin: 48px auto 0;
  padding: 40px 24px;
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

.compare-bottom-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.compare-bottom-cta p {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0 0 22px;
  line-height: 1.5;
}


