@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #0A0F1E;
  --surface: #1A2332;
  --surface-2: #1E293B;
  --surface-hover: #243044;
  --border: #334155;
  --border-light: #2A3A52;
  --blue: #60A5FA;
  --blue-dim: rgba(96,165,250,0.15);
  --green: #34D399;
  --gold: #FBBF24;
  --red: #F87171;
  --text: #E2E8F0;
  --text-sub: #94A3B8;
  --text-dim: #64748B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--blue-dim);
}

/* ── PAGE WRAPPER ── */
.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 60px 0 50px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(96,165,250,0.3);
  padding: 5px 16px; border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900;
  letter-spacing: -2px; line-height: 1.05;
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-sub {
  font-size: 17px; color: var(--text-sub); max-width: 520px; margin: 0 auto;
}

/* ── SECTION ── */
.section { margin-bottom: 60px; }
.section-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--blue); margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700;
  letter-spacing: -1px; margin-bottom: 24px;
}

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0; transition: opacity 0.35s;
}
.card:hover { transform: translateY(-3px); background: var(--surface-hover); border-color: var(--blue); }
.card:hover::before { opacity: 1; }

.card-icon { font-size: 26px; margin-bottom: 14px; }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
}
.card-desc { font-size: 14px; color: var(--text-sub); line-height: 1.65; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── HIGHLIGHT BOX ── */
.highlight {
  background: linear-gradient(135deg, #1a2f50 0%, #1e3a60 100%);
  border: 2px solid var(--blue);
  border-radius: 20px; padding: 36px 40px;
  position: relative; overflow: hidden;
  margin-bottom: 24px;
}
.highlight::after {
  content: '';
  position: absolute; top: -60%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.highlight p { font-size: 16px; line-height: 1.75; color: var(--text); }
.highlight strong { color: var(--blue); }

/* ── QUOTE ── */
.quote {
  border-left: 3px solid var(--blue);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--blue-dim);
  border-radius: 0 10px 10px 0;
  font-size: 15px; color: var(--text-sub);
  font-style: italic;
}

/* ── TAG ── */
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 3px 10px; border-radius: 6px;
  margin-right: 6px; margin-bottom: 6px;
}
.tag-blue { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(96,165,250,0.3); }
.tag-green { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }
.tag-gold { background: rgba(251,191,36,0.12); color: var(--gold); border: 1px solid rgba(251,191,36,0.3); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(96,165,250,0.5);
}
.timeline-version {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 500;
  color: var(--blue); margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
}
.timeline-body { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ── AXIS CARD (for summary page) ── */
.axis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 32px;
  border-top: 4px solid var(--blue);
  transition: all 0.3s;
}
.axis-card.green { border-top-color: var(--green); }
.axis-card.gold  { border-top-color: var(--gold); }
.axis-card.red   { border-top-color: var(--red); }
.axis-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.axis-card.green:hover { border-color: var(--green); }
.axis-card.gold:hover  { border-color: var(--gold); }
.axis-icon { font-size: 28px; margin-bottom: 14px; }
.axis-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; margin-bottom: 14px;
}
.axis-list { list-style: none; }
.axis-list li {
  font-size: 14px; color: var(--text-sub);
  padding: 8px 0; border-bottom: 1px solid var(--border-light);
  display: flex; gap: 10px; align-items: flex-start;
}
.axis-list li:last-child { border-bottom: none; }
.axis-list li::before { content: '—'; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.axis-card.green .axis-list li::before { color: var(--green); }
.axis-card.gold .axis-list li::before  { color: var(--gold); }

/* ── NAV CARD (for index) ── */
.nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 32px;
  text-decoration: none; color: var(--text);
  display: block;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.nav-card:hover { transform: translateY(-4px); background: var(--surface-hover); border-color: var(--blue); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.nav-card-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-dim); margin-bottom: 10px;
}
.nav-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px; font-weight: 700; margin-bottom: 8px;
}
.nav-card-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.nav-card-arrow {
  position: absolute; right: 28px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px; color: var(--text-dim);
  transition: all 0.3s;
}
.nav-card:hover .nav-card-arrow { color: var(--blue); transform: translateY(-50%) translateX(4px); }

/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  nav { padding: 0 20px; }
  .page { padding: 90px 20px 60px; }
  .nav-links a { font-size: 12px; padding: 5px 10px; }
}
