/* =============================================================
   Arbitrail — Global Stylesheet
   Shared across all pages on dev.arbitrail.com

   Includes: CSS variables, reset, typography, nav, hero base,
             shared sections (logo cloud, stat strip, value props,
             service segments, ROI calc, AVA demo, process timeline,
             regions base, testimonials, values strip, CTA, FAQ),
             footer, animations, and responsive breakpoints.

   Per-page CSS lives in each page's own .css file.
   Edit here once → applies everywhere.
   ============================================================= */

:root {
  --ink: #0B0A1F;
  --ink-2: #1A1A3A;
  --ink-3: #2D2D5F;
  --text: #0B0A1F;
  --text-2: #4A4B6E;
  --text-3: #7B7C9B;
  --text-muted: #A5A6BF;
  --line: #EEEEF6;
  --line-2: #E2E3EE;
  --bg: #FFFFFF;
  --bg-2: #FAFAFE;
  --bg-3: #F4F4FB;
  --indigo: #4F46E5;
  --indigo-2: #6366F1;
  --indigo-3: #818CF8;
  --indigo-50: #EEF2FF;
  --indigo-100: #E0E7FF;
  --purple: #7C3AED;
  --lilac: #C7BFFF;
  --lilac-soft: #F3F0FF;
  --green: #10B981;
  --green-50: #ECFDF5;
  --amber: #F59E0B;
  --coral: #F472B6;
  --teal: #06B6D4;
  --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #A855F7 100%);
  --gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #F3F0FF 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(11,10,31,.04);
  --shadow-sm: 0 2px 8px rgba(11,10,31,.05), 0 1px 2px rgba(11,10,31,.03);
  --shadow: 0 8px 32px rgba(11,10,31,.08), 0 2px 8px rgba(11,10,31,.04);
  --shadow-lg: 0 24px 64px rgba(11,10,31,.12), 0 8px 24px rgba(11,10,31,.06);
  --shadow-indigo: 0 8px 32px rgba(79,70,229,.25), 0 2px 8px rgba(79,70,229,.12);
  --font-display: 'Inter Tight', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.pinned {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.92);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 48px;
}
.nav-logo img {
  height: 18px; width: auto; display: block;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 8px 16px; border-radius: 8px;
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-3); }
.btn-primary {
  background: var(--gradient); color: #fff;
  padding: 10px 22px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-indigo); filter: brightness(1.08); }
.btn-primary .arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

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

.nav-ham {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px; cursor: pointer;
}
.nav-ham:hover { background: var(--bg-3); }
.nav-ham-bars { display: flex; flex-direction: column; gap: 5px; }
.nav-ham-bars span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

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

/* Ambient backdrop */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-gradient {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 1400px; height: 900px;
  background:
    radial-gradient(ellipse 45% 55% at 50% 0%, rgba(199,191,255,.45) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 25% 40%, rgba(129,140,248,.18) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 75% 45%, rgba(236,72,153,.1) 0%, transparent 55%);
  filter: blur(40px);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(56,182,255,0.55) 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(254,161,21,0.42) 1.4px, transparent 2px),
    radial-gradient(circle, rgba(252,178,17,0.45) 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(255,86,89,0.45) 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(56,182,255,0.30) 1px, transparent 1.6px);
  background-size: 113px 97px, 89px 71px, 67px 53px, 131px 109px, 53px 79px;
  background-position: 0 0, 47px 31px, 19px 41px, 73px 17px, 31px 5px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  animation: fadeUp .7s var(--ease-out) both;
  box-shadow: var(--shadow-xs);
}
.hero-pill-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: .02em;
}
.hero-pill-tag::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(255,255,255,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -3px;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp .7s var(--ease-out) .05s both;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 780px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp .7s var(--ease-out) .1s both;
}

.hero-cta-row {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp .7s var(--ease-out) .15s both;
}

.btn-primary-xl {
  background: var(--gradient); color: #fff;
  padding: 16px 32px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-indigo);
}
.btn-primary-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(79,70,229,.4);
  filter: brightness(1.08);
}

.btn-secondary-xl {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: 15px 30px;
  font-size: 15px; font-weight: 600;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s var(--ease);
}
.btn-secondary-xl:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(255,255,255,0.9);
}

.hero-metric-strip {
  display: flex; justify-content: center; align-items: center;
  gap: 0;
  margin: 0 auto 28px;
  max-width: 880px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  animation: fadeUp .7s var(--ease-out) .18s both;
}
.hero-metric-item {
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.hero-metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 28px;
  background: var(--line);
}
.hero-metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}
.hero-metric-l {
  display: block;
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
}

