/* HabitHero Landing Page */

:root {
  --primary-dark: #27302C;
  --primary-mint: #88D4B6;
  --medium-green: #4CAA85;
  --light-mint: #C7E6DC;
  --very-light-mint: #E5F6F0;
  --accent-orange: #FF6F3C;
  --accent-yellow: #F59E0B;
  --white: #FFFFFF;
  --text-muted: #5F6B66;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--primary-dark);
  line-height: 1.6;
  background: var(--white);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(136, 212, 182, 0.2);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--medium-green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--medium-green);
}

/* Hero */
.hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(160deg, var(--very-light-mint) 0%, var(--white) 50%, #FFF5F0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.hero-text h1 .highlight {
  color: var(--medium-green);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge-link img {
  height: 52px;
  transition: transform 0.2s;
}

.badge-link img:hover {
  transform: scale(1.05);
}

.hero-screenshots {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

.hero-screenshots img {
  width: 240px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(39, 48, 44, 0.15);
  transition: transform 0.3s ease;
}

.hero-screenshots img:last-child {
  margin-top: 3rem;
}

.hero-screenshots img:hover {
  transform: translateY(-8px);
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--white);
}

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

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

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

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--very-light-mint);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(76, 170, 133, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--light-mint);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* How it works */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--very-light-mint);
}

.how-inner {
  max-width: 800px;
  margin: 0 auto;
}

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

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--medium-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--medium-green), var(--primary-mint));
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

/* Footer */
.footer {
  padding: 2.5rem 2rem;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-screenshots img {
    width: 180px;
  }

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

@media (max-width: 600px) {
  .nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 6rem 1.25rem 3rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-screenshots {
    gap: 1rem;
  }

  .hero-screenshots img {
    width: 150px;
    border-radius: 18px;
  }

  .hero-screenshots img:last-child {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features,
  .how-it-works,
  .cta {
    padding: 4rem 1.25rem;
  }

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

/* Print */
@media print {
  .nav, .cta, .footer {
    display: none;
  }
}
