/* ============================================
   EAST RIVER DIGITAL — STYLE.CSS
   ============================================ */

/* --- Custom Properties ---
   Premium palette inspired by the ERD logo:
   chrome/platinum silver + vibrant emerald green + deep midnight ink.
   ---------------------------------------------- */
:root {
  /* Signature brand — direct from logo */
  --emerald: #00C470;
  --emerald-bright: #16E085;
  --emerald-deep: #00935A;
  --emerald-tint: #D6F7E5;
  --emerald-glow: rgba(22, 224, 133, 0.35);

  /* Premium ink — deep midnight, near-black with cool undertone */
  --ink: #0A0E14;
  --ink-2: #11161F;
  --ink-3: #1A2230;
  --ink-border: rgba(255, 255, 255, 0.08);

  /* Platinum / silver — from logo wordmark */
  --platinum: #C5CAD3;
  --platinum-dim: #8B92A0;

  /* Paper — premium warm off-white */
  --paper: #FAFAF7;
  --paper-2: #F2F1EC;
  --white: #FFFFFF;

  /* Vibrant secondary accents (used sparingly for variety) */
  --electric: #7C5CFC;
  --electric-bright: #9D82FF;
  --electric-tint: #EDE8FF;
  --coral: #FF5E3A;
  --coral-hover: #E54D29;
  --coral-tint: #FFE5DD;
  --gold: #FFB547;
  --gold-tint: #FFF1D9;
  --sienna: #C95E3F;
  --sienna-bright: #FF7A4D;
  --sienna-tint: #FBE9E2;

  /* Text */
  --text-primary: #0A0E14;
  --text-secondary: #4A5260;
  --text-light: #8B92A0;
  --text-on-dark: #F4F5F7;
  --text-on-dark-dim: #9CA3B0;

  /* Borders */
  --border: #E3E5EB;

  /* ---- Legacy aliases (remap old names to new palette) ---- */
  --navy: var(--ink);
  --navy-light: var(--emerald);
  --navy-deep: #06090F;
  --green: var(--emerald);
  --green-tint: var(--emerald-tint);
  --beige: var(--paper-2);
  --beige-dark: #E8E7E0;
  --off-white: var(--paper);
  --pink-tint: var(--coral-tint);
  --pink: #FF8B6F;
  --gtm: var(--electric);
  --gtm-pale: var(--electric-tint);
  --blue-tint: var(--electric-tint);
  --purple-tint: var(--electric-tint);
  --yellow-tint: var(--gold-tint);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows — premium, ink-based with emerald glow option */
  --shadow-sm: 0 1px 3px rgba(10, 14, 20, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 14, 20, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 14, 20, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 14, 20, 0.16);
  --shadow-glow: 0 8px 32px rgba(0, 196, 112, 0.25);
  --shadow-electric: 0 8px 32px rgba(124, 92, 252, 0.28);

  /* Type — Inter for body/UI, DM Serif Display kept for headings.
     --font-mono and --mono alias to --font-sans so all label/uppercase
     usages inherit Inter without per-element rewrites. */
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: var(--font-sans);
  --mono: var(--font-sans);
  --max-width: 1100px;
  --nav-height: 68px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; }

/* --- Utility --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--emerald-deep);
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 8px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 196, 112, 0.32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 196, 112, 0.45);
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald) 100%);
}
.btn--primary-outline {
  border: 2px solid var(--emerald);
  color: var(--emerald-deep);
  background: transparent;
}
.btn--primary-outline:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 8px 24px var(--emerald-glow);
}
.btn--outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--full { width: 100%; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}
/* Logo scales with viewport: ~36px on mobile, ~38–40px on tablet,
   ~42–44px on wide desktop. Stays well within the 68px nav height. */
.nav__logo img { height: clamp(36px, calc(28px + 0.75vw), 44px); width: auto; display: block; }
.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald-bright) 60%, var(--electric) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer__logo img { height: 24px; width: auto; display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover, .nav__item.active .nav__link {
  color: var(--text-primary);
  background: var(--beige);
}
.nav__link svg { transition: transform 0.2s; }
.nav__item.active .nav__link svg { transform: rotate(180deg); }

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav__action-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.nav__action-link:hover { color: var(--text-primary); }
.nav__actions .btn { padding: 10px 22px; font-size: 0.85rem; }

/* --- Dropdown Base --- */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 100;
}
.nav__item.active .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-inner { padding: 24px; }

/* Platform Dropdown */
.nav__dropdown--platform { width: 720px; left: 0; transform: translateX(0) translateY(8px); }
.nav__item.active .nav__dropdown--platform { transform: translateX(0) translateY(0); }
.nav__dropdown--platform .nav__dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.nav__dropdown--platform .nav__dropdown-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.nav__dropdown--platform .nav__dropdown-links a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__dropdown--platform .nav__dropdown-links a:hover { color: var(--emerald-deep); }
.nav__dropdown--platform .nav__dropdown-links hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.nav__dropdown-sub {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
}
.nav__dropdown-sub a { font-size: 0.8rem !important; color: var(--text-light) !important; }

/* Dropdown Cards */
.nav__dropdown-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__dropdown-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav__dropdown-card h4 { font-size: 1rem; font-weight: 700; }
.nav__dropdown-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.nav__dropdown-arrow { font-size: 1.1rem; color: var(--text-light); }
.nav__dropdown-card--green { background: var(--green-tint); }
.nav__dropdown-card--pink { background: var(--pink-tint); }
.nav__dropdown-card--blue { background: var(--blue-tint); }
.nav__dropdown-card--purple { background: var(--purple-tint); }

/* Solutions Dropdown */
.nav__dropdown--solutions { width: 680px; left: 0; transform: translateX(0) translateY(8px); }
.nav__item.active .nav__dropdown--solutions { transform: translateX(0) translateY(0); }
.nav__solutions-section { margin-bottom: 12px; }
.nav__solutions-section h5,
.nav__solutions-row h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
}
.nav__solutions-desc { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 16px; }
.nav__solutions-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nav__dropdown-card--green-sm { background: var(--green-tint); padding: 14px; }
.nav__dropdown-card--blue-sm { background: var(--blue-tint); padding: 14px; }
.nav__dropdown-card--yellow-sm { background: var(--yellow-tint); padding: 14px; }
.nav__dropdown--solutions hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.nav__solutions-row { margin-bottom: 4px; }
.nav__solutions-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.nav__solutions-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__solutions-links a:hover { color: var(--emerald-deep); }

