/* Motion GTM Workspace — Landing v3 CSS
   Direction: Enterprise AI — Clean, Sharp & Intelligent
   Light-first with dark premium accents */

@font-face {
  font-family: 'Cascadia Code';
  src: url('../assets/fonts/CascadiaCode-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cascadia Code';
  src: url('../assets/fonts/CascadiaCode-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 700; font-style: italic; font-display: swap;
}

/* ── Tokens ──────────────────────────────── */
:root {
  /* Light backgrounds */
  --bg:          #F8FBFF;
  --bg2:         #EEF7FF;
  --white:       #FFFFFF;
  --border:      #D8E6F3;
  --border-hi:   #B8D0E8;

  /* Dark surfaces */
  --dark:        #06111F;
  --dark-deep:   #020817;
  --dark-panel:  rgba(255,255,255,0.06);
  --dark-line:   rgba(255,255,255,0.08);

  /* Brand */
  --blue:        #118CFF;
  --blue-dark:   #0B7BFF;
  --blue-light:  #EAF4FF;
  --cyan:        #5EEBFF;
  --cyan-dim:    rgba(94,235,255,0.15);

  /* Text */
  --text:        #07111F;
  --text2:       #475569;
  --text3:       #64748B;
  --text-muted:  #94A3B8;

  /* Status */
  --green:       #22C55E;
  --red:         #EF4444;
  --amber:       #F59E0B;

  /* Fonts */
  --font-sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(7,17,31,0.06), 0 4px 16px rgba(7,17,31,0.06);
  --shadow-md: 0 4px 16px rgba(7,17,31,0.08), 0 12px 40px rgba(7,17,31,0.08);
  --shadow-lg: 0 8px 32px rgba(7,17,31,0.10), 0 24px 64px rgba(7,17,31,0.10);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Animations ──────────────────────────── */
@keyframes pulse  { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }

/* ── Layout ──────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r-pill); font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none; border: 1.5px solid transparent;
  transition: all 180ms ease; white-space: nowrap; font-family: var(--font-sans);
}
.btn--sm   { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn--md   { min-height: 48px; padding: 0 28px; font-size: 14px; }
.btn--lg   { min-height: 56px; padding: 0 40px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0B7BFF; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,140,255,0.30); }

.btn--navy  { background: var(--dark); color: #fff; }
.btn--navy:hover { background: #0B1B2D; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(6,17,31,0.25); }

.btn--cyan  { background: var(--cyan); color: var(--dark); }
.btn--cyan:hover { background: #7af0ff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(94,235,255,0.35); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* ── Sticky CTA ──────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  background: var(--dark); color: #fff; font-weight: 700; font-size: 13px;
  padding: 13px 24px; border-radius: var(--r-pill);
  box-shadow: 0 8px 28px rgba(6,17,31,0.30);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta:hover { background: #0B1B2D; }

/* ── Live badge ──────────────────────────── */
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.12); color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r-pill); padding: 4px 12px; font-size: 11px; font-weight: 600;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 2s infinite; }

