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

:root {
  --green-dark:   #1e3d10;
  --green:        #2f6b1a;
  --green-mid:    #4a8f2a;
  --green-light:  #d4edba;
  --green-pale:   #f2f8ec;
  --text:         #1a1a1a;
  --text-muted:   #5a6a52;
  --white:        #ffffff;
  --border:       #dce8d0;
  --radius:       14px;
  --radius-lg:    24px;
  --shadow:       0 4px 24px rgba(30,61,16,.10);
  --shadow-lg:    0 12px 48px rgba(30,61,16,.16);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.nav-logo-img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.btn-nav {
  background: var(--green);
  color: var(--white) !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-weight: 600;
  transition: background .2s;
}
.btn-nav:hover { background: var(--green-dark) !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--green-pale) 0%, var(--white) 60%);
  padding: 80px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--green-dark);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--green-mid); }

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-appstore svg { width: 22px; height: 22px; fill: var(--white); }

.btn-appstore-label { display: flex; flex-direction: column; line-height: 1.1; }
.btn-appstore-label small { font-size: .65rem; font-weight: 400; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }

.hero-note {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Mockup */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-end;
}

.mockup-phone {
  width: 200px;
  height: 390px;
  background: #f5f5f5;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #222;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.mockup-phone.main {
  width: 220px;
  height: 430px;
  z-index: 2;
  transform: translateY(0);
}

.mockup-phone.side {
  opacity: .7;
  transform: translateY(30px) scale(.92);
}

.mockup-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  gap: 8px;
}
.mockup-placeholder .icon { font-size: 2.5rem; opacity: .5; }

/* ── Stats strip ──────────────────────────────────────────────────────────── */
.stats {
  background: var(--green-dark);
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.stat-label {
  font-size: .85rem;
  opacity: .7;
  margin-top: 4px;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding: 88px 0;
  background: var(--white);
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -.02em;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

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

/* ── How it works ─────────────────────────────────────────────────────────── */
.how {
  background: var(--green-pale);
  padding: 88px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 56px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
  margin-top: 6px;
}

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

/* ── Languages ────────────────────────────────────────────────────────────── */
.langs {
  padding: 56px 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.langs p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.lang-flags {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lang-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.lang-flag span:first-child { font-size: 1.6rem; }

/* ── CTA ──────────────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.cta p {
  font-size: 1rem;
  opacity: .75;
  margin-bottom: 36px;
}

.btn-appstore.light {
  background: var(--white);
  color: var(--green-dark);
}
.btn-appstore.light svg { fill: var(--green-dark); }
.btn-appstore.light:hover { background: var(--green-light); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.55);
  padding: 32px 0;
  font-size: .82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── Privacy / Support pages ──────────────────────────────────────────────── */
.page-hero {
  background: var(--green-pale);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.page-hero p { color: var(--text-muted); font-size: .9rem; }

.prose {
  max-width: 720px;
  padding: 56px 24px 80px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 36px 0 10px;
}

.prose p, .prose li {
  color: var(--text-muted);
  font-size: .93rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.prose ul { padding-left: 20px; }
.prose a { color: var(--green); text-decoration: underline; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-box {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}

.contact-box h2 { margin-top: 0; }

.contact-box a.email-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s;
}

.contact-box a.email-btn:hover { background: var(--green-dark); text-decoration: none; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-mockup .side { display: none; }
  .mockup-phone.main { width: 200px; height: 390px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