.hero-trust {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-3);
  animation: fadeUp .7s var(--ease-out) .22s both;
}
.trust-avatars { display: flex; }
.trust-av {
  width: 26px; height: 26px; border-radius: 50%;
  margin-left: -7px;
  border: 2px solid #fff;
  font-size: 9px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.trust-av:first-child { margin-left: 0; }

/* Sticky scroll CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.sticky-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(79,70,229,.35), 0 4px 12px rgba(11,10,31,.15);
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.sticky-cta a:hover { transform: translateY(-2px); filter: brightness(1.08); }
@media (max-width: 768px) {
  .sticky-cta { bottom: 16px; right: 16px; }
  .sticky-cta a { padding: 12px 18px; font-size: 13px; }
}

/* === HERO DASHBOARD MOCKUP === */
.hero-mockup {
  margin-top: 72px;
  max-width: 1000px;
  margin-left: auto; margin-right: auto;
  position: relative;
  animation: fadeUp .9s var(--ease-out) .3s both;
}
.hero-mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79,70,229,.3), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.mockup-frame {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFE 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(11,10,31,.04),
    0 30px 80px rgba(11,10,31,.12),
    0 8px 24px rgba(11,10,31,.06);
}
.mockup-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot.r { background: #FF5F57; }
.mockup-dot.y { background: #FEBC2E; }
.mockup-dot.g { background: #28C840; }
.mockup-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-body);
  max-width: 360px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 6px;
}
.mockup-url::before {
  content: ''; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6V4a2 2 0 114 0v2m-6 0h8v5H3V6z' stroke='%2310B981' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}
.mockup-sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
}
.mockup-brand-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  margin-bottom: 20px;
}
.mockup-brand-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: #fff;
}
.mockup-brand-name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: var(--text);
}
.mockup-nav { display: flex; flex-direction: column; gap: 2px; }
.mockup-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px; color: var(--text-2);
  font-weight: 500;
}
.mockup-nav-item.active {
  background: var(--indigo-50);
  color: var(--indigo);
}
.mockup-nav-item-ic {
  width: 15px; height: 15px;
  display: inline-block;
}

.mockup-main {
  padding: 24px;
}
.mockup-main-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.mockup-main-hd h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--text);
  letter-spacing: -.3px;
}
.mockup-period {
  display: flex; gap: 0; background: var(--bg-3); border-radius: 7px; padding: 3px;
}
.mockup-period button {
  font-size: 11px; padding: 4px 10px; border-radius: 5px;
  font-weight: 600; color: var(--text-3);
  background: transparent; cursor: default;
}
.mockup-period button.active { background: #fff; color: var(--text); box-shadow: var(--shadow-xs); }

.mockup-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 18px;
}
.mockup-stat {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.mockup-stat-label {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
}
.mockup-stat-val {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--text);
  letter-spacing: -.8px; line-height: 1;
}
.mockup-stat-trend {
  font-size: 11px; font-weight: 600;
  margin-top: 5px;
  display: flex; align-items: center; gap: 3px;
}
.mockup-stat-trend.up { color: var(--green); }
.mockup-stat-trend.neutral { color: var(--text-3); }

.mockup-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
.mockup-chart-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.mockup-chart-hd h5 {
  font-size: 12px; font-weight: 600; color: var(--text);
}
.mockup-chart-legend {
  display: flex; gap: 12px; font-size: 11px; color: var(--text-3);
}
.mockup-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mockup-chart-legend .dot { width: 7px; height: 7px; border-radius: 2px; }

.mockup-chart-svg {
  width: 100%; height: 80px;
}

.mockup-activity {
  display: flex; gap: 8px;
}
.mockup-activity-item {
  flex: 1; padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
}
.mockup-av {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  font-family: var(--font-display);
}
.mockup-a-name { font-size: 11px; font-weight: 600; color: var(--text); }
.mockup-a-status { font-size: 10px; color: var(--green); display: flex; align-items: center; gap: 3px; }
.mockup-a-status::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--green);
}

