/* ═══════════════════════════════════════════════════════════════
   AIP — Investor Pitch Deck stylesheet
   Isolated from public site styles. Inherits CSS variables from styles.css.
   ═══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: #000;
  color: var(--ink, #fff);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.018em; }

/* ════════════ LOGIN PAGE ════════════ */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(900px 540px at 50% -20%, rgba(11,92,255,.32), transparent 70%),
    radial-gradient(700px 400px at 80% 110%, rgba(30,120,255,.20), transparent 70%),
    radial-gradient(700px 400px at 20% 110%, rgba(30,120,255,.20), transparent 70%),
    #000;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,120,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,120,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 80%);
  pointer-events: none;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #0E1422;
  border: 1px solid #1A2238;
  border-radius: 14px;
  padding: 44px 40px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(30,120,255,.08);
  z-index: 1;
}

.login-logo {
  margin: 0 auto 28px;
  max-width: 200px;
}
.login-logo img { width: 100%; height: auto; filter: drop-shadow(0 8px 24px rgba(11,92,255,.30)); }

.login-eyebrow {
  display: flex; justify-content: center; align-items: center;
  gap: 10px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: #5AA0FF;
  margin-bottom: 14px;
}
.login-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #5AA0FF;
  box-shadow: 0 0 0 4px rgba(30,120,255,.18);
}
.login-title {
  text-align: center;
  font-size: 26px; font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.login-sub {
  text-align: center;
  font-size: 13.5px; line-height: 1.6;
  color: #B4BCD0;
  margin: 0 0 32px;
}
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #8088A0;
}
.login-input {
  background: #06080F;
  border: 1px solid #1A2238;
  border-radius: 6px;
  padding: 13px 14px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  letter-spacing: -.005em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-input:focus {
  outline: none;
  border-color: #1E78FF;
  box-shadow: 0 0 0 3px rgba(30,120,255,.18);
}
.login-error {
  display: none;
  background: rgba(200,24,26,.12);
  border: 1px solid rgba(200,24,26,.30);
  color: #FF8A8E;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 4px;
}
.login-error.is-shown { display: block; }
.login-submit {
  margin-top: 8px;
  padding: 14px 24px;
  background: #0B5CFF;
  border: 1px solid #0B5CFF;
  color: #fff;
  font-weight: 600; font-size: 14px;
  letter-spacing: .02em;
  border-radius: 6px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  font-family: inherit;
}
.login-submit:hover { background: #1E78FF; border-color: #1E78FF; box-shadow: 0 8px 28px rgba(30,120,255,.32); }
.login-footnote {
  margin-top: 22px;
  text-align: center;
  font-size: 11.5px;
  color: #6B7390;
  letter-spacing: -.005em;
}
.login-footnote a { color: #5AA0FF; }

/* ════════════ DECK ════════════ */

.deck {
  position: fixed;
  inset: 0;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 50% -20%, rgba(11,92,255,.24), transparent 70%),
    #000;
}

/* Top bar */
.deck-topbar {
  display: flex; align-items: center;
  height: 64px; padding: 0 28px;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}
.deck-brand {
  display: flex; align-items: center; gap: 12px;
}
.deck-mark {
  width: 38px; height: 38px;
  border-radius: 7px;
  background: linear-gradient(180deg, #5AA0FF, #0B5CFF);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .14em;
  box-shadow: 0 8px 24px rgba(30,120,255,.32);
}
.deck-brand-name {
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.005em;
}
.deck-brand-sub {
  font-size: 11px; color: #8088A0; letter-spacing: .04em;
}
.deck-progress-wrap {
  flex: 1;
  display: flex; flex-direction: column; gap: 6px;
  max-width: 720px;
  margin: 0 auto;
}
.deck-progress {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.deck-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #5AA0FF, #0B5CFF);
  width: 0%;
  transition: width .35s ease;
}
.deck-counter {
  font-size: 11px; color: #8088A0;
  letter-spacing: .14em; text-align: center;
  font-variant-numeric: tabular-nums;
}
.deck-logout {
  font-size: 12px; color: #8088A0;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
  transition: color .15s ease, border-color .15s ease;
  font-family: inherit;
}
.deck-logout:hover { color: #fff; border-color: rgba(255,255,255,.32); }

/* Slide stage */
.deck-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  padding: 56px clamp(28px, 6vw, 96px) 96px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.slide-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Slide atoms */
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: #5AA0FF;
  margin-bottom: 18px;
}
.s-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #5AA0FF;
  box-shadow: 0 0 0 4px rgba(30,120,255,.18);
}
.s-title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 800; line-height: 1.05;
  color: #fff;
  letter-spacing: -.024em;
  margin: 0 0 18px;
  max-width: 920px;
}
.s-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  color: #5AA0FF;
  line-height: 1.5;
  margin: 0 0 22px;
  max-width: 820px;
}
.s-lead {
  font-size: 16.5px; line-height: 1.75;
  color: #B4BCD0;
  margin: 0 0 16px;
  max-width: 820px;
}
.s-lead strong { color: #fff; font-weight: 600; }
.s-mute { color: #6B7390; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Slide 1 — title slide centered */
.slide-title { display: flex; align-items: center; justify-content: center; padding: 0 28px; }
.slide-title .slide-inner { text-align: center; max-width: 900px; }
.slide-title-logo { margin: 0 auto 32px; max-width: 540px; }
.slide-title-logo img { width: 100%; filter: drop-shadow(0 30px 80px rgba(11,92,255,.30)); }
.slide-title h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800; letter-spacing: -.024em;
  color: #fff;
  margin: 0 0 14px;
}
.slide-title .s-sub { margin-left: auto; margin-right: auto; }
.slide-title .s-lead { margin-left: auto; margin-right: auto; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-stack { display: grid; gap: 18px; }

.card {
  background: #0E1422;
  border: 1px solid #1A2238;
  border-radius: 10px;
  padding: 22px 22px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}
.card:hover { border-color: #1E78FF; box-shadow: 0 8px 28px rgba(30,120,255,.18); transform: translateY(-1px); }
.card.card-accent {
  border-color: rgba(11,92,255,.42);
  background: linear-gradient(180deg, rgba(11,92,255,.08), #0E1422);
  box-shadow: 0 0 0 1px rgba(11,92,255,.18), 0 12px 36px rgba(11,92,255,.12);
}
.card-num {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .26em; color: #5AA0FF;
  display: block;
  margin-bottom: 10px;
}
.card-h {
  font-size: 17px; font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}
.card-p {
  font-size: 13.5px; line-height: 1.6;
  color: #B4BCD0;
  margin: 0;
}
.card-domain {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #5AA0FF;
  margin: 6px 0 0;
}

/* Lists */
.bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.bullets li {
  font-size: 15px; line-height: 1.5; color: #B4BCD0;
  padding-left: 22px;
  position: relative;
}
.bullets li::before {
  content: '';
  position: absolute; left: 0; top: .65em;
  width: 12px; height: 1.5px;
  background: #5AA0FF;
}
.checks {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.checks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5; color: #fff;
}
.checks li::before {
  content: '✓';
  flex: 0 0 22px;
  color: #5AA0FF;
  font-weight: 800; font-size: 15px;
  padding-top: 1px;
}

/* Metric */
.metric {
  background: linear-gradient(180deg, #0E1422, #06080F);
  border: 1px solid #1A2238;
  border-left: 3px solid #0B5CFF;
  border-radius: 10px;
  padding: 22px 24px;
}
.metric-l {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #8088A0;
}
.metric-v {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800; color: #fff;
  letter-spacing: -.018em;
  margin: 6px 0 6px;
}
.metric-c {
  font-size: 12.5px; line-height: 1.55;
  color: #B4BCD0;
}

/* Vertical roadmap row */
.vert-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 22px;
  padding: 14px 18px;
  border: 1px solid #1A2238;
  border-radius: 8px;
  background: #0E1422;
}
.vert-row.active { border-color: rgba(11,92,255,.42); background: linear-gradient(180deg, rgba(11,92,255,.08), #0E1422); }
.vert-row .vert-name { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.005em; }
.vert-row .vert-platforms { font-size: 13px; color: #8088A0; }
.vert-row .vert-platforms strong { color: #5AA0FF; font-weight: 600; }

/* Equation chip */
.eq-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.eq {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 9px 14px;
  background: #000;
  border: 1px solid #1A2238;
  border-radius: 5px;
}
.eq-k { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #5AA0FF; }
.eq-e { color: #6B7390; font-size: 13px; }
.eq-v { font-size: 13px; font-weight: 600; color: #fff; }

/* Matrix (competitive) */
.matrix {
  position: relative;
  aspect-ratio: 1.4 / 1;
  background: #06080F;
  border: 1px solid #1A2238;
  border-radius: 12px;
  padding: 22px;
}
.matrix::before, .matrix::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.10);
}
.matrix::before { left: 50%; top: 22px; bottom: 22px; width: 1px; }
.matrix::after  { top: 50%; left: 22px; right: 22px; height: 1px; }
.matrix-cell {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #B4BCD0;
  padding: 12px;
}
.matrix-cell.tl { top: 22px; left: 22px; width: calc(50% - 22px); height: calc(50% - 22px); }
.matrix-cell.tr { top: 22px; right: 22px; width: calc(50% - 22px); height: calc(50% - 22px); }
.matrix-cell.bl { bottom: 22px; left: 22px; width: calc(50% - 22px); height: calc(50% - 22px); }
.matrix-cell.br { bottom: 22px; right: 22px; width: calc(50% - 22px); height: calc(50% - 22px); }
.matrix-cell.aip {
  background: linear-gradient(180deg, rgba(11,92,255,.18), rgba(11,92,255,.04));
  border-radius: 8px;
  border: 1px solid rgba(11,92,255,.40);
  color: #fff;
}
.matrix-cell.aip strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.012em; margin-bottom: 4px; }
.matrix-axis {
  position: absolute;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #8088A0;
}
.matrix-axis.x { bottom: -22px; left: 50%; transform: translateX(-50%); }
.matrix-axis.y { left: -10px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: 0 0; }

/* Flow */
.flow {
  display: grid; gap: 12px;
  max-width: 480px; margin: 24px auto 0;
}
.flow-step {
  background: #0E1422;
  border: 1px solid #1A2238;
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  font-size: 14.5px; font-weight: 600;
  color: #fff;
  letter-spacing: -.005em;
}
.flow-arrow {
  text-align: center; color: #5AA0FF;
  font-size: 18px;
  line-height: 0;
}

/* Big callout */
.callout {
  margin-top: 22px;
  padding: 22px 26px;
  background: rgba(11,92,255,.08);
  border: 1px solid rgba(11,92,255,.30);
  border-radius: 10px;
  color: #fff;
  font-size: 15.5px;
  line-height: 1.65;
}
.callout strong { color: #fff; font-weight: 700; }

/* Phase timeline */
.phases {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.phase {
  background: #0E1422;
  border: 1px solid #1A2238;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.phase-n { font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #5AA0FF; }
.phase-h { font-size: 12.5px; font-weight: 700; color: #fff; margin-top: 6px; line-height: 1.3; }

/* Year timeline (financials) */
.years {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.year {
  background: #0E1422;
  border: 1px solid #1A2238;
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
}
.year-l { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: #5AA0FF; }
.year-h { font-size: 13px; font-weight: 600; color: #B4BCD0; margin-top: 6px; line-height: 1.3; }
.year-r { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.014em; margin-top: 10px; }

/* Bottom nav */
.deck-nav {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center;
  gap: 8px;
  z-index: 10;
}
.nav-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.nav-btn:hover { background: rgba(30,120,255,.16); border-color: #1E78FF; }
.nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.dots {
  display: inline-flex; gap: 5px;
  padding: 0 12px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.dot.is-active { background: #5AA0FF; box-shadow: 0 0 0 3px rgba(30,120,255,.18); }
.dot:hover { background: rgba(255,255,255,.32); }

/* Final slide special — vertically + horizontally centered */
.slide-final {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-final .slide-inner {
  text-align: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.slide-final .s-title { margin-left: auto; margin-right: auto; }
.slide-final .s-sub   { margin-left: auto; margin-right: auto; }
.slide-final .s-lead  { margin-left: auto; margin-right: auto; }
.slide-final .final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 640px; margin: 22px auto 0; text-align: left; }
.slide-final .final-grid .card { padding: 18px 20px; }

/* ════════════ RESPONSIVE ════════════ */

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(4, 1fr); }
  .years { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
  .deck-topbar { height: 56px; padding: 0 14px; gap: 10px; }
  .deck-brand-sub { display: none; }
  .deck-mark { width: 34px; height: 34px; font-size: 12px; }
  .deck-progress-wrap { max-width: none; }
  .deck-logout { padding: 6px 10px; font-size: 11px; }
  .slide { padding: 36px 18px 90px; }
  .slide-title-logo { max-width: 320px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .years { grid-template-columns: repeat(2, 1fr); }
  .vert-row { grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; }
  .matrix { aspect-ratio: auto; min-height: 360px; }
  .matrix-axis.y { display: none; }
  .matrix-axis.x { position: static; transform: none; text-align: center; margin-top: 10px; }
  .slide-final .final-grid { grid-template-columns: 1fr; }
  .nav-btn { width: 38px; height: 38px; }
  .login-card { padding: 32px 24px 28px; }
}

@media (max-height: 720px) and (min-width: 721px) {
  .slide { padding-top: 44px; padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