/* Company Dropdown */
.nav__dropdown--company { width: 620px; right: 0; left: auto; transform: translateY(8px); }
.nav__item.active .nav__dropdown--company { transform: translateY(0); }
.nav__dropdown--company .nav__dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.nav__dropdown-heading { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.nav__dropdown-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.nav__dropdown--company a:not(.nav__dropdown-card) {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__dropdown--company a:not(.nav__dropdown-card):hover { color: var(--coral); }
.nav__cta-link { font-size: 0.85rem; color: var(--emerald-deep); font-weight: 600; }

/* Overlay */
.nav__overlay {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: rgba(0,6,61,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 50;
}
.nav__overlay.active { opacity: 1; visibility: visible; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
}
.nav__mobile-menu.active { display: flex; }
.nav__mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav__mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.nav__mobile-menu .btn { margin-top: 8px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background:
    radial-gradient(1100px circle at 85% 0%, rgba(0, 196, 112, 0.10), transparent 55%),
    radial-gradient(900px circle at 0% 80%, rgba(124, 92, 252, 0.07), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 6px;
  background: var(--white);
  border-radius: 50px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: box-shadow 0.2s;
}
.hero__badge:hover { box-shadow: var(--shadow-md); }
.hero__badge-tag {
  background: var(--coral);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__badge svg { flex-shrink: 0; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
}

/* Hero Dashboard Visual */
.hero__visual {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1200px;
  position: relative;
}

.hero__dashboard {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,6,61,0.12), 0 1px 3px rgba(0,6,61,0.08);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: rotateX(2deg);
  transition: transform 0.4s;
  min-height: 380px;
  position: relative;
  z-index: 1;
}
.hero__dashboard:hover { transform: rotateX(0deg); }

/* Image-based dashboard variant — drops a single image into the same framed wrapper.
   The wrapper still provides the rounded corners, border, shadow, and rotateX hover. */
.hero__dashboard--image { display: block; min-height: 0; padding: 0; background: var(--white); }
.hero__dashboard--image .hero__dash-img { display: block; width: 100%; height: auto; }

/* ===================== Collage-style Hero Visual ===================== */
.hero__collage {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  height: clamp(420px, 52vw, 540px);
  perspective: none;
  overflow: visible;
}

/* Grid pattern background — subtle blue dots/lines */
.hc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 22px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 35%, transparent 95%);
  pointer-events: none;
}

/* Decorative geometric shapes */
.hc-shape { position: absolute; pointer-events: none; }

/* Cluster of green circles, bottom-left */
.hc-shape--circles {
  left: -2%; bottom: -4%;
  width: 220px; height: 180px;
}
.hc-shape--circles i {
  position: absolute;
  border-radius: 50%;
  background: #00C470;
}
.hc-shape--circles i:nth-child(1) { width: 92px; height: 92px; left: 0; bottom: 0; background: #00C470; }
.hc-shape--circles i:nth-child(2) { width: 64px; height: 64px; left: 78px; bottom: 22px; background: #6EDDA1; }
.hc-shape--circles i:nth-child(3) { width: 48px; height: 48px; left: 138px; bottom: 0; background: #00C470; }
.hc-shape--circles i:nth-child(4) { width: 36px; height: 36px; left: 130px; bottom: 60px; background: #BFE7D4; }

/* Diagonal yellow/blue bars, bottom-right */
.hc-shape--bars {
  right: -3%; bottom: -4%;
  width: 230px; height: 200px;
  transform: rotate(-30deg);
}
.hc-shape--bars i {
  position: absolute;
  display: block;
  border-radius: 6px;
}
.hc-shape--bars i:nth-child(1) { width: 200px; height: 28px; right: 0; bottom: 50px; background: #FFB547; }
.hc-shape--bars i:nth-child(2) { width: 160px; height: 28px; right: 40px; bottom: 14px; background: #3B82F6; }
.hc-shape--bars i:nth-child(3) { width: 120px; height: 28px; right: 20px; bottom: 86px; background: #FFB547; }

/* Tiny dot accent, top-left */
.hc-shape--dot {
  left: 8%; top: 8%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FF5E3A;
}

/* Triangle pointer, top-right */
.hc-shape--triangle {
  right: 16%; top: 4%;
  width: 28px; height: 28px;
  background: #7C5CFC;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(28deg);
}

/* Central dashboard card */
.hc-card {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 50%, 460px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 26px 24px;
  box-shadow: 0 24px 60px -22px rgba(15,15,20,0.22), 0 8px 18px -8px rgba(15,15,20,0.06);
  z-index: 3;
}
.hc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.hc-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 5px 11px;
  background: rgba(0,196,112,0.1);
  border-radius: 999px;
  font-weight: 600;
}
.hc-card__chip i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00C470;
  box-shadow: 0 0 0 0 rgba(0,196,112,0.5);
  animation: hc-pulse 2s ease-out infinite;
}
@keyframes hc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,196,112,0.55); }
  100% { box-shadow: 0 0 0 10px rgba(0,196,112,0); }
}
.hc-card__period {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}
.hc-card__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}
.hc-card__sub {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.hc-card__delta {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #00935A;
  font-weight: 600;
}
.hc-card__sub-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.hc-card__chart svg { width: 100%; height: 70px; display: block; overflow: visible; }
.hc-card__line {
  fill: none;
  stroke: #00C470;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}
.hc-card__area { opacity: 0; }
.hero__collage.is-active .hc-card__line { animation: hc-draw 1.6s ease forwards; }
.hero__collage.is-active .hc-card__area { animation: hc-fade-in 0.6s ease 1.2s forwards; }
@keyframes hc-draw    { to { stroke-dashoffset: 0; } }
@keyframes hc-fade-in { to { opacity: 1; } }

.hc-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.hc-chip i {
  width: 7px; height: 7px;
  border-radius: 50%;
}

/* Speech bubble callout — top-left, overlapping the card */
.hc-bubble {
  position: absolute;
  left: 4%; top: 12%;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -14px rgba(15,15,20,0.2);
  max-width: 260px;
  transform: rotate(-3deg);
  animation: hc-float-a 6s ease-in-out infinite;
}
.hc-bubble::after {
  content: "";
  position: absolute;
  left: 38px; bottom: -10px;
  width: 18px; height: 18px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.hc-bubble__mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #FF5E3A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 600;
}
.hc-bubble__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.hc-bubble__text strong { color: #00935A; font-weight: 600; }

/* Green metric badge — top-right */
.hc-badge {
  position: absolute;
  z-index: 4;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -14px rgba(15,15,20,0.22);
  text-align: left;
}
.hc-badge--green {
  right: 6%; top: 18%;
  background: #00935A;
  color: #fff;
  transform: rotate(4deg);
  animation: hc-float-b 7s ease-in-out infinite;
}
.hc-badge--green .hc-badge__lbl {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 6px;
  display: block;
}
.hc-badge--green .hc-badge__val {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
  display: block;
  font-weight: 400;
}

/* Dark badge — bottom-right */
.hc-badge--dark {
  right: 4%; bottom: 14%;
  background: var(--ink);
  color: #fff;
  transform: rotate(-3deg);
  max-width: 200px;
  animation: hc-float-c 8s ease-in-out infinite;
}
.hc-badge--dark .hc-badge__lbl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 4px;
}
.hc-badge--dark .hc-badge__val {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.hc-badge--dark .hc-badge__note {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* Gentle floating animations — staggered phases so each callout drifts independently */
@keyframes hc-float-a {
  0%, 100% { transform: rotate(-3deg) translate(0, 0); }
  50%      { transform: rotate(-2deg) translate(2px, -6px); }
}
@keyframes hc-float-b {
  0%, 100% { transform: rotate(4deg) translate(0, 0); }
  50%      { transform: rotate(5deg) translate(-3px, 4px); }
}
@keyframes hc-float-c {
  0%, 100% { transform: rotate(-3deg) translate(0, 0); }
  50%      { transform: rotate(-2deg) translate(3px, -3px); }
}

/* Mobile — keep the collage feel but tighter, less rotation, single layer */
@media (max-width: 760px) {
  .hero__collage { height: clamp(440px, 90vw, 560px); }
  .hc-card { width: 86%; padding: 18px 20px 20px; }
  .hc-card__num { font-size: 1.85rem; }
  .hc-card__chips { gap: 4px; }
  .hc-chip { font-size: 0.62rem; padding: 3px 8px; }

  .hc-bubble { left: 2%; top: 4%; max-width: 200px; padding: 11px 14px; gap: 10px; }
  .hc-bubble__mark { width: 26px; height: 26px; font-size: 0.95rem; }
  .hc-bubble__text { font-size: 0.86rem; }
  .hc-bubble::after { left: 30px; bottom: -8px; width: 14px; height: 14px; }

  .hc-badge { padding: 11px 14px; }
  .hc-badge--green { right: 3%; top: 6%; }
  .hc-badge--green .hc-badge__lbl { font-size: 0.66rem; }
  .hc-badge--green .hc-badge__val { font-size: 1.5rem; }

  .hc-badge--dark { right: 3%; bottom: 8%; max-width: 160px; }
  .hc-badge--dark .hc-badge__val { font-size: 1.05rem; }

  .hc-shape--circles { width: 130px; height: 110px; bottom: -2%; }
  .hc-shape--circles i:nth-child(1) { width: 56px; height: 56px; }
  .hc-shape--circles i:nth-child(2) { width: 38px; height: 38px; left: 48px; bottom: 14px; }
  .hc-shape--circles i:nth-child(3) { width: 30px; height: 30px; left: 84px; bottom: 0; }
  .hc-shape--circles i:nth-child(4) { width: 22px; height: 22px; left: 78px; bottom: 38px; }

  .hc-shape--bars { width: 140px; height: 130px; right: -2%; }
  .hc-shape--bars i:nth-child(1) { width: 120px; height: 18px; bottom: 30px; }
  .hc-shape--bars i:nth-child(2) { width: 100px; height: 18px; bottom: 8px; right: 24px; }
  .hc-shape--bars i:nth-child(3) { width: 80px; height: 18px; bottom: 54px; right: 12px; }

  .hc-shape--dot { width: 10px; height: 10px; }
  .hc-shape--triangle { width: 20px; height: 20px; }
}

/* ===================== Live Attribution Console (legacy — kept for fallback) ===================== */
.hero__dashboard--live {
  display: block;
  min-height: 0;
  padding: 0;
  background: linear-gradient(180deg, #0a0e14 0%, #11161f 100%);
  color: #fff;
  overflow: hidden;
  font-family: var(--font-sans);
  position: relative;
}
.hero__dashboard--live::before {
  /* Subtle radial highlight to give the dark dashboard depth */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 100% -20%, rgba(0,196,112,0.16), transparent 60%),
    radial-gradient(600px circle at -10% 100%, rgba(124,92,252,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__dashboard--live > * { position: relative; z-index: 1; }

/* Browser chrome */
.hd-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hd-chrome__dots { display: inline-flex; gap: 6px; }
.hd-chrome__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hd-chrome__dots i:nth-child(1) { background: #ff5f57; }
.hd-chrome__dots i:nth-child(2) { background: #febc2e; }
.hd-chrome__dots i:nth-child(3) { background: #28c840; }
.hd-chrome__title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}
.hd-chrome__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #00C470;
  font-weight: 600;
}
.hd-chrome__live::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #00C470;
  box-shadow: 0 0 0 0 rgba(0,196,112,0.6);
  animation: hd-pulse 2s ease-out infinite;
}
@keyframes hd-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,196,112,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(0,196,112,0); }
}

/* Body */
.hd-body { padding: 28px 32px 22px; display: flex; flex-direction: column; gap: 22px; }

.hd-section__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

/* Revenue panel */
.hd-revenue__head { display: flex; align-items: baseline; gap: 12px; }
.hd-revenue__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hd-revenue__delta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #00C470;
  letter-spacing: 0.06em;
}
.hd-revenue__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  color: #fff;
  font-feature-settings: "tnum";
}
.hd-revenue__chart svg { width: 100%; height: 60px; display: block; overflow: visible; }
.hd-revenue__line {
  stroke: #00C470;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}
.hd-revenue__area { opacity: 0; }
.hero__dashboard--live.is-active .hd-revenue__line { animation: hd-draw 1.6s ease forwards; }
.hero__dashboard--live.is-active .hd-revenue__area { animation: hd-fade-in 0.6s ease 1.2s forwards; }
@keyframes hd-draw    { to { stroke-dashoffset: 0; } }
@keyframes hd-fade-in { to { opacity: 1; } }

/* Grid: attribution + KPIs */
.hd-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Attribution rows */
.hd-row {
  display: grid;
  grid-template-columns: 70px 1fr 50px;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.hd-row + .hd-row { border-top: 1px solid rgba(255,255,255,0.05); }
.hd-row__name { color: rgba(255,255,255,0.78); }
.hd-row__bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.hd-row__fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #00C470, rgba(0,196,112,0.4));
  border-radius: 3px;
}
.hero__dashboard--live.is-active .hd-row__fill {
  animation: hd-bar 0.95s cubic-bezier(.2,.8,.2,1) 0.2s forwards;
}
@keyframes hd-bar { to { width: var(--w, 50%); } }
.hd-row__val { color: #fff; text-align: right; }

/* KPI cards */
.hd-kpis { display: flex; flex-direction: column; gap: 6px; }
.hd-kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}
.hd-kpi__lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
}
.hd-kpi__val {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: -0.005em;
}
.hd-kpi__val i { font-style: normal; color: rgba(255,255,255,0.45); font-size: 0.85em; margin-left: 2px; }

/* Activity feed */
.hd-feed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.78);
}
.hd-feed__icon {
  color: #00C470;
  font-size: 0.85rem;
  animation: hd-pulse-text 1.5s ease-in-out infinite;
}
@keyframes hd-pulse-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hd-feed__text { flex: 1; transition: opacity 0.25s ease; }
.hd-feed__time {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
}

/* Mobile */
@media (max-width: 760px) {
  .hd-body { padding: 18px 18px 16px; gap: 16px; }
  .hd-revenue__num { font-size: 1.85rem; }
  .hd-revenue__chart svg { height: 48px; }
  .hd-grid { grid-template-columns: 1fr; gap: 18px; }
  .hd-row { grid-template-columns: 60px 1fr 42px; gap: 10px; font-size: 0.72rem; padding: 7px 0; }
  .hd-kpi { padding: 8px 12px; }
  .hd-kpi__val { font-size: 1rem; }
  .hd-kpi__lbl { font-size: 0.58rem; }
  .hd-feed { font-size: 0.68rem; padding: 9px 14px; }
  .hd-feed__time { display: none; }
}

/* Dashboard Sidebar */
.hero__dash-sidebar {
  width: 200px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}
.hero__dash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero__dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hero__dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.hero__dash-nav-item.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.hero__dash-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.hero__dash-avatar img {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}

/* Dashboard Main */
.hero__dash-main {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #FAFBFC;
}
.hero__dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero__dash-greeting {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.hero__dash-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-light);
  min-width: 240px;
}

/* Dashboard Cards */
.hero__dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
}
.hero__dash-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.hero__dash-card:hover { box-shadow: var(--shadow-md); }
.hero__dash-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.hero__dash-card-avatar { border-radius: 50%; }
.hero__dash-status {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__dash-status--active { background: var(--emerald-tint); color: var(--emerald-deep); }
.hero__dash-status--done   { background: var(--electric-tint); color: var(--electric); }
.hero__dash-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.hero__dash-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.hero__dash-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
  border-radius: 2px;
  transition: width 1.5s ease;
}
.hero__dash-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.hero__dash-metric-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
}
.hero__dash-metric-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   PLATFORM
   ============================================ */
.platform {
  padding: 100px 0;
  background: var(--white);
}
.platform__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.platform__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.platform__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-deep);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: rgba(0, 196, 112, 0.10);
  border: 1px solid rgba(0, 196, 112, 0.22);
  border-radius: 20px;
}
.platform__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 20px;
}
.platform__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ---- Duo Pillar Blocks — Live System Console ---- */
.duo {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0;
  align-items: stretch;
}

