:root {
  --orange: #ff9800;
  --orange-dark: #e65100;
  --green: #2e7d32;
  --green-light: #43a047;
  --green-pale: #e8f5e9;
  --ink: #1a1a2e;
  --muted: #4a5568;
  --bg: #f4f6f8;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
  --shadow-sm: 0 4px 16px rgba(26, 26, 46, 0.06);
  --header-h: 4rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-weight: 800;
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo span.orange {
  color: var(--orange);
}

.logo span.green {
  color: var(--green);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.nav-desktop a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-desktop a:not(.btn):hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
  text-decoration: none;
}

.nav-mobile-only {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile-only {
    display: none;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 152, 0, 0.4);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.16);
  background: #fafafa;
}

.btn-block {
  width: 100%;
}

/* Google Play badge — image-only link, not squashed */
.btn-badge {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-badge:hover {
  transform: translateY(-2px) scale(1.02);
  opacity: 0.95;
  box-shadow: none;
}

.btn-badge img {
  width: auto;
  height: auto;
  max-height: 54px;
  min-height: 40px;
}

.btn-badge--sm img {
  max-height: 40px;
  min-height: 32px;
}

.btn-badge--lg img {
  max-height: 60px;
}

/* Header badge variant */
.nav-desktop .btn-badge img {
  max-height: 38px;
}

/* ── Sticky mobile CTA ── */
.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.sticky-cta .btn {
  flex: 1;
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ── Hero ── */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(165deg, #fff8f0 0%, #f0faf2 50%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-content {
  max-width: 36rem;
}

.hero-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 3.15rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
}

.hero h1 .highlight {
  color: var(--orange);
  display: inline;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-cta .btn-secondary {
  padding: 0.75rem 1.25rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 28rem;
}

@media (min-width: 480px) {
  .hero-trust {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }
}

.hero-trust span {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.4;
}

.hero-trust span::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Phone mock */
.phone-mock {
  background: var(--card);
  border-radius: 32px;
  padding: 0.85rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border: 3px solid #e8eaed;
  width: 100%;
  max-width: min(340px, 88vw);
  margin: 0 auto;
}

.phone-screen {
  background: linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
  border-radius: 22px;
  padding: 1.35rem 1.15rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.mock-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mock-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.mock-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.phone-screen .btn-block {
  margin-top: auto;
  padding: 0.85rem 1rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-content {
    justify-self: start;
  }

  .phone-mock {
    max-width: 360px;
    margin: 0 0 0 auto;
    justify-self: end;
  }
}

/* Anchor scroll offset for sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ── Sections ── */
section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  margin: 0 0 0.85rem;
}

.section-header > p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.0625rem);
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  line-height: 1.65;
}

.section-header .btn,
.section-header .btn-badge {
  margin-top: 0.25rem;
}

.section-cta {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.section-cta > p {
  margin-bottom: 1.25rem;
}

/* ── Steps (Why + How) ── */
.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
}

.step p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 22rem;
  flex: 1;
}

.step .btn {
  margin-top: auto;
  width: 100%;
  max-width: 14rem;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .step {
    height: 100%;
  }
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.14), rgba(46, 125, 50, 0.14));
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.feature-card p strong {
  color: var(--ink);
  font-weight: 700;
}

.feature-card .btn {
  margin-top: auto;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ── Categories ── */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 2.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.pill {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.09);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, background 0.15s;
}

.pill:hover {
  border-color: var(--orange);
  background: #fffaf5;
}

/* ── FAQ ── */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s;
}

.faq-item[open] {
  border-color: rgba(255, 152, 0, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(255, 152, 0, 0.12);
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.faq-item p strong {
  color: var(--ink);
}

/* ── Final CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, #1b5e20 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  margin: 0 auto;
  max-width: 52rem;
  box-shadow: 0 16px 48px rgba(27, 94, 32, 0.25);
}

.cta-banner h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: #fff;
}

.cta-banner p {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  opacity: 0.95;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.65;
}

.cta-banner .btn-badge {
  margin: 0 auto;
}

.cta-banner .btn-badge img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(5.5rem, 8vw, 2.5rem);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .logo span.green {
  color: #81c784;
}

.footer-brand p {
  margin-top: 0.85rem;
  max-width: 20rem;
}

.footer-brand .btn {
  margin-top: 1.1rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.copyright p {
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ── Section backgrounds ── */
.bg-white {
  background: #fff;
}

.bg-soft {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

/* Last section before footer — tighter bottom */
main > section:last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
