/* ═══════════════════════════════════════════════════════════════════════════
   498AS GEO PRESENTATION — BASE STYLES
   Premium Design System · Tech-Forward · Bold
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────────────────── */
:root {
  --bg: #000000;
  --fg: #FFFFFF;
  --primary: #37E813;
  --primary-dark: #2BC410;
  --accent: #37E813;
  --muted: rgba(255,255,255,0.55);
  --subtle: rgba(255,255,255,0.12);
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── DECK STRUCTURE ────────────────────────────────────────────────────── */
.deck {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.deck__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 32px;
  border-bottom: 1px solid var(--subtle);
  position: relative;
}

.deck__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.deck__logo {
  height: 36px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.deck__logo:hover { opacity: 1; }

.deck__h1 {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deck__h2 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ─── SLIDES CONTAINER ──────────────────────────────────────────────────── */
.slides {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: calc(100vh - 100px);
}

.slide {
  display: none;
  width: min(1140px, 100%);
  min-height: 65vh;
  padding: 48px 56px;
  position: relative;
  animation: slideIn 0.5s var(--ease-out) forwards;
}

.slide.active { display: block; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── INDEX VIEW ────────────────────────────────────────────────────────── */
.index { display: none; width: min(1200px, 100%); }
.index.active { display: block; }

.index__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.index__card {
  border: 1px solid var(--subtle);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.index__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s var(--ease-out);
}

.index__card:hover {
  border-color: var(--primary);
  background: rgba(55, 232, 19, 0.03);
}

.index__card:hover::before { transform: scaleY(1); }

.index__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.index__section {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index__title {
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.3;
}

/* ─── SIDEBAR MINIMAP ───────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(340px, 90vw);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--subtle);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  z-index: 100;
  padding: 24px 20px;
  overflow-y: auto;
}

.sidebar.open { transform: translateX(0); }

.sidebar__title {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sidebar__hint {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--subtle);
}

.sidebar__section { margin-top: 20px; }

.sidebar__sectionName {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sidebar__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  margin-left: -2px;
}

.sidebar__item:hover {
  background: rgba(255,255,255,0.03);
  border-left-color: var(--muted);
}

.sidebar__item.active {
  background: rgba(55, 232, 19, 0.08);
  border-left-color: var(--primary);
}

.sidebar__num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--muted);
}

.sidebar__item.active .sidebar__num { color: var(--primary); }

.sidebar__txt {
  font-weight: 500;
  font-size: 13px;
}

.sidebar__edge {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 20px;
  z-index: 99;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
.kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
}

.h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.0;
  margin: 12px 0 0;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
}

.p strong {
  font-weight: 600;
  color: var(--fg);
}

/* ─── VISUAL ACCENTS ────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  margin: 32px 0;
  width: 200px;
}

.marker {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--primary);
  margin-right: 12px;
}

.line-accent {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--subtle);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .index__grid { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 32px 36px; }
}

@media (max-width: 768px) {
  .index__grid { grid-template-columns: 1fr; }
  .deck__header { padding: 16px 20px; }
  .slides { padding: 24px 16px; }
  .slide { padding: 24px 20px; }
  .h1 { font-size: 32px; }
}

/* ─── UTILITY CLASSES ───────────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