.duo__block {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease;
  /* Mouse-tracking glow layer */
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-opacity: 0;
}
.duo__block::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(500px circle at var(--glow-x) var(--glow-y), var(--glow-color, rgba(0,196,112,0.18)), transparent 50%);
  opacity: var(--glow-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.duo__block:hover::after { --glow-opacity: 1; }
.duo__block--commerce      { --glow-color: rgba(0, 196, 112, 0.20); }
.duo__block--intelligence  { --glow-color: rgba(124, 92, 252, 0.20); }
.duo__block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Breathing gradient — pure CSS, no DOM */
.duo__block--commerce {
  background-size: 200% 200%;
  animation: duoBreatheWarm 6s ease-in-out infinite;
}
.duo__block--intelligence {
  background-size: 200% 200%;
  animation: duoBreatheCool 6s ease-in-out infinite;
}
@keyframes duoBreatheWarm {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 100%; }
}
@keyframes duoBreatheCool {
  0%, 100% { background-position: 100% 0%; }
  50%      { background-position: 0% 100%; }
}

/* Pulsing accent bar */
.duo__accent {
  animation: accentPulse 3s ease-in-out infinite;
}
@keyframes accentPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Staggered list entrance */
.duo__list li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, padding-left 0.25s ease, background 0.25s ease;
}
.duo__block.in-view .duo__list li {
  opacity: 1;
  transform: translateX(0);
}
.duo__list li:nth-child(1) { transition-delay: 0.1s; }
.duo__list li:nth-child(2) { transition-delay: 0.2s; }
.duo__list li:nth-child(3) { transition-delay: 0.3s; }
.duo__list li:nth-child(4) { transition-delay: 0.4s; }

