/* ═══════════════════════════════════════════════════════════════
   GreenArrow Neuro — Design System v2
   Glass, aurora, product-mockup driven. Shared by site + demos.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --green-950: #052b17;
  --green-900: #0a3d20;
  --green-800: #0d4f26;
  --green-700: #14652f;
  --green-600: #1a7a3c;
  --green-500: #22a852;
  --green-400: #3ec46e;
  --green-300: #7ddca0;
  --green-200: #b8ecc9;
  --green-100: #ddf6e5;
  --green-50:  #f0fbf4;

  /* Ink */
  --ink-900: #0b100d;
  --ink-700: #2b342f;
  --ink-500: #5b665f;
  --ink-400: #7e8983;
  --ink-300: #aab4ae;
  --ink-200: #d7ded9;
  --ink-100: #e9efeb;
  --ink-50:  #f4f7f5;

  /* Surfaces */
  --bg: #f3f7f4;
  --card: #ffffff;
  --line: rgba(11, 16, 13, 0.07);
  --line-strong: rgba(11, 16, 13, 0.12);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-blur: saturate(1.5) blur(22px);

  /* Type */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(11, 16, 13, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 16, 13, 0.05);
  --shadow-md: 0 8px 28px rgba(11, 16, 13, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 16, 13, 0.11);
  --shadow-xl: 0 32px 80px rgba(11, 16, 13, 0.15);
  --shadow-green: 0 10px 30px rgba(26, 122, 60, 0.25);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --nav-h: 64px;
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--green-200); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; }

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

/* ── Aurora backdrop ────────────────────────────────────────── */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(56rem 34rem at 12% -6%, rgba(62, 196, 110, 0.16), transparent 62%),
    radial-gradient(48rem 30rem at 88% -4%, rgba(125, 220, 160, 0.18), transparent 60%),
    radial-gradient(40rem 26rem at 50% 108%, rgba(34, 168, 82, 0.10), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,16,13,0.028) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black 0%, transparent 42rem);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 42rem);
}

/* ── Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-500);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  padding: 8px 18px; border-radius: var(--r-pill);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow.green { color: var(--green-700); background: var(--green-50); border-color: var(--green-200); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-700); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,0.6); color: var(--ink-900); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink-900); background: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--ink-700); padding: 16px 16px; }
.btn-ghost:hover { color: var(--green-700); }
.btn .arrow { transition: transform .18s ease; font-family: var(--font-body); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 12px 22px; font-size: 11.5px; }

/* ── Floating glass nav ─────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-wrap .nav { pointer-events: auto; }
.nav {
  width: 100%; max-width: 1180px; height: var(--nav-h);
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px 0 20px;
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-logo img { height: 30px; width: auto; }
.nav-logo { margin-right: 18px; flex-shrink: 0; display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links .nav-link.nav-mobile-only { display: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  padding: 9px 13px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
  line-height: 1.4;
}
.nav-link:hover, .nav-link.open { color: var(--ink-900); background: rgba(11,16,13,0.05); }
.nav-link .caret { transition: transform .2s ease; width: 9px; height: 9px; }
.nav-link.open .caret { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 12px; margin-left: auto; }
.nav-burger span { width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(var(--nav-h) + 24px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(1040px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 30px;
  display: grid; grid-template-columns: 1.55fr 0.85fr 0.9fr; gap: 34px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega.open { opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 14px; font-weight: 500;
}
.mega-group { margin-bottom: 20px; }
.mega-group h4 {
  font-size: 17px; display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.mega-item {
  display: flex; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 12px;
  transition: background .14s ease; align-items: center;
}
.mega-item:hover { background: var(--ink-50); }
.mega-item .mi-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
}
.mega-item .mi-icon svg { width: 17px; height: 17px; }
.mega-item h5 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-900); }
.mega-item p { font-size: 12px; color: var(--ink-500); line-height: 1.4; margin-top: 1px; }
.mega-plain { display: flex; flex-direction: column; }
.mega-plain a { font-size: 14px; color: var(--ink-700); padding: 7px 0; transition: color .14s; }
.mega-plain a:hover { color: var(--green-700); }
.mega-feature {
  background: linear-gradient(160deg, var(--green-50), #eef7f1 55%, #e7f4ec);
  border: 1px solid var(--green-100);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.mega-feature h4 { font-size: 17px; }
.mega-feature p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.mega-feature .mf-img {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); background: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + 90px) 0 80px; position: relative; }
.hero-center { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 26px 0 22px; }
.hero h1 .accent { color: var(--green-600); }
.hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-500); max-width: 660px; margin: 0 auto 36px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 20px 0 16px; }
.section-head p { font-size: 17px; color: var(--ink-500); }
.section-dark {
  background:
    radial-gradient(50rem 30rem at 80% -10%, rgba(62,196,110,.14), transparent 55%),
    linear-gradient(165deg, var(--green-950) 0%, var(--green-900) 60%, #0c4423 100%);
  color: #fff;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: var(--green-200); }
.section-dark .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--green-300); }

/* ── Big stage panel (Kore-style showcase surface) ──────────── */
.stage {
  background: linear-gradient(150deg, #e8f4ec 0%, #f2f8f3 45%, #e4f1ea 100%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.9);
  padding: 40px;
  position: relative; overflow: hidden;
}
.stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34rem 20rem at 78% 8%, rgba(255,255,255,.55), transparent 60%);
}
.stage > * { position: relative; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover, .card.hoverable:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--ink-500); line-height: 1.62; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); font-weight: 500;
}
.card .card-link .arrow { transition: transform .18s ease; }
a.card:hover .card-link .arrow { transform: translateX(4px); }

