/* === Brand Tokens === */
:root {
  --green: #2D7A3A;
  --green-light: #ECFDF5;
  --green-dark: #1B5E27;
  --bg: #F8FAF5;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* === Layout === */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* === Nav === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 24px;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 80px 0 64px;
}

.hero-emoji {
  font-size: 64px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* === Email Capture === */
.email-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 16px;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  outline: none;
}

.email-form input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 122, 58, 0.1);
}

.email-form button {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--green-dark);
}

.email-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

/* === Store Badges === */
.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.badge {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-card .emoji {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === How It Works === */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* === Pricing === */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pricing-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--green);
  position: relative;
}

.pricing-card.featured::before {
  content: "Best Value";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card .savings {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card ul li {
  padding: 6px 0;
}

.pricing-card ul li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.free-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  margin: 0 12px;
}

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

/* === Legal Pages === */
.legal {
  padding: 48px 0 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .email-form {
    flex-direction: column;
  }

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

  .section {
    padding: 48px 0;
  }

  .badges {
    flex-direction: column;
    align-items: center;
  }
}