/* Label entrance */
.duo__label, .duo__heading, .duo__cta {
  position: relative;
  z-index: 1;
}
.duo__list { position: relative; z-index: 1; }

/* Accent top bar */
.duo__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.duo__block--commerce {
  background:
    radial-gradient(600px circle at 0% 0%, rgba(0,196,112,0.10), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FDFA 100%);
  border: 1px solid rgba(0, 196, 112, 0.22);
}
.duo__block--commerce .duo__accent {
  background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-deep));
  box-shadow: 0 0 24px var(--emerald-glow);
}
.duo__block--intelligence {
  background:
    radial-gradient(600px circle at 100% 0%, rgba(124,92,252,0.10), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
  border: 1px solid rgba(124, 92, 252, 0.22);
}
.duo__block--intelligence .duo__accent {
  background: linear-gradient(180deg, var(--electric-bright), var(--electric));
  box-shadow: 0 0 24px rgba(124, 92, 252, 0.4);
}

/* Label */
.duo__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.duo__block--commerce .duo__label {
  background: rgba(0, 196, 112, 0.14);
  border: 1px solid rgba(0, 196, 112, 0.28);
  color: var(--emerald-deep);
}
.duo__block--intelligence .duo__label {
  background: rgba(124, 92, 252, 0.14);
  border: 1px solid rgba(124, 92, 252, 0.28);
  color: var(--electric);
}

/* Heading */
.duo__heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 28px;
}

