:root {
  --primary: #87c38f;
  --primary-dark: #6b9e6f;
  --primary-light: #b5e3b8;
  --secondary: #e07a5f;
  --secondary-dark: #c5604a;
  --accent: #f2cc8f;
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --text-muted: #95a5a6;
  --radius: 1.25rem;
  --shadow: 0 12px 40px rgba(45, 52, 54, 0.08);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 195, 143, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(135, 195, 143, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(135, 195, 143, 0.45);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 2px solid rgba(135, 195, 143, 0.35);
}

.btn-coral {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.35);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: var(--text);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.store-btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.store-btn.disabled {
  background: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.store-icon-apple {
  width: 1.35rem;
  height: 1.65rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(242, 204, 143, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(135, 195, 143, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(135, 195, 143, 0.15);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}

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

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 32rem;
  margin: 0 0 1.5rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: min(280px, 100%);
  background: var(--card);
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(135, 195, 143, 0.15);
}

.phone-screen {
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--bg) 45%, rgba(242, 204, 143, 0.4) 100%);
  border-radius: 1.5rem;
  padding: 2rem 1.25rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-screen img {
  width: 88px;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.phone-screen h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.phone-screen p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.memory-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 2rem;
}

.memory-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.memory-dots span:nth-child(2) {
  background: var(--secondary);
  opacity: 0.7;
}

.memory-dots span:nth-child(3) {
  background: var(--accent);
  opacity: 1;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.section-header p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(135, 195, 143, 0.12);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.green {
  background: rgba(135, 195, 143, 0.2);
}

.feature-icon.coral {
  background: rgba(224, 122, 95, 0.2);
}

.feature-icon.gold {
  background: rgba(242, 204, 143, 0.35);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Premium band */
.premium-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 16px 48px rgba(107, 158, 111, 0.35);
}

.premium-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.premium-band p {
  margin: 0;
  opacity: 0.95;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  font-size: 0.95rem;
}

.premium-list li::before {
  content: "✓ ";
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.15rem;
  color: var(--text-light);
}

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 0 5rem;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta p {
  color: var(--text-light);
  margin: 0 0 1.5rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .brand {
  color: white;
}

.footer p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: white;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary-dark);
}

.legal-page p,
.legal-page li {
  color: var(--text-light);
}

.legal-page ul {
  padding-left: 1.25rem;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .premium-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .premium-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    padding: 1rem;
    border-bottom: 1px solid rgba(135, 195, 143, 0.2);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav .btn {
    display: none;
  }
}
