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

:root {
  --bg: #faf7f2;
  --bg-warm: #f5ede0;
  --fg: #1a1612;
  --fg-muted: #6b5e4f;
  --accent: #e85d26;
  --accent-light: #ff8a5c;
  --accent-glow: rgba(232, 93, 38, 0.15);
  --green: #2d8a4e;
  --green-light: #e8f5e9;
  --yellow: #f5c842;
  --yellow-light: #fff8e1;
  --purple: #7c5cbf;
  --purple-light: #f3eeff;
  --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;
}

/* ====== HERO ====== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 5vw 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(100px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(125, 92, 191, 0.08);
  filter: blur(80px);
  z-index: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-light);
  border: 1px solid var(--yellow);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

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

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual - card stack */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.card-stack {
  position: relative;
  width: 340px;
  height: 420px;
}

.card {
  position: absolute;
  width: 300px;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card-study {
  background: white;
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 3;
}

.card-meal {
  background: var(--green-light);
  top: 40px;
  left: 50px;
  transform: rotate(2deg);
  z-index: 2;
}

.card-budget {
  background: var(--purple-light);
  top: 80px;
  left: 20px;
  transform: rotate(-1deg);
  z-index: 1;
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.card-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-study .card-tag { background: var(--accent-glow); color: var(--accent); }
.card-meal .card-tag { background: rgba(45,138,78,0.12); color: var(--green); }
.card-budget .card-tag { background: rgba(124,92,191,0.12); color: var(--purple); }

/* ====== PROBLEM ====== */
.problem {
  padding: 80px 5vw;
  background: var(--bg-warm);
}

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

.problem h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.problem .subtitle {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.problem-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--accent);
}

.problem-card .emoji {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

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

/* ====== FEATURES ====== */
.features {
  padding: 100px 5vw;
}

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

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

.features-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

.feature-text .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.tag-study { background: var(--accent-glow); color: var(--accent); }
.tag-nutrition { background: var(--green-light); color: var(--green); }
.tag-budget { background: var(--purple-light); color: var(--purple); }

.feature-text h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

.feature-visual {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.feature-visual-content {
  font-size: 3.5rem;
  line-height: 1;
}

/* ====== CLOSING ====== */
.closing {
  padding: 100px 5vw;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(232, 93, 38, 0.08);
  filter: blur(120px);
}

.closing-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.closing p {
  font-size: 1.1rem;
  color: rgba(250,247,242,0.7);
  line-height: 1.7;
}

/* ====== FOOTER ====== */
footer {
  padding: 40px 5vw;
  background: var(--fg);
  border-top: 1px solid rgba(250,247,242,0.08);
  text-align: center;
}

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

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(250,247,242,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--bg);
}

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

  .hero .lede { margin: 0 auto 24px; }
  .hero-stats { justify-content: center; }
  .hero-visual { min-height: 320px; }
  .card-stack { width: 280px; height: 360px; }
  .card { width: 250px; padding: 20px; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }
}