:root {
  /* Dark Fused Palette: Obsidian, Deep Charcoal, Ember Red-Orange */
  --bg-main: #0c0a09;          /* Deep stone black */
  --bg-surface: #171212;       /* Tinted charcoal */
  --bg-card: #1c1514;          /* Warm card backdrop */
  --border: #382522;           /* Subtle burnt border */
  --border-glow: #6e271a;      /* Hover glow border */
  
  --text-main: #fafaf9;        /* Warm off-white */
  --text-muted: #a8a29e;       /* Soft warm grey */
  
  /* Vibrant Fused Gradients & Accents */
  --primary: #f97316;          /* Vivid orange */
  --primary-hover: #ea580c;    /* Deep orange */
  --red-accent: #ef4444;       /* Fiery red */
  --ember-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --ember-gradient-hover: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  --glow: 0 8px 30px rgba(239, 68, 68, 0.25);
  
  --radius: 12px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

.text-center {
  text-align: center;
}

/* Typography & Accent Tags */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

p {
  color: var(--text-muted);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Fused Ember Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--ember-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: var(--ember-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: rgba(249, 115, 22, 0.08);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  width: 100%;
}

.btn-outline:hover {
  background-color: rgba(249, 115, 22, 0.12);
  border-color: var(--red-accent);
  color: #ffffff;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(12, 10, 9, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 18px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--ember-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(239, 68, 68, 0.14) 0%, rgba(12, 10, 9, 0) 70%);
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffaa71;
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-subtext {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Layout & Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-header {
  margin-bottom: 48px;
}

.section-lead {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 500;
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card, .format-card, .program-card, .persona-card, .feature-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover, .program-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3, .format-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--red-accent);
}

/* Program Cards */
.program-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-card .badge {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.program-card h3 {
  margin-bottom: 12px;
}

.program-card p {
  margin-bottom: 24px;
}

.program-card.highlight {
  border-color: #a83220;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

/* Philosophy */
.philosophy-intro {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.philosophy-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.philosophy-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-main);
  transition: border-color 0.2s;
}

.philosophy-box:hover {
  border-color: var(--primary);
}

/* Community & Final CTA */
.community {
  background-color: var(--bg-surface);
}

.community h2 {
  margin-bottom: 16px;
}

.community p {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.final-cta {
  padding: 110px 0;
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.18) 0%, rgba(249, 115, 22, 0.05) 45%, var(--bg-main) 75%);
}

.cta-bullets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 18px 0 10px;
}

.cta-sub {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .cta-bullets {
    flex-direction: column;
    gap: 4px;
  }
  .cta-bullets span:nth-child(even) {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}