/* Floating accent cards on hero mockup */
.mockup-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.mockup-float-tl {
  top: -20px; left: -30px;
  animation: float 6s ease-in-out infinite;
}
.mockup-float-br {
  bottom: -16px; right: -28px;
  animation: float 6s ease-in-out infinite 3s;
}
.mockup-float-label {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px;
}
.mockup-float-val {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -.5px;
}
.mockup-float-val .up { color: var(--green); font-size: 11px; font-weight: 600; margin-left: 2px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* === LOGO CLOUD === */
.clients {
  padding: 80px 0 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.clients-title {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--text-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.clients-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  row-gap: 32px;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.client-logo:hover { opacity: 1; transform: translateY(-2px); }
.client-logo svg, .client-logo img {
  height: 28px;
  width: auto;
  max-width: 160px;
  display: block;
}
/* Traveluro renders smaller in its viewBox - boost it */
.client-logo svg[viewBox="0 0 94 32"] { height: 36px; }

/* === STAT STRIP === */
.stats {
  padding: 96px 0;
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.stat-item {
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: -20px; top: 20%; bottom: 20%;
  width: 1px; background: var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700;
  color: var(--text);
  letter-spacing: -3px; line-height: 1;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-num .suf { font-size: 36px; margin-left: 2px; }
.stat-lbl {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* === SECTIONS === */
.section { padding: 120px 0; }
.section.tight { padding: 96px 0; }
.section.dark { background: var(--ink); color: #fff; }
.section.muted { background: var(--bg-2); }

.section-hd { text-align: center; margin-bottom: 72px; max-width: 740px; margin-left: auto; margin-right: auto; }
.section-hd.left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--indigo);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px;
  padding: 5px 14px;
  background: var(--indigo-50);
  border-radius: var(--radius-pill);
}
.section-eyebrow.dark {
  color: var(--indigo-3);
  background: rgba(129,140,248,.1);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}
.section-title.wh { color: #fff; }
.section-desc {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}
.section-desc.left { margin-left: 0; }
.section-desc.wh { color: rgba(255,255,255,.7); }

/* === VALUE PROPS 3-UP === */
.values {
  padding: 96px 0 120px;
  background: var(--bg);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  border-color: var(--indigo-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  padding: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform .4s var(--ease);
  position: relative;
}
.value-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: 0.35;
  transition: transform .8s var(--ease), opacity .3s var(--ease);
}
.value-card:hover .value-icon::before {
  transform: rotate(180deg);
  opacity: 0.6;
}
.value-card:hover .value-icon { transform: scale(1.04); }
.value-icon-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.2);
}
.value-icon.money { color: var(--green); }
.value-icon.money .value-icon-inner { background: var(--green); }
.value-icon.speed { color: var(--indigo); }
.value-icon.speed .value-icon-inner { background: var(--indigo); }
.value-icon.compliance { color: var(--amber); }
.value-icon.compliance .value-icon-inner { background: var(--amber); }

.value-icon svg { width: 26px; height: 26px; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 15px; color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.value-card-metric {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.value-card-metric strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* === SERVICE SEGMENTS === */
.segments {
  padding: 120px 0;
  background: var(--bg-2);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.seg-card {
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.seg-card:hover {
  border-color: var(--indigo-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.seg-card-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  height: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.seg-card-badge-new img {
  height: 14px;
  width: auto;
  display: block;
}
.seg-card h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  letter-spacing: -1px; line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}
.seg-card > p {
  font-size: 15.5px; color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.seg-features {
  list-style: none;
  margin-bottom: 32px;
}
.seg-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.seg-features li:last-child { border-bottom: none; }
.seg-features li::before {
  content: ''; flex-shrink: 0; margin-top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
.seg-card.scale .seg-features li::before {
  background-color: rgba(56,182,255,.12);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l2.5 2.5L9 2' stroke='%2338B6FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.seg-card.cxas .seg-features li::before {
  background-color: rgba(254,161,21,.12);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l2.5 2.5L9 2' stroke='%23FEA115' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.seg-card.ava .seg-features li::before {
  background-color: rgba(252,178,17,.12);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l2.5 2.5L9 2' stroke='%23FCB211' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.seg-card.core .seg-features li::before {
  background-color: rgba(255,86,89,.12);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l2.5 2.5L9 2' stroke='%23FF5659' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.seg-footer {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
/*.seg-footer {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 12px;*/
/*  padding-top: 20px;*/
/*  border-top: 1px solid var(--line);*/
/*}*/
.seg-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}
.seg-footer a {
  font-size: 14px; font-weight: 600; color: var(--indigo);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.seg-footer a:hover { gap: 8px; }
.seg-card.scale .seg-footer a { color: #38B6FF; }
.seg-card.cxas .seg-footer a { color: #FEA115; }
.seg-card.ava .seg-footer a { color: #FCB211; }
.seg-card.core .seg-footer a { color: #FF5659; }
.seg-pricing {
  font-size: 13px; color: var(--text-3);
}
/* === FOOTER === */
footer {
  background: #EEF0F8 !important;
  border-top: 1px solid #E0E2EE !important;
  padding: 0 0 28px !important;
  position: relative !important;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.9;
  z-index: 2;
}
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(124,58,237,0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(79,70,229,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
footer > * { position: relative; z-index: 1; }

.seg-learn-btn {
  font-size: 14px; font-weight: 400;
  display: inline-flex; align-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: opacity .2s var(--ease);
  text-decoration: none;
  opacity: .85;
}
.seg-learn-btn:hover { opacity: 1; }
.seg-card.scale .seg-learn-btn { color: #38B6FF; border-color: #38B6FF; background: rgba(56,182,255,.06); }
.seg-card.cxas .seg-learn-btn  { color: #FEA115; border-color: #FEA115; background: rgba(254,161,21,.06); }
.seg-card.ava .seg-learn-btn   { color: #FCB211; border-color: #FCB211; background: rgba(252,178,17,.06); }
.seg-card.core .seg-learn-btn  { color: #FF5659; border-color: #FF5659; background: rgba(255,86,89,.06); }
.seg-pricing strong { font-family: var(--font-display); color: var(--text); font-weight: 700; }

/* Variant colors for each segment */
.seg-card.scale:hover { border-color: #38B6FF; }
.seg-card.cxas:hover { border-color: #FEA115; }
.seg-card.ava:hover { border-color: #FCB211; }
.seg-card.core:hover { border-color: #FF5659; }

/* === ROI CALCULATOR === */
.calculator {
  padding: 120px 0;
  background: var(--bg);
}
.calc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.calc-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}
.calc-text p {
  font-size: 17px; color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.calc-highlights {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.calc-highlight {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--text-2);
}
.calc-highlight-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.calc-card-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(199,191,255,.25), transparent 60%);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.calc-card > * { position: relative; }

.calc-label {
  font-size: 12px; font-weight: 700;
  color: var(--text-3);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.calc-field {
  margin-bottom: 22px;
}
.calc-field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: var(--text-2);
  margin-bottom: 10px;
}
.calc-field-val {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -.5px;
}
.calc-slider {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo);
  cursor: pointer;
}

.calc-toggle {
  display: flex;
  background: var(--bg-3);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 24px;
}
.calc-toggle button {
  flex: 1;
  padding: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text-3);
  border-radius: 7px;
  transition: all .2s var(--ease);
  font-family: var(--font-body);
}
.calc-toggle button.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.calc-result {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(199,191,255,.15), transparent 60%);
  pointer-events: none;
}
.calc-result-label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}
.calc-result-val {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 700;
  letter-spacing: -2px; line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(90deg, #fff 0%, #C7BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.calc-result-sub {
  font-size: 13px; color: rgba(255,255,255,.5);
  position: relative;
}

.calc-tier-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .04em;
  margin-bottom: 10px;
  margin-top: 4px;
}
.calc-tier {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}
.calc-tier button {
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 8px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc-tier button:hover {
  border-color: var(--indigo-3);
  background: var(--bg);
}
.calc-tier button.active {
  border-color: var(--indigo);
  background: var(--indigo-50);
  box-shadow: 0 4px 14px rgba(79,70,229,.15);
}
.calc-tier button.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}
.tier-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.calc-tier button.active .tier-name { color: var(--indigo); }
.tier-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.3px;
}
.calc-tier button.active .tier-price { color: var(--indigo); }
@media (max-width: 480px) {
  .calc-tier { grid-template-columns: 1fr; }
}

/* === SIDE-BY-SIDE SPLIT RESULT === */
.calc-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.calc-split-cell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: transform .2s var(--ease);
}
.calc-split-cell.dark {
  background: var(--ink);
  border-color: var(--ink);
}
.calc-split-cell.accent {
  background: var(--gradient);
  border: none;
  position: relative;
  overflow: hidden;
}
.calc-split-cell.accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.calc-split-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-split-cell.dark .calc-split-label,
.calc-split-cell.accent .calc-split-label {
  color: rgba(255,255,255,.65);
}
.calc-split-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.8px;
  line-height: 1;
}
.calc-split-cell.dark .calc-split-val,
.calc-split-cell.accent .calc-split-val {
  color: #fff;
  position: relative;
}
.calc-bottom-line {
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}
.calc-bottom-line strong {
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-display);
}

/* Comparison rows */
.calc-compare {
  margin-top: 28px;
  padding: 20px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.calc-compare-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.calc-compare-rows {
  display: flex; flex-direction: column; gap: 8px;
}
.calc-compare-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
}
.calc-compare-name {
  font-weight: 500;
}
.calc-compare-bar {
  display: block;
  height: 10px;
  background: var(--bg-3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.calc-compare-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  transition: width .35s var(--ease);
}
.calc-compare-fill.ih { width: 100%; background: linear-gradient(90deg, #f87171, #ef4444); }
.calc-compare-fill.bp { width: 50%;  background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.calc-compare-fill.ar { width: 32%;  background: var(--gradient); }
.calc-compare-val {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: right;
  color: var(--text);
}
.calc-compare-row.leader .calc-compare-name {
  color: var(--indigo);
  font-weight: 700;
}

/* Email capture */
.calc-capture {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--lilac-soft) 0%, var(--indigo-50) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--indigo-100);
}
.calc-capture-label {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.calc-capture-row {
  display: flex;
  gap: 8px;
}
.calc-capture-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13.5px;
  background: #fff;
  color: var(--text);
}
.calc-capture-row input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.calc-capture-row button {
  padding: 11px 18px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .2s var(--ease);
}
.calc-capture-row button:hover { filter: brightness(1.08); }
.calc-capture-hint {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 8px;
}
.calc-capture.sent .calc-capture-row { display: none; }
.calc-capture.sent .calc-capture-hint { color: var(--green); font-weight: 600; }

@media (max-width: 600px) {
  .calc-compare-row { grid-template-columns: 1fr; gap: 4px; }
  .calc-compare-bar { display: none; }
  .calc-capture-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .calc-split { grid-template-columns: 1fr; }
}

/* ========================================================================
   OTA / TRAVEL TECH SHOWCASE  (Editorial dark · ops-grade)
   ======================================================================== */
.otacs {
  position: relative;
  padding: 140px 0 120px;
  background: #07071A;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Layered atmosphere */
.otacs-atmosphere {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(56,182,255,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(124,58,237,.16), transparent 65%),
    radial-gradient(ellipse 80% 40% at 0% 60%, rgba(79,70,229,.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.otacs-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.otacs-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

/* ----------- HERO ----------- */
.otacs-hero {
  text-align: center;
  max-width: 1060px;
  margin: 0 auto 96px;
  padding: 0 16px;
}
.otacs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: 7px 16px 7px 14px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.otacs-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #38B6FF;
  box-shadow: 0 0 12px rgba(56,182,255,.8);
  animation: otaPulse 2.4s var(--ease) infinite;
}
@keyframes otaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

.otacs-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.1;
  letter-spacing: -2px;
  color: #fff;
  margin: 0 0 28px;
  padding-bottom: .12em;       /* protect descenders / V baseline */
  text-wrap: balance;
}
.otacs-headline em {
  font-style: normal;
  font-weight: 700;
  color: #38B6FF;
  background: linear-gradient(180deg, #7DD0FF 0%, #38B6FF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.otacs-kicker {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,.62);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* Hover-glossary for OTA jargon */
.ota-glossary {
  position: relative;
  border-bottom: 1px dotted rgba(255,255,255,.45);
  cursor: help;
}
.ota-glossary:hover { border-bottom-color: rgba(255,255,255,.85); color: rgba(255,255,255,.95); }
.ota-glossary::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  background: #fff;
  color: var(--text);
  font-size: 12px; font-weight: 500;
  font-style: normal;
  padding: 7px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11,10,31,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 5;
}
.ota-glossary:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.otacs-skip {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  text-align: center;
}
.otacs-skip a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.otacs-skip a:hover { color: #fff; }

/* ----------- INSTRUMENT (mid-office exposure) ----------- */
.otacs-instrument {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 0;
  margin: 0 auto 96px;
  max-width: 1080px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 30px 80px -20px rgba(0,0,0,.6);
  overflow: hidden;
}
.otacs-instrument::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,182,255,.4), transparent);
}

.otacs-instrument-hd {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.otacs-instrument-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #38B6FF;
  background: rgba(56,182,255,.1);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.otacs-instrument-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.2px;
}
.otacs-instrument-meta {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.otacs-instrument-body {
  padding: 36px 32px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1.7fr;
  gap: 48px;
  align-items: center;
}

/* control */
.otacs-instrument-control {}
.otacs-ctrl-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.otacs-ctrl-label > span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.otacs-ctrl-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.otacs-instrument-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  outline: none;
  cursor: pointer;
}
.otacs-instrument-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow:
    0 0 0 4px rgba(56,182,255,.35),
    0 0 18px rgba(56,182,255,.55);
  cursor: grab;
  transition: transform .12s var(--ease);
}
.otacs-instrument-slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.otacs-instrument-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(.95); }
.otacs-instrument-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 4px rgba(56,182,255,.35), 0 0 18px rgba(56,182,255,.55);
  cursor: grab;
}
.otacs-ctrl-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 10.5px;
  color: rgba(255,255,255,.32);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

/* readout */
.otacs-instrument-readout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.06);
}
.otacs-rd-cell {
  padding: 24px 22px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.otacs-rd-cell:last-child { border-right: 0; }
.otacs-rd-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.otacs-rd-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 10px;
}
.otacs-rd-foot {
  font-size: 11.5px;
  color: rgba(255,255,255,.42);
  line-height: 1.4;
}

.otacs-rd-warn .otacs-rd-tag { color: #FCA5A5; }
.otacs-rd-warn .otacs-rd-num { color: #FF7A7C; }
.otacs-rd-warn::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #FF5659, transparent);
}

.otacs-rd-win .otacs-rd-tag { color: #6EE7B7; }
.otacs-rd-win .otacs-rd-num {
  color: #6EE7B7;
  background: linear-gradient(180deg, #A7F3D0 0%, #34D399 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.otacs-rd-win::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #34D399, transparent);
}

/* ----------- LEDGER (reactive vs proactive) ----------- */
.otacs-ledger {
  margin: 0 auto 96px;
  max-width: 1180px;
}
.otacs-ledger-hd {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 16px;
}
.otacs-ledger-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.otacs-ledger-hd h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.18;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.otacs-ledger-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}

.otacs-ledger-col {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
}

.otacs-col-head { margin-bottom: 28px; }
.otacs-col-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 14px;
}
.otacs-col-head--bad .otacs-col-pill {
  color: #FCA5A5;
  background: rgba(255,86,89,.1);
  border: 1px solid rgba(255,86,89,.25);
}
.otacs-col-head--good .otacs-col-pill {
  color: #6EE7B7;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
}
.otacs-col-head h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin: 0;
}

.otacs-col-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
}
.otacs-col-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}
.otacs-col-list li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.otacs-col-list strong {
  font-weight: 600;
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
}
.otacs-col-list span {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.45;
}

.otacs-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.otacs-mark--bad {
  background: rgba(255,86,89,.12);
  color: #FF7A7C;
  border: 1px solid rgba(255,86,89,.2);
}
.otacs-mark--good {
  background: rgba(16,185,129,.14);
  color: #34D399;
  border: 1px solid rgba(16,185,129,.3);
}

.otacs-col-out {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.otacs-col-out > span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
}
.otacs-col-out p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: rgba(255,255,255,.78);
}
.otacs-col-out--bad p { color: #FCA5A5; }
.otacs-col-out--good p { color: #6EE7B7; }

.otacs-ledger-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  width: 56px;
  position: relative;
}
.otacs-ledger-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.04);
}
.otacs-divider-line {
  flex-grow: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.15), transparent);
  position: relative;
  z-index: 1;
}
.otacs-divider-arrow {
  position: relative;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(79,70,229,.6);
  margin: 16px 0;
}

/* ----------- PROOF (Q3 results) ----------- */
.otacs-proof {
  margin: 0 auto 96px;
  max-width: 1180px;
}
.otacs-proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(56,182,255,.06) 0%, rgba(124,58,237,.04) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.otacs-proof-grid::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,182,255,.16) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.otacs-proof-headline { position: relative; }
.otacs-proof-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #38B6FF;
  background: rgba(56,182,255,.12);
  border: 1px solid rgba(56,182,255,.25);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 20px;
}
.otacs-proof-bignum {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: .95;
  background: linear-gradient(180deg, #fff 0%, #38B6FF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.otacs-proof-bignum span {
  -webkit-text-fill-color: rgba(56,182,255,.7);
  font-size: .55em;
  vertical-align: 22%;
  margin-left: 2px;
}
.otacs-proof-bigsub {
  font-size: 16px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  max-width: 380px;
}

.otacs-proof-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-self: center;
}
.otacs-stat {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 22px 22px;
}
.otacs-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.otacs-stat-num span {
  color: #38B6FF;
  font-size: 18px;
  margin-left: 1px;
}
.otacs-stat-lbl {
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
  letter-spacing: .02em;
}

/* ----------- CTA ----------- */
.otacs-cta {
  text-align: center;
  padding: 0 16px;
}
.otacs-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.otacs-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0 0 16px;
}
.otacs-cta > .otacs-cta-inner > p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin: 0 0 32px;
}
.otacs-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.otacs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #fff;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.1px;
  transition: all .25s var(--ease);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 12px 32px -6px rgba(79,70,229,.55);
}
.otacs-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 16px 40px -6px rgba(79,70,229,.7);
}
.otacs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  padding: 14px 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  transition: all .25s var(--ease);
  backdrop-filter: blur(10px);
}
.otacs-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

/* glossary */
.otacs-glossary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.otacs-glossary-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.otacs-glossary-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.otacs-glossary-items span {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .01em;
}
.otacs-glossary-items b {
  color: #38B6FF;
  font-weight: 700;
  margin-right: 6px;
  font-family: var(--font-display);
  letter-spacing: .03em;
}

/* responsive */
@media (max-width: 980px) {
  .otacs-instrument-body { grid-template-columns: 1fr; gap: 32px; padding: 28px 24px; }
  .otacs-instrument-readout { grid-template-columns: 1fr; }
  .otacs-rd-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .otacs-rd-cell:last-child { border-bottom: 0; }
  .otacs-ledger-body { grid-template-columns: 1fr; }
  .otacs-ledger-divider { width: 100%; height: 56px; flex-direction: row; }
  .otacs-divider-line { height: 1px; width: auto; flex-grow: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); }
  .otacs-divider-arrow { transform: rotate(90deg); margin: 0 16px; }
  .otacs-proof-grid { grid-template-columns: 1fr; padding: 40px 28px; }
  .otacs-instrument-meta { display: none; }
}
@media (max-width: 600px) {
  .otacs { padding: 88px 0 80px; }
  .otacs-hero { margin-bottom: 64px; }
  .otacs-instrument, .otacs-ledger, .otacs-proof { margin-bottom: 64px; }
  .otacs-ledger-col { padding: 28px 22px 24px; }
  .otacs-proof-stats { grid-template-columns: 1fr; }
  .otacs-cta-btns { flex-direction: column; }
  .otacs-btn-primary, .otacs-btn-ghost { width: 100%; justify-content: center; }
}

/* === AVA AI INTERACTIVE DEMO === */
.ava-section {
  padding: 120px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ava-bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(199,191,255,.25) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}
.ava-bg-orb-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  bottom: -100px; left: 10%;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

.ava-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.ava-text .section-eyebrow { background: rgba(167,139,250,.15); color: #C7BFFF; }
.ava-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}
.ava-text > p {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}
.ava-agents {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 32px;
}
.ava-agent {
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 8px;
  transition: all .2s var(--ease);
}
.ava-agent:hover {
  background: rgba(129,140,248,.1);
  border-color: rgba(129,140,248,.3);
  color: #fff;
}
.ava-agent-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo-3);
  flex-shrink: 0;
}

