/* =========================================
   AIANDI — Premium Marketing Site
   ========================================= */
:root {
  --bg:       #060810;
  --bg1:      #080c1a;
  --surface:  rgba(255,255,255,.042);
  --surface2: rgba(255,255,255,.025);
  --border:   rgba(255,255,255,.08);
  --border2:  rgba(255,255,255,.05);
  --text:     rgba(255,255,255,.94);
  --muted:    rgba(255,255,255,.62);
  --muted2:   rgba(255,255,255,.40);
  --accent:   #8c9eff;
  --accent2:  #4fffb4;
  --red:      #ff5252;
  --radius:   20px;
  --radius2:  14px;
  --max:      1160px;
  --shadow:   0 24px 80px rgba(0,0,0,.55);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
svg { display: block; }
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .7; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
@media (min-width: 900px) { .container { padding: 0 48px; } }
.section { padding: 100px 0; }
.section.tight { padding: 64px 0; }
.kicker { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h1 { font-family: 'Syne', sans-serif; font-size: clamp(42px, 6vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: var(--text); }
.h1 em { font-style: normal; color: var(--accent); }
.h2 { font-family: 'Syne', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--text); margin-bottom: 14px; }
.body-text { font-size: 17px; line-height: 1.68; color: var(--muted); max-width: 560px; }
.body-text strong { color: rgba(255,255,255,.85); font-weight: 500; }
.body-text em { font-style: italic; color: rgba(255,255,255,.75); }
.header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px); background: rgba(6,8,16,.75); border-bottom: 1px solid var(--border2); transition: border-color .3s; }
.header.scrolled { border-color: var(--border); }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: radial-gradient(circle at 35% 30%, rgba(140,160,255,.9), transparent 55%), radial-gradient(circle at 70% 65%, rgba(79,255,180,.6), transparent 55%), rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden; }
.brand-mark.small { width: 22px; height: 22px; border-radius: 7px; }
.brand-pulse { position: absolute; inset: 0; background: radial-gradient(circle at 40% 40%, rgba(140,160,255,.3), transparent 60%); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.5} 50%{opacity:1} }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; font-weight: 400; }
.nav a:hover { color: var(--text); }
@media (min-width: 900px) { .nav { display: flex; } }
.header-actions { display: none; gap: 10px; align-items: center; }
@media (min-width: 700px) { .header-actions { display: flex; } }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); background: linear-gradient(135deg, rgba(140,160,255,.25), rgba(79,255,180,.12)); border: 1px solid rgba(140,160,255,.35); box-shadow: 0 0 0 1px rgba(140,160,255,.1), 0 8px 32px rgba(140,160,255,.12); transition: all .22s; position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(140,160,255,.15), rgba(79,255,180,.08)); opacity: 0; transition: opacity .22s; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(140,160,255,.25), 0 12px 40px rgba(140,160,255,.2); transform: translateY(-1px); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; }
.btn-primary.large { padding: 15px 30px; font-size: 15px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 400; color: var(--muted); background: transparent; border: 1px solid var(--border); transition: all .22s; }
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,.18); background: var(--surface); }
.btn-outline.large { padding: 15px 28px; font-size: 15px; }
.btn-ghost { font-size: 14px; color: var(--muted); transition: color .2s; padding: 8px 14px; }
.btn-ghost:hover { color: var(--text); }
.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.mobile-menu-btn span { display: block; height: 1.5px; background: var(--muted); border-radius: 2px; transition: all .25s; }
@media (min-width: 700px) { .mobile-menu-btn { display: none; } }
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 12px 24px 20px; border-top: 1px solid var(--border2); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-size: 16px; color: var(--muted); border-bottom: 1px solid var(--border2); }
/* Sticky header CTA glow */
.header-actions .btn-primary { animation: ctaPulse 3s ease-in-out infinite; }
@keyframes ctaPulse { 0%,100%{ box-shadow: 0 0 0 1px rgba(140,160,255,.1), 0 8px 32px rgba(140,160,255,.12); } 50%{ box-shadow: 0 0 0 1px rgba(140,160,255,.25), 0 8px 32px rgba(140,160,255,.25), 0 0 16px rgba(79,255,180,.1); } }
/* Sticky mobile bottom CTA bar */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; padding: 12px 20px; background: rgba(6,8,16,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border2); transform: translateY(100%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.mobile-sticky-cta.visible { transform: translateY(0); }
.mobile-sticky-cta .btn-primary { width: 100%; justify-content: center; }
@media (max-width: 699px) { .mobile-sticky-cta { display: block; } }
.mobile-cta { margin-top: 12px; text-align: center; justify-content: center; color: var(--text) !important; border: 1px solid rgba(140,160,255,.3) !important; background: linear-gradient(135deg, rgba(140,160,255,.15), rgba(79,255,180,.07)); padding: 14px; border-radius: 12px; }
.hero-section { padding-top: 60px; padding-bottom: 0; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation: blink 2.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:.5} 50%{opacity:1} }
.hero-section .h1 { margin-bottom: 22px; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.hero-brain-explainer { font-size: 14px; color: var(--muted2); max-width: 480px; margin: -8px auto 16px; text-align: center; line-height: 1.5; }
.hero-brain-explainer strong { color: var(--accent); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-visual-wrap { margin-top: 64px; padding-bottom: 0; }
.hero-visual { display: grid; grid-template-columns: 1fr; gap: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--border); border-bottom: none; border-radius: 24px 24px 0 0; padding: 20px 20px 0; position: relative; }
@media (min-width: 900px) { .hero-visual { grid-template-columns: 1fr 220px; padding: 24px 24px 0; } }
.hv-pills { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; margin-bottom: 16px; }
.hv-pill { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); font-size: 13px; color: var(--muted); transition: all .2s; }
.hv-pill.active { border-color: rgba(140,160,255,.35); background: rgba(140,160,255,.1); color: var(--text); }
.hv-chat { background: rgba(0,0,0,.22); border: 1px solid var(--border); border-radius: 18px 18px 0 0; overflow: hidden; height: 340px; display: flex; flex-direction: column; }
.hv-chat-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border2); font-size: 13px; }
.hv-brain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hv-brain-label { font-weight: 500; flex: 1; }
.hv-status { display: flex; align-items: center; gap: 5px; color: var(--muted2); font-size: 12px; }
.hv-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); animation: blink 2s infinite; }
.hv-messages { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; min-height: 0; }
.hv-msg { display: flex; gap: 10px; }
.hv-msg.user { justify-content: flex-end; }
.hv-msg.ai { align-items: flex-start; }
.hv-avatar { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, rgba(140,160,255,.3), rgba(79,255,180,.2)); border: 1px solid rgba(140,160,255,.25); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-family: 'Syne', sans-serif; flex-shrink: 0; color: var(--accent); }
.hv-msg-bubble { max-width: 75%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.55; overflow: hidden; }
.hv-msg.user .hv-msg-bubble { background: rgba(140,160,255,.12); border: 1px solid rgba(140,160,255,.2); color: var(--text); border-radius: 16px 16px 4px 16px; }
.hv-msg.ai .hv-msg-bubble { background: var(--surface); border: 1px solid var(--border2); color: var(--muted); border-radius: 4px 16px 16px 16px; }
.hv-msg.ai .hv-msg-bubble strong { color: rgba(255,255,255,.85); }
.hv-typing { display: flex; gap: 5px; padding: 4px 0; transition: opacity .3s, visibility .3s; min-height: 0; }
.hv-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted2); animation: typing .9s ease-in-out infinite; }
.hv-typing span:nth-child(2) { animation-delay: .2s; }
.hv-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px); background:var(--accent)} }
.hv-memory-tag { margin-top: 10px; font-size: 12px; color: var(--accent2); display: flex; align-items: center; gap: 5px; }
.hv-distil { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(79,255,180,.06); border-top: 1px solid rgba(79,255,180,.12); font-size: 12.5px; color: var(--accent2); opacity: 0; transform: translateY(8px); transition: all .5s ease; }
.hv-distil.show { opacity: 1; transform: translateY(0); }
.hv-distil-icon { font-size: 14px; }
.hv-memory { background: rgba(0,0,0,.18); border: 1px solid var(--border); border-radius: 18px 18px 0 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.hv-memory-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 4px; }
.hv-snippet { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); line-height: 1.45; transition: opacity .4s; }
.hv-snippet.new { color: rgba(255,255,255,.8); }
.hv-snippet-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex-shrink: 0; }
.hv-snippet-dot.accent { background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
.hv-memory-count { margin-top: auto; font-size: 11px; color: var(--muted2); padding-top: 8px; border-top: 1px solid var(--border2); }
/* Module highlight chips with tooltips */
.mod-highlight {
  position: relative;
  display: inline;
  color: var(--accent, #8c9eff);
  font-weight: 600;
  cursor: default;
  border-bottom: 1px dashed rgba(140,160,255,.35);
  transition: color .2s, border-color .2s;
}
.mod-highlight:hover { color: #fff; border-color: rgba(140,160,255,.6); }
.mod-highlight .mod-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  background: rgba(14,18,34,.95);
  border: 1px solid rgba(140,160,255,.2);
  border-radius: 10px;
  padding: 12px 16px;
  width: max-content;
  max-width: 280px;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 20px rgba(140,160,255,.08);
  backdrop-filter: blur(12px);
}
.mod-highlight:hover .mod-tip, .mod-highlight.tap-active .mod-tip { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mod-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(14,18,34,.95);
}
.mod-tip-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.mod-tip-desc {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  font-weight: 400;
}
.mod-highlight.green { color: var(--accent2, #4fffb4); border-bottom-color: rgba(79,255,180,.35); }
.mod-highlight.green:hover { color: #fff; border-color: rgba(79,255,180,.6); }
.mod-highlight.green .mod-tip { border-color: rgba(79,255,180,.2); box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 20px rgba(79,255,180,.08); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }
.contrast-section { background: linear-gradient(180deg, transparent, rgba(8,12,26,.6), transparent); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.contrast-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 900px) { .contrast-inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .body-text { margin: 0 auto; max-width: 480px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 24px; }
.compare-col.good { background: rgba(79,255,180,.035); border-color: rgba(79,255,180,.15); }
.compare-label { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted2); }
.compare-col.good .compare-label { color: var(--accent2); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.compare-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); opacity: 0; transition: opacity .3s; }
.step-card:hover { border-color: var(--border); transform: translateY(-3px); }
.step-card:hover::before { opacity: .6; }
.step-number { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.step-icon { width: 36px; height: 36px; color: var(--muted2); margin-bottom: 16px; }
.step-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.feature-section { background: transparent; }
.feature-section.alt { background: linear-gradient(180deg, transparent, rgba(8,12,26,.5), transparent); }
.feature-block { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .feature-block { grid-template-columns: 1fr 1fr; gap: 64px; } .feature-block.reverse { direction: rtl; } .feature-block.reverse > * { direction: ltr; } }
.feature-text .h2 { margin-bottom: 16px; }
.feature-text .body-text { margin-bottom: 28px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.fl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(140,160,255,.4); margin-top: 6px; flex-shrink: 0; }
.feature-list li div { display: flex; flex-direction: column; gap: 3px; }
.feature-list li strong { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); }
.feature-list li span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.feature-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.memory-visual { padding: 0; }
.mv-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border2); }
.mv-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); }
.mv-count { min-width: 80px; }
.mv-count span { color: var(--accent); font-weight: 600; }
.mv-list { padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.mv-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; transition: background .2s; opacity: 0; transform: translateX(-10px); animation: slideIn .5s forwards; animation-delay: calc(var(--i) * .12s + .3s); }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }
.mv-item:hover { background: var(--surface2); }
.mv-item.highlight { background: rgba(79,255,180,.05); border: 1px solid rgba(79,255,180,.12); color: rgba(255,255,255,.8); }
.mv-tag { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; white-space: nowrap; flex-shrink: 0; }
.mv-tag.auto { background: rgba(140,160,255,.12); color: var(--accent); }
.mv-tag.manual { background: rgba(255,255,255,.07); color: var(--muted); }
.mv-tag.new { background: rgba(79,255,180,.15); color: var(--accent2); }
.mv-footer { padding: 14px 20px; border-top: 1px solid var(--border2); }
.mv-distil-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted2); }
.mv-distil-badge svg { width: 14px; height: 14px; }
.strategy-visual { padding: 20px; }
.sv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sv-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; }
.sv-badge { font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(79,255,180,.25); background: rgba(79,255,180,.08); color: var(--accent2); }
.sv-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sv-cat { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); font-size: 13px; color: var(--muted); transition: all .2s; }
.sv-cat.active { border-color: rgba(140,160,255,.3); background: rgba(140,160,255,.1); color: var(--text); }
.sv-frameworks { display: flex; flex-direction: column; gap: 8px; }
.sv-fw { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border2); background: var(--surface2); cursor: pointer; transition: all .2s; }
.sv-fw.selected { border-color: rgba(140,160,255,.3); background: rgba(140,160,255,.07); }
.sv-fw-name { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
.sv-fw-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sv-fw-use { margin-top: 10px; font-size: 12px; color: var(--accent); font-weight: 500; }
.brainstorm-visual { padding: 16px; }
.bv-board { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
@media (max-width: 600px) { .bv-board { grid-template-columns: 1fr; } }
.bv-col-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 8px; }
.bv-card { font-size: 12.5px; color: var(--muted); background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; padding: 10px 12px; line-height: 1.45; margin-bottom: 6px; }
.bv-card.accent1 { border-color: rgba(140,160,255,.2); color: rgba(255,255,255,.75); }
.bv-card.accent2 { border-color: rgba(255,149,90,.2); color: rgba(255,200,150,.85); }
.bv-card.accent3 { border-color: rgba(79,255,180,.2); color: rgba(79,255,180,.8); }
.bv-save { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--accent2); padding: 10px; border-radius: 10px; border: 1px dashed rgba(79,255,180,.2); background: rgba(79,255,180,.03); cursor: pointer; transition: all .2s; }
.bv-save svg { width: 14px; height: 14px; }
.bv-save:hover { background: rgba(79,255,180,.07); }
.multibrain-section { background: linear-gradient(180deg, transparent, rgba(8,12,26,.7), transparent); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); position: relative; }
.mb-inner { text-align: center; }
.mb-inner .h2 { margin: 0 auto 12px; }
.mb-insight { display: inline-block; background: rgba(140,160,255,.06); border: 1px solid rgba(140,160,255,.15); border-radius: 14px; padding: 14px 20px; font-size: 14px; color: rgba(255,255,255,.75); max-width: 600px; line-height: 1.5; }
.mb-insight strong { color: var(--accent); }
/* Intelligence module cards */
.im-card {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  text-align: left;
  cursor: default;
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
  overflow: hidden;
}
.im-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--im-color),.6), rgba(var(--im-color),.1));
  opacity: 0;
  transition: opacity .3s;
}
.im-card:hover {
  border-color: rgba(var(--im-color),.3);
  background: rgba(var(--im-color),.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px rgba(var(--im-color),.06);
}
.im-card:hover::before { opacity: 1; }
.im-icon { font-size: 22px; margin-bottom: 10px; }
.im-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgb(var(--im-color));
  margin-bottom: 6px;
  transition: color .3s;
}
.im-card:hover .im-name { color: #fff; }
.im-desc {
  font-size: 13px;
  color: var(--muted, rgba(255,255,255,.62));
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.22,1,.36,1), opacity .3s, margin .3s;
  margin-top: 0;
}
.im-card:hover .im-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 2px;
}
.im-examples {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.22,1,.36,1) .1s, opacity .3s .1s;
}
.im-card:hover .im-examples {
  max-height: 200px;
  opacity: 1;
}
.im-example {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-style: italic;
  line-height: 1.45;
  padding: 5px 0 5px 12px;
  border-left: 2px solid rgba(var(--im-color),.25);
  margin-top: 6px;
}
.final-cta { text-align: center; position: relative; overflow: hidden; }
.fct-inner { position: relative; padding: 80px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; }
.fct-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 300px; background: radial-gradient(ellipse at center, rgba(140,160,255,.12), transparent 70%); pointer-events: none; }
.fct-inner .h2 { margin-bottom: 14px; }
.fct-inner .body-text { margin: 0 auto 32px; max-width: 480px; }
.fct-cta-group { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pricing-anchor { margin-top: 12px; }
.pricing-anchor-inner { display: flex; align-items: center; gap: 0; background: rgba(255,255,255,.03); border: 1px solid var(--border2); border-radius: 14px; padding: 16px 8px; }
.pa-tier { flex: 1; text-align: center; padding: 0 16px; }
.pa-name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted2); margin-bottom: 4px; }
.pa-price { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--text); }
.pa-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.pa-desc { font-size: 12px; color: var(--muted2); margin-top: 4px; }
.pa-divider { width: 1px; height: 40px; background: var(--border2); flex-shrink: 0; }
@media (max-width: 480px) { .pa-tier { padding: 0 10px; } .pa-price { font-size: 18px; } }
.fct-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted2); }
.footer { padding: 36px 0 52px; border-top: 1px solid var(--border2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted2); }
.brand-mark--logo { background: transparent; border: none; box-shadow: none; overflow: hidden; position: relative; }
.brand-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.brand-mark--logo .brand-pulse { position: absolute; inset: 0; border-radius: inherit; }
.biz-section { position: relative; }
.biz-inner { text-align: center; }
.biz-section .biz-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(143,168,255,.25); background: rgba(143,168,255,.07); font-size: 12px; color: var(--accent); font-family: 'DM Sans', sans-serif; font-weight: 500; letter-spacing: .02em; margin-bottom: 22px; }
.biz-section .h2 { margin-bottom: 18px; }
.biz-sub { max-width: 620px; margin: 0 auto 52px; }
.biz-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; text-align: left; }
@media (max-width: 900px) { .biz-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .biz-pillars { grid-template-columns: 1fr; } }
.biz-pillar { padding: 22px 20px; border-radius: 18px; border: 1px solid var(--border); backdrop-filter: blur(12px); transition: border-color .22s, transform .22s; }
.biz-pillar:hover { border-color: rgba(143,168,255,.2); transform: translateY(-3px); }
.biz-pillar-icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(143,168,255,.08); border: 1px solid rgba(143,168,255,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--accent); }
.biz-pillar-icon svg { width: 22px; height: 22px; }
.biz-pillar h3 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; color: var(--text); }
.biz-pillar p { font-size: 13.5px; color: var(--muted2); line-height: 1.65; }
.biz-use-cases { margin-bottom: 44px; }
.biz-uc-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 12px; }
.biz-uc-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.biz-chip { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted2); transition: border-color .18s, color .18s; }
.biz-chip:hover { border-color: rgba(143,168,255,.2); color: var(--text); }
.biz-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.biz-cta-sub { font-size: 13px; color: var(--muted2); margin: 0; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.trust-badge svg { opacity: .6; flex-shrink: 0; }
.trust-section { padding: 32px 0 40px; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.trust-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 18px; }
.industry-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ind-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); font-size: 13px; color: var(--muted); transition: border-color .2s, color .2s; }
.ind-chip:hover { border-color: rgba(140,160,255,.2); color: var(--text); }
.ind-chip svg { width: 14px; height: 14px; opacity: .6; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border2); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--border); }
.faq-item.open { border-color: rgba(140,160,255,.25); background: rgba(140,160,255,.03); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; transition: color .2s; }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted2); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .3s; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }
.faq-a p { font-size: 14px; color: var(--muted); line-height: 1.7; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
#mv-count { display: inline-block; min-width: 2ch; text-align: right; }
.hv-typing, .hv-response { min-height: 0; transition: opacity .3s, visibility .3s; }

    /* ---- Testimonials ---- */
    .testimonials-section { background: linear-gradient(180deg, transparent, rgba(8,12,26,.5), transparent); }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
    @media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
    .testimonial-card {
      padding: 28px 24px; border-radius: var(--radius);
      background: var(--surface); border: 1px solid var(--border2);
    }
    .testimonial-stars { color: #ffd57e; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
    .testimonial-text { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; font-style: italic; }
    .testimonial-author { display: flex; align-items: center; gap: 12px; }
    .testimonial-avatar {
      width: 36px; height: 36px; border-radius: 50%;
      background: linear-gradient(135deg, rgba(140,160,255,.2), rgba(79,255,180,.15));
      border: 1px solid rgba(140,160,255,.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 700; color: var(--accent); font-family: 'Syne', sans-serif;
    }
    .testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
    .testimonial-role { font-size: 12px; color: var(--muted2); }

    /* ---- Use Case Grid ---- */
    .usecase-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px;
    }
    @media (max-width: 900px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }
    .usecase-card {
      padding: 28px 24px; border-radius: var(--radius);
      background: var(--surface); border: 1px solid var(--border2);
      transition: border-color .3s, transform .3s;
    }
    .usecase-card:hover { border-color: rgba(140,160,255,.2); transform: translateY(-3px); }
    .usecase-icon { color: var(--accent); margin-bottom: 16px; }
    .usecase-card h3 {
      font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700;
      margin-bottom: 8px; color: var(--text);
    }
    .usecase-outcome {
      font-size: 14px; font-weight: 500; color: var(--accent2); line-height: 1.5; margin-bottom: 10px;
    }
    .usecase-detail {
      font-size: 13.5px; color: var(--muted); line-height: 1.6;
    }

    /* ---- Before/After Comparison (premium) ---- */
    .comparison-wrap {
      max-width: 960px; margin: 0 auto; position: relative;
      border-radius: 24px; overflow: hidden;
      border: 1px solid rgba(140,160,255,.12);
      background: linear-gradient(180deg, rgba(10,14,30,.95), rgba(6,8,16,.98));
      box-shadow:
        0 0 0 1px rgba(140,160,255,.06),
        0 4px 24px rgba(0,0,0,.3),
        0 24px 80px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.04);
    }
    .comparison-wrap::before {
      content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(140,160,255,.3), transparent);
      z-index: 1;
    }
    .comparison-glow {
      position: absolute; top: 0; right: 0; width: 50%; height: 100%;
      background: radial-gradient(ellipse at 70% 30%, rgba(140,160,255,.06), transparent 70%);
      pointer-events: none; z-index: 0;
    }
    .comparison-bar {
      display: flex; align-items: center; gap: 8px;
      padding: 16px 22px; position: relative; z-index: 1;
      background: rgba(255,255,255,.02);
      border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .comparison-bar-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,.1);
    }
    .comparison-bar-dot:first-child { background: rgba(255,82,82,.5); }
    .comparison-bar-dot:nth-child(2) { background: rgba(255,213,126,.45); }
    .comparison-bar-dot:nth-child(3) { background: rgba(79,255,180,.4); }
    .comparison-bar-title {
      font-size: 12px; color: var(--muted2); margin-left: auto;
      font-family: 'Syne', sans-serif; letter-spacing: .03em; font-weight: 600;
    }
    .comparison-box {
      display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
      position: relative; z-index: 1;
    }
    @media (max-width: 768px) { .comparison-box { grid-template-columns: 1fr; } }
    .comparison-col { padding: 36px 32px; }
    .comparison-generic { background: transparent; }
    .comparison-aiandi { background: rgba(140,160,255,.025); }
    .comparison-divider {
      display: flex; align-items: center; justify-content: center;
      padding: 0 6px;
      background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
    }
    @media (max-width: 768px) {
      .comparison-divider { padding: 16px 0; background: transparent; }
    }
    .comparison-vs {
      font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700;
      color: var(--muted2); text-transform: uppercase; letter-spacing: .12em;
      width: 36px; height: 36px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,.08);
      display: flex; align-items: center; justify-content: center;
      background: rgba(6,8,16,.9);
      box-shadow: 0 2px 12px rgba(0,0,0,.4);
    }
    .comparison-label {
      font-family: 'Syne', sans-serif;
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .12em; color: var(--muted2); margin-bottom: 20px;
      display: flex; align-items: center; gap: 8px;
    }
    .comparison-label-dot {
      width: 7px; height: 7px; border-radius: 50%;
    }
    .comparison-label-dot.red { background: rgba(255,82,82,.6); }
    .comparison-label-dot.green { background: var(--accent2); box-shadow: 0 0 10px rgba(79,255,180,.5); }
    .comparison-label-aiandi { color: var(--accent); }
    .comparison-msg { display: flex; flex-direction: column; gap: 14px; }
    .comparison-q {
      font-size: 13px; color: rgba(255,255,255,.7); font-style: italic;
      padding: 11px 16px; border-radius: 14px 14px 4px 14px;
      background: rgba(140,160,255,.07); border: 1px solid rgba(140,160,255,.1);
    }
    .comparison-a {
      font-size: 14px; line-height: 1.65; color: var(--muted);
      padding: 18px 20px; border-radius: 4px 14px 14px 14px;
      background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05);
    }
    .comparison-a-aiandi {
      color: rgba(255,255,255,.9);
      background: linear-gradient(135deg, rgba(140,160,255,.06), rgba(79,255,180,.02));
      border-color: rgba(140,160,255,.12);
    }
    .comparison-memory-tag {
      margin-top: 10px; font-size: 11px; color: var(--accent2);
      display: flex; align-items: center; gap: 5px;
      padding-top: 10px; border-top: 1px solid rgba(79,255,180,.08);
    }
    .comparison-caption { text-align: center; margin-top: 32px; font-size: 17px; color: var(--muted); }
    .comparison-caption strong { color: var(--accent); font-weight: 600; }

    /* ---- Two-Audience Section ---- */
    .audience-section { text-align: center; }
    .audience-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 48px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .audience-card {
      padding: 36px 28px;
      border-radius: var(--radius, 16px);
      background: var(--surface, rgba(255,255,255,.04));
      border: 1px solid var(--border2, rgba(255,255,255,.08));
      text-align: left;
    }
    .audience-card h3 {
      font-family: 'Syne', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--text, #fff);
      margin-bottom: 12px;
      line-height: 1.3;
    }
    .audience-card p {
      font-size: 15px;
      line-height: 1.65;
      color: var(--muted, rgba(148,163,184,.72));
    }
    .audience-for {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--accent, #8c9eff);
      margin-bottom: 14px;
    }
    .audience-card:hover { border-color: var(--border); }
    .audience-card-icon { margin-bottom: 16px; }
    .audience-cta { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--accent); transition: color .2s; }
    .audience-cta:hover { color: var(--text); }
    @media (max-width: 640px) {
      .audience-grid { grid-template-columns: 1fr; max-width: 400px; }
    }

    /* ---- Smart Learn Section ---- */
    .smartlearn-section {
      background: var(--bg1);
      border-top: 1px solid var(--border2);
      border-bottom: 1px solid var(--border2);
    }
    .smartlearn-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    @media (max-width: 768px) {
      .smartlearn-layout { grid-template-columns: 1fr; gap: 40px; }
    }
    .smartlearn-text .kicker { text-align: left; }
    .smartlearn-constraint {
      margin-top: 20px;
      font-size: 13px; color: var(--muted2);
      padding: 12px 16px;
      border-left: 2px solid var(--accent);
      background: rgba(140,160,255,.03);
      border-radius: 0 8px 8px 0;
    }
    .demo-window {
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      background: var(--bg);
    }
    .demo-bar {
      display: flex; align-items: center; gap: 8px;
      padding: 14px 18px;
      background: var(--surface);
      border-bottom: 1px solid var(--border2);
    }
    .demo-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,.12);
    }
    .demo-title {
      font-size: 12px; color: var(--muted2); margin-left: auto;
    }
    .demo-body { padding: 24px 20px; }
    .demo-msg {
      padding: 16px 18px; border-radius: 12px; margin-bottom: 12px;
    }
    .demo-msg-ai {
      background: rgba(140,160,255,.06);
      border: 1px solid rgba(140,160,255,.12);
    }
    .demo-msg-ai p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }
    .demo-msg-ai p:last-child { margin-bottom: 0; }
    .demo-prompt strong { color: var(--text); }
    .demo-actions {
      display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
    }
    .demo-action {
      padding: 8px 14px; border-radius: 8px;
      font-size: 12px; color: var(--muted);
      border: 1px solid var(--border2);
      background: var(--surface);
    }
    .demo-action-yes {
      color: var(--accent);
      border-color: rgba(140,160,255,.3);
      background: rgba(140,160,255,.06);
    }
    .demo-msg-note {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 14px;
      background: rgba(79,255,180,.04);
      border: 1px solid rgba(79,255,180,.12);
      border-radius: 8px;
      margin-bottom: 0;
    }
    .demo-msg-note svg { color: var(--accent2); flex-shrink: 0; }
    .demo-msg-note span { font-size: 13px; color: var(--accent2); }

    /* ---- Scale Path Section ---- */
    .scale-section { text-align: left; }
    .scale-section.reveal { opacity: 1; transform: none; }
    .scale-section .scale-text { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
    .scale-section.in .scale-text { opacity: 1; transform: translateY(0); }
    .scale-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .scale-text .h2 { margin-top: 14px; }
    .scale-text .body-text { margin-top: 16px; }
    .scale-text .btn-outline { margin-top: 28px; display: inline-block; }
    .scale-visual {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
      padding-left: 32px;
    }
    /* Vertical connector line */
    .scale-visual::before {
      content: '';
      position: absolute;
      left: 11px;
      top: 28px;
      bottom: 28px;
      width: 2px;
      background: linear-gradient(to bottom, rgba(140,160,255,.4), rgba(79,255,180,.4), rgba(140,160,255,.2));
      border-radius: 2px;
    }
    .scale-layer {
      padding: 22px 24px;
      border-radius: var(--radius, 16px);
      border: 1px solid rgba(255,255,255,.08);
      position: relative;
      opacity: 0;
      transform: translateY(20px) scale(.97);
      transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s;
      margin-bottom: 16px;
    }
    .scale-layer:last-child { margin-bottom: 0; }
    /* Node dot on the connector line */
    .scale-layer::before {
      content: '';
      position: absolute;
      left: -27px;
      top: 26px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.15);
      background: var(--bg, #060810);
      z-index: 2;
      transition: border-color .4s, box-shadow .4s, background .4s;
    }
    /* Pulse ring */
    .scale-layer::after {
      content: '';
      position: absolute;
      left: -31px;
      top: 22px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1.5px solid transparent;
      z-index: 1;
      opacity: 0;
      transform: scale(.6);
      transition: opacity .4s, transform .4s;
    }
    /* Stagger reveal when parent gets .in */
    .scale-section.in .scale-layer { opacity: 1; transform: translateY(0) scale(1); }
    .scale-section.in .scale-layer:nth-child(1) { transition-delay: .15s; }
    .scale-section.in .scale-layer:nth-child(2) { transition-delay: .35s; }
    .scale-section.in .scale-layer:nth-child(3) { transition-delay: .55s; }
    /* Dot glow per layer */
    .scale-section.in .scale-layer-1::before { border-color: rgba(140,160,255,.6); background: rgba(140,160,255,.15); box-shadow: 0 0 10px rgba(140,160,255,.3); }
    .scale-section.in .scale-layer-2::before { border-color: rgba(79,255,180,.6); background: rgba(79,255,180,.15); box-shadow: 0 0 10px rgba(79,255,180,.3); }
    .scale-section.in .scale-layer-3::before { border-color: rgba(140,160,255,.4); background: rgba(140,160,255,.1); box-shadow: 0 0 10px rgba(140,160,255,.2); }
    /* Pulse ring animation */
    .scale-section.in .scale-layer::after { opacity: 1; transform: scale(1); animation: scalePulse 2.5s ease-in-out infinite; }
    .scale-section.in .scale-layer-1::after { border-color: rgba(140,160,255,.3); animation-delay: 0s; }
    .scale-section.in .scale-layer-2::after { border-color: rgba(79,255,180,.3); animation-delay: .8s; }
    .scale-section.in .scale-layer-3::after { border-color: rgba(140,160,255,.2); animation-delay: 1.6s; }
    @keyframes scalePulse {
      0%, 100% { transform: scale(1); opacity: .6; }
      50% { transform: scale(1.6); opacity: 0; }
    }
    .scale-layer:hover {
      transform: translateY(-3px) scale(1.01);
      box-shadow: 0 8px 32px rgba(0,0,0,.3);
    }
    .scale-layer-label {
      font-family: 'Syne', sans-serif;
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .scale-layer-1 .scale-layer-label { color: var(--accent, #8c9eff); }
    .scale-layer-2 .scale-layer-label { color: var(--accent2, #4fffb4); }
    .scale-layer-3 .scale-layer-label { color: var(--muted, rgba(255,255,255,.62)); }
    .scale-layer-desc {
      font-size: 13px;
      color: var(--muted, rgba(255,255,255,.62));
      line-height: 1.5;
    }
    .scale-layer-1 {
      background: linear-gradient(135deg, rgba(140,160,255,.08), rgba(140,160,255,.02));
      border-color: rgba(140,160,255,.15);
    }
    .scale-layer-2 {
      background: linear-gradient(135deg, rgba(79,255,180,.06), rgba(79,255,180,.02));
      border-color: rgba(79,255,180,.12);
    }
    .scale-layer-3 {
      background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(79,255,180,.03));
      border-color: rgba(140,160,255,.1);
    }
    @media (max-width: 768px) {
      .scale-layout { grid-template-columns: 1fr; gap: 40px; }
    }

    /* OS expandable pipeline inside scale layer 3 */
    .os-expandable { cursor: pointer; }
    .os-expand-hint {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: rgba(140,160,255,.5);
      transition: color .3s;
    }
    .os-expandable:hover .os-expand-hint { color: rgba(140,160,255,.8); }
    .os-expandable.expanded .os-expand-hint { display: none; }
    .os-pipeline {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height .6s cubic-bezier(.22,1,.36,1), opacity .4s, margin .4s;
      margin-top: 0;
    }
    .os-expandable.expanded .os-pipeline {
      max-height: 600px;
      opacity: 1;
      margin-top: 18px;
    }
    .os-expandable.expanded {
      border-color: rgba(140,160,255,.25);
      background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(79,255,180,.06));
    }
    .os-pipe-header {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,255,255,.7);
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .os-pipe-flow {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }
    .os-pipe-step {
      flex: 1;
      min-width: 100px;
      text-align: center;
    }
    .os-pipe-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 8px;
    }
    .os-pipe-label {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,255,255,.85);
      margin-bottom: 4px;
    }
    .os-pipe-desc {
      font-size: 11px;
      color: rgba(255,255,255,.45);
      line-height: 1.45;
    }
    .os-pipe-arrow {
      display: flex;
      align-items: center;
      padding-top: 14px;
      flex-shrink: 0;
    }
    .os-pipe-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px 16px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,.06);
    }
    .os-pipe-feat {
      font-size: 12px;
      color: rgba(255,255,255,.5);
      display: flex;
      align-items: flex-start;
      gap: 8px;
      line-height: 1.45;
    }
    @media (max-width: 640px) {
      .os-pipe-flow { flex-direction: column; align-items: center; }
      .os-pipe-arrow { transform: rotate(90deg); padding-top: 0; }
      .os-pipe-step { min-width: auto; width: 100%; }
      .os-pipe-features { grid-template-columns: 1fr; }
    }

    /* OS Preview Section */
    .os-preview-section { background: var(--bg1, #0a0e1a); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
    .os-preview-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .os-preview-text .kicker { text-align: left; }
    .os-mockup { border-radius: var(--radius, 16px); border: 1px solid rgba(255,255,255,.08); overflow: hidden; background: var(--bg, #060810); }
    .os-mockup-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
    .os-mockup-bar .demo-dot { width: 7px; height: 7px; }
    .os-mockup-title { font-size: 12px; font-weight: 600; color: var(--muted, rgba(255,255,255,.62)); margin-left: auto; }
    .os-mockup-body { padding: 20px 18px; }
    .os-dash-header { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
    .os-alert-list { display: flex; flex-direction: column; gap: 8px; }
    .os-alert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted, rgba(255,255,255,.62)); }
    .os-alert-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .os-alert-dot.red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
    .os-alert-dot.amber { background: #ffb74d; box-shadow: 0 0 8px #ffb74d; }
    .os-alert-dot.green { background: var(--accent2, #4fffb4); box-shadow: 0 0 8px var(--accent2, #4fffb4); }
    .os-alert-action { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent, #8c9eff); padding: 4px 10px; border: 1px solid rgba(140,160,255,.2); border-radius: 6px; white-space: nowrap; }
    .os-approval-preview { margin-top: 14px; padding: 14px; border-radius: 10px; background: rgba(79,255,180,.03); border: 1px solid rgba(79,255,180,.1); }
    .os-approval-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent2, #4fffb4); margin-bottom: 8px; }
    .os-approval-text { font-size: 13px; line-height: 1.5; color: var(--muted, rgba(255,255,255,.62)); margin-bottom: 10px; }
    .os-approval-btns { display: flex; gap: 6px; }
    .os-approval-btn { padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,.06); color: var(--muted, rgba(255,255,255,.62)); background: transparent; }
    .os-approval-btn.approve { color: var(--accent2, #4fffb4); border-color: rgba(79,255,180,.2); background: rgba(79,255,180,.06); }
    @media (max-width: 768px) {
      .os-preview-layout { grid-template-columns: 1fr; gap: 32px; }
    }

    /* ---- Mobile optimisations ---- */
    @media (max-width: 640px) {
      /* Hero headline reflow */
      .h1 { font-size: clamp(28px, 7vw, 48px); }
      .h1 br { display: none; }
      .hero-sub { font-size: 15px; }

      /* Tooltips: show on tap, reposition to below */
      .mod-highlight .mod-tip {
        position: fixed;
        bottom: auto;
        top: auto;
        left: 16px;
        right: 16px;
        transform: none;
        max-width: none;
        width: auto;
        bottom: 24px;
        z-index: 9999;
      }
      .mod-highlight:hover .mod-tip { transform: none; }
      .mod-tip::after { display: none; }

      /* Module cards: single column, descriptions always visible */
      .im-card .im-desc {
        max-height: none;
        opacity: 1;
        margin-top: 2px;
      }
      .im-card .im-examples {
        max-height: none;
        opacity: 1;
      }

      /* OS section: stack the 2x2 grid */
      #aiandi-os .reveal { grid-template-columns: 1fr !important; gap: 32px !important; }
      #aiandi-os div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

      /* OS alerts: wrap text */
      .os-alert { flex-wrap: wrap; gap: 8px; }
      .os-alert-action { margin-left: 20px; }

      /* Scale path connector: tighter */
      .scale-visual { padding-left: 28px; }
      .scale-visual::before { left: 9px; }
      .scale-layer::before { left: -23px; }
      .scale-layer::after { left: -27px; }

      /* Comparison boxes */
      .comparison-box { gap: 24px; }
    }

    @media (max-width: 480px) {
      /* Even tighter for small phones */
      .h1 { font-size: 26px; }
      .hero-sub { font-size: 14px; }
      .section { padding: 56px 0; }
      .im-card { padding: 16px; }
      .os-mockup-body { padding: 14px 12px; }
      .os-alert { font-size: 12px; padding: 10px 12px; }
      .biz-pillars { gap: 12px; }
    }

/* Production preview polish */
.h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; }
.hero-section { padding-top: clamp(48px, 8vh, 84px); }
.hero-section .h1 { max-width: 980px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.hero-brain-explainer { margin: 16px auto 14px; }
.hero-sub { text-wrap: pretty; }
@media (max-width: 640px) {
  .hero-section { padding-top: 44px; }
  .header-inner { height: 64px; }
  .hero-eyebrow { max-width: 100%; justify-content: center; margin-bottom: 18px; padding: 9px 14px; font-size: 12px; line-height: 1.35; }
  .hero-section .h1 { font-size: clamp(24px, 6.7vw, 28px); line-height: 1.05; margin-bottom: 16px; }
  .hero-sub { font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
  .hero-brain-explainer { margin: 12px auto 14px; font-size: 13px; line-height: 1.45; }
  .hero-trust { gap: 10px 14px; }
  .trust-badge { font-size: 12px; }
  .hero-visual-wrap { margin-top: 28px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { justify-content: center; }
  .mobile-sticky-cta { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #bg-canvas { display: none; }
}
