@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8697;
  --accent: #d4a056;
  --accent-glow: rgba(212, 160, 86, 0.15);
  --accent-soft: #c4944a;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { 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;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 10vw 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  max-width: 750px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ---- DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent-glow), var(--border), transparent);
}

/* ---- HOW IT WORKS ---- */
.how-section {
  padding: 100px 10vw;
  background: var(--bg-elevated);
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 600px;
  line-height: 1.15;
}

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

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s;
}

.how-card:hover {
  border-color: var(--accent-soft);
}

.how-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

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

/* ---- FEATURES ---- */
.features-section {
  padding: 100px 10vw;
}

.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 550px;
  line-height: 1.15;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.feature-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-item:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--fg-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ---- CLOSING ---- */
.closing-section {
  padding: 120px 10vw;
  text-align: center;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.closing-section p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ---- FOOTER ---- */
footer {
  padding: 40px 10vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* ---- CTA BUTTONS ---- */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.cta-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--bg-card);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.cta-secondary:hover {
  border-color: var(--accent-soft);
  background: var(--bg-elevated);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    padding: 80px 6vw 60px;
    min-height: 70vh;
  }

  .how-section,
  .features-section,
  .closing-section {
    padding: 64px 6vw;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

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

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 32px 6vw;
  }
}