/* ── Section type helpers ────────────────── */
.section-eyebrow--blue { font-size: 11px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-h2--dark { font-family: var(--font-display); font-size: clamp(28px,4vw,46px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; color: var(--text); margin-top: 10px; }
.section-sub--dark { font-size: 18px; color: var(--text2); line-height: 1.70; margin-top: 14px; }

/* ═══════════════════════════════════════════
   NAV
════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(248,251,255,0.88); border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: border-color 300ms ease, background 300ms ease;
}
.nav.solid { border-color: var(--border); background: rgba(248,251,255,0.95); }
.nav__inner { max-width: 1180px; margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px; }
.nav__logo  { display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 14px; color: var(--text3); font-weight: 500; transition: color 150ms; }
.nav__links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding-top: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(17,140,255,0.07), transparent),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(94,235,255,0.06), transparent);
}
.hero__logo-bg {
  position: absolute; top: -80px; right: -100px; z-index: 0; pointer-events: none;
  opacity: 0.08;
}
.hero__logo-bg svg {
  width: 500px; height: 500px;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 100px 24px 96px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
}
.hero__h1 {
  font-family: var(--font-display); font-size: clamp(38px,5.5vw,66px);
  font-weight: 800; letter-spacing: -0.055em; line-height: 0.96; color: var(--text);
}
.hero__sub { font-size: 18px; color: var(--text2); line-height: 1.70; margin-top: 22px; max-width: 480px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 36px; }
.metric { padding: 16px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.metric strong { display: block; color: var(--blue); font-size: 26px; line-height: 1; font-weight: 800; font-family: var(--font-display); }
.metric span   { display: block; margin-top: 6px; color: var(--text3); font-size: 12px; line-height: 1.4; }

/* Product card (dark) */
.hero__product { display: flex; flex-direction: column; }
.product-card {
  background: var(--dark); border-radius: var(--r-xl); padding: 24px;
  box-shadow: 0 24px 80px rgba(6,17,31,0.20), 0 4px 16px rgba(6,17,31,0.12);
}
.product-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.product-card__brand  { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; }

.input-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.chip { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; }

.flow-arrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: rgba(94,235,255,0.80); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }

.signals { display: flex; flex-direction: column; gap: 8px; }
.signal { padding: 12px 14px; border-radius: var(--r-md); }
.signal--red  { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.20); }
.signal--blue { background: rgba(94,235,255,0.07); border: 1px solid rgba(94,235,255,0.18); }
.signal--base { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.signal__row  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; gap: 8px; }
.signal__name { font-size: 13px; font-weight: 700; color: #fff; }
.signal__tag  { border-radius: var(--r-pill); padding: 2px 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.10em; white-space: nowrap; }
.signal__tag       { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.65); }
.signal__tag--red  { background: rgba(239,68,68,0.15); color: #fca5a5; }
.signal__tag--blue { background: rgba(94,235,255,0.15); color: var(--cyan); }
.signal p { font-size: 12px; color: rgba(255,255,255,0.50); line-height: 1.4; margin: 0; }

.reco-block { margin-top: 12px; padding: 14px; border-radius: var(--r-md); border: 1px solid rgba(94,235,255,0.22); background: rgba(94,235,255,0.07); }
.reco-block__label { font-size: 10px; color: var(--cyan); font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 6px; }
.reco-block p { font-size: 13px; color: rgba(255,255,255,0.80); line-height: 1.55; margin: 0; }

/* ═══════════════════════════════════════════
   PROBLEMS — white
════════════════════════════════════════════ */
.problems { padding: 96px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.problems__head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.problems__head h2 { font-family: var(--font-display); font-size: clamp(24px,3.5vw,40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.10; color: var(--text); }
.problems__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.problem-card { padding: 32px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: box-shadow 200ms, border-color 200ms, transform 200ms; }
.problem-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hi); transform: translateY(-2px); }
.problem-card__num { font-size: 10px; font-weight: 800; color: var(--text-muted); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; font-family: 'Cascadia Code', monospace; }
.problem-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: var(--text); }
.problem-card p  { font-size: 15px; color: var(--text2); line-height: 1.65; margin-top: 12px; }

