/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --primary:        hsl(142, 69%, 58%);
  --primary-deep:   hsl(142, 71%, 35%);
  --primary-light:  hsl(142, 69%, 58%, 0.15);
  --secondary:      hsl(142, 77%, 73%);
  --accent:         hsl(141, 79%, 85%);
  --foreground:     hsl(0, 0%, 4%);
  --muted-fg:       hsl(143, 64%, 24%);
  --border:         hsl(141, 79%, 85%);
  --glass-white:    hsl(0, 0%, 100%);
  --section-mint:   hsl(141, 84%, 93%);
  --section-peach:  hsl(152, 60%, 90%);
  --section-sky:    hsl(160, 70%, 91%);
  --section-lav:    hsl(138, 55%, 88%);
  --font-heading:   'Nunito', -apple-system, sans-serif;
  --font-body:      'Inter', -apple-system, sans-serif;
  --radius-xl:      1.5rem;
  --radius-2xl:     2rem;
  --shadow-md:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);
  --shadow-2xl:     0 16px 48px rgba(0,0,0,0.16);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--section-mint);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.section-py { padding: 5rem 1.5rem; }
.text-center { text-align: center; }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }

.eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.btn:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--foreground); color: var(--glass-white); }
.btn-green {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--glass-white);
}
.btn-store {
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.btn-store .store-label { font-size: 0.7rem; opacity: 0.75; display: block; line-height: 1; margin-bottom: 0.2rem; }
.btn-store .store-name  { font-size: 1rem; font-weight: 700; line-height: 1; display: block; }

/* ── HEADER ───────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(240, 253, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 0.625rem; }
.logo-img { height: 2.25rem; width: auto; object-fit: contain; }
.logo-name { font-family: var(--font-heading); font-weight: 900; font-size: 1.125rem; color: var(--foreground); }

nav { display: flex; align-items: center; gap: 1.75rem; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.15s;
}
nav a:hover { color: var(--foreground); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--foreground);
  color: var(--glass-white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.04); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--glass-white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav a {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-cta {
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--glass-white);
  font-weight: 700;
  border-bottom: none;
}

@media (max-width: 767px) {
  nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--section-lav) 0%, var(--section-mint) 50%, var(--section-sky) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-1 {
  width: 480px; height: 480px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(74,222,128,0.18) 0%, transparent 70%);
  animation: float1 12s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px;
  bottom: 5%; right: -5%;
  background: radial-gradient(circle, rgba(187,247,208,0.22) 0%, transparent 70%);
  animation: float2 10s ease-in-out infinite 2s;
}
.orb-3 {
  width: 280px; height: 280px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, rgba(134,239,172,0.15) 0%, transparent 70%);
  animation: float1 14s ease-in-out infinite 4s;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, 20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-25px, -30px); }
}

.hero-grid {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text .badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(74,222,128,0.15);
  color: hsl(142, 71%, 35%);
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.social-proof { font-size: 0.875rem; color: var(--muted-fg); }

.hero-image-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(141,235,172,0.3);
}
.hero-image-wrap img { width: 100%; height: auto; display: block; }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* Scale-in animation */
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }
.scale-in:nth-child(1) { transition-delay: 0s; }
.scale-in:nth-child(2) { transition-delay: 0.08s; }
.scale-in:nth-child(3) { transition-delay: 0.16s; }
.scale-in:nth-child(4) { transition-delay: 0.24s; }

/* ── FEATURES ─────────────────────────────────────────────────────────────── */
#features { background: var(--glass-white); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.section-header p { font-size: 1.125rem; color: var(--muted-fg); max-width: 36rem; margin: 0 auto; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(141,235,172,0.5);
  box-shadow: var(--shadow-md);
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.bento-card .emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.bento-card p { color: var(--muted-fg); line-height: 1.65; }

.card-lav   { background: var(--section-lav); }
.card-mint  { background: var(--section-mint); }
.card-peach { background: var(--section-peach); }
.card-sky   { background: var(--section-sky); }

/* ── SCREENSHOTS ──────────────────────────────────────────────────────────── */
#screenshots {
  background: linear-gradient(180deg, var(--section-sky) 0%, var(--section-lav) 100%);
}

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

.screenshot-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid rgba(141,235,172,0.4);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.screenshot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); }

.screenshot-phone-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 2rem 0;
}
.screenshot-phone {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 220px;
  width: 100%;
}
.screenshot-phone img { width: 100%; height: auto; display: block; }