.ava-chat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.ava-chat-hd {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.ava-chat-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: #fff;
}
.ava-chat-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: #fff;
}
.ava-chat-sub {
  font-size: 12px; color: rgba(255,255,255,.5); margin-top: 1px;
}
.ava-chat-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #10B981; font-weight: 600;
}
.ava-chat-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #10B981; animation: pulse 2s infinite;
}
.ava-chat-body {
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 320px;
}
.ava-msg {
  display: flex; gap: 10px; align-items: flex-end;
  max-width: 85%;
  animation: msgIn .4s var(--ease-out) both;
}
.ava-msg.user {
  margin-left: auto;
  flex-direction: row-reverse;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.ava-msg-av {
  width: 28px; height: 28px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; font-family: var(--font-display); color: #fff;
}
.ava-msg-av.ai { background: var(--gradient); }
.ava-msg-av.user { background: rgba(255,255,255,.15); }
.ava-msg-bubble {
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.5;
}
.ava-msg-bubble.ai {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border-top-left-radius: 4px;
}
.ava-msg-bubble.user {
  background: var(--indigo);
  color: #fff;
  border-top-right-radius: 4px;
}

.ava-chat-input-row {
  display: flex; gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.ava-chat-input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s var(--ease);
}
.ava-chat-input:focus { border-color: var(--indigo); }
.ava-chat-input::placeholder { color: rgba(255,255,255,.4); }
.ava-chat-send {
  padding: 10px 18px;
  background: var(--indigo);
  color: #fff;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.ava-chat-send:hover { background: var(--indigo-2); }
.ava-prompt-suggestions {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
}
.ava-prompt-chip {
  padding: 6px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 12px;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.ava-prompt-chip:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.ava-usage {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 16px 0 18px;
  padding: 8px 14px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.ava-usage strong { color: #fff; font-weight: 600; }
.ava-usage-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.ava-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}
.ava-stat-v {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
}
.ava-stat-l {
  font-size: 11px; color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* === PROCESS TIMELINE === */
.process {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(199,191,255,.08) 0%, transparent 70%),
    var(--bg);
  position: relative;
}
.process-callout {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px;
  padding: 10px 16px 10px 10px;
  background: var(--green-50);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--text-2);
  flex-wrap: wrap;
  justify-content: center;
}
.process-callout-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.process-callout-text { color: var(--text-2); }
.process-callout-text em { color: var(--text); font-style: normal; font-weight: 600; }
@media (max-width: 600px) {
  .process-callout { font-size: 12.5px; padding: 8px 12px 8px 8px; }
}
.process-phases {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 24px;
}
.process-phase {
  position: relative;
  --phase: var(--indigo);
  --phase-line: rgba(79,70,229,.18);
  --phase-tint: rgba(79,70,229,.05);
  --phase-glow: rgba(79,70,229,.22);
}
.process-phase[data-phase="2"] {
  --phase: var(--purple);
  --phase-line: rgba(124,58,237,.18);
  --phase-tint: rgba(124,58,237,.05);
  --phase-glow: rgba(124,58,237,.22);
}
.process-phase[data-phase="3"] {
  --phase: var(--teal);
  --phase-line: rgba(6,182,212,.22);
  --phase-tint: rgba(6,182,212,.06);
  --phase-glow: rgba(6,182,212,.25);
}
.process-phase-header {
  text-align: center;
  margin-bottom: 32px;
}
.process-phase-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--phase);
}
.process-phase-label::before,
.process-phase-label::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--phase);
  opacity: 0.45;
}
.process-phase-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
  letter-spacing: -.01em;
}
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 22px;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(16.66% + 4px);
  right: calc(16.66% + 4px);
  height: 2px;
  background: var(--phase-line);
  border-radius: 2px;
  z-index: 0;
}
.process-step {
  position: relative;
  padding: 36px 22px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  z-index: 1;
}
.process-step:hover {
  border-color: var(--phase);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.process-step-num {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--phase, var(--ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  box-shadow: 0 0 0 5px #fff, 0 6px 18px var(--phase-glow);
  z-index: 2;
  transition: transform .3s var(--ease);
}
.process-step:hover .process-step-num {
  transform: translateX(-50%) scale(1.06);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 4px;
  letter-spacing: -.005em;
}
.process-step p {
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.6;
}
.process-step ul {
  list-style: none;
  margin-top: 4px;
  display: flex; flex-direction: column; gap: 6px;
}
.process-step ul li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.process-step ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--phase);
  opacity: .85;
}
/* Milestone cards, Soft launch & Full go-live */
.process-step.milestone {
  background:
    linear-gradient(180deg, var(--phase-tint) 0%, transparent 60%),
    #fff;
  border-color: var(--phase);
  box-shadow: 0 12px 28px var(--phase-glow);
}
.process-step.milestone::after {
  content: 'MILESTONE';
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--phase);
  padding: 3px 8px;
  background: #fff;
  border: 1px solid var(--phase);
  border-radius: var(--radius-pill);
}

