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

:root {
  --bg:           #F7F5F0;
  --card:         #FFFFFF;
  --accent:       #6B8FAD;
  --accent-light: #E8EFF5;
  --text:         #1a1a1a;
  --muted:        #8a8a8a;
  --border:       rgba(0, 0, 0, 0.08);

  --mood-great: #06b6d4;
  --mood-good:  #22c55e;
  --mood-okay:  #facc15;
  --mood-bad:   #f97316;
  --mood-awful: #ef4444;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #121212;
    --card:         #1f1f1f;
    --accent:       #7fa3c0;
    --accent-light: #1a2530;
    --text:         #f0f0f0;
    --muted:        #888;
    --border:       rgba(255, 255, 255, 0.08);
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.store-badge-nav {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}

.store-badge-nav:hover { opacity: 0.7; }

/* ── HERO ── */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 5% 60px;
}

.hero-copy { flex: 1; max-width: 480px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 400px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 0.15s, transform 0.15s;
}

.store-badge:hover { opacity: 0.8; transform: translateY(-1px); }

.cta-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.cta-sub strong {
  color: var(--text);
  font-weight: 600;
}

/* ── HERO IMAGE ── */

.hero-image {
  flex-shrink: 0;
  width: min(340px, 42vw);
}

.hero-image img {
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
}

@media (prefers-color-scheme: dark) {
  .hero-image img {
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

/* ── FEATURES ── */

.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 5%;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); }

@media (prefers-color-scheme: dark) {
  .feature-card:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

.mood-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.mood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ── FOOTER ── */

footer {
  padding: 40px 5%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ── RESPONSIVE ── */

@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    padding: 48px 5% 40px;
    text-align: center;
  }

  .hero-copy { max-width: 100%; }
  .hero-sub  { max-width: 100%; }

  .hero-pills { justify-content: center; }
  .hero-cta   { justify-content: center; }

  .hero-image { width: min(280px, 80vw); order: -1; }

  footer { flex-direction: column; align-items: flex-start; }
}
