/* ── DESIGN TOKENS ── */
:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  --primary:       #2d6a4f;
  --primary-mid:   #40916c;
  --primary-light: #52b788;
  --primary-pale:  #74c69d;
  --primary-dark:  #1b4332;

  --amber-400: #fbbf24;
  --amber-100: #fef3c7;

  --text:        #111827;
  --text-2:      #374151;
  --text-muted:  #6b7280;
  --text-faint:  #9ca3af;

  --bg:         #ffffff;
  --bg-light:   #f9fafb;
  --bg-tint:    #f0fdf4;

  --border:     #e5e7eb;
  --border-2:   #d1fae5;

  --container:  1160px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-green: 0 8px 32px rgba(45,106,79,0.25);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--primary-pale);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}
.eyebrow.dark {
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.eyebrow-pip.green { background: var(--primary-light); }
.eyebrow.light .eyebrow-pip { background: var(--primary-pale); }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav.scrolled .logo { color: var(--text); }
.logo-mark { flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-ghost {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav.scrolled .btn-ghost { color: var(--text-muted); }
.nav.scrolled .btn-ghost:hover { background: var(--bg-light); color: var(--text); }

.btn-primary-sm {
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, transform 0.1s;
}
.btn-primary-sm:hover { background: var(--primary-pale); transform: translateY(-1px); }
.nav.scrolled .btn-primary-sm { background: var(--primary); color: #fff; }
.nav.scrolled .btn-primary-sm:hover { background: var(--primary-mid); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.nav.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-link {
  display: block;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mobile-link:hover { background: var(--bg-light); }
.btn-primary-full {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.btn-primary-full:hover { background: var(--primary-mid); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--primary-dark);
  padding: 148px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 1;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text { z-index: 1; }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin: 24px 0 40px;
  line-height: 1.7;
  max-width: 480px;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.25;
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.store-badge .badge-icon { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge .badge-text { display: flex; flex-direction: column; }
.store-badge .badge-text span { font-weight: 400; }
.store-badge .badge-text strong { font-size: 1rem; font-weight: 700; }

.store-badge.apple { background: #000; color: #fff; }
.store-badge.google { background: #1a1a1a; color: #fff; }
.store-badge.web {
  background: transparent;
  color: var(--primary-pale);
  border: 1.5px solid rgba(116,198,157,0.4);
}
.store-badge.web:hover { border-color: var(--primary-pale); background: rgba(116,198,157,0.08); }

/* CTA section badges (same but on dark bg) */
.cta-section .store-badge.web {
  color: var(--primary-pale);
  border-color: rgba(116,198,157,0.5);
}

/* Availability */
.availability {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.flags { display: flex; gap: 6px; font-size: 1.1rem; }

/* ── PHONE MOCKUP ── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.phone-wrap {
  position: relative;
  display: inline-block;
}
.phone {
  position: relative;
  width: 270px;
  background: #0f1117;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-island {
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  margin: 0 auto 10px;
}
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-tint);
  height: 480px;
}
.phone-home-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin: 10px auto 0;
}
.phone-glow {
  position: absolute;
  inset: -20px;
  border-radius: 60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(82,183,136,0.18) 0%, transparent 70%);
  z-index: -1;
}

/* App UI inside phone */
.app-ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-tint);
  padding: 16px 14px 0;
  overflow: hidden;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.app-greeting { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.app-farm-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.app-card {
  padding: 10px 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.app-card.primary { background: var(--primary); }
.app-card.primary .card-value { color: #fff; }
.app-card.primary .card-label { color: rgba(255,255,255,0.75); }
.app-card.amber .card-value { color: #92400e; }
.app-card.amber { background: var(--amber-100); }
.card-value { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1; }
.card-label { display: block; font-size: 0.55rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }

.app-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.app-list { display: flex; flex-direction: column; gap: 8px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 10px;
  box-shadow: var(--shadow-sm);
}
.row-emoji { font-size: 1rem; flex-shrink: 0; }
.row-info { flex: 1; min-width: 0; }
.row-info strong { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text); }
.row-info span { font-size: 0.65rem; color: var(--text-muted); }
.row-time { font-size: 0.6rem; color: var(--text-faint); flex-shrink: 0; }

.app-nav-bar {
  display: flex;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 10px 0 6px;
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
}
.app-nav-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
  color: var(--text-faint);
}
.app-nav-item.active { color: var(--primary); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 4px solid var(--primary-light);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
  text-align: center;
}
.trust-item strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-pale);
  letter-spacing: -0.02em;
}
.trust-item span { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* ── FEATURES ── */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── BREED SECTION ── */
.breed-section {
  padding: 100px 0;
  background: var(--bg-tint);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.breed-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.breed-text h2 { margin-bottom: 16px; }
.breed-text p { color: var(--text-muted); font-size: 1rem; margin-bottom: 28px; line-height: 1.7; }
.breed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.breed-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
  font-weight: 500;
}
.breed-list li svg { color: var(--primary); flex-shrink: 0; }

/* Breed card stack */
.breed-visual { display: flex; justify-content: center; align-items: center; }
.breed-card-stack { position: relative; width: 280px; height: 240px; }
.breed-card {
  position: absolute;
  width: 240px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
}
.bc-back  { top: 0; left: 20px; transform: rotate(-6deg); opacity: 0.5; }
.bc-mid   { top: 20px; left: 10px; transform: rotate(-2deg); opacity: 0.75; }
.bc-front { top: 40px; left: 0; transform: rotate(1deg); z-index: 3; }

.bc-emoji { font-size: 2.2rem; line-height: 1; }
.bc-info strong { display: block; font-size: 1rem; font-weight: 700; }
.bc-info span   { font-size: 0.8rem; color: var(--text-muted); }
.bc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bc-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-100);
  color: var(--primary);
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 100px 0;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 0;
}
.step {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  border: 1px solid var(--border-2);
}
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-200);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  color: var(--primary-light);
  opacity: 0.6;
  width: 50px;
}
.step-arrow svg { width: 40px; height: 24px; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 100px 0;
  background: var(--bg-light);
}
.cta-card {
  position: relative;
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.15) 0%, transparent 65%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; }
.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-content p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.7; }
.eyebrow.light { color: var(--primary-pale); }

/* ── FOOTER ── */
.footer {
  background: #0d1f17;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 240px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; display: inline-flex; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.footer-company { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-company strong { color: rgba(255,255,255,0.45); }

.footer-links { display: flex; gap: 64px; flex: 1; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.25); }
.footer-bottom strong { color: rgba(255,255,255,0.4); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-container { gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .breed-inner { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .availability { justify-content: center; }
  .hero-phone { display: none; }

  .trust-inner { gap: 0; }
  .trust-sep { display: none; }
  .trust-item { padding: 12px 24px; }

  .breed-inner { grid-template-columns: 1fr; }
  .breed-visual { display: none; }

  .steps {
    grid-template-columns: 1fr;
  }
  .step-arrow { display: none; }

  .cta-card { padding: 48px 36px; }

  .footer-inner { gap: 48px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 72px; }
  .features-section,
  .breed-section,
  .how-section,
  .cta-section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.75rem; }

  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }

  .cta-card { padding: 40px 24px; border-radius: var(--radius-lg); }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