/* Live-system status bar */
.duo__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  width: fit-content;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.duo__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: liveDotPulse 1.6s ease-in-out infinite;
}
.duo__block--commerce .duo__status-dot {
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(0,196,112,0.6);
}
.duo__block--intelligence .duo__status-dot {
  background: var(--electric);
  box-shadow: 0 0 0 0 rgba(124,92,252,0.6);
}
.duo__status-label { font-weight: 700; letter-spacing: 0.12em; }
.duo__status-count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(10,14,20,0.05);
  color: var(--text-secondary);
  font-weight: 600;
}
@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 8px transparent; opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* Signal list */
.duo__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.duo__list li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  column-gap: 14px;
  align-items: center;
  padding: 14px 14px;
  border-top: 1px solid rgba(10,14,20,0.07);
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
  border-radius: 10px;
}
.duo__list li:last-child { border-bottom: 1px solid rgba(10,14,20,0.07); }

/* Left accent bar (always-on subtle, bold on hover) */
.duo__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  transform: scaleY(0.3);
  transform-origin: center;
  opacity: 0.45;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
.duo__block--commerce .duo__list li::before { background: var(--emerald); }
.duo__block--intelligence .duo__list li::before { background: var(--electric); }
.duo__list li:hover::before { transform: scaleY(1); opacity: 1; }
.duo__list li:hover {
  background: rgba(255,255,255,0.7);
  transform: translateX(2px);
}

/* Signal dot */
.sig__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0,196,112,0.14);
  animation: sigDotBlink 2.4s ease-in-out infinite;
}
.duo__block--intelligence .sig__dot {
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.14);
}
.duo__list li:nth-child(2) .sig__dot { animation-delay: 0.3s; }
.duo__list li:nth-child(3) .sig__dot { animation-delay: 0.6s; }
.duo__list li:nth-child(4) .sig__dot { animation-delay: 0.9s; }
@keyframes sigDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

/* Signal name + ticker stacked */
.sig__name {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.sig__ticker {
  grid-column: 2;
  grid-row: 2;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 4px;
  min-height: 1em;
  display: inline-block;
  position: relative;
}
.sig__ticker::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 0.9em;
  background: currentColor;
  margin-left: 4px;
  vertical-align: -2px;
  opacity: 0.5;
  animation: caretBlink 1s steps(2) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}
.sig__ticker.is-swapping { opacity: 0; transform: translateY(-4px); }
.sig__ticker {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Right-side tag */
.sig__tag {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 4px 9px;
  border-radius: 6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.duo__block--commerce .sig__tag {
  background: rgba(0, 196, 112, 0.12);
  color: var(--emerald-deep);
  border: 1px solid rgba(0, 196, 112, 0.28);
}
.duo__block--intelligence .sig__tag {
  background: rgba(124, 92, 252, 0.12);
  color: var(--electric);
  border: 1px solid rgba(124, 92, 252, 0.28);
}

/* CTA link */
.duo__cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s ease;
  gap: 4px;
}
.duo__block--commerce .duo__cta { color: var(--emerald-deep); }
.duo__block--intelligence .duo__cta { color: var(--electric); }
.duo__cta:hover { gap: 8px; }

/* ---- Central Data Pipe ---- */
.duo__pipe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.duo__pipe::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,196,112,0.35) 20%,
    rgba(124,92,252,0.35) 80%,
    transparent 100%);
  border-radius: 2px;
}
.duo__pipe-dot {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
}
.duo__pipe-dot--a {
  background: var(--emerald);
  box-shadow: 0 0 16px rgba(0,196,112,0.7);
  animation: pipeFlowDown 3.6s cubic-bezier(.45,0,.55,1) infinite;
}
.duo__pipe-dot--b {
  background: var(--electric);
  box-shadow: 0 0 16px rgba(124,92,252,0.7);
  animation: pipeFlowUp 3.6s cubic-bezier(.45,0,.55,1) infinite;
  animation-delay: 1.2s;
}
.duo__pipe-dot--c {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255,181,71,0.7);
  animation: pipeFlowDown 3.6s cubic-bezier(.45,0,.55,1) infinite;
  animation-delay: 2.4s;
}
@keyframes pipeFlowDown {
  0%   { top: 8%;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}
@keyframes pipeFlowUp {
  0%   { top: 92%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 8%;  opacity: 0; }
}
.duo__pipe-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ---- Pillars v2 — Plain-English results ---- */
.pillars2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pillar {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  z-index: 2;
}
.pillar--commerce::before {
  background: linear-gradient(90deg, var(--emerald-bright), var(--emerald-deep));
  box-shadow: 0 0 24px var(--emerald-glow);
}
.pillar--intelligence::before {
  background: linear-gradient(90deg, var(--electric-bright), var(--electric));
  box-shadow: 0 0 24px rgba(124,92,252,0.4);
}
.pillar--aisearch::before {
  background: linear-gradient(90deg, #FF8A4D, #FF5E3A, var(--sienna));
  box-shadow: 0 0 24px rgba(255, 94, 58, 0.55);
}
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.pillar--commerce::after {
  background: radial-gradient(500px circle at 0% 0%, rgba(0,196,112,0.06), transparent 55%);
}
.pillar--intelligence::after {
  background: radial-gradient(500px circle at 100% 0%, rgba(124,92,252,0.06), transparent 55%);
}
.pillar--aisearch::after {
  background: radial-gradient(500px circle at 0% 0%, rgba(201,94,63,0.06), transparent 55%);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pillar--commerce:hover     { border-color: rgba(0, 196, 112, 0.35); }
.pillar--intelligence:hover { border-color: rgba(124, 92, 252, 0.35); }
.pillar--aisearch:hover     { border-color: rgba(201, 94, 63, 0.35); }

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

/* Head — eyebrow + big stat */
.pillar__head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pillar__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.pillar--commerce .pillar__eyebrow {
  color: var(--emerald-deep);
  background: rgba(0, 196, 112, 0.12);
  border: 1px solid rgba(0, 196, 112, 0.25);
}
.pillar--intelligence .pillar__eyebrow {
  color: var(--electric);
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.25);
}
.pillar--aisearch .pillar__eyebrow {
  color: var(--sienna);
  background: rgba(201, 94, 63, 0.12);
  border: 1px solid rgba(201, 94, 63, 0.25);
}
.pillar__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar__stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.pillar--commerce .pillar__stat-num     { color: var(--emerald-deep); }
.pillar--intelligence .pillar__stat-num { color: var(--electric); }
.pillar--aisearch .pillar__stat-num     { color: var(--sienna); }
.pillar__stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 320px;
}

/* Tiles — all pillars now use a single row of 3 tiles */
.pillar__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.ptile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.ptile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.pillar--commerce .ptile:hover     { border-color: rgba(0, 196, 112, 0.45); }
.pillar--intelligence .ptile:hover { border-color: rgba(124, 92, 252, 0.45); }
.pillar--aisearch .ptile:hover     { border-color: rgba(201, 94, 63, 0.45); }

.ptile__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}
.pillar--commerce .ptile__icon {
  background: rgba(0,196,112,0.1);
  color: var(--emerald-deep);
}
.pillar--intelligence .ptile__icon {
  background: rgba(124,92,252,0.1);
  color: var(--electric);
}
.pillar--aisearch .ptile__icon {
  background: rgba(201,94,63,0.1);
  color: var(--sienna);
}
.ptile:hover .ptile__icon { transform: rotate(-6deg) scale(1.08); }

