:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --fg-dim: #5a5a6a;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-warm: #fd79a8;
  --gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #fd79a8 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(108, 92, 231, 0.15) 0%, rgba(253, 121, 168, 0.08) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --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);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-warm);
  bottom: -50px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(108, 92, 231, 0.2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero visual - folder stack */
.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  width: 100%;
  max-width: 480px;
}

.folder-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.folder {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.folder:hover {
  transform: translateX(8px);
  border-color: rgba(108, 92, 231, 0.3);
}

.folder-tab {
  position: absolute;
  top: -8px;
  left: 16px;
  width: 60px;
  height: 8px;
  border-radius: 4px 4px 0 0;
}

.folder-1 .folder-tab { background: #6c5ce7; }
.folder-2 .folder-tab { background: #fd79a8; }
.folder-3 .folder-tab { background: #00b894; }
.folder-4 .folder-tab { background: #fdcb6e; }

.folder-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.folder-count {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
}

.stat-block {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.problem-text {
  text-align: center;
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-4px);
}

.feature-large {
  grid-column: span 2;
  background: var(--gradient-subtle);
  border-color: rgba(108, 92, 231, 0.15);
}

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

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

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

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  opacity: 0.6;
  min-width: 40px;
  padding-top: 2px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.step-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin-left: 19px;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}

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

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(108, 92, 231, 0.08);
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 40px;
    min-height: auto;
  }

  .hero-visual {
    max-width: 100%;
  }

  .problem-inner {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
  }

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

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

  .step {
    gap: 20px;
  }

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

  .closing {
    padding: 80px 20px;
  }

  .features,
  .problem,
  .how {
    padding: 60px 20px;
  }
}

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

  .folder {
    padding: 16px 18px;
  }

  .folder-label {
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 28px 24px;
  }
}