:root {
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-100: #ecfdf5;
  --yellow-400: #facc15;
  --blue-500: #3b82f6;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius: 16px;
  --maxw: 1160px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block }
a { color: inherit }

/* Layout */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 1rem }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.25rem; border-radius: 10px;
  font-weight: 600; cursor: pointer; border: 0; text-decoration: none;
}
.btn-primary { background: var(--yellow-400); color: #111827 }
.btn-primary:hover { filter: brightness(1.05) }
.btn-blue { background: var(--blue-500); color: #fff }
.btn-blue:hover { filter: brightness(1.05) }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6) }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08) }

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); padding: .4rem .75rem; border-radius: 999px;
}

/* Nav */
.nav-bar {
  background: var(--green-900);
  border-bottom: 1px solid #0e3b2e;
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .65rem; flex-wrap: wrap; gap: .5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none;
}
.nav-logo img { border-radius: 6px }
.nav-links { display: flex; flex-wrap: wrap; gap: .2rem .6rem; list-style: none; margin: 0; padding: 0 }
.nav-links a {
  color: #a7f3d0; text-decoration: none; font-size: .875rem;
  padding: .2rem .15rem; border-bottom: 2px solid transparent; transition: color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  border-bottom-color: var(--yellow-400); color: #fff;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; cursor: pointer;
  padding: .3rem; border-radius: 6px; line-height: 1;
}
.nav-toggle:hover { background: rgba(255,255,255,.1) }
.nav-toggle .icon-close { display: none }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none }
.nav-toggle[aria-expanded="true"] .icon-close { display: block }

@media (max-width: 639px) {
  .nav-toggle { display: grid; place-items: center }
  .nav-links {
    display: none; width: 100%; flex-direction: column; gap: 0;
    padding: .25rem 0 .5rem;
    border-top: 1px solid rgba(255,255,255,.12); margin-top: .25rem;
  }
  .nav-links.open { display: flex }
  .nav-links a {
    padding: .55rem .25rem; border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] {
    border-left-color: var(--yellow-400); color: #fff; border-bottom-color: transparent;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: #fff; text-align: center; padding: 72px 1rem;
}
.hero h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px }
.hero p { font-size: clamp(16px, 2.4vw, 20px); opacity: .95; margin: 0 auto 22px; max-width: 780px }
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 10px }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: #fff; text-align: center; padding: 52px 1rem 48px;
}
.page-hero h1 { font-size: clamp(24px, 3.5vw, 40px); line-height: 1.15; margin: 0 0 10px }
.page-hero p { font-size: clamp(15px, 2vw, 18px); opacity: .9; margin: 0 auto; max-width: 640px }

/* Sections */
section { padding: 64px 0 }
h2.section-title {
  font-size: clamp(22px, 3vw, 34px); text-align: center;
  margin: 0 0 28px; color: var(--green-900);
}
.subhead { max-width: 780px; margin: 0 auto 28px; text-align: center; color: var(--muted) }

/* Cards */
.grid { display: grid; gap: 18px }
@media (min-width: 640px)  { .grid-cols-2 { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 900px)  { .grid-cols-3 { grid-template-columns: repeat(3, 1fr) } }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; height: 100%;
}
.card h3 { margin: 10px 0 8px; font-size: 1.1rem; color: var(--green-800) }
.card p { margin: 0; color: #4b5563; font-size: .98rem }

/* Icon circle */
.icn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-100); margin: 0 auto 10px;
}
.icn svg { width: 22px; height: 22px; stroke: var(--green-600) }

/* App badge */
.app-badge {
  display: inline-block; background: var(--yellow-400); color: #111827;
  font-size: .75rem; font-weight: 700; padding: .25rem .65rem;
  border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* Store buttons */
.store-btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 28px }
.store-btn {
  display: inline-flex; align-items: center; gap: .65rem;
  background: #111827; color: #fff; padding: .7rem 1.2rem;
  border-radius: 10px; text-decoration: none; font-size: .9rem; font-weight: 500;
  border: 1px solid #374151; transition: background .15s;
}
.store-btn:hover { background: #1f2937 }
.store-btn .store-label small { display: block; font-size: .72rem; opacity: .75; line-height: 1 }
.store-btn .store-label strong { display: block; font-size: .95rem; line-height: 1.2 }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.faq-q {
  width: 100%; text-align: left; padding: 16px 18px; background: #fff;
  border: 0; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--green-900); cursor: pointer; font-size: 1rem;
}
.faq-a {
  padding: 0 18px; max-height: 0; overflow: hidden;
  background: #fafafa; color: #374151; transition: max-height .35s ease;
}
.faq-item.open .faq-a { padding: 12px 18px 16px; max-height: 400px }

/* CTA */
.cta { background: var(--green-800); color: #fff; text-align: center; padding: 56px 1rem }

/* Floating WhatsApp FAB */
.fab {
  position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: #fff; box-shadow: var(--shadow);
  text-decoration: none; z-index: 50; animation: float 2.2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }

/* Footer */
footer {
  background: var(--green-900); color: #fff;
  text-align: center; padding: 28px 1rem;
  font-size: .92rem; border-top: 1px solid #0e3b2e;
}
footer .muted { opacity: .85; margin-top: 4px }
footer .muted a { color: inherit }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .4rem 1rem; margin-top: 12px;
}
.footer-links a { color: #a7f3d0; text-decoration: none; font-size: .82rem }
.footer-links a:hover { color: #fff; text-decoration: underline }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease }
.reveal.visible { opacity: 1; transform: translateY(0) }

/* Legal content */
.legal-content { max-width: 840px; margin: 0 auto; padding: 52px 1rem 80px }
.legal-content h1 { color: var(--green-900); font-size: clamp(24px, 3vw, 36px); margin: 0 0 6px }
.legal-content .last-updated { color: var(--muted); font-size: .88rem; margin-bottom: 40px }
.legal-content h2 { color: var(--green-800); margin: 40px 0 10px; font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 6px }
.legal-content h3 { color: var(--green-900); margin: 24px 0 8px; font-size: 1.05rem }
.legal-content p, .legal-content li { color: #374151; line-height: 1.8 }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; margin: 10px 0 18px }
.legal-content ul li { list-style: disc; margin-bottom: 6px }
.legal-content ol li { list-style: decimal; margin-bottom: 6px }
.legal-content a { color: var(--green-700); text-decoration: underline }
.legal-content .highlight-box {
  background: var(--green-100); border-left: 4px solid var(--green-600);
  padding: 14px 18px; border-radius: 8px; margin: 20px 0; color: #065f46;
}
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0 }
.legal-content th, .legal-content td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); font-size: .95rem }
.legal-content th { background: #f9fafb; color: var(--green-900); font-weight: 600 }

/* App features page */
.features-hero-stat { font-size: 2rem; font-weight: 800; color: var(--yellow-400); line-height: 1 }
.features-hero-stat span { display: block; font-size: .85rem; font-weight: 400; opacity: .85; margin-top: 2px }
.lifecycle-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto }
.lifecycle-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.lifecycle-step:last-child { border-bottom: 0 }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.step-body h4 { margin: 0 0 4px; color: var(--green-900) }
.step-body p { margin: 0; color: var(--muted); font-size: .95rem }