.screenshot-caption { padding: 1.5rem 2rem 2rem; }
.screenshot-caption h3 {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.screenshot-caption p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* ── PRICING ──────────────────────────────────────────────────────────────── */
#pricing {
  background: linear-gradient(180deg, var(--section-lav) 0%, var(--section-sky) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2xl); }
.pricing-card.plain { background: var(--glass-white); }
.pricing-card.popular {
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  border-color: transparent;
}

.popular-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.pricing-card h3 { font-size: 1.125rem; font-weight: 900; margin-bottom: 0.25rem; }
.pricing-card .tier-desc { font-size: 0.875rem; margin-bottom: 1rem; }
.pricing-card.plain h3 { color: var(--foreground); }
.pricing-card.plain .tier-desc { color: var(--muted-fg); }
.pricing-card.popular h3 { color: #fff; }
.pricing-card.popular .tier-desc { color: rgba(255,255,255,0.75); }

.price-row { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.5rem; }
.price-amount { font-size: 2.5rem; font-weight: 900; font-family: var(--font-heading); }
.price-period { font-size: 0.875rem; }
.pricing-card.plain .price-amount { color: var(--foreground); }
.pricing-card.plain .price-period { color: var(--muted-fg); }
.pricing-card.popular .price-amount { color: #fff; }
.pricing-card.popular .price-period { color: rgba(255,255,255,0.7); }

.feature-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.625rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; }
.check-icon { flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; }
.pricing-card.plain .check-icon { color: var(--primary); }
.pricing-card.popular .check-icon { color: rgba(255,255,255,0.9); }
.pricing-card.plain .feature-item span { color: var(--foreground); }
.pricing-card.popular .feature-item span { color: rgba(255,255,255,0.85); }

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
}
.pricing-cta:hover { transform: scale(1.04); opacity: 0.92; }
.pricing-card.plain .pricing-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
}
.pricing-card.popular .pricing-cta {
  background: #fff;
  color: hsl(142, 71%, 35%);
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */
#testimonials { background: var(--glass-white); }

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

.testimonial-card {
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(141,235,172,0.5);
  box-shadow: var(--shadow-md);
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
}
.author-name { font-weight: 700; font-size: 0.875rem; color: var(--foreground); }
.author-role { font-size: 0.75rem; color: var(--muted-fg); }

.card-peach-t { background: var(--section-peach); }
.card-mint-t  { background: var(--section-mint); }
.card-lav-t   { background: var(--section-lav); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
#faq {
  background: linear-gradient(180deg, var(--section-mint) 0%, var(--section-lav) 100%);
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 48rem; margin: 0 auto; }

.faq-item {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--glass-white);
  transition: background 0.2s;
}
.faq-item.open { background: var(--section-lav); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
  font-family: var(--font-body);
}
.faq-question span { font-weight: 600; color: var(--foreground); font-size: 1rem; }

.faq-chevron {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--muted-fg);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer { max-height: 300px; opacity: 1; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--muted-fg); line-height: 1.7; }

/* ── DOWNLOAD CTA ─────────────────────────────────────────────────────────── */
#download {
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem;
  background: linear-gradient(135deg, var(--section-mint) 0%, var(--section-lav) 50%, var(--section-sky) 100%);
  text-align: center;
}
.download-orb-1 {
  position: absolute; top: 0; right: 0;
  width: 16rem; height: 16rem; border-radius: 50%;
  background: rgba(74,222,128,0.12);
  transform: translate(30%, -30%);
  pointer-events: none;
}
.download-orb-2 {
  position: absolute; bottom: 0; left: 0;
  width: 12rem; height: 12rem; border-radius: 50%;
  background: rgba(34,197,94,0.08);
  transform: translate(-30%, 30%);
  pointer-events: none;
}
#download h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}
#download p { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2.5rem; }
.download-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.download-disclaimer { font-size: 0.75rem; color: var(--muted-fg); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--glass-white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo img { height: 2rem; width: auto; object-fit: contain; }
.footer-logo span { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; color: var(--foreground); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.footer-nav a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.15s; }
.footer-nav a:hover { color: var(--foreground); }
.footer-copy { font-size: 0.75rem; color: var(--muted-fg); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-image-wrap { max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
}

@media (max-width: 767px) {
  .bento-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-py { padding: 3.5rem 1.25rem; }
  .hero-grid { padding: 5rem 1.25rem 3.5rem; }
}