.ptile__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.ptile__line {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.ptile__chip {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pillar--commerce .ptile__chip {
  background: rgba(0,196,112,0.1);
  color: var(--emerald-deep);
}
.pillar--intelligence .ptile__chip {
  background: rgba(124,92,252,0.1);
  color: var(--electric);
}
.pillar--aisearch .ptile__chip {
  background: rgba(201,94,63,0.1);
  color: var(--sienna);
}

.pillar__cta {
  align-self: flex-start;
}

/* Horizontal pillar layout — desktop (≥980px)
   Each pillar = full-width row. Inside: stat + CTA on the left, 2x2 sub-tiles on the right. */
@media (min-width: 980px) {
  .pillar {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    column-gap: 56px;
    row-gap: 0;
    padding: 40px 44px;
    align-items: stretch;
  }
  .pillar__head {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .pillar__tiles {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-bottom: 0;
    align-self: center;
  }
  .pillar__cta {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin-top: 24px;
  }
  /* Big stat number gets a touch larger on desktop horizontal */
  .pillar__stat-num { font-size: clamp(3rem, 4.8vw, 4.4rem); }
  .pillar__stat-label { max-width: 360px; }
}

/* Mobile — stack vertically with tiles in 1 column too */
@media (max-width: 860px) {
  .pillar__tiles,
  .pillar--intelligence .pillar__tiles,
  .pillar--aisearch .pillar__tiles { grid-template-columns: 1fr; }
}

/* ---- Ask the Agents — AI Agent Terminal (legacy, kept for reference) ---- */
.agents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.agent {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #0E1420 0%, #0A0E14 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-on-dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.agent:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(10,14,20,0.35);
}
.agent--commerce:hover     { border-color: rgba(0, 196, 112, 0.45); }
.agent--intelligence:hover { border-color: rgba(124, 92, 252, 0.45); }

/* Ambient gradient overlay per agent */
.agent::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: radial-gradient(600px circle at 0% 0%, rgba(0,196,112,0.22), transparent 55%);
}
.agent--intelligence::before {
  background: radial-gradient(600px circle at 100% 0%, rgba(124,92,252,0.22), transparent 55%);
}

/* Chrome bar */
.agent__chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}
.agent__chrome-dots { display: flex; gap: 6px; }
.agent__chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.agent__chrome-dots i:nth-child(1) { background: #ff5f57; }
.agent__chrome-dots i:nth-child(2) { background: #febc2e; }
.agent__chrome-dots i:nth-child(3) { background: #28c840; }
.agent__chrome-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.agent__chrome-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.agent__chrome-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-glow);
  animation: agentPulse 1.6s ease-in-out infinite;
}
.agent--intelligence .agent__chrome-dot {
  background: var(--electric-bright);
  box-shadow: 0 0 10px rgba(124,92,252,0.5);
}
@keyframes agentPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

/* Body */
.agent__body {
  position: relative;
  z-index: 1;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* Prompt line */
.agent__prompt {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-on-dark);
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.agent__prompt-caret {
  color: var(--emerald-bright);
  font-weight: 700;
}
.agent--intelligence .agent__prompt-caret { color: var(--electric-bright); }
.agent__prompt-text {
  color: rgba(255,255,255,0.9);
  word-break: break-word;
}
.agent__prompt-text::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--emerald-bright);
  margin-left: 3px;
  vertical-align: -2px;
  animation: agentCaret 1s steps(2) infinite;
}
.agent--intelligence .agent__prompt-text::after { background: var(--electric-bright); }
.agent__prompt.is-done .agent__prompt-text::after { display: none; }
@keyframes agentCaret { 50% { opacity: 0; } }

/* Thinking indicator */
.agent__thinking {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.agent__thinking.is-visible { display: flex; }
.agent__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--emerald-bright);
  animation: agentSpin 0.9s linear infinite;
}
.agent--intelligence .agent__spinner { border-top-color: var(--electric-bright); }
@keyframes agentSpin { to { transform: rotate(360deg); } }

/* Streaming output */
.agent__output {
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 240px;
  flex: 1;
}
.agent__output .tok-key  { color: var(--emerald-bright); font-weight: 600; }
.agent__output .tok-str  { color: #FFD28A; }
.agent__output .tok-num  { color: var(--electric-bright); font-weight: 600; }
.agent__output .tok-cmt  { color: rgba(255,255,255,0.35); font-style: italic; }
.agent__output .tok-punc { color: rgba(255,255,255,0.45); }
.agent__output .tok-ok   { color: var(--emerald-bright); }
.agent--intelligence .agent__output .tok-key { color: var(--electric-bright); }
.agent--intelligence .agent__output .tok-num { color: var(--emerald-bright); }

/* Input bar at bottom */
.agent__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: auto;
}
.agent__input-caret {
  color: var(--emerald-bright);
  font-weight: 700;
}
.agent--intelligence .agent__input-caret { color: var(--electric-bright); }
.agent__input-placeholder { flex: 1; }
.agent__input-kbd {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

/* CTA under each agent */
.agent__cta {
  margin: 0 24px 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  color: var(--emerald-bright) !important;
}
.agent--intelligence .agent__cta {
  color: var(--electric-bright) !important;
}

/* Mobile */
@media (max-width: 860px) {
  .agents { grid-template-columns: 1fr; }
  .agent__output { min-height: 200px; }
}

/* ---- Video Reel — Browser Frame ---- */
.reel {
  padding: 80px 0;
  background:
    radial-gradient(1200px circle at 80% -10%, rgba(0, 196, 112, 0.18), transparent 60%),
    radial-gradient(900px circle at 10% 110%, rgba(124, 92, 252, 0.14), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.reel__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Text above */
.reel__text {
  text-align: center;
  margin-bottom: 40px;
}
.reel__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-bright);
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(22, 224, 133, 0.14);
  border: 1px solid rgba(22, 224, 133, 0.28);
  border-radius: 20px;
}
.reel__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}

