:root {
  --bg: #070b12;
  --bg-end: #0b1220;
  --ink: #e8eef8;
  --muted: #93a0b5;
  --line: rgba(0, 212, 255, 0.16);
  --line-strong: rgba(0, 212, 255, 0.38);
  --card: rgba(12, 20, 34, 0.82);
  --gold: #e8c56e;
  --cyan: #00d4ff;
  --violet: #8338ec;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-end: #eef2f8;
  --ink: #12213d;
  --muted: #5b6b80;
  --line: rgba(15, 40, 80, 0.12);
  --line-strong: rgba(0, 140, 180, 0.28);
  --card: rgba(255, 255, 255, 0.9);
  --gold: #b8860b;
  --cyan: #0284c7;
  --violet: #6d28d9;
  --shadow: 0 16px 40px rgba(20, 34, 64, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 18% 8%, rgba(0, 212, 255, 0.10), transparent 32%),
              radial-gradient(circle at 88% 12%, rgba(232, 197, 110, 0.08), transparent 28%),
              linear-gradient(180deg, var(--bg), var(--bg-end));
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.pitch-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#pitch-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pitch-grid-bg {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(0,212,255,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(232,197,110,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 20%, #000 12%, transparent 78%);
}
.pitch-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,18,.15), transparent 18%, transparent 70%, rgba(7,11,18,.72));
}
html[data-theme="light"] .pitch-vignette {
  background: linear-gradient(180deg, rgba(245,247,251,.2), transparent 20%, transparent 70%, rgba(238,242,248,.82));
}

.page { position: relative; z-index: 1; }

.investor-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.investor-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: var(--muted); border: 1px solid var(--line);
}
.investor-nav a:hover { color: var(--ink); border-color: var(--line-strong); }
.investor-nav a.active { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 45%, transparent); background: color-mix(in srgb, var(--cyan) 10%, transparent); }
.investor-nav .nav-sep { color: var(--muted); font-size: .7rem; }
.investor-nav .nav-actions { margin-left: 12px; }
.investor-nav .ainna-nav-controls { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.investor-nav .ainna-nav-controls .ainna-theme-switch,
.investor-nav .ainna-nav-controls .ainna-boost-toggle,
.investor-nav .ainna-nav-controls .ainna-wc-link {
  position: static !important; top: auto !important; right: auto !important;
}

.pitch-hero {
  padding: 36px 24px 18px;
  text-align: center;
}
.pitch-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  margin-bottom: 8px;
}
html[data-theme="light"] .pitch-hero h1 {
  color: #12213d !important;
  -webkit-text-fill-color: #12213d !important;
}
.pitch-hero p { color: var(--muted); font-size: 1rem; max-width: 640px; margin: 0 auto; }
.pitch-caption { margin-top: 12px; font-size: .78rem; color: var(--muted); }

.pitch-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto 48px; }
.pitch-group { padding: 18px 0 8px; }
.pitch-group-head {
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.pitch-group-head h2 {
  margin: 0; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase;
}
.pitch-group-head span { color: var(--muted); font-size: .88rem; }

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.pitch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--cyan) 6%, transparent), transparent 42%), var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.pitch-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.pitch-card-badge {
  display: inline-block;
  width: fit-content;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  margin-bottom: 12px;
}
.pitch-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  padding-right: 96px;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}
html[data-theme="light"] .pitch-card h3,
html[data-theme="light"] .pitch-group-head h2 {
  color: #12213d !important;
  -webkit-text-fill-color: #12213d !important;
}
.pitch-card .desc { font-size: .88rem; color: var(--muted); flex: 1; line-height: 1.55; }
.pitch-card .arrow {
  margin-top: 16px; display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--cyan);
}
.pitch-card .arrow svg { width: 14px; height: 14px; }

.pitch-viz {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 92px;
  height: 56px;
  pointer-events: none;
  opacity: .85;
}
.pitch-viz--ask { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pitch-viz--ask span {
  font: 700 9px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .06em;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
}
.pitch-viz--path { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.pitch-viz--path i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px color-mix(in srgb, var(--cyan) 50%, transparent);
  animation: pitch-pulse 2.4s ease-in-out infinite;
}
.pitch-viz--path i:nth-child(2) { animation-delay: .2s; background: var(--gold); }
.pitch-viz--path i:nth-child(3) { animation-delay: .4s; }
.pitch-viz--path i:nth-child(4) { animation-delay: .6s; background: var(--gold); }
.pitch-viz--scenarios { display: flex; gap: 6px; align-items: flex-end; justify-content: flex-end; }
.pitch-viz--scenarios b {
  display: block; width: 10px; border-radius: 3px;
  background: color-mix(in srgb, var(--gold) 70%, var(--cyan));
  animation: pitch-bar 2.8s ease-in-out infinite;
}
.pitch-viz--scenarios b:nth-child(1) { height: 16px; }
.pitch-viz--scenarios b:nth-child(2) { height: 28px; animation-delay: .15s; }
.pitch-viz--scenarios b:nth-child(3) { height: 40px; animation-delay: .3s; }
.pitch-viz svg { width: 40px; height: 40px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }

@keyframes pitch-pulse { 50% { transform: scale(1.35); opacity: .45; } }
@keyframes pitch-bar { 50% { transform: scaleY(.7); opacity: .55; } }

html[data-boost="true"] .pitch-viz i,
html[data-boost="true"] .pitch-viz b { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .pitch-card, .pitch-viz i, .pitch-viz b { animation: none !important; transition: none; }
  .pitch-card:hover { transform: none; }
}

@media (max-width: 720px) {
  .investor-nav { flex-wrap: wrap; gap: 6px; padding: 12px 16px; }
  .pitch-hero { padding: 22px 16px 10px; }
  .pitch-wrap { width: calc(100% - 24px); }
  .pitch-grid { grid-template-columns: 1fr; }
}
