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

:root {
  --primary:         #3A7D44;
  --primary-light:   #5CA96F;
  --primary-muted:   #E8F5EC;
  --background:      #F7FAF8;
  --surface:         #FFFFFF;
  --text-primary:    #1A2E1E;
  --text-secondary:  #6B7F6E;
  --border:          #DDE8DF;
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --shadow-sm:       0 1px 4px rgba(26,46,30,.06);
  --shadow-md:       0 4px 20px rgba(26,46,30,.10);
  --shadow-lg:       0 12px 48px rgba(26,46,30,.14);
  --font:            'Inter', system-ui, sans-serif;
  --max-w:           1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,250,248,.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: 64px;
}

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

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-white { background: #fff; color: var(--primary); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

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

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

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.badge-coming-soon {
  font-size: .8rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Phone mockup */
.hero-visuals {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: flex-end;
}

.phone-mockup {
  width: 200px;
  border-radius: 36px;
  border: 6px solid var(--text-primary);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.phone-mockup.large { width: 220px; }

.phone-screen {
  width: 100%;
  aspect-ratio: 9/19.5;
  background: linear-gradient(160deg, var(--primary-muted) 0%, #c8e6cf 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.phone-screen-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen-icon svg { color: #fff; }

.phone-screen-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  opacity: .7;
}

.phone-screen.phone-screenshot {
  padding: 0;
  background-color: var(--surface);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* ── Section shared ─────────────────────────────────────────── */
section { padding: 96px 0; }

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-header { margin-bottom: 56px; }

/* ── Features ───────────────────────────────────────────────── */
.features { background: var(--surface); }

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

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

/* ── Pricing ────────────────────────────────────────────────── */
.pricing { background: var(--surface); }

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.pricing-currency { font-size: 1.6rem; font-weight: 700; vertical-align: top; }
.pricing-period { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }

.pricing-note {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: .95rem;
  color: var(--text-primary);
  padding-left: 26px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { background: var(--background); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── Download CTA ───────────────────────────────────────────── */
.download {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 96px 0;
}

.download .section-label { color: rgba(255,255,255,.7); }
.download .section-title { color: #fff; }
.download .section-subtitle { color: rgba(255,255,255,.8); margin: 0 auto 40px; }

.download .badge-coming-soon { color: rgba(255,255,255,.6); margin-top: 16px; }

/* ── 404 ────────────────────────────────────────────────────── */
.not-found {
  padding: 140px 0;
  text-align: center;
}

.not-found .hero-eyebrow { margin-bottom: 24px; }

.not-found h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.not-found p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 36px;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact { background: var(--background); text-align: center; }

.contact .section-subtitle { margin: 0 auto 32px; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary-muted);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}

.contact-email:hover { background: #d4edda; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 0;
}

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

.footer-copy {
  font-size: .85rem;
  color: var(--text-secondary);
}

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

.footer-links a {
  font-size: .85rem;
  color: var(--text-secondary);
  transition: color .2s;
}

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

/* ── Legal pages ────────────────────────────────────────────── */
.legal-hero {
  background: var(--primary-muted);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: .95rem;
}

.legal-body {
  padding: 64px 0 96px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  font-size: .97rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Tablet: 700px–900px */
@media (max-width: 900px) {
  /* Shrink phones so they fit in the narrower hero column */
  .phone-mockup { width: 130px; }
  .phone-mockup.large { width: 148px; }

  /* Tighten hero gap on tablet */
  .hero-inner { gap: 32px; }

  /* 2-col features grid */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Center the lone 5th card */
  .features-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin-inline: auto;
  }
}

/* Mobile: ≤700px */
@media (max-width: 700px) {
  /* Reduce section padding from 96px to 64px */
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .download { padding: 64px 0; }

  /* Stack hero, visuals on top */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visuals { order: -1; }

  /* Show all 3 phones on mobile, scaled down and with a tighter gap to fit */
  .hero-visuals { gap: 12px; }
  .phone-mockup { width: 92px; border-radius: 22px; border-width: 4px; }
  .phone-mockup.large { width: 112px; }

  /* Single column features — reset the tablet centering rule */
  .features-grid { grid-template-columns: 1fr; }
  .features-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  /* Hide nav links (no hamburger needed for a simple landing page) */
  .nav-links { display: none; }

  /* Footer stacks */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }

  /* Legal body: container already provides 24px side padding — don't double it */
  .legal-body { padding: 48px 0 72px; }

  /* Contact email: allow long address to wrap on very small screens */
  .contact-email {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    word-break: break-all;
    padding: 12px 20px;
    font-size: .9rem;
  }
}
