/* ─── Tokens ─── */
:root {
  --bg: #0D1117;
  --bg-secondary: #161B22;
  --surface: #1C2128;
  --border: #30363D;
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --teal: #4ECDC4;
  --teal-dim: rgba(78, 205, 196, 0.12);
  --text-primary: #F0F6FC;
  --text-secondary: #8B949E;
  --text-muted: #484F58;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo strong { font-weight: 700; color: var(--amber); }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(245,166,35,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(78,205,196,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-left {
  max-width: 640px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px 0 0;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 28px;
}
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 400px;
}

/* ─── Forge Visual (CSS only) ─── */
.forge-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, rgba(245,166,35,0.04) 40%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}
.forge-core {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.forge-rings { position: absolute; inset: 0; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.15);
  animation: rotateRing linear infinite;
}
.ring-1 {
  inset: 0;
  border-color: rgba(245,166,35,0.18);
  animation-duration: 12s;
}
.ring-2 {
  inset: 28px;
  border-color: rgba(78,205,196,0.14);
  animation-duration: 18s;
  animation-direction: reverse;
}
.ring-3 {
  inset: 60px;
  border-color: rgba(245,166,35,0.1);
  animation-duration: 24s;
}
.forge-center {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.forge-ember {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5A623 0%, #E8881A 50%, #C46D00 100%);
  box-shadow: 0 0 20px rgba(245,166,35,0.6), 0 0 60px rgba(245,166,35,0.3), 0 0 120px rgba(245,166,35,0.1);
  animation: emberPulse 2s ease-in-out infinite;
}

/* Particles */
.forge-particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  animation: particleFloat linear infinite;
}
.p1 { width: 4px; height: 4px; top: 40%; left: 30%; animation: pf1 5s ease-in-out infinite; }
.p2 { width: 3px; height: 3px; top: 55%; left: 65%; background: var(--teal); animation: pf2 7s ease-in-out infinite 1s; }
.p3 { width: 5px; height: 5px; top: 20%; left: 50%; animation: pf3 6s ease-in-out infinite 0.5s; }
.p4 { width: 3px; height: 3px; top: 70%; left: 25%; animation: pf4 8s ease-in-out infinite 2s; }
.p5 { width: 4px; height: 4px; top: 35%; left: 75%; background: var(--teal); animation: pf5 5.5s ease-in-out infinite 0.8s; }
.p6 { width: 2px; height: 2px; top: 60%; left: 40%; animation: pf6 6.5s ease-in-out infinite 1.5s; }

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}
@keyframes emberPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(245,166,35,0.6), 0 0 60px rgba(245,166,35,0.3); }
  50% { transform: scale(1.15); box-shadow: 0 0 30px rgba(245,166,35,0.8), 0 0 80px rgba(245,166,35,0.4); }
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pf1 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.8; } 100% { transform: translate(60px,-80px) scale(0); opacity: 0; } }
@keyframes pf2 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.6; } 100% { transform: translate(-50px,-70px) scale(0); opacity: 0; } }
@keyframes pf3 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.9; } 100% { transform: translate(30px,-100px) scale(0); opacity: 0; } }
@keyframes pf4 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.5; } 100% { transform: translate(80px,60px) scale(0); opacity: 0; } }
@keyframes pf5 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.7; } 100% { transform: translate(-70px,50px) scale(0); opacity: 0; } }
@keyframes pf6 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 20% { opacity: 0.6; } 100% { transform: translate(40px,90px) scale(0); opacity: 0; } }

/* ─── Mission Section ─── */
.mission {
  padding: 80px 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-inner {
  max-width: 760px;
  margin: 0 auto;
}
.mission-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.mission-problem {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.mission-divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}
.mission-shift {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ─── Features ─── */
.features {
  padding: 100px 40px;
}
.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.features-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-2px);
}
.feature-icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.feature-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Outcomes ─── */
.outcomes {
  padding: 80px 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.outcome {}
.outcome-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.outcome-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.outcome-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Closing ─── */
.closing {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 48px;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--teal-dim);
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.closing-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── Footer ─── */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.footer-logo strong { font-weight: 700; color: var(--amber); }
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-fine {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 90px 24px 60px; }
  .hero-left { max-width: 100%; }
  .hero-right { min-height: 260px; width: 100%; }
  .forge-glow { width: 280px; height: 280px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 18px; }
  .hero-stat-divider { margin-right: 18px; }
  .hero-stat-value { font-size: 1.6rem; }
  .features, .mission, .outcomes, .closing { padding: 60px 24px; }
  .nav { padding: 0 24px; }
}