/* ═══════════════════════════════════════════
   MANIFESTO — dark premium
════════════════════════════════════════════ */
.manifesto {
  position: relative; overflow: hidden;
  background: var(--dark); padding: 120px 0;
}
.manifesto__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(17,140,255,0.15), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(94,235,255,0.08), transparent);
}
.manifesto__container { position: relative; }
.manifesto__head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.manifesto__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.manifesto__h2 { font-family: var(--font-display); font-size: clamp(36px,5vw,56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.04; color: #fff; }
.manifesto__sub { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-top: 18px; }
.manifesto__content { margin-bottom: 56px; }
.manifesto__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; }
.manifesto__col { padding: 40px; border-radius: var(--r-lg); }
.manifesto__col--yes { background: rgba(94,235,255,0.08); border: 1px solid rgba(94,235,255,0.20); }
.manifesto__col--no  { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.manifesto__col-label { font-size: 12px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 24px; }
.manifesto__col--yes .manifesto__col-label { color: var(--cyan); }
.manifesto__col--no  .manifesto__col-label { color: rgba(255,255,255,0.40); }
.manifesto__col ul li { font-size: 15px; color: rgba(255,255,255,0.80); line-height: 1.85; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.manifesto__col ul li:last-child { border: none; }
.manifesto__statement {
  text-align: center;
  font-family: var(--font-display); font-size: clamp(20px,2.5vw,28px);
  font-weight: 700; letter-spacing: -0.03em; color: rgba(255,255,255,0.95);
  padding: 32px 40px; border: 2px solid rgba(94,235,255,0.25);
  border-radius: var(--r-lg); background: rgba(94,235,255,0.08);
  max-width: 600px; margin: 0 auto;
}

/* ═══════════════════════════════════════════
   PLATFORM — ice blue
════════════════════════════════════════════ */
.platform { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platform__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }

/* Flow diagram */
.platform__flow-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 48px; box-shadow: var(--shadow-sm); margin-bottom: 56px; }
.platform__flow { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.flow-stack { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.flow-stack-label { font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue); }
.flow-inputs, .flow-outputs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 480px; }
.flow-input-chip { padding: 10px 16px; border: 1.5px solid var(--border); background: var(--bg); border-radius: var(--r-pill); font-size: 13px; color: var(--text2); font-weight: 600; white-space: nowrap; }
.flow-center-vertical { display: flex; justify-content: center; }
.flow-arrow-vert { opacity: 0.6; }
.flow-core-area { text-align: center; }
.flow-core-label { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.flow-core-engines { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 520px; }
.engine-chip { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--dark); color: #fff; border: 1px solid rgba(17,140,255,0.25); box-shadow: 0 4px 12px rgba(6,17,31,0.15); }
.flow-outputs { gap: 8px; }
.flow-output-chip { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; white-space: nowrap; }
.flow-output-chip--blue  { background: var(--blue-light); color: var(--blue); border: 1px solid rgba(17,140,255,0.20); }
.flow-output-chip--red   { background: #FEF2F2; color: #DC2626; border: 1px solid rgba(220,38,38,0.18); }
.flow-output-chip--green { background: #F0FDF4; color: #16A34A; border: 1px solid rgba(22,163,74,0.18); }

/* Engine detail cards */
.engines-detail { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.engine-detail-card { padding: 24px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: box-shadow 200ms, border-color 200ms, transform 200ms; }
.engine-detail-card:hover { box-shadow: var(--shadow-md); border-color: rgba(17,140,255,0.25); transform: translateY(-2px); }
.engine-card__num { font-size: 10px; font-weight: 800; color: var(--blue); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; font-family: 'Cascadia Code', monospace; }
.engine-detail-card h3 { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.engine-detail-card p { font-size: 13px; color: var(--text2); margin-top: 8px; line-height: 1.6; }

/* ═══════════════════════════════════════════
   USE CASES — white
════════════════════════════════════════════ */
.usecases { padding: 96px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.usecases__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.case-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px; border: 1px solid var(--border); background: var(--white);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: border-color 180ms, box-shadow 180ms;
}
.case-card:hover { border-color: rgba(17,140,255,0.30); box-shadow: 0 4px 20px rgba(17,140,255,0.08); }
.case-card__icon { color: var(--blue); font-size: 16px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.case-card p { font-size: 14px; color: var(--text); line-height: 1.5; font-weight: 500; margin: 0; }

/* ═══════════════════════════════════════════
   CHAT SECTION — light bg
════════════════════════════════════════════ */
.chat-section { padding: 96px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.chat__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.chat__features { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.chat__feature-item { text-align: center; padding: 24px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.feature-check { font-size: 24px; color: var(--green); font-weight: 800; margin-bottom: 12px; }
.chat__feature-item h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.chat__feature-item p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ═══════════════════════════════════════════
   MOTION ASSISTANT — Persistent sidebar
════════════════════════════════════════════ */
.motion-assistant { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 250; }
.assistant-toggle {
  position: relative; right: 0; top: 0; z-index: 251;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-md) 0 0 var(--r-md);
  background: var(--dark); color: #fff; border: none;
  font-size: 12px; font-weight: 700; writing-mode: vertical-rl; text-orientation: mixed;
  cursor: pointer; transition: all 200ms ease;
  box-shadow: 0 4px 16px rgba(6,17,31,0.20);
}
.assistant-toggle:hover { background: #0B1B2D; }
.assistant-toggle.open { background: var(--cyan); color: var(--dark); }

.assistant-panel {
  position: absolute; right: 56px; top: 0; width: 380px; max-height: 85vh;
  background: var(--dark); border-radius: 0 var(--r-xl) var(--r-xl) 0;
  box-shadow: -4px 8px 32px rgba(6,17,31,0.25);
  display: flex; flex-direction: column;
  animation: slideIn 300ms ease;
  overflow: hidden;
  opacity: 1;
  max-width: 380px;
}
.assistant-panel[hidden] {
  display: none !important;
}
@keyframes slideIn { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.assistant-panel__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,17,31,0.40);
}
.assistant-panel__title { font-size: 15px; font-weight: 700; color: #fff; }
.assistant-close {
  background: transparent; border: none; color: rgba(255,255,255,0.50);
  font-size: 24px; cursor: pointer; padding: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: color 150ms; font-weight: 300;
}
.assistant-close:hover { color: #fff; }

.assistant-panel__body {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.assistant-msg { max-width: 100%; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.6; animation: fadeUp 200ms ease; }
.assistant-msg--ai { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); align-self: flex-start; }
.assistant-msg--user { background: var(--cyan); color: var(--dark); align-self: flex-end; font-weight: 600; }

.assistant-quick-btns { display: flex; flex-direction: column; gap: 6px; padding: 0 16px; }
.quick-btn { border: 1px solid rgba(255,255,255,0.12); background: transparent; color: rgba(255,255,255,0.60); border-radius: var(--r-pill); padding: 8px 12px; font-size: 12px; cursor: pointer; transition: all 150ms; text-align: left; }
.quick-btn:hover { border-color: rgba(94,235,255,0.40); color: #fff; background: rgba(94,235,255,0.06); }

.assistant-input-row { display: flex; gap: 8px; padding: 12px 16px; }
.assistant-input-row input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill); background: rgba(255,255,255,0.06); color: #fff; padding: 9px 14px; outline: none; font-size: 13px; transition: border-color 180ms; }
.assistant-input-row input::placeholder { color: rgba(255,255,255,0.30); }
.assistant-input-row input:focus { border-color: rgba(94,235,255,0.40); }

.assistant-cta {
  display: block; padding: 12px 16px; margin: 8px 16px 16px;
  background: var(--cyan); color: var(--dark);
  border-radius: var(--r-pill); font-weight: 700; font-size: 13px;
  text-align: center; text-decoration: none;
  transition: all 180ms ease;
}
.assistant-cta:hover { background: #7af0ff; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   DEMO FORM — ice blue
════════════════════════════════════════════ */
.demo-section { padding: 96px 0; background: var(--bg2); border-bottom: 1px solid var(--border); }
.demo__grid   { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

.next-steps { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.next-steps__title { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.next-step { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text2); }
.next-step__num { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

.quality-card { margin-top: 32px; padding: 20px; border: 1px solid var(--border); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.quality-card__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); margin-bottom: 12px; font-weight: 500; }
.quality-card__top strong { color: var(--text3); transition: color 300ms; }
.quality-bar { height: 5px; border-radius: var(--r-pill); background: var(--border); overflow: hidden; }
.quality-bar__fill { height: 100%; width: 0; border-radius: var(--r-pill); background: var(--blue); transition: width 400ms ease, background 300ms ease; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; color: var(--text); font-weight: 600; }
.req { color: var(--blue); margin-left: 2px; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); padding: 11px 14px;
  outline: none; font-size: 14px; width: 100%;
  transition: border-color 180ms, box-shadow 180ms;
  -webkit-appearance: none; appearance: none;
}
.field textarea { border-radius: var(--r-md); min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,140,255,0.10); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.form-note { margin-top: 12px; text-align: center; color: var(--text3); font-size: 12px; line-height: 1.5; }

.form-success { padding: 32px 16px; text-align: center; animation: fadeUp 350ms ease; }
.form-success__icon { font-size: 48px; margin-bottom: 16px; color: var(--green); }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.form-success p  { color: var(--text2); font-size: 15px; line-height: 1.65; }

/* ═══════════════════════════════════════════
   FINAL CTA — dark premium
════════════════════════════════════════════ */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--dark-deep); padding: 120px 24px; text-align: center;
}
.final-cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(17,140,255,0.22), transparent),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(94,235,255,0.08), transparent);
}
.final-cta__inner { position: relative; }
.final-cta__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.50); margin-bottom: 32px; }
.final-cta__h2 { font-family: var(--font-display); font-size: clamp(28px,5vw,56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.04; color: #fff; max-width: 760px; margin: 0 auto; }
.final-cta__sub { font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.70; max-width: 520px; margin: 20px auto 0; }

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer { background: var(--dark); padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand { display: flex; align-items: center; }
.footer__copy  { font-size: 13px; color: rgba(255,255,255,0.30); }

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .engines-detail { grid-template-columns: repeat(3,1fr); }
  .platform__flow { flex-direction: column; }
}
@media (max-width: 900px) {
  .hero__grid, .demo__grid { grid-template-columns: 1fr; }
  .manifesto__cols { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: 1fr; }
  .engines-detail { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .chat__features { grid-template-columns: 1fr; }
  .motion-assistant { display: none; }
}
@media (max-width: 540px) {
  .engines-detail { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .final-cta { padding: 80px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .chat__features { grid-template-columns: 1fr; }
  .platform__flow-card { padding: 24px; }
  .flow-inputs, .flow-outputs { max-width: 100%; }
}
