@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Source+Sans+3:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy: #0A1628;
  --deep-navy: #0F1D35;
  --mid-blue: #1A3A5C;
  --teal-start: #1A5276;
  --teal-mid: #2E86C1;
  --teal-end: #1ABC9C;
  --teal-light: #48C9B0;
  --vermillion: #D94825;
  --byzantium: #702963;
  --gold: #D4A740;
  --gold-light: #E8C36A;
  --cream: #FAF8F4;
  --warm: #F5F0E8;
  --text: #2A2A2A;
  --card-bg: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  --card-border: 1px solid rgba(255,255,255,0.06);
  --card-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
  --radius: 16px;
}

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

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

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  background: var(--navy);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

a { color: var(--teal-end); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--teal-light); }

.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

/* LAYOUT */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--deep-navy);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--teal-start), var(--teal-mid), var(--teal-end), var(--teal-light));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: genesis-flow 6s ease infinite;
  margin-bottom: 0.25rem;
}

.sidebar-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--vermillion);
  filter: brightness(1.15);
  margin-bottom: 2rem;
}

.nav-list { list-style: none; flex: 1; }

.nav-list li { margin-bottom: 0.25rem; }

.nav-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.nav-list a:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.95);
}

.nav-list a.active {
  background: rgba(26,188,156,0.1);
  color: var(--teal-end);
  border-left: 3px solid var(--teal-end);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.nav-list a.active .nav-dot { background: var(--teal-end); }

.main-content {
  margin-left: 280px;
  flex: 1;
  min-height: 100vh;
}

.content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
}

/* HERO */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(212,167,64,0.2);
  margin-bottom: 3rem;
}

.hero .label { margin-bottom: 1rem; display: block; }

.hero h1 {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
  max-width: 700px;
}

/* CARDS */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.1);
}

.card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 0.75rem;
}

/* TABLES */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.data-table thead {
  border-bottom: 2px solid var(--gold);
}

.data-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1rem;
}

.data-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.data-table .highlight-row td {
  background: rgba(212,167,64,0.08);
  font-weight: 500;
  color: var(--gold);
}

/* TIMELINE */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--teal-end));
}

.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
}

.timeline-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-end);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.25rem 0 0.5rem;
}

/* SECTIONS */
.section { margin-bottom: 3.5rem; }
.section-title { margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(212,167,64,0.15); }

/* INSIGHT BOX */
.insight-box {
  background: linear-gradient(135deg, rgba(212,167,64,0.06) 0%, rgba(212,167,64,0.02) 100%);
  border: 1px solid rgba(212,167,64,0.15);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.critical-box {
  background: linear-gradient(135deg, rgba(217,72,37,0.06) 0%, rgba(217,72,37,0.02) 100%);
  border: 1px solid rgba(217,72,37,0.15);
  border-left: 4px solid var(--vermillion);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.teal-box {
  background: linear-gradient(135deg, rgba(26,188,156,0.06) 0%, rgba(26,188,156,0.02) 100%);
  border: 1px solid rgba(26,188,156,0.15);
  border-left: 4px solid var(--teal-end);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

/* SWOT */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.swot-card { padding: 1.5rem; }
.swot-card.strengths { border-left-color: var(--teal-end); }
.swot-card.weaknesses { border-left-color: var(--vermillion); }
.swot-card.opportunities { border-left-color: var(--gold); }
.swot-card.threats { border-left-color: var(--byzantium); }

/* FOOTER */
.page-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  margin-top: 4rem;
}

.footer-genesis {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--teal-start), var(--teal-mid), var(--teal-end), var(--teal-light));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: genesis-flow 6s ease infinite;
}

.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--vermillion);
  filter: brightness(1.15);
  margin-top: 0.25rem;
}

.footer-prepared {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

/* GOLD DIVIDER */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 3rem 0;
}

/* LISTS */
.styled-list { list-style: none; padding: 0; }
.styled-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}
.styled-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-gold { background: rgba(212,167,64,0.15); color: var(--gold); border: 1px solid rgba(212,167,64,0.3); }
.badge-teal { background: rgba(26,188,156,0.15); color: var(--teal-end); border: 1px solid rgba(26,188,156,0.3); }

/* PROGRESS BAR */
.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal-end));
  transition: width 1s ease;
}

/* HAMBURGER */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  background: var(--deep-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0;
  transition: 0.3s;
}

@keyframes genesis-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-area { padding: 2rem 1.5rem 4rem; }
  .hamburger { display: block; }
  .swot-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .content-area { padding: 1.5rem 1rem 3rem; }
  .card { padding: 1.5rem; }
  .stat-number { font-size: 2.4rem; }
  .data-table { font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 0.5rem; }
}

/* PRINT */
@media print {
  .sidebar, .hamburger { display: none !important; }
  .main-content { margin-left: 0; }
  body { background: white; color: #1a1a1a; font-size: 11pt; }
  .card { border: 1px solid #ddd; box-shadow: none; background: white; }
  .hero h1 { -webkit-text-fill-color: var(--navy); color: var(--navy); }
  .stat-number { color: var(--navy); -webkit-text-fill-color: var(--navy); }
  .gold-divider { background: #ccc; }
  .nav-list a { color: #333; }
  a { color: var(--mid-blue); }
  .page-footer { page-break-before: always; }
}