/* Browser frame */
.reel__frame {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 32px 80px rgba(10, 14, 20, 0.14),
              0 0 0 1px var(--border),
              0 0 60px rgba(0, 196, 112, 0.18);
  transform: perspective(1200px) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reel__frame:hover {
  transform: perspective(1200px) rotateX(0deg);
}

/* Browser chrome bar */
.reel__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--border);
}
.reel__dots {
  display: flex;
  gap: 6px;
}
.reel__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.reel__dots i:first-child { background: #ff5f57; }
.reel__dots i:nth-child(2) { background: #febc2e; }
.reel__dots i:last-child { background: #28c840; }
.reel__url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-sans);
}

/* Video viewport */
.reel__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #E8F7EF 0%, #EDE8FF 100%);
  cursor: pointer;
}
.reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

/* Play overlay */
.reel__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}
.reel__viewport.is-playing .reel__play-overlay {
  opacity: 0;
  pointer-events: none;
}
.reel__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.reel__play svg { margin-left: 3px; }
.reel__play:hover {
  transform: scale(1.12);
  background: var(--emerald);
  border-color: var(--emerald-bright);
  box-shadow: 0 0 32px var(--emerald-glow);
}

/* Platform Visual — Diagram */
.platform__visual {
  background: linear-gradient(180deg, var(--beige) 0%, #E8E4DD 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.platform__visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,74,53,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.platform__visual-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}
/* Input / Output rows */
.platform__diagram-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.platform__input-node,
.platform__output-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.platform__input-node {
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 10px 20px;
}
.platform__input-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.platform__output-node {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  gap: 6px;
}
.platform__output-node:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,6,61,0.3); }

/* Flow lines with animated dots */
.platform__flow-lines {
  display: flex;
  justify-content: center;
  gap: 80px;
  height: 48px;
  position: relative;
  width: 100%;
}
.platform__flow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.4;
  animation: flowDown 2s ease-in-out infinite;
  position: relative;
}
.platform__flow-dot::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--coral), transparent);
  opacity: 0.25;
  transform: translateX(-50%);
}
.platform__flow-dot:nth-child(1) { animation-delay: 0s; }
.platform__flow-dot:nth-child(2) { animation-delay: 0.3s; }
.platform__flow-dot:nth-child(3) { animation-delay: 0.6s; }
.platform__flow-dot:nth-child(4) { animation-delay: 0.9s; }
.platform__flow-dot:nth-child(5) { animation-delay: 1.2s; }
@keyframes flowDown {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 0.6; }
  100% { transform: translateY(36px); opacity: 0; }
}

/* Core platform block */
.platform__diagram-core {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  box-shadow: 0 8px 32px rgba(0,6,61,0.08), 0 1px 3px rgba(0,6,61,0.06);
  border: 1px solid rgba(0,6,61,0.06);
  width: 100%;
  max-width: 740px;
  position: relative;
  z-index: 2;
}
.platform__core-glow {
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background: radial-gradient(ellipse, rgba(232,74,53,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.platform__core-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.platform__core-modules {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.platform__core-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  position: relative;
}
.platform__module-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.platform__core-module:hover .platform__module-icon {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.platform__module-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.platform__core-module strong { font-size: 0.88rem; color: var(--text-primary); }
.platform__core-module span { font-size: 0.75rem; color: var(--text-light); line-height: 1.4; }
.platform__core-divider {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 12px;
}

/* ============================================
   HOW WE WORK — FLOW
   ============================================ */
.tabs-section {
  padding: 100px 0;
  background:
    radial-gradient(900px circle at 15% 0%, rgba(0, 196, 112, 0.14), transparent 55%),
    radial-gradient(800px circle at 95% 100%, rgba(124, 92, 252, 0.12), transparent 55%),
    var(--paper);
  color: var(--ink);
}
.tabs-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.tabs-section__header {
  text-align: center;
  margin-bottom: 56px;
}
.tabs-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}
.tabs-section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Flow Layout — 3 stages */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

/* Carousel variant — horizontal scroll-snap with prev/next buttons + dots */
.flow.flow--carousel {
  display: block;
  position: relative;
  padding: 0 8px;
  overflow: hidden;  /* keep carousel scroll from bleeding into page width */
}
.flow__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 24px;
  scrollbar-width: none; /* Firefox */
}
.flow__track::-webkit-scrollbar { display: none; }
.flow.flow--carousel .flow__stage {
  flex: 0 0 calc((100% - 48px) / 3);  /* 3 cards visible at desktop, 4th overflows for scroll */
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Connector lines don't make sense in carousel — hide them */
.flow.flow--carousel .flow__connector { display: none; }

/* Prev / Next round buttons */
.flow__nav {
  position: absolute;
  top: 56px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.flow__nav:hover {
  border-color: var(--emerald);
  background: rgba(0,196,112,0.06);
  transform: translateY(-2px);
}
.flow__nav:disabled,
.flow__nav.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.flow__nav--prev { left: 0; }
.flow__nav--next { right: 0; }

/* Dot indicators */
.flow__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.flow__dot {
  width: 28px; height: 4px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.12);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.flow__dot.is-active {
  width: 44px;
  background: var(--emerald);
}
.flow__dot:hover:not(.is-active) {
  background: rgba(0,0,0,0.25);
}

/* Tablet — 2 cards visible */
@media (max-width: 1100px) {
  .flow.flow--carousel .flow__stage {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
/* Mobile — 1 card visible, hide arrows (touch-swipe is enough) */
@media (max-width: 760px) {
  .flow.flow--carousel .flow__stage {
    flex: 0 0 88%;
  }
  .flow__nav { display: none; }
}
.flow__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Numbered circle */
.flow__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-light);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.flow__stage:hover .flow__number {
  background: var(--emerald);
  border-color: var(--emerald-bright);
  color: var(--white);
  box-shadow: 0 0 28px var(--emerald-glow);
}

/* Connector line between circles */
.flow__connector {
  height: 2px;
  position: absolute;
  top: 26px;
  left: calc(50% + 32px);
  right: calc(-50% + 8px);
  z-index: 1;
}
.flow__line {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 196, 112, 0.45), rgba(124, 92, 252, 0.25));
  position: relative;
  overflow: visible;
}
.flow__line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--emerald);
  border-top: 2px solid var(--emerald);
  transform: rotate(45deg);
}
/* Animated pulse dot traveling along the line */
.flow__line::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 12px var(--emerald-glow);
  animation: flowPulse 3s ease-in-out infinite;
}
@keyframes flowPulse {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.flow__stage:nth-child(2) .flow__line::before { animation-delay: 1.5s; }
.flow__stage:last-child .flow__connector { display: none; }

/* Card */
.flow__card {
  margin-top: 24px;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.flow__stage:hover .flow__card {
  transform: translateY(-8px);
  border-color: var(--emerald-bright);
  box-shadow: var(--shadow-lg);
}
/* When hovering stage 2, light up gold */
.flow__stage:nth-child(2):hover .flow__number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 28px rgba(255, 181, 71, 0.5);
}
/* When hovering stage 3, light up purple */
.flow__stage:nth-child(3):hover .flow__number {
  background: var(--gtm);
  border-color: var(--gtm);
  color: var(--white);
  box-shadow: 0 0 24px rgba(124,92,252,0.5);
}
.flow__flag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.flow__card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.2;
}
.flow__price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.flow__card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.flow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flow__tags span {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.flow__wit {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-light);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.flow__card .link-arrow {
  color: var(--emerald-deep);
  font-size: 0.95rem;
  font-weight: 600;
}
.flow__stage:nth-child(2) .flow__card .link-arrow { color: #B8801F; }
.flow__stage:nth-child(3) .flow__card .link-arrow { color: var(--electric); }

/* (Old tab mockup styles removed — replaced by flow layout above) */

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions {
  padding: 100px 0;
  background: var(--off-white);
}
.solutions__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.solutions__header {
  text-align: center;
  margin-bottom: 48px;
}
.solutions__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.solutions__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.solutions__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Role Tabs */
.solutions__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.solutions__role-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.solutions__role-btn:hover { border-color: var(--navy); color: var(--navy); }
.solutions__role-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Solution Panels */
.solutions__panels { position: relative; }
.solutions__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  animation: fadeSlideIn 0.4s ease;
}
.solutions__panel.active { display: grid; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.solutions__panel-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solutions__panel-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--navy);
  line-height: 1.3;
}

