:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6f0;
  --fg-muted: #8b87a0;
  --accent: #f0c040;
  --accent-glow: rgba(240, 192, 64, 0.15);
  --accent-secondary: #e07850;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(240, 192, 64, 0.08), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(224, 120, 80, 0.06), transparent),
    var(--bg);
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(240, 192, 64, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  font-family: var(--font-display);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Visual - Floating Boxes */
.hero-visual {
  position: relative;
  height: 420px;
}

.box-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-box {
  position: absolute;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.box-1 {
  background: linear-gradient(135deg, rgba(160, 120, 200, 0.15), rgba(160, 120, 200, 0.05));
  border-color: rgba(160, 120, 200, 0.2);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.box-2 {
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.15), rgba(240, 192, 64, 0.05));
  border-color: rgba(240, 192, 64, 0.2);
  top: 35%;
  left: 25%;
  animation-delay: -2s;
}

.box-3 {
  background: linear-gradient(135deg, rgba(80, 200, 160, 0.15), rgba(80, 200, 160, 0.05));
  border-color: rgba(80, 200, 160, 0.2);
  top: 60%;
  left: 8%;
  animation-delay: -4s;
}

.box-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--fg);
}

.box-items {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.how-it-works h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 64px;
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(240, 192, 64, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  background: var(--bg);
}

.features-header {
  margin-bottom: 56px;
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 12px;
}

.features-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 540px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(240, 192, 64, 0.2);
}

.feature-card.card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card), rgba(240, 192, 64, 0.04));
  border-color: rgba(240, 192, 64, 0.1);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

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

/* ===== CLOSING ===== */
.closing {
  padding: 120px 0;
  background: var(--bg-elevated);
  text-align: center;
}

.closing-content {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--accent);
  margin-bottom: 24px;
}

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

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

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

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

  .hero-visual {
    height: 300px;
  }

  .floating-box {
    padding: 18px 22px;
  }

  .box-1 { top: 0%; left: 0%; }
  .box-2 { top: 30%; left: 15%; }
  .box-3 { top: 60%; left: 2%; }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card.card-wide {
    grid-column: span 1;
  }

  .hero {
    min-height: auto;
    padding: 100px 24px 60px;
  }
}