.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}

/* Dashed feature card (Kore triple) */
.dash-card { padding: 26px 26px 26px 0; }
.dash-card h4 {
  font-family: var(--font-body); font-size: 17px; font-weight: 650; color: var(--ink-900);
  padding-left: 18px; border-left: 2px dashed var(--green-500);
  margin-bottom: 12px; line-height: 1.35;
}
.dash-card p { font-size: 14px; color: var(--ink-500); line-height: 1.62; padding-left: 20px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Pills ──────────────────────────────────────────────────── */
.pills { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.pill {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.8); color: var(--ink-500);
  border: 1px solid var(--line);
  transition: all .18s ease;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill:hover { border-color: var(--ink-300); color: var(--ink-900); }
.pill.active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); box-shadow: var(--shadow-sm); }
.section-dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--green-200); }
.section-dark .pill.active { background: #fff; color: var(--green-900); border-color: #fff; }

/* ── Browser frame mockup ───────────────────────────────────── */
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser .b-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(#fbfdfc, #f5f8f6);
}
.browser .b-dots { display: flex; gap: 5px; }
.browser .b-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-200); }
.browser .b-dots span:nth-child(1) { background: #f2a6a0; }
.browser .b-dots span:nth-child(2) { background: #f4d29a; }
.browser .b-dots span:nth-child(3) { background: #a9dfb6; }
.browser .b-url {
  flex: 1; max-width: 320px; margin: 0 auto;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-400);
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 12px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.browser .b-url svg { width: 9px; height: 9px; flex-shrink: 0; }
.browser .b-ext {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100); flex-shrink: 0;
}
.browser .b-ext img { width: 13px; height: 13px; }
.browser .b-body { position: relative; }

/* ── App icon (rounded-square, used in flows & clouds) ──────── */
.appic {
  width: 30px; height: 30px; border-radius: 8.5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.appic img, .appic svg { width: 16px; height: 16px; }
.appic.lg { width: 44px; height: 44px; border-radius: 12px; }
.appic.lg img, .appic.lg svg { width: 24px; height: 24px; }

/* ── Bubble cloud (integration logos, Kore-style) ───────────── */
.bubble-cloud { position: relative; min-height: 380px; }
.cloud-bubble {
  position: absolute; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 30px rgba(11,16,13,.10);
  display: flex; align-items: center; justify-content: center;
  animation: b-float 5.2s ease-in-out infinite;
}
.cloud-bubble img, .cloud-bubble svg { width: 42%; height: 42%; }
.cloud-bubble .b-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; color: var(--ink-400); white-space: nowrap; font-weight: 500;
}
@keyframes b-float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ── FLOW PLAYER (Kore-style agent flow animation) ──────────── */
.flow {
  font-size: 15px;
  display: flex; flex-direction: column; gap: 0;
  min-height: 380px;
}
.flow .f-query {
  align-self: flex-end;
  background: var(--green-700); color: #fff;
  border-radius: 14px; padding: 12px 20px;
  font-weight: 500; font-size: 14.5px;
  box-shadow: var(--shadow-green);
  margin-bottom: 26px; max-width: 85%;
  min-height: 45px;
}
.flow .f-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-400);
  margin-bottom: 14px;
  opacity: 0; transition: opacity .4s ease;
}
.flow .f-head.visible { opacity: 1; }
.flow .f-head img { width: 18px; height: 18px; border-radius: 5px; }
.flow .f-head .f-chev { margin-left: 2px; color: var(--ink-300); }
.flow .f-intro {
  font-size: 14.5px; color: var(--ink-700); line-height: 1.55;
  margin: 0 0 12px 27px; max-width: 480px;
  opacity: 0; transition: opacity .4s ease;
}
.flow .f-intro.visible { opacity: 1; }
.flow .f-actions { display: flex; gap: 8px; margin: 0 0 18px 27px; opacity: 0; transition: opacity .4s ease; }
.flow .f-actions.visible { opacity: 1; }
.flow .f-actions .fa-start {
  background: var(--ink-900); color: #fff; font-size: 12.5px; font-weight: 550;
  padding: 7px 18px; border-radius: 9px;
}
.flow .f-actions .fa-edit {
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink-700);
  font-size: 12.5px; font-weight: 550; padding: 7px 18px; border-radius: 9px;
}
.flow .f-steps { margin-left: 27px; display: flex; flex-direction: column; }
.flow .f-step { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.flow .f-step.visible { opacity: 1; transform: none; }
.flow .f-step .fs-clock { width: 15px; height: 15px; color: var(--ink-300); margin-top: 4px; flex-shrink: 0; position: relative; }
.flow .f-step .fs-clock svg { width: 15px; height: 15px; }
.flow .f-step.active .fs-clock svg { display: none; }
.flow .f-step.active .fs-clock::after {
  content: ''; position: absolute; inset: -1px;
  border: 2px solid var(--green-200); border-top-color: var(--green-600);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flow .f-step .fs-ic { width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; }
.flow .f-step .fs-ic img, .flow .f-step .fs-ic svg { width: 19px; height: 19px; }
.flow .f-step .fs-text { font-size: 14.5px; color: var(--ink-900); line-height: 1.5; padding-top: 1px; }
.flow .f-subs { margin: 2px 0 4px 53px; display: flex; flex-direction: column; }
.flow .f-sub {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-700); line-height: 1.45;
  padding: 5px 0;
  opacity: 0; transition: opacity .35s ease;
  position: relative;
}
.flow .f-sub.visible { opacity: 1; }
.flow .f-sub::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  border: 1.6px solid var(--ink-300); margin-top: 5px; flex-shrink: 0;
  background: #fff;
}
.flow .f-sub:not(:last-child)::after {
  content: ''; position: absolute; left: 3px; top: 17px; bottom: -7px;
  border-left: 2px dotted var(--ink-200);
}
.flow .f-result {
  margin: 16px 0 0 27px;
  background: #fff; border: 1px solid var(--green-200); border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  font-size: 13.5px; color: var(--ink-700); line-height: 1.6;
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
  max-width: 560px;
}
.flow .f-result.visible { opacity: 1; transform: none; }
.flow .f-result .fr-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--green-700); display: block; margin-bottom: 7px;
}

