:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --fg: #f0f0f5;
  --fg-muted: #8a8a9a;
  --accent: #6c5ce7;
  --accent-bright: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --green: #00d2a0;
  --red: #ff6b6b;
  --card-bg: #1a1a28;
  --card-border: #2a2a3a;
  --radius: 16px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-bright), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* === JOB CARDS (Hero visual) === */
.hero-cards {
  position: relative;
  width: 280px;
  height: 340px;
  margin: 0 auto;
}

.job-card {
  position: absolute;
  width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-back-2 {
  transform: rotate(-6deg) translateY(12px) scale(0.92);
  opacity: 0.4;
  top: 0; left: 0;
}

.card-back-1 {
  transform: rotate(-3deg) translateY(6px) scale(0.96);
  opacity: 0.6;
  top: 0; left: 0;
}

.card-front {
  top: 0; left: 0;
  transform: rotate(1deg);
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.15);
}

.card-tag {
  display: inline-block;
  background: var(--green);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.card-company {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.card-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-salary {
  color: var(--green);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-match-bar {
  width: 100%;
  height: 4px;
  background: var(--card-border);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.match-fill {
  width: 97%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--green));
  border-radius: 2px;
}

.card-match {
  font-size: 0.85rem;
  color: var(--accent-bright);
  font-weight: 500;
}

.card-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.action-skip, .action-like {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.action-skip {
  border: 2px solid var(--red);
  color: var(--red);
}

.action-like {
  border: 2px solid var(--green);
  color: var(--green);
}

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

.how-it-works h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 72px;
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

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

/* === FEATURES === */
.features {
  padding: 120px 24px;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.feature-large {
  grid-column: 1 / -1;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

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

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

.closing h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

/* === FOOTER === */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--card-border);
}

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

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

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

  .feature-large {
    grid-column: 1;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    font-size: 2rem;
    min-width: auto;
  }

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

  .hero-cards {
    transform: scale(0.9);
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .how-it-works, .features, .closing {
    padding: 80px 24px;
  }
}