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

:root {
  --bg:        #070b14;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --blue:      #4fa3e8;
  --cyan:      #00d4ff;
  --purple:    #a855f7;
  --pink:      #ec4899;
  --text:      #e2e8f0;
  --muted:     #8892a4;
  --radius:    16px;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── BACKGROUND CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7,11,20,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--cyan); }

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,163,232,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 720px; }

.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-intro {
  font-size: 1rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
}

.btn-explore {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 0 0 rgba(79,163,232,0);
}

.btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(79,163,232,0.55);
}

/* ── FACTS GRID ── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.3);
}

.fact-icon { font-size: 1.8rem; }
.fact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.fact-value { font-size: 1rem; font-weight: 600; color: var(--cyan); }

/* ── ADMIRE CARD ── */
.admire-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(10px);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

/* vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple), transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.tl-dot {
  position: absolute;
  left: -2.5rem;
  top: 1.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  border: 2px solid var(--bg);
}

.tl-dot--last {
  background: var(--purple);
  box-shadow: 0 0 14px var(--purple);
  width: 18px;
  height: 18px;
  left: calc(-2.5rem - 2px);
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.tl-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.25);
}

.tl-card--highlight {
  border-color: rgba(168,85,247,0.35);
  background: rgba(168,85,247,0.06);
}

.tl-card--highlight:hover {
  box-shadow: 0 8px 28px rgba(168,85,247,0.18);
  border-color: rgba(168,85,247,0.5);
}

.tl-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.6rem;
}

.tl-card--highlight .tl-year {
  color: var(--purple);
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.3);
}

.tl-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #fff;
}

.tl-card p { font-size: 0.95rem; color: var(--muted); }

/* ── ANTHROPIC CARD ── */
.anthropic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(10px);
}

.anthropic-card > p { font-size: 1.05rem; margin-bottom: 2rem; }

.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 0.8rem;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, border-color 0.3s;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.3);
}

.pillar-icon { font-size: 1.6rem; }

/* ── REFLECTION CARD ── */
.reflection-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(10px);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── SPEECH CARD ── */
.speech-card {
  background: var(--surface);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(168,85,247,0.06);
}

.speech-decoration {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: var(--bg);
  padding: 0 0.5rem;
}

/* ── FOOTER / SOURCES ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.source-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.source-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,212,255,0.18);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(136,146,164,0.5);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .timeline { padding-left: 1.8rem; }
  .timeline::before { left: 7px; }
  .tl-dot { left: -1.8rem; }
  .tl-dot--last { left: calc(-1.8rem - 2px); }
  .three-pillars { grid-template-columns: 1fr; }
  .speech-card { padding: 2rem 1.4rem 1.5rem; }
  .admire-card, .anthropic-card, .reflection-card { padding: 1.4rem 1.2rem; }
}
