/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:        #050816;
  --surface:   #0F172A;
  --surface-2: #1E293B;
  --primary:   #2563EB;
  --secondary: #00C2B3;
  --accent:    #FF6B9A;
  --highlight: #A855F7;
  --text:      #F8FAFC;
  --text-soft: #94A3B8;
  --text-muted:#475569;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --glass:     rgba(15,23,42,0.7);
  --glass-2:   rgba(15,23,42,0.5);
  --glow-blue: rgba(37,99,235,0.35);
  --glow-teal: rgba(0,194,179,0.35);
  --glow-pink: rgba(255,107,154,0.35);
  --glow-purp: rgba(168,85,247,0.35);

  --sans:   'Inter', system-ui, sans-serif;
  --mono:   'JetBrains Mono', monospace;

  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-in:     cubic-bezier(0.7,0,0.84,0);
  --ease-soft:   cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-bounce: cubic-bezier(0.34,1.56,0.64,1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 16px;
  --radius-lg: 24px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.03em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--primary); color: var(--text); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--text); color: var(--bg); z-index: 9999; border-radius: 8px; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  padding: 6px 14px;
  background: rgba(0,194,179,0.08);
  border: 1px solid rgba(0,194,179,0.2);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* =============================================================
   5. COMPONENTS — BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4fd8);
  color: #fff;
  border-color: rgba(37,99,235,0.4);
  box-shadow: 0 4px 20px rgba(37,99,235,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================================
   5b. COMPONENTS — CURSOR
   ============================================================= */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: background .2s;
}
.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,194,179,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s;
}
.cursor.is-hovering .cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(0,194,179,0.8);
}