/* ── Side-tab section (Kore capability switcher) ────────────── */
.sidetabs { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.sidetabs .st-rail { display: flex; flex-direction: column; position: sticky; top: 110px; }
.sidetabs .st-tab {
  text-align: left; font-size: 15.5px; font-weight: 550; color: var(--ink-400);
  padding: 13px 2px; border-bottom: 1px solid var(--line);
  transition: color .15s ease; position: relative;
}
.sidetabs .st-tab::before {
  content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 55%; border-radius: 2px; background: var(--green-600);
  transition: transform .2s ease;
}
.sidetabs .st-tab:hover { color: var(--ink-700); }
.sidetabs .st-tab.active { color: var(--ink-900); }
.sidetabs .st-tab.active::before { transform: translateY(-50%) scaleY(1); }
.sidetabs .st-panels { min-height: 420px; }
.sidetabs .st-panel { display: none; animation: panel-in .35s ease; }
.sidetabs .st-panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

/* ── Split rows ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split h3 { font-size: clamp(24px, 3vw, 36px); margin: 18px 0 14px; }
.split p.lead { font-size: 16px; color: var(--ink-500); margin-bottom: 22px; line-height: 1.65; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-700); align-items: flex-start; line-height: 1.5; }
.feature-list li svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; margin-top: 3px; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: clamp(34px, 4.5vw, 54px); color: var(--green-700); font-weight: 700; letter-spacing: -0.03em; }
.section-dark .stat h3 { color: var(--green-300); }
.stat p { font-size: 13.5px; color: var(--ink-500); margin-top: 6px; }
.section-dark .stat p { color: var(--green-200); }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(40rem 22rem at 85% -20%, rgba(62,196,110,.25), transparent 60%),
    linear-gradient(155deg, var(--green-950) 0%, var(--green-800) 75%, var(--green-700) 100%);
  border-radius: var(--r-xl); padding: 72px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 14px; position: relative; }
.cta-banner p { color: var(--green-200); font-size: 16px; max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-banner .btn-primary { background: #fff; color: var(--green-900); }
.cta-banner .btn-primary:hover { background: var(--green-100); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--ink-900); color: #aeb8b2; padding: 68px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 54px; background: #fff; padding: 9px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.65; color: #7f8a84; max-width: 300px; }
.footer h5 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: #66716b; margin-bottom: 16px; font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 13.5px; color: #aeb8b2; transition: color .15s ease; }
.footer ul a:hover { color: var(--green-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #66716b;
}

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ── Marquee (logo strip) ───────────────────────────────────── */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee .mq-track { display: flex; gap: 14px; width: max-content; animation: mq 30s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 18px; font-size: 13px; font-weight: 550; color: var(--ink-700);
  box-shadow: var(--shadow-xs); white-space: nowrap;
}
.mq-chip img { width: 15px; height: 15px; }

/* ── Tool hero ──────────────────────────────────────────────── */
.tool-hero { padding: calc(var(--nav-h) + 80px) 0 72px; position: relative; }
.tool-hero .th-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.tool-hero h1 { font-size: clamp(30px, 4.2vw, 50px); margin: 22px 0 18px; }
.tool-hero .sub { font-size: 17px; color: var(--ink-500); margin-bottom: 30px; line-height: 1.65; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .tool-hero .th-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { grid-template-columns: 1fr 1fr; }
  .mega .mega-feature { display: none; }
  .sidetabs { grid-template-columns: 1fr; gap: 24px; }
  .sidetabs .st-rail { position: static; flex-direction: row; overflow-x: auto; gap: 4px; }
  .sidetabs .st-tab { border-bottom: none; white-space: nowrap; padding: 9px 14px; border-radius: 10px; }
  .sidetabs .st-tab.active { background: var(--ink-900); color: #fff; }
  .sidetabs .st-tab::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: calc(var(--nav-h) + 24px); left: 12px; right: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    flex-direction: column; align-items: stretch; padding: 16px; gap: 2px;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links .nav-link { padding: 13px 14px; font-size: 15px; }
  .nav-burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links.mobile-open .nav-link.nav-mobile-only { display: flex; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: none;
    padding: 4px 10px 10px; display: none; grid-template-columns: 1fr; }
  .mega.open { display: grid; }
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .stage { padding: 22px; border-radius: var(--r-lg); }
  .cta-banner { padding: 48px 24px; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .flow .f-steps, .flow .f-intro, .flow .f-actions, .flow .f-result { margin-left: 8px; }
  .flow .f-subs { margin-left: 34px; }
  .bubble-cloud { min-height: 300px; }
}

/* ── FlowPlayer v3: rich results ────────────────────────────── */
.flow .f-query { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.flow .f-query.q-reveal { opacity: 0; transform: translateY(10px) scale(.97); }
.flow .f-query.q-in { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1); }
.flow .fq-img { display: block; }
.flow .fq-img svg, .flow .fq-img img { width: 116px; height: 86px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); display: block; }
.flow .f-result .fr-scroll { max-height: 190px; overflow: hidden; position: relative; }
.flow .f-result .fr-inner > *:last-child { margin-bottom: 0; }
.fr-tblwrap { overflow-x: auto; margin-top: 10px; }
.fr-table { border-collapse: collapse; font-size: 12px; width: 100%; }
.fr-table th { background: var(--green-800); color: #fff; font-weight: 500; padding: 6px 10px; text-align: left; white-space: nowrap; }
.fr-table td { border: 1px solid var(--ink-100); padding: 6px 10px; vertical-align: top; }
.fr-table tr:nth-child(even) td { background: var(--ink-50); }
.fr-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.fr-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 550; color: var(--green-800);
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: 8px;
  padding: 5px 10px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: underline; text-decoration-color: rgba(20,101,47,.35); text-underline-offset: 2px;
}
.fr-link:hover { background: var(--green-100); border-color: var(--green-400); transform: translateY(-1px); }
.fr-link .fl-ic { width: 13px; height: 13px; display: inline-flex; }
.fr-link svg { width: 11px; height: 11px; color: var(--green-600); }

/* ── Neuro brand callout chip ───────────────────────────────── */
.neuro-chip {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .01em;
  background: #fff;
  border-radius: 9px; padding: 4px 12px;
}
.neuro-chip::before {
  content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 10.5px;
  background: linear-gradient(100deg, var(--green-600), var(--green-300), #0d9488, var(--green-400), var(--green-600));
  background-size: 300% 100%;
  animation: neuro-shift 5s linear infinite;
}
.neuro-chip b {
  font-weight: 700;
  background: linear-gradient(100deg, var(--green-800), var(--green-500), #0f766e, #2563eb, var(--green-500), var(--green-800));
  background-size: 320% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: neuro-shift 5s linear infinite;
}
@keyframes neuro-shift { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.badge-soft {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-800); background: var(--green-100); border: 1px solid var(--green-200);
  border-radius: 6px; padding: 2px 8px; vertical-align: 2px; margin-left: 6px; font-weight: 500;
}

/* ── Site loader (first visit) ──────────────────────────────── */
.site-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .55s ease, visibility .55s;
}
.site-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loader .sl-rings { position: absolute; inset: 0; overflow: hidden; }
.site-loader .sl-rings span {
  position: absolute; top: 50%; left: 50%;
  width: 30rem; height: 30rem; margin: -15rem 0 0 -15rem;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 168, 82, 0.18);
  background: radial-gradient(circle, transparent 62%, rgba(62,196,110,.055) 74%, transparent 86%);
  animation: sl-ripple 2.6s cubic-bezier(.2,.6,.35,1) infinite;
}
.site-loader .sl-rings span:nth-child(2) { animation-delay: .55s; }
.site-loader .sl-rings span:nth-child(3) { animation-delay: 1.1s; }
.site-loader .sl-rings span:nth-child(4) { animation-delay: 1.65s; }
@keyframes sl-ripple {
  0% { transform: scale(.12); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
.site-loader .sl-logo { position: relative; text-align: center; animation: sl-in .8s cubic-bezier(.2,.7,.3,1); }
.site-loader .sl-logo img { height: 52px; margin: 0 auto; }
.site-loader .sl-logo .sl-sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--green-700); margin-top: 14px; animation: sl-fade 1.6s ease infinite alternate;
}
@keyframes sl-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sl-fade { from { opacity: .45; } to { opacity: 1; } }

/* ── Facility map player ────────────────────────────────────── */
.fac-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; min-height: 340px; }
.fac-map {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(58px, auto); gap: 8px;
  align-content: start; box-shadow: var(--shadow-sm);
}
.fac-map .fm-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-400); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 4px; }
.fac-map .fm-head img { width: 15px; height: 15px; }
.fac-tile {
  border: 1.5px solid var(--ink-100); border-radius: 10px; padding: 8px 10px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-700);
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  transition: all .3s ease; position: relative;
}
.fac-tile small { font-size: 9.5px; color: var(--ink-400); font-weight: 500; }
.fac-tile.scanned { border-color: var(--green-200); background: var(--green-50); }
.fac-tile.active { border-color: var(--green-600); background: var(--green-100); box-shadow: 0 0 0 3px rgba(34,168,82,.18); }
.fac-tile.active::after {
  content: ''; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); animation: pulse-dot 1s ease infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(34,168,82,.4);} 50% { box-shadow: 0 0 0 5px rgba(34,168,82,0);} }
