/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2E7D32;
  --green-light: #A5D6A7;
  --green-pale: #e8f5e9;
  --cream: #F5F0E8;
  --charcoal: #1A1A1A;
  --gray: #757575;
  --white: #FFFFFF;
  --red: #D32F2F;
  --red-pale: #ffebee;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(46,125,50,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

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

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

.section-sub {
  color: var(--gray);
  font-size: 1.1rem;
  margin-top: 8px;
  margin-bottom: 48px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.3);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all var(--transition);
  text-align: center;
}
.btn-secondary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
  flex-shrink: 0;
}
.nav-logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  background: var(--cream);
  border: none;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background var(--transition);
}
.lang-toggle:hover { background: var(--green-pale); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-menu .btn-primary {
  margin-top: 8px;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  background: var(--cream);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165,214,167,0.35) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: 50px;
  padding: 6px 14px 6px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
.hero-badge img { width: 24px; height: 24px; object-fit: contain; }

.hero-text h1 {
  color: var(--charcoal);
  margin-bottom: 20px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-legal {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
  margin-bottom: 0 !important;
}

/* ===== PHONE MOCKUPS ===== */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 520px;
}

.phone-frame {
  position: relative;
  width: 220px;
  background: var(--charcoal);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.phone-frame--back {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 1;
  transform: rotate(6deg) translateX(30px);
  opacity: 0.7;
  filter: blur(1px);
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 9/19.5;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-frame--small {
  width: 180px;
}
.phone-frame--small .phone-screen {
  border-radius: 20px;
}

.hero-wave,
.wave-sep {
  line-height: 0;
  display: block;
}
.hero-wave svg,
.wave-sep svg {
  width: 100%;
  display: block;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 64px 0 48px;
  background: var(--white);
}

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

.problem-card {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.problem-icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.5; }

.problem-solution {
  text-align: center;
}
.arrow-down {
  display: block;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 12px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.solution-text {
  font-size: 1.15rem;
  color: var(--charcoal);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 80px 0;
  background: var(--cream);
}
.how h2, .how .section-sub { text-align: center; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 64px;
}

.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.step:hover { transform: translateY(-4px); }

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 1.75rem; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.9rem; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--green-light);
  padding-top: 48px;
  flex-shrink: 0;
}

.screens-duo {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: flex-start;
}

.screen-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screen-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 50px;
}
.screen-label--green { background: var(--green-pale); color: var(--green); }
.screen-label--red { background: var(--red-pale); color: var(--red); }
.screen-label span { font-size: 1.1rem; }

/* ===== FEATURES ===== */
.features {
  padding: 80px 0;
  background: var(--white);
}
.features h2, .features .section-sub { text-align: center; }

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

.feature-card {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-card--premium {
  border-color: var(--green-light);
  background: linear-gradient(135deg, var(--green-pale) 0%, #ffffff 60%);
}

.feature-premium-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--green);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ===== PRICING ===== */
.pricing {
  padding: 80px 0;
  background: var(--cream);
}
.pricing h2, .pricing .section-sub { text-align: center; }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid transparent;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card--featured {
  border-color: var(--green);
  box-shadow: 0 16px 48px rgba(46,125,50,0.15);
}

.pricing-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
}
.price-period { color: var(--gray); font-size: 0.9rem; }

.pricing-annual {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--charcoal);
}
.pricing-features li.disabled { color: var(--gray); opacity: 0.5; }

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  text-align: center;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--white);
}
.faq h2 { text-align: center; margin-bottom: 48px; }

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

.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--green-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  gap: 12px;
}
.faq-question:hover { background: #fafafa; }

.faq-icon {
  font-size: 1.25rem;
  color: var(--green);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}
.faq-answer.open {
  max-height: 200px;
}
.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== CTA BOTTOM ===== */
.cta-bottom {
  padding: 80px 0;
  background: var(--green);
  text-align: center;
}
.cta-mascot {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.cta-bottom h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.cta-bottom p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-bottom .hero-stores { justify-content: center; }
.cta-bottom .store-badge img { opacity: 0.95; }
.cta-bottom .store-badge:hover img { opacity: 1; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer .nav-logo { color: var(--white); }
.footer .nav-logo img { border-radius: 8px; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== STORE BUTTONS ===== */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  min-width: 160px;
}
.store-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.store-btn svg { flex-shrink: 0; }
.store-btn div { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn div span { font-size: 0.7rem; opacity: 0.8; font-family: 'Inter', sans-serif; }
.store-btn div strong { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; }
.store-btn--light {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.store-btn--light:hover { background: rgba(255,255,255,0.25); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 40px;
  }
  .hero-text h1 { margin-left: auto; margin-right: auto; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-stores { justify-content: center; }
  .hero-mockup {
    height: 360px;
    order: -1;
  }
  .phone-frame { width: 160px; }
  .phone-frame--back { display: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .screens-duo { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 90px; }
  .screens-duo { flex-direction: column; align-items: center; }
  .phone-frame--small { width: 200px; }
}