/* =============================================================
   5c. COMPONENTS — NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(5,8,22,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color .2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; flex-shrink: 0; }
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-mobile {
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(5,8,22,0.95);
  backdrop-filter: blur(20px);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile li { border-bottom: 1px solid var(--border); }
.nav-mobile a { display: block; padding: 0.75rem 0; font-size: 1.0625rem; color: var(--text-soft); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }
  .nav-cta { margin-left: 0; }
}

/* =============================================================
   6a. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(4rem, 8vh, 6rem);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.mesh-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.mesh-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,194,179,0.2) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.mesh-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}
.mesh-orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,154,0.12) 0%, transparent 70%);
  top: 20%; right: 30%;
  animation: orbFloat1 22s ease-in-out infinite reverse;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-40px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,50px)} }

/* Dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Floating cards */
.hero-floats { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-card-1 { top: 18%; right: 6%; animation: floatA 6s ease-in-out infinite; }
.float-card-2 { bottom: 28%; right: 3%; animation: floatB 8s ease-in-out infinite; }
.float-card-3 { top: 50%; right: 14%; animation: floatA 10s ease-in-out infinite reverse; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

.fc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-dot-green { background: #22c55e; animation: pulse 2s ease-in-out infinite; }
.fc-dot-blue { background: var(--primary); animation: pulse 2.5s ease-in-out infinite; }
.fc-dot-purple { background: var(--highlight); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.fc-label { font-size: 0.75rem; color: var(--text-soft); font-family: var(--mono); letter-spacing: 0.05em; }
.fc-score { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.fc-score span { font-size: 1rem; color: var(--text-soft); font-weight: 400; }
.fc-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 8px; }
.fc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; }
.fc-mono { font-family: var(--mono); font-size: 0.75rem; color: var(--secondary); padding: 6px 10px; background: rgba(0,194,179,0.08); border-radius: 6px; margin-bottom: 8px; }
.fc-output { font-size: 0.8rem; color: var(--text-soft); }
.fc-big { font-size: 2rem; font-weight: 800; color: var(--secondary); letter-spacing: -0.03em; }
.fc-sub { font-size: 0.75rem; color: var(--text-soft); margin-top: 2px; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.hero-line { display: block; }
.hero-line-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hstat strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.hstat span { font-size: 0.8rem; color: var(--text-soft); }
.hstat-divider { width: 1px; height: 40px; background: var(--border-2); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(180deg, var(--text-muted), transparent); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =============================================================
   6b. AUDIT
   ============================================================= */
.audit {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audit-widget {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 0 80px rgba(37,99,235,0.08);
}
.audit-input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.audit-input-wrap {
  flex: 1;
  position: relative;
  min-width: 240px;
}
.audit-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.audit-input {
  width: 100%;
  padding: 14px 14px 14px 46px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--mono);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.audit-input::placeholder { color: var(--text-muted); }
.audit-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.audit-btn { flex-shrink: 0; }
.audit-results { margin-top: 2rem; }
.audit-scanning { padding: 1.5rem; }
.scan-line { height: 2px; background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent); border-radius: 1px; animation: scanSlide 1.5s ease-in-out infinite; margin-bottom: 1.5rem; }
@keyframes scanSlide { 0%{transform:scaleX(0)} 50%{transform:scaleX(1)} 100%{transform:scaleX(0)} }
.scan-step { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text-muted); font-family: var(--mono); font-size: 0.875rem; transition: color .3s; }
.scan-step.active { color: var(--secondary); }
.scan-step.done { color: var(--text-soft); }
.step-icon { font-size: 0.75rem; animation: rotateIcon 1s linear infinite; display: inline-block; }
.scan-step.done .step-icon { animation: none; }
@keyframes rotateIcon { to{transform:rotate(360deg)} }

.audit-report { animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.report-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.score-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.score-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.score-ring { position: relative; width: 80px; height: 80px; margin: 0 auto 10px; }
.score-ring svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 6; }
.ring-fill { fill: none; stroke: var(--primary); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.5s var(--ease-out), stroke .3s; }
.score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--mono);
}
.score-name { font-size: 0.8125rem; color: var(--text-soft); }
.report-insights { margin-bottom: 2rem; }
.report-insights h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8125rem; font-family: var(--mono); }
.insights-list { display: flex; flex-direction: column; gap: 10px; }
.insight { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; }
.insight-red { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
.insight-orange { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); }
.insight-green { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.insight-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.insight-red .insight-dot { background: #ef4444; }
.insight-orange .insight-dot { background: #f59e0b; }
.insight-green .insight-dot { background: #22c55e; }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.report-cta-text { color: var(--text-soft); font-size: 0.9375rem; }

/* =============================================================
   6c. BEFORE/AFTER
   ============================================================= */
.bafore {
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider { position: relative; height: clamp(360px, 50vw, 520px); background: var(--surface); overflow: hidden; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--secondary);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 10;
}
.ba-handle-line { flex: 1; width: 2px; background: var(--secondary); }
.ba-handle-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(0,194,179,0.4);
  flex-shrink: 0;
  transition: transform .2s var(--ease-bounce);
}
.ba-handle:hover .ba-handle-btn { transform: scale(1.15); }

/* Mockup Designs */
.ba-mockup { position: absolute; inset: 0; overflow: hidden; }
.bam-nav { display: flex; align-items: center; gap: 1rem; padding: 12px 20px; border-bottom: 1px solid var(--border); height: 52px; }
.bam-logo-nova { font-weight: 800; font-size: 0.875rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bam-links { display: flex; gap: 8px; flex: 1; }
.bam-link { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); }
.bam-link:nth-child(1){width:48px} .bam-link:nth-child(2){width:56px} .bam-link:nth-child(3){width:40px}
.bam-cta-btn { width: 80px; height: 28px; background: var(--primary); border-radius: 6px; }

.ba-mockup-after { background: var(--bg); }
.bam-hero-after { position: relative; height: calc(100% - 52px); display: flex; align-items: center; padding: 2rem; overflow: hidden; }
.bam-hero-bg-after { position: absolute; inset: 0; }
.bam-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.bam-orb-1 { width: 300px; height: 300px; background: rgba(37,99,235,0.3); top: -80px; right: -40px; animation: orbFloat1 8s ease-in-out infinite; }
.bam-orb-2 { width: 250px; height: 250px; background: rgba(0,194,179,0.2); bottom: -60px; left: -40px; animation: orbFloat2 10s ease-in-out infinite; }
.bam-hero-text { position: relative; z-index: 1; }
.bam-kicker { font-family: var(--mono); font-size: 0.65rem; color: var(--secondary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.bam-h1 { font-size: clamp(1.25rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 12px; }
.bam-sub { font-size: 0.75rem; color: var(--text-soft); margin-bottom: 16px; }
.bam-btns { display: flex; gap: 8px; }
.bam-btn { padding: 6px 14px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; }
.bam-btn-primary { background: var(--primary); color: #fff; }
.bam-btn-ghost { border: 1px solid var(--border-2); color: var(--text-soft); }
.bam-cards-row { display: flex; gap: 8px; padding: 0 1.5rem 1.5rem; position: absolute; bottom: 0; left: 0; right: 0; }
.bam-card { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.bc-icon { font-size: 1rem; color: var(--secondary); }
.bc-text { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.bam-tag-after, .bam-tag-before {
  position: absolute;
  top: 60px;
  right: 12px;
  background: rgba(37,99,235,0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}
.bam-tag-before { background: rgba(100,116,139,0.9); left: 12px; right: auto; }

.ba-mockup-before { background: #f0f0f0; }
.bam-nav-old { background: #fff; border-bottom: 1px solid #e5e5e5; }
.bam-logo-old { font-weight: 700; font-size: 0.8rem; color: #333; }
.bam-links-old .bam-link { background: #ddd; }
.bam-hero-before { display: flex; height: calc(100% - 52px - 80px); }
.bam-hero-img-placeholder { width: 45%; background: linear-gradient(135deg, #c8d6e5, #a8b8c8); }
.bam-hero-text-old { flex: 1; padding: 1.5rem; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.bam-h1-old { font-size: clamp(0.875rem, 2vw, 1.25rem); font-weight: 700; color: #333; line-height: 1.2; }
.bam-sub-old { font-size: 0.7rem; color: #777; }
.bam-btn-old { margin-top: 8px; padding: 8px 16px; background: #1a73e8; color: #fff; border-radius: 4px; font-size: 0.7rem; font-weight: 600; display: inline-block; width: fit-content; }
.bam-grid-old { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 8px 1rem; height: 80px; }
.bam-box-old { background: #e8e8e8; border-radius: 4px; border: 1px solid #ddd; }

/* =============================================================
   6d. SERVICES BENTO
   ============================================================= */
.services { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--surface); border-top: 1px solid var(--border); }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.bento-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.bento-card:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-3px); }
.bc-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(0,194,179,0.1);
  border: 1px solid rgba(0,194,179,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.bc-icon-xl { font-size: 2rem; color: var(--primary); margin-bottom: 0.75rem; }
.bento-card h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.5rem; }
.bento-card p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
.bc-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  top: -50%; right: -50%;
  transition: all .4s;
  pointer-events: none;
  opacity: 0;
}
.bento-card:hover .bc-glow { opacity: 1; top: -30%; right: -30%; }
.bc-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all .25s var(--ease-out);
}
.bento-card:hover .bc-arrow { color: var(--secondary); transform: translate(3px, -3px); }

@media (min-width: 540px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
  .bento-lg { grid-column: span 1; grid-row: span 2; }
  .bento-wide { grid-column: span 2; }
}

/* =============================================================
   6e. METRICS
   ============================================================= */
.metrics {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.metrics-bg { position: absolute; inset: 0; pointer-events: none; }
.metrics-orb { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,194,179,0.1) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(40px); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.metric-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color .2s;
}
.metric-card:hover { border-color: rgba(0,194,179,0.3); }
.metric-live {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 2px 8px;
  border-radius: 100px;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.metric-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  font-family: var(--mono);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--text), var(--text-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label { font-size: 0.8125rem; color: var(--text-soft); margin-bottom: 1rem; }
.metric-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; }
.metric-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; width: 0; transition: width 1.5s var(--ease-out); }
.metric-bar-green.metric-bar-fill { background: linear-gradient(90deg, #22c55e, #16a34a); }
.metric-bar-purple.metric-bar-fill { background: linear-gradient(90deg, var(--highlight), var(--accent)); }

@media (min-width: 720px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   6f. CASES
   ============================================================= */
.cases { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--surface); border-top: 1px solid var(--border); }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s, transform .3s var(--ease-out);
  position: relative;
}
.case-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.case-color { height: 180px; display: flex; align-items: center; justify-content: center; }
.case-mockup {
  width: 75%;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,0.3);
  border: 1px solid;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
}
.case-mock-bar { height: 6px; border-radius: 3px; margin-bottom: 10px; }
.case-mock-lines { display: flex; flex-direction: column; gap: 6px; }
.case-mock-lines div { height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.case-info { padding: 1.25rem 1.5rem; flex: 1; }
.case-category { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
.case-name { font-size: 1.25rem; font-weight: 800; margin: 4px 0 8px; }
.case-kpi { font-family: var(--mono); font-size: 0.875rem; color: var(--secondary); }
.case-hover-arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--ease-out);
}
.case-card:hover .case-hover-arrow { opacity: 1; transform: scale(1.1); }

@media (min-width: 540px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cases-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   6g. PLAYGROUND
   ============================================================= */
.playground { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 1px solid var(--border); }
.pg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.pg-card:hover { border-color: rgba(168,85,247,0.4); transform: translateY(-2px); }
.pg-card p { font-size: 0.85rem; color: var(--text-soft); padding: 1rem 1.25rem 1.25rem; }
.pg-preview {
  height: clamp(120px, 15vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pg-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  background: rgba(0,0,0,0.5);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Gradient preview */
.pg-gradient {
  background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.5), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(168,85,247,0.4), transparent 60%),
              var(--bg);
  cursor: crosshair;
}
.pg-gradient-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  filter: blur(20px);
  transition: transform .3s var(--ease-out);
}

/* Tilt preview */
.pg-tilt-demo {
  background: var(--bg);
  perspective: 600px;
}
.pg-tilt-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(168,85,247,0.15));
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 20px 28px;
  transition: transform .2s var(--ease-out);
  will-change: transform;
}
.pg-icon { font-size: 1.5rem; color: var(--secondary); }

/* Type preview */
.pg-type-demo {
  background: var(--bg);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pg-scramble { display: inline-block; }

/* Particles */
.pg-particles-demo { background: var(--bg); }
.pg-canvas { display: block; }

@media (min-width: 720px) { .pg-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   6h. CONFIGURATOR
   ============================================================= */
.configurator { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--surface); border-top: 1px solid var(--border); }
.conf-wrap {
  display: grid;
  gap: 2rem;
}
.conf-group { margin-bottom: 2rem; }
.conf-group-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-soft); }
.conf-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.conf-pill {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: all .2s var(--ease-out);
  cursor: pointer;
}
.conf-pill:hover { border-color: var(--primary); color: var(--text); }
.conf-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.conf-checks { display: flex; flex-direction: column; gap: 10px; }
.conf-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: border-color .2s;
}
.conf-check:hover { border-color: rgba(37,99,235,0.4); }
.conf-check input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.conf-price-badge { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--secondary); }

.conf-summary {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}
.conf-price-block { text-align: center; margin-bottom: 1.5rem; }
.conf-from { font-size: 0.8125rem; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.conf-price-display { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.conf-currency { font-size: 1.5rem; font-weight: 700; color: var(--text-soft); padding-top: 8px; }
.conf-amount { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.04em; font-family: var(--mono); transition: all .3s var(--ease-out); }
.conf-iva { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 4px; }
.conf-timeline { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--text-soft); }
.conf-tl-item { display: flex; align-items: center; gap: 8px; }
.conf-disclaimer { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

@media (min-width: 960px) {
  .conf-wrap { grid-template-columns: 1fr 380px; }
}

/* =============================================================
   6i. TESTIMONIALS
   ============================================================= */
.testimonials { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.testimonials-bg { position: absolute; inset: 0; pointer-events: none; }
.test-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.test-orb-1 { width: 400px; height: 400px; background: rgba(168,85,247,0.12); top: -100px; left: -100px; }
.test-orb-2 { width: 300px; height: 300px; background: rgba(255,107,154,0.1); bottom: -80px; right: -80px; }

.test-track-wrap { position: relative; overflow: hidden; }
.test-track { display: flex; transition: transform .5s var(--ease-out); }
.test-card {
  min-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}
.test-quote-mark { font-size: 5rem; line-height: 1; color: var(--primary); opacity: 0.3; font-family: Georgia, serif; margin-bottom: -1rem; }
.test-card p { font-size: clamp(1rem, 2vw, 1.1875rem); color: var(--text); line-height: 1.7; margin-bottom: 2rem; }
.test-card footer { display: flex; align-items: center; gap: 1rem; }
.test-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--highlight)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.test-author { display: block; font-weight: 700; font-size: 1rem; }
.test-role { font-size: 0.8125rem; color: var(--text-soft); }
.test-dots { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.test-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  transition: background .3s, transform .3s var(--ease-bounce);
}
.test-dot.active { background: var(--primary); transform: scale(1.4); }

/* =============================================================
   6j. CTA FINAL
   ============================================================= */
.cta-section {
  padding: clamp(5rem, 10vw, 10rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.cta-mesh { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta-orb-1 { width: 500px; height: 500px; background: rgba(37,99,235,0.2); top: -200px; left: -100px; animation: orbFloat1 12s ease-in-out infinite; }
.cta-orb-2 { width: 400px; height: 400px; background: rgba(168,85,247,0.15); bottom: -150px; right: -80px; animation: orbFloat2 15s ease-in-out infinite; }
.cta-orb-3 { width: 300px; height: 300px; background: rgba(0,194,179,0.12); top: 50%; right: 20%; animation: orbFloat3 18s ease-in-out infinite; }
.cta-inner { position: relative; z-index: 1; }
.cta-kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--secondary); text-transform: uppercase; display: block; margin-bottom: 1rem; }
.cta-title { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 900; margin-bottom: 1.25rem; }
.cta-title em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--highlight)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-sub { font-size: clamp(1rem, 2vw, 1.125rem); color: var(--text-soft); margin-bottom: 3rem; max-width: 520px; }

/* Form */
.cta-form { background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 660px; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: var(--text-soft); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9375rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

#ctaSubmit { margin-top: 1rem; }
.form-success { text-align: center; padding: 2rem 1rem; }
.success-icon { width: 64px; height: 64px; background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: #22c55e; }
.form-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-soft); }

@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   6k. FOOTER
   ============================================================= */
.footer { padding: 4rem 0 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner {
  display: grid;
  gap: 2.5rem;
}
.footer-brand p { font-size: 0.9rem; color: var(--text-soft); margin-top: 1rem; max-width: 280px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { font-weight: 700; transition: color .2s; }
.footer-socials a:hover { color: var(--text); }

@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 280px 1fr; }
}

/* =============================================================
   6l. NOVA CHATBOT
   ============================================================= */
.nova-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.nova-trigger {
  position: relative;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}
.nova-trigger:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }
.nova-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.4);
  animation: novaPulse 2s ease-out infinite;
}
@keyframes novaPulse { 0%{transform:scale(1);opacity:0.8} 100%{transform:scale(1.5);opacity:0} }

.nova-chat {
  width: min(360px, calc(100vw - 3rem));
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  animation: slideUp .3s var(--ease-out);
}
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.nova-header { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.nova-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--highlight)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.875rem; position: relative; flex-shrink: 0; }
.nova-avatar-dot { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; background: #22c55e; border-radius: 50%; border: 2px solid var(--surface); }
.nova-name { font-weight: 700; font-size: 0.9375rem; }
.nova-status { font-size: 0.7rem; color: var(--secondary); font-family: var(--mono); }
.nova-close { margin-left: auto; color: var(--text-muted); font-size: 1rem; padding: 4px; border-radius: 6px; transition: color .2s, background .2s; }
.nova-close:hover { color: var(--text); background: var(--border); }
.nova-messages { height: 260px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.nova-msg { max-width: 85%; }
.nova-msg span { display: block; padding: 10px 14px; border-radius: 14px; font-size: 0.875rem; line-height: 1.55; }
.nova-msg-bot span { background: var(--bg); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; }
.nova-msg-user { align-self: flex-end; }
.nova-msg-user span { background: linear-gradient(135deg, var(--primary), #1d4fd8); color: #fff; border-radius: 14px 14px 4px 14px; }
.nova-typing { display: flex; gap: 4px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; width: fit-content; }
.nova-typing span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typing .8s ease-in-out infinite; }
.nova-typing span:nth-child(2) { animation-delay: .15s; }
.nova-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.nova-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.nova-input { flex: 1; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 0.875rem; outline: none; transition: border-color .2s; }
.nova-input::placeholder { color: var(--text-muted); }
.nova-input:focus { border-color: var(--primary); }
.nova-send { width: 38px; height: 38px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; transition: transform .2s var(--ease-bounce), background .2s; }
.nova-send:hover { background: #1d4fd8; transform: scale(1.05); }

/* =============================================================
   7. EFFECTS / ANIMATIONS
   ============================================================= */
/* Tilt cards */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* Splash */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
#splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.splash-logo { animation: splashPop .5s var(--ease-bounce); }
@keyframes splashPop { from{transform:scale(0.6);opacity:0} to{transform:scale(1);opacity:1} }
.splash-bar { width: 200px; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; }
.splash-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 1px; animation: progress 1.8s var(--ease-out) forwards; }
@keyframes progress { 0%{width:0} 80%{width:90%} 100%{width:100%} }

/* =============================================================
   8. RESPONSIVE OVERRIDES
   ============================================================= */
@media (max-width: 539px) {
  .float-card-3 { display: none; }
  .float-card-1 { right: -60px; top: 12%; width: 180px; }
  .float-card-2 { display: none; }
  .hero-floats { display: none; }
  .pg-grid { grid-template-columns: 1fr; }
}
@media (min-width: 540px) {
  .float-card-1 { top: 20%; right: 4%; }
}
@media (min-width: 720px) {
  .hero-content { max-width: 640px; }
  .hero-floats { display: block; }
}
@media (min-width: 960px) {
  .hero-content { max-width: 58%; }
}

/* =============================================================
   9. REDUCED MOTION (intrusive only)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .mesh-orb, .float-card, .hero-scroll .scroll-line,
  .metrics-orb, .nova-pulse, .livePulse { animation: none; }
}