/* Solution Card */
.solutions__panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solutions__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.solutions__card-badge span {
  background: var(--green-tint);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
}
.solutions__panel-card h4 { font-size: 1.2rem; font-weight: 700; }
.solutions__panel-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.solutions__card-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ============================================
   TRUST
   ============================================ */
.trust {
  padding: 100px 0;
  background:
    radial-gradient(900px circle at 85% 0%, rgba(255, 181, 71, 0.14), transparent 55%),
    radial-gradient(800px circle at 10% 100%, rgba(0, 196, 112, 0.14), transparent 55%),
    var(--paper);
  color: var(--ink);
}
.trust__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.trust__content,
.trust__visual { min-width: 0; }
.trust__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-bright);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: rgba(22, 224, 133, 0.12);
  border: 1px solid rgba(22, 224, 133, 0.28);
  border-radius: 20px;
}
.trust__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}
.trust__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.trust__desc + .link-arrow { color: var(--emerald-bright); }
.trust__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trust__shield-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  padding: 40px;
}
/* Glow rings */
.trust__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232,74,53,0.08);
}
.trust__ring--outer { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.trust__ring--mid { width: 240px; height: 240px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(232,74,53,0.12); }
.trust__ring--inner { width: 160px; height: 160px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(232,74,53,0.18); }
.trust__shield-icon {
  position: relative;
  z-index: 2;
}
.trust__shield-icon svg {
  filter: drop-shadow(0 4px 24px rgba(232,74,53,0.25));
}
.trust__badges {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.trust__badges span {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.trust__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 300px;
}
.trust__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.trust__feature:hover { box-shadow: var(--shadow-md); }
.trust__feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,74,53,0.1);
  border-radius: 10px;
  flex-shrink: 0;
}
.trust__feature div:last-child {
  display: flex;
  flex-direction: column;
}
.trust__feature strong {
  font-size: 0.88rem;
  color: var(--ink);
}
.trust__feature span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
  background:
    radial-gradient(1000px circle at 50% 0%, rgba(0, 196, 112, 0.35), transparent 55%),
    radial-gradient(800px circle at 90% 100%, rgba(124, 92, 252, 0.25), transparent 55%),
    radial-gradient(700px circle at 10% 100%, rgba(255, 181, 71, 0.18), transparent 55%),
    var(--paper);
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 14, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 20, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.final-cta__container { position: relative; z-index: 1; }
.final-cta__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.final-cta__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.final-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
}
.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__legal a:hover { color: rgba(255,255,255,0.8); }

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-widget:hover { transform: scale(1.08); box-shadow: var(--shadow-xl); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: ensure content is always visible if observer fails */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
  .nav__links { display: none; }
  .nav__actions { display: flex; align-items: center; margin-left: auto; margin-right: 10px; }
  .nav__actions .btn { padding: 8px 14px; font-size: 0.78rem; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 420px) {
  .nav__actions .btn { padding: 7px 11px; font-size: 0.72rem; letter-spacing: 0; }

  .hero__title { font-size: 2.4rem; }
  .hero__dash-sidebar { display: none; }
  .hero__dashboard { min-height: 280px; }
  .hero__dash-cards { grid-template-columns: 1fr; }

  .duo { grid-template-columns: 1fr; gap: 24px; }
  .duo__pipe { display: none; }

  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow__connector { display: none; }

  .solutions__panel { grid-template-columns: 1fr; }

  .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .stories__header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .trust__container { grid-template-columns: 1fr; text-align: center; }
  .trust__visual { margin-top: 32px; }

  .resources__grid { grid-template-columns: repeat(2, 1fr); }
  .resources__header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__columns { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .nav__dropdown { display: none !important; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-height) + 40px); }
  .hero__title { font-size: 2rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 300px; }
  .hero__dashboard { min-height: 240px; transform: none; }
  .hero__dash-cards { gap: 10px; }

  .marquee__list { gap: 40px; }
  .marquee__logo { font-size: 0.95rem; }

  .platform { padding: 60px 0; }
  .tabs-section { padding: 60px 0; }
  .solutions { padding: 60px 0; }
  .stories { padding: 60px 0; }
  .trust { padding: 60px 0; }
  .resources { padding: 60px 0; }
  .final-cta { padding: 60px 0; }

  .flow__card { padding: 24px 20px; }

  .solutions__roles { gap: 6px; }
  .solutions__role-btn { padding: 8px 14px; font-size: 0.8rem; }

  .stories__grid { grid-template-columns: 1fr; }
  .stories__quote-block { padding: 32px 20px; }

  .resources__grid { grid-template-columns: 1fr; }

  .final-cta__buttons { flex-direction: column; align-items: center; }
  .final-cta__buttons .btn { width: 100%; max-width: 300px; }

  .footer__columns { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__legal { flex-direction: column; gap: 8px; }
}