.fac-list {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); overflow: hidden;
}
.fac-list .fl-head {
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 11px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400);
  display: flex; justify-content: space-between; align-items: center;
}
.fac-list .fl-head b { color: var(--green-700); font-weight: 600; }
.fac-list .fl-scroll { flex: 1; overflow: hidden; padding: 6px 12px; }
.fac-row {
  display: flex; align-items: center; gap: 9px; padding: 7px 2px;
  border-bottom: 1px dashed var(--ink-100);
  font-size: 12px; color: var(--ink-700);
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.fac-row.visible { opacity: 1; transform: none; }
.fac-row .fr-dev { flex: 1; font-weight: 550; }
.fac-row .fr-dev small { display: block; font-weight: 400; color: var(--ink-400); font-size: 10px; }
.fac-row .fr-qty { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }
.fac-batt {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em;
  background: var(--green-100); color: var(--green-800); border-radius: 6px; padding: 3px 7px; white-space: nowrap;
}
.fac-total { padding: 9px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; font-weight: 650; color: var(--ink-900); }
.fac-total span:last-child { color: var(--green-700); }
@media (max-width: 700px) { .fac-wrap { grid-template-columns: 1fr; } }

/* ── Industry example tickers ───────────────────────────────── */
.ind-examples { margin-top: 14px; height: 96px; overflow: hidden; position: relative; }
.ind-examples::before, .ind-examples::after {
  content: ''; position: absolute; left: 0; right: 0; height: 18px; z-index: 2; pointer-events: none;
}
.ind-examples .ie-track { display: flex; flex-direction: column; gap: 7px; animation: ie-scroll 12s linear infinite; }
.ind-card:hover .ie-track { animation-play-state: paused; }
@keyframes ie-scroll { to { transform: translateY(-50%); } }
.ie-item {
  flex-shrink: 0; display: flex; gap: 8px; align-items: flex-start;
  font-size: 11.5px; color: var(--green-100); line-height: 1.4;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px; padding: 7px 11px;
}
.ie-item::before { content: '›'; color: var(--green-300); font-weight: 700; }

/* ── Accessibility & motion ─────────────────────────────────── */
:focus-visible { outline: 2.5px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 10000;
  background: var(--green-800); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px;
}
.skip-link:focus { left: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Platform banner (Meet Neuro) ───────────────────────────── */
.platform-banner {
  position: relative; overflow: hidden;
  background: #07130b;
  border-radius: var(--r-xl);
  padding: 58px 56px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center;
  box-shadow: var(--shadow-xl);
  color: #fff;
}
.platform-banner .pb-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: #9fb3a7; margin-bottom: 18px;
}
.platform-banner h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.platform-banner h2 .pb-neuro {
  background: linear-gradient(100deg, #7ddca0, #22a852, #2dd4bf, #60a5fa, #22a852, #7ddca0);
  background-size: 320% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: neuro-shift 6s linear infinite;
  font-style: italic; padding-right: 4px;
}
.platform-banner .pb-new {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  background: linear-gradient(100deg, var(--green-500), #2dd4bf);
  color: #04120a; border-radius: 999px; padding: 6px 14px; font-weight: 600;
}
.platform-banner p { color: #b6c6bc; font-size: 16px; line-height: 1.65; margin-top: 16px; max-width: 520px; }
.platform-banner .pb-art { position: relative; height: 240px; pointer-events: none; }
.platform-banner .pb-art span {
  position: absolute; border-radius: 50%; filter: blur(34px); opacity: .8;
  animation: pb-drift 9s ease-in-out infinite alternate;
}
.platform-banner .pb-art span:nth-child(1) { width: 220px; height: 250px; right: 16%; top: -8%; background: linear-gradient(160deg, #22a852, #a3e635); }
.platform-banner .pb-art span:nth-child(2) { width: 160px; height: 200px; right: 4%; bottom: -14%; background: linear-gradient(160deg, #2dd4bf, #2563eb); animation-delay: 1.6s; }
.platform-banner .pb-art span:nth-child(3) { width: 130px; height: 150px; right: 38%; bottom: 4%; background: linear-gradient(160deg, #14652f, #7ddca0); animation-delay: 3s; }
@keyframes pb-drift { from { transform: translateY(-12px) scale(1); } to { transform: translateY(14px) scale(1.12); } }
.platform-banner .pb-go {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  width: 62px; height: 62px; border-radius: 50%; background: #fff; color: #07130b;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-banner .pb-go:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.platform-banner .pb-go svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .platform-banner { grid-template-columns: 1fr; padding: 40px 28px 30px; }
  .platform-banner .pb-art { height: 130px; }
  .platform-banner .pb-go { position: static; transform: none; margin-top: 6px; }
}

/* ── Page enter fade ────────────────────────────────────────── */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in .45s ease; }
