/* Axion Sales Deck — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap');

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0074D9;
  --blue-hover: #005BB5;
  --blue-light: #2B95E8;
  --navy: #1B1F3B;
  --navy-deep: #0F1629;
  --navy-card: #151935;
  --orange: #FF851B;
  --off-white: #F8F9FA;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --silk: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #000;
  color: var(--navy);
  overflow: hidden;
}
::selection { background: var(--blue); color: #fff; }

/* ── Slide root ───────────────────────────────────────────── */
.slide {
  position: absolute; inset: 0;
  width: 1920px; height: 1080px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--navy);
  overflow: hidden;
}
.slide.dark { background: var(--navy-deep); color: #fff; }
.slide.light { background: var(--off-white); }
.slide.white { background: #fff; }

/* ── Animated logo bottom-right (universal) ──────────────── */
.deck-logo {
  position: absolute;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  pointer-events: none;
}
.deck-logo img { width: 100%; height: 100%; object-fit: contain; }
.deck-logo.dark { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }

/* ── Slide number tag (top right) ────────────────────────── */
.slide-num {
  position: absolute;
  top: 36px; right: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.25);
  z-index: 10;
}
.slide.dark .slide-num { color: rgba(255,255,255,0.25); }

/* ── Top brand strip ─────────────────────────────────────── */
.brand-strip {
  position: absolute;
  top: 36px; left: 40px;
  display: flex; align-items: center; gap: 12px;
  z-index: 10;
}
.brand-strip img.brand-logo { height: 24px; }
.brand-strip .strip-divider { width: 1px; height: 18px; background: rgba(0,0,0,0.12); }
.slide.dark .brand-strip .strip-divider { background: rgba(255,255,255,0.15); }
.brand-strip .partner-text {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.slide.dark .brand-strip .partner-text { color: rgba(255,255,255,0.45); }
.brand-strip .ax-cap {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.slide.dark .brand-strip .ax-cap { color: rgba(255,255,255,0.85); }

/* ── Eyebrow label ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.slide.dark .eyebrow { color: var(--blue-light); }

/* ── Type ───────────────────────────────────────────────── */
.h-display {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

/* ── Reveal on slide active (deck-stage adds [data-deck-active]) ── */
[data-deck-active] .reveal {
  animation: revealUp 800ms var(--silk) both;
}
[data-deck-active] .reveal-fade {
  animation: fadeIn 900ms var(--silk) both;
}
[data-deck-active] .reveal-scale {
  animation: scaleIn 700ms var(--silk) both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes drawLine {
  from { stroke-dashoffset: 100%; }
  to { stroke-dashoffset: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes orbit {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,116,217,0.4); }
  50% { box-shadow: 0 0 0 14px rgba(0,116,217,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* When slide isn't active, hide content so re-entering replays animations */
section:not([data-deck-active]) .reveal,
section:not([data-deck-active]) .reveal-fade,
section:not([data-deck-active]) .reveal-scale {
  opacity: 0;
}