/* === REGIONS === */
.regions {
  padding: 120px 0;
  background: var(--bg-2);
}



/* ============================================================
   Utility classes extracted from inline styles
   ============================================================ */

/* Anchor link with indigo color */
.link-indigo {
  color: var(--indigo);
  font-weight: 600;
}

/* Inline SVG arrow icon (used in buttons/links) */
.svg-arrow-inline {
  margin-left: 6px;
  vertical-align: middle;
}

/* Muted secondary label */
.label-muted {
  margin-left: auto;
  color: var(--text-3);
  font-size: 12px;
}

/* Invisible scroll anchor */
.scroll-anchor {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

/* Coming-soon badge (api, blog, press, help, case-studies pages) */
.coming-soon-badge {
  margin-top: 14px;
  display: inline-block;
  background: rgba(124, 58, 237, .10);
  color: var(--purple);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* CTA link row */
.cta-link-row {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Spacer div used in index.php segment header */
.seg-header-spacer {
  width: 30px;
}

/* Trust avatar colors */
.trust-av--indigo   { background: #4F46E5; }
.trust-av--purple   { background: #7C3AED; }
.trust-av--cyan     { background: #06B6D4; }
.trust-av--emerald  { background: #10B981; }
.trust-av--amber    { background: #F59E0B; }

/* Trusted-by text highlight */
.trusted-by-count {
  color: var(--text);
}

/* Dot status indicators */
.dot--indigo  { background: #4F46E5; }
.dot--indigo-light { background: #C7BFFF; }

/* Mockup avatar colors */
.mockup-av--indigo  { background: #4F46E5; }
.mockup-av--purple  { background: #7C3AED; }
.mockup-av--cyan    { background: #06B6D4; }

/* Segment badge colors */
.seg-badge--blue    { background: #38B6FF; }
.seg-badge--orange  { background: #FEA115; }
.seg-badge--yellow  { background: #FCB211; }
.seg-badge--red     { background: #FF5659; }

/* Ava CTA button override */
.btn-ava-cta {
  background: var(--indigo);
}

/* OTA stat benchmark note */
.ota-benchmark-note {
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
}

/* Form privacy link */
.form-privacy-link {
  color: var(--text-2);
}

/* Careers modal done button */
.modal-done-btn {
  margin-top: 24px;
  padding: 11px 28px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Careers optional label */
.label-optional {
  font-weight: 400;
  color: var(--text-3);
}

/* Careers empty state */
.careers-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-3);
}
.careers-empty p {
  font-size: 15px;
}

/* Footer logo */
.footer-brand-logo {
  height: 18px;
  margin-bottom: 20px;
  width: auto;
}

/* =============================================
   Global utility classes extracted from inline
   styles in service pages (core, cxas, scale,
   ava) and shared across multiple pages
   ============================================= */

/* Scroll anchor (used on multiple pages) */
.scroll-anchor {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

/* Inline SVG icon alignment */
.icon-inline {
  margin-left: 6px;
  vertical-align: middle;
}

/* Muted link */
.link-muted {
  color: var(--text-2);
}

/* Footer brand logo */
.footer-brand-img {
  height: 24px;
  margin-bottom: 20px;
  width: auto;
}
