:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e4dc;
  --fg-muted: #9a9488;
  --fg-dim: #5c5850;
  --accent: #d4a44c;
  --accent-glow: #e8b84d;
  --accent-dark: #8b6d2e;
  --red-ember: #c44b3f;
  --font-display: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212,164,76,0.08) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(196,75,63,0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(212,164,76,0.04) 0%, transparent 40%);
  z-index: 0;
}

.torch {
  position: absolute;
  width: 4px;
  height: 60px;
  background: linear-gradient(to top, var(--accent-dark), var(--accent), rgba(232,184,77,0));
  border-radius: 2px;
  animation: flicker 3s ease-in-out infinite;
}

.torch::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(232,184,77,0.4), transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

.torch-left { left: 15%; top: 30%; }
.torch-right { right: 15%; top: 25%; }

@keyframes flicker {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  25% { opacity: 1; transform: scaleY(1.05); }
  50% { opacity: 0.8; transform: scaleY(0.98); }
  75% { opacity: 0.95; transform: scaleY(1.02); }
}

@keyframes glow {
  from { opacity: 0.5; transform: translateX(-50%) scale(1); }
  to { opacity: 0.8; transform: translateX(-50%) scale(1.3); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-hint span {
  display: block;
  font-size: 1.5rem;
  color: var(--fg-dim);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 0.8; }
}

/* ======== PROBLEM ======== */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(212,164,76,0.1);
  border-bottom: 1px solid rgba(212,164,76,0.1);
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(212,164,76,0.12);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: rgba(212,164,76,0.3);
}

.problem-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.problem-statement {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ======== FEATURES ======== */
.features {
  padding: 6rem 2rem;
  background: var(--bg-deep);
}

.features-inner {
  max-width: 800px;
  margin: 0 auto;
}

.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
}

.feature-right {
  flex-direction: row-reverse;
  text-align: right;
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid rgba(212,164,76,0.15);
  border-radius: 16px;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.feature-text p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-dark), transparent);
  margin: 0.5rem auto;
}

/* ======== CLOSING ======== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(212,164,76,0.06) 0%, transparent 70%),
    var(--bg-surface);
  border-top: 1px solid rgba(212,164,76,0.1);
}

.closing-inner {
  max-width: 650px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ======== FOOTER ======== */
.site-footer {
  padding: 2.5rem 2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(212,164,76,0.08);
  text-align: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

.footer-divider {
  color: var(--fg-dim);
  font-weight: 200;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .problem-card {
    padding: 1.8rem 1.2rem;
  }

  .feature-block,
  .feature-right {
    flex-direction: column;
    text-align: left;
    gap: 1rem;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }

  .torch-left, .torch-right {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .closing {
    padding: 5rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .closing h2 {
    font-size: 1.6rem;
  }
}