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

:root {
  --bg: #FAFCF8;
  --bg-alt: #F0F4EB;
  --text: #1a1a1a;
  --text-secondary: #5a6a5a;
  --primary: #6B8250;
  --primary-light: #9BAE7D;
  --border: #dde8d5;
  --radius: 16px;
  --gradient: linear-gradient(135deg, #9BAE7D, #6B8250);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: rgba(250, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--primary); }

/* HERO */
.hero {
  padding: 80px 0 60px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 460px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(107, 130, 80, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107, 130, 80, 0.4);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* PHONE MOCKUP */
.phone-mockup {
  width: 260px;
  height: 520px;
  background: #1a1a1a;
  border-radius: 40px;
  margin: 0 auto;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 100px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  border-radius: 28px;
  opacity: 0.8;
}

/* SECTION TITLES */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* FEATURES */
.features {
  padding: 80px 0;
  background: var(--bg-alt);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 130, 80, 0.12);
}
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 0;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  text-align: center;
  max-width: 220px;
  padding: 32px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step__number {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.step__arrow {
  font-size: 1.5rem;
  color: var(--primary-light);
  font-weight: 300;
}

/* DOWNLOAD */
.download {
  padding: 80px 0;
  background: var(--gradient);
  text-align: center;
}
.download__inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.download__inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
}
.download__badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.badge:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: #0f150f;
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-light);
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .nav__links { gap: 16px; }
}
@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .nav__links a:not(:last-child):not(:nth-last-child(2)) { display: none; }
}
