/* ═══════════════════════════════════════
   FLAMEFORM — THEME
   Aesthetic: Dark studio, warm torch glow
   Fonts: Syne (display) + DM Sans (body)
   Accent: #ff8c00 (boro working temp orange)
   Background: #07070e (near-black with blue undertone)
═══════════════════════════════════════ */

:root {
  --bg: #07070e;
  --bg-alt: #0d0d1a;
  --surface: #111120;
  --surface-2: #161628;
  --border: #1e1e32;
  --border-glow: #ff8c0033;
  --accent: #ff8c00;
  --accent-dim: #cc7000;
  --accent-glow: #ff8c0040;
  --text: #e8e3d8;
  --text-muted: #7a7680;
  --text-subtle: #4a4858;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, #07070e 0%, transparent 100%);
  padding: 20px 40px 32px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 60px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-40%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, #ff8c0015 0%, #ff450010 40%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.torch-wrap {
  position: relative;
  width: 220px;
  height: 380px;
}
.torch-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px #ff8c0040) drop-shadow(0 0 60px #ff450020);
}
.torch-glow-ring {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: radial-gradient(ellipse, #ff8c0050 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
}
.hero-stats {
  max-width: 1100px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* MANIFESTO */
.manifesto {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.manifesto-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* CURRICULUM */
.curriculum {
  padding: 100px 40px;
}
.curriculum-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 560px;
}
.courses-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px var(--accent-glow);
}
.course-card--primary {
  border-color: #ff8c0030;
  background: linear-gradient(135deg, var(--surface) 0%, #12101e 100%);
}
.course-card-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.course-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.course-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.course-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.course-topics li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}
.course-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* WHY */
.why {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.why-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.why-item {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}
.why-item:first-child { border-radius: 14px 0 0 0; }
.why-item:nth-child(2) { border-radius: 0 14px 0 0; }
.why-item:nth-last-child(2) { border-radius: 0 0 0 14px; }
.why-item:last-child { border-radius: 0 0 14px 0; }
.why-item:hover { background: var(--surface-2); }
.why-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff8c000d;
}
.why-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.why-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, #ff8c0012 0%, transparent 60%);
  pointer-events: none;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  padding: 40px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-subtle);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 48px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .torch-wrap { width: 160px; height: 280px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 24px; }
  .stat-divider { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item:first-child { border-radius: 14px 14px 0 0; }
  .why-item:nth-child(2) { border-radius: 0; }
  .why-item:nth-last-child(2) { border-radius: 0; }
  .why-item:last-child { border-radius: 0 0 14px 14px; }
  .manifesto, .curriculum, .why, .closing { padding: 64px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}