@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=DM+Serif+Display&display=swap');

:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #141414;
  --bg-tertiary: #1A1A1A;
  --bg-card: #1E1E1E;
  --bg-card-hover: #252525;
  --fire-red: #C0392B;
  --fire-orange: #E8681A;
  --fire-amber: #F39C12;
  --fire-yellow: #F1C40F;
  --text-primary: #F0EDE8;
  --text-secondary: #C4BFBA;
  --text-muted: #9A9590;
  --text-accent: #E8681A;
  --wer1-color: #3498DB;
  --wer2-color: #F39C12;
  --wer3-color: #E67E22;
  --wer4-color: #C0392B;
  --success: #27AE60;
  --border-subtle: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.1);
  --border-fire: rgba(232,104,26,0.3);
  --section-gap: 120px;
  --content-width: 1200px;
  --narrow-width: 800px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #0D0D0D; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); }
.nav-inner { max-width: var(--content-width); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: center; gap: 24px; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); }
.nav-logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--fire-red), var(--fire-orange)); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: white; letter-spacing: -0.5px; }
.nav-logo-text { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: 0.5px; }
.nav-logo-text span { color: var(--fire-orange); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 13px; white-space: nowrap; font-weight: 500; padding: 8px 10px; border-radius: 6px; transition: all 0.2s ease; }
.nav-links a:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.nav-links a.active { color: var(--fire-orange); background: none; border-bottom: 2px solid var(--fire-orange); border-radius: 0; padding-bottom: 6px; }
.nav-cta { background: linear-gradient(135deg, var(--fire-red), var(--fire-orange)) !important; color: white !important; font-weight: 600 !important; padding: 8px 20px !important; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; padding: 8px; }

@media (max-width: 900px) {
  .nav-mobile-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border-subtle); flex-direction: column; padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
}

.container { max-width: var(--content-width); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: var(--narrow-width); }
.section { padding: var(--section-gap) 0; }
.section--first { padding-top: calc(72px + var(--section-gap)); }

h1, h2, h3 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 400; }
.section-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--fire-orange); margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin-top: 16px; line-height: 1.7; }
p { margin-bottom: 1em; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-primary); font-weight: 600; }

.hero { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 72px; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(192,57,43,0.08) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(232,104,26,0.05) 0%, transparent 50%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: var(--content-width); margin: 0 auto; padding: 0 40px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--fire-orange), var(--fire-amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text { font-size: 19px; color: var(--text-secondary); max-width: 620px; line-height: 1.8; margin-bottom: 40px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; }
.btn--primary { background: linear-gradient(135deg, var(--fire-red), var(--fire-orange)); color: white; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(232,104,26,0.3); }
.btn--secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-medium); }
.btn--secondary:hover { background: var(--bg-card); border-color: var(--border-fire); }
.btn--ghost { background: transparent; color: var(--fire-orange); padding: 14px 0; }
.btn--ghost:hover { color: var(--fire-amber); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.stat-item { background: var(--bg-secondary); padding: 32px 24px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; color: var(--fire-orange); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 32px; transition: all 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card:hover { background: var(--bg-card-hover); border-color: var(--border-fire); transform: translateY(-2px); }
.card-number { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--fire-orange); margin-bottom: 12px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-muted); flex: 1; }
.card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; }
.card-download { font-size: 13px; font-weight: 600; color: var(--fire-orange); display: flex; align-items: center; gap: 6px; }

.wer-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wer-level { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 28px 24px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.wer-level:hover { transform: translateY(-2px); border-color: var(--border-fire); }
.wer-level::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.wer-level--1::before { background: var(--wer1-color); }
.wer-level--2::before { background: var(--wer2-color); }
.wer-level--3::before { background: var(--wer3-color); }
.wer-level--4::before { background: var(--wer4-color); }
.wer-level-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 16px; }
.wer-level--1 .wer-level-tag { background: rgba(52,152,219,0.15); color: var(--wer1-color); }
.wer-level--2 .wer-level-tag { background: rgba(243,156,18,0.15); color: var(--wer2-color); }
.wer-level--3 .wer-level-tag { background: rgba(230,126,34,0.15); color: var(--wer3-color); }
.wer-level--4 .wer-level-tag { background: rgba(192,57,43,0.15); color: var(--wer4-color); }
.wer-level h3 { font-size: 1.1rem; margin-bottom: 10px; }
.wer-level p { font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .wer-levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .wer-levels { grid-template-columns: 1fr; } }

.callout { background: var(--bg-secondary); border-left: 3px solid var(--fire-orange); border-radius: 0 8px 8px 0; padding: 24px 28px; margin: 32px 0; }
.callout--green { border-left-color: var(--success); }
.callout--red { border-left-color: var(--fire-red); }
.callout-title { font-weight: 600; color: var(--text-primary); margin-bottom: 8px; font-size: 15px; }
.callout p { font-size: 15px; margin-bottom: 0; }

.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pathway-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 32px; position: relative; }
.pathway-card--featured { border-color: var(--fire-orange); background: linear-gradient(180deg, rgba(232,104,26,0.05) 0%, var(--bg-card) 40%); }
.pathway-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fire-orange); margin-bottom: 12px; }
.pathway-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--text-primary); margin: 16px 0; }
.pathway-price span { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); }
.pathway-features { list-style: none; margin: 20px 0; }
.pathway-features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); display: flex; align-items: flex-start; gap: 8px; }
.pathway-features li::before { content: '→'; color: var(--fire-orange); font-weight: 600; flex-shrink: 0; }
@media (max-width: 900px) { .pathway-grid { grid-template-columns: 1fr; } }

.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); padding: 60px 0 40px; margin-top: var(--section-gap); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--fire-orange); }
.footer-disclaimer { border-top: 1px solid var(--border-subtle); padding-top: 24px; font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-disclaimer a { color: var(--fire-orange); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; margin-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 8px; } .container { padding: 0 24px; } .nav-inner { padding: 0 24px; } }

.page-header { padding: calc(72px + 80px) 0 60px; position: relative; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232,104,26,0.06) 0%, transparent 60%); pointer-events: none; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; position: relative; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; margin-bottom: 16px; }
.prose h3 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 24px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; font-size: 15px; }

.download-banner { background: linear-gradient(135deg, rgba(192,57,43,0.1), rgba(232,104,26,0.08)); border: 1px solid var(--border-fire); border-radius: 12px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.download-banner h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; }
.download-banner p { font-size: 14px; margin: 4px 0 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(16px); transition: all 0.5s ease; }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* ============================================
   DROPDOWN SUMMARIES
   ============================================ */
.module-details {
  margin-top: 12px;
}

.module-details summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--fire-orange);
  cursor: pointer;
  padding: 6px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.module-details summary::before {
  content: '▸';
  font-size: 12px;
  transition: transform 0.2s;
}

.module-details[open] summary::before {
  transform: rotate(90deg);
}

.module-details summary::-webkit-details-marker {
  display: none;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--fire-orange);
}
.form-input::placeholder {
  color: var(--text-muted);
}
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6560' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select.form-input option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
