/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #1e4d14;
  --green-mid:  #2d6b1f;
  --green-lite: #f0f7ec;
  --accent:     #a3e635;
  --text:       #1a2e12;
  --muted:      #6b7280;
  --border:     #e2e8da;
  --white:      #ffffff;
  --radius:     16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.08s; }
.feature-card:nth-child(5) { transition-delay: 0.16s; }
.feature-card:nth-child(6) { transition-delay: 0.24s; }
.step-item:nth-child(3)    { transition-delay: 0.1s; }
.step-item:nth-child(5)    { transition-delay: 0.2s; }

/* ════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(30, 77, 20, 0.97);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: white; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-nav-login {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.15s;
}
.btn-nav-login:hover { background: rgba(255,255,255,0.1); color: white; }

.btn-nav-plans {
  color: #fde68a;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(251,191,36,0.06));
  border: 1px solid rgba(251,191,36,0.4);
  transition: all 0.18s ease;
}
.btn-nav-plans:hover {
  background: linear-gradient(135deg, rgba(251,191,36,0.28), rgba(251,191,36,0.12));
  border-color: rgba(251,191,36,0.6);
  color: #fff;
}

/* Inline tier tag next to feature card headings */
.feature-card h3 .feat-tier {
  margin-left: 8px;
  font-size: 0.62rem;
  vertical-align: middle;
  padding: 2px 8px;
  font-weight: 700;
}

.btn-nav-map {
  background: var(--accent);
  color: var(--green);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.15s;
}
.btn-nav-map:hover { background: #bef264; transform: translateY(-1px); }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.nav-mobile {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.hidden { display: none; }
.nav-mobile a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: white; }
.nav-mobile .mobile-map-btn {
  margin-top: 8px;
  background: var(--accent);
  color: var(--green);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0d2b07 0%, #1e4d14 45%, #2d6b1f 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(163,230,53,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(0,0,0,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle animated dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 540px;
  padding: 60px 0 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(163,230,53,0.15);
  border: 1px solid rgba(163,230,53,0.35);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--green);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(163,230,53,0.3);
}
.btn-hero-primary:hover {
  background: #bef264;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163,230,53,0.4);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
}
.hero-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}

.stat-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #a3e635;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 3px;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ── Map mockup ── */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 60px 60px 20px;
  position: relative;
  z-index: 2;
}

.map-mockup {
  background: white;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.map-mockup:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }

.mockup-bar {
  background: #f3f4f6;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e5e7eb;
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dot.red    { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green  { background: #22c55e; }
.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 6px;
}

.mockup-map { position: relative; }
.mockup-svg { display: block; width: 100%; }

#heroMap {
  width: 100%;
  height: 240px;
  display: block;
}

.mockup-legend {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ml-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #374151;
}
.ml-dot {
  width: 10px; height: 10px; border-radius: 2px;
}
.ml-dot.easy   { background: #22c55e; }
.ml-dot.medium { background: #f97316; }
.ml-dot.hard   { background: #ef4444; }

/* ════════════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════════════ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 40px;
}
.section-title.left { margin-bottom: 20px; }

/* ════════════════════════════════════════════════
   PLAN COMPARISON STRIP
════════════════════════════════════════════════ */
.plan-compare {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.pc-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 28px;
}

.pc-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  max-width: 740px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding-top: 14px;
}

.pc-th {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px 12px 18px;
  background: #fafdf8;
  border-bottom: 1.5px solid var(--border);
  position: relative;
}
.pc-th-feat { background: transparent; }

.pc-th-silver {
  background: var(--green-lite);
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}
.pc-th-gold {
  background: #f9fafb;
  border-left: 1.5px solid #d1d5db;
}

.pc-g {
  background: #f9fafb;
  border-left: 1.5px solid #d1d5db;
}
.pc-g .pc-yes { color: #9ca3af; }

.pc-pop-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.pc-icon  { font-size: 1.3rem; line-height: 1; }
.pc-name  { font-size: 0.82rem; font-weight: 900; color: var(--text); }
.pc-price { font-size: 1rem; font-weight: 900; color: var(--text); line-height: 1.2; }
.pc-price small { font-size: 0.68rem; font-weight: 500; color: var(--muted); }

.pc-feat {
  padding: 12px 18px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.pc-feat-last { border-bottom: none; }

.pc-cell {
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.pc-cell-last { border-bottom: none; }

.pc-s {
  background: var(--green-lite);
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}

.pc-yes { color: #16a34a; font-size: 0.9rem; }
.pc-no  { color: #9ca3af; font-size: 0.9rem; }

.pc-soon-pill {
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.pc-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pc-cta-free, .pc-cta-paid {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: 10px;
  transition: all 0.18s;
}

.pc-cta-free {
  background: var(--green-lite);
  color: var(--green);
  border: 1.5px solid #c8e6b0;
}
.pc-cta-free:hover { background: #dcfce7; border-color: var(--green); }

.pc-cta-paid {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 14px rgba(30,77,20,0.2);
}
.pc-cta-paid:hover { background: var(--green-mid); transform: translateY(-1px); }

@media (max-width: 600px) {
  .pc-table { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pc-feat  { font-size: 0.76rem; padding: 11px 10px; }
  .pc-cell  { font-size: 0.8rem; padding: 11px 4px; }
  .pc-th    { padding: 18px 6px 14px; }
  .pc-name  { font-size: 0.72rem; }
  .pc-price { font-size: 0.88rem; }
}

/* ════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--white);
}

/* ── Peek Carousel (row 1) ── */
.fcarousel {
  position: relative;
  margin-bottom: 52px;
  overflow: hidden;
  /* reveal side blurred cards */
  padding: 12px 0 20px;
}

.fcarousel-track {
  display: flex;
  align-items: stretch;
  position: relative;
  height: 220px;
  /* JS drives transforms */
}

.fcarousel-slide {
  position: absolute;
  top: 0;
  width: 56%;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition:
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    filter     0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.42s cubic-bezier(0.4, 0, 0.2, 1),
    scale      0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

/* States set by JS */
.fcarousel-slide[data-state="center"] {
  z-index: 3;
  filter: none;
  opacity: 1;
  scale: 1;
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: default;
}
.fcarousel-slide[data-state="left"] {
  z-index: 2;
  filter: blur(3px);
  opacity: 0.55;
  scale: 0.88;
  transform: translateX(calc(-50% - 52%));
  pointer-events: auto;
}
.fcarousel-slide[data-state="right"] {
  z-index: 2;
  filter: blur(3px);
  opacity: 0.55;
  scale: 0.88;
  transform: translateX(calc(-50% + 52%));
  pointer-events: auto;
}
.fcarousel-slide[data-state="hidden-left"] {
  z-index: 1;
  filter: blur(6px);
  opacity: 0;
  scale: 0.75;
  transform: translateX(calc(-50% - 110%));
  pointer-events: none;
}
.fcarousel-slide[data-state="hidden-right"] {
  z-index: 1;
  filter: blur(6px);
  opacity: 0;
  scale: 0.75;
  transform: translateX(calc(-50% + 110%));
  pointer-events: none;
}

.fcard {
  height: 100%;
  box-shadow: 0 8px 32px rgba(30,77,20,0.12);
}

.fcarousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.fcar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.25s;
}
.fcar-dot.active {
  background: var(--green);
  width: 24px;
  border-radius: 4px;
}

/* ── Feature list (row 2) ── */
.feat-list-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.feat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feat-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  transition: background 0.15s;
}
.feat-row:hover { background: #fafdf8; }

.feat-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feat-row-icon.orange { background: #ffedd5; }
.feat-row-icon.purple { background: #ede9fe; }

.feat-row-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.feat-row-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Last item alone → span both columns at full width */
.feat-list .feat-row:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(30,77,20,0.1);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-icon-wrap.green  { background: #dcfce7; }
.feature-icon-wrap.blue   { background: #dbeafe; }
.feature-icon-wrap.orange { background: #ffedd5; }
.feature-icon-wrap.purple { background: #ede9fe; }
.feature-icon-wrap.teal   { background: #ccfbf1; }
.feature-icon-wrap.red    { background: #fee2e2; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--green-lite);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(30,77,20,0.1);
  transform: translateY(-3px);
}

.pricing-popular {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(30,77,20,0.12);
}

.pricing-gold {
  border-color: #f59e0b;
  box-shadow: 0 8px 32px rgba(245,158,11,0.1);
}

.pricing-coming-soon {
  filter: grayscale(0.5);
  opacity: 0.8;
}
.pricing-coming-soon:hover {
  transform: none;
}

.pricing-cs-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 5;
  pointer-events: none;
}
.pricing-cs-icon { font-size: 2.2rem; filter: grayscale(1); }
.pricing-cs-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #374151;
  letter-spacing: -0.02em;
  text-align: center;
}
.pricing-cs-sub {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.gold-badge { background: linear-gradient(135deg, #b45309, #f59e0b); }

.pricing-icon { font-size: 1.8rem; }

.pricing-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
}
.pricing-period {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-bottom: 4px;
}
.pf-item {
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.pf-item::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #dcfce7;
  color: #16a34a;
}
.pf-item.no { color: var(--muted); }
.pf-item.no::before {
  content: '×';
  background: #f3f4f6;
  color: #9ca3af;
}

.pricing-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 10px;
  transition: all 0.18s;
  margin-top: 4px;
}
.cta-free {
  background: var(--green-lite);
  color: var(--green);
  border: 1.5px solid #c8e6b0;
}
.cta-free:hover { background: #dcfce7; border-color: var(--green); }

.cta-silver {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 16px rgba(30,77,20,0.25);
}
.cta-silver:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,77,20,0.3);
}

.cta-gold {
  background: linear-gradient(135deg, #b45309, #f59e0b);
  color: white;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.cta-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

/* Gold "coming soon" — plan shown but not yet purchasable */
.cta-soon {
  background: linear-gradient(135deg, #fffbeb, #fde68a);
  color: #4a2c00;
  border: 1.5px solid #fbbf24;
  cursor: not-allowed;
}

.pricing-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-footnote a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}
.pricing-footnote a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════ */
.howto {
  padding: 100px 0;
  background: var(--green-lite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(30,77,20,0.3);
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.step-item p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  font-weight: 300;
  padding: 0 8px;
  flex-shrink: 0;
}

.howto-cta { margin-top: 8px; }

.btn-howto {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 12px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(30,77,20,0.25);
}
.btn-howto:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,77,20,0.3);
}

/* ════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════ */
.faq {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.22s ease;
  line-height: 1;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-q:hover { color: var(--green); }

.faq-a {
  padding: 0 4px 20px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-a strong { color: var(--text); font-weight: 700; }

@media (max-width: 600px) {
  .faq { padding: 56px 0; }
  .faq-q { font-size: 0.95rem; }
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(30,77,20,0.25);
  letter-spacing: 2px;
}

.about-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.about-line {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
}
.about-line.long   { width: 100%; }
.about-line.medium { width: 75%; }
.about-line.short  { width: 50%; }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.btn-about-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-lite);
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1.5px solid #c8e6b0;
  width: fit-content;
  margin-top: 8px;
  transition: all 0.15s;
}
.btn-about-contact:hover { background: #dcfce7; border-color: var(--green); }

/* ════════════════════════════════════════════════
   TEAM
════════════════════════════════════════════════ */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}
.team-grid .team-card {
  max-width: 480px;
  width: 100%;
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.2s;
}
.team-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(30,77,20,0.1);
  transform: translateY(-3px);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green);
  background: var(--green-lite);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 4px;
}

.about-bottom {
  text-align: center;
}

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d2b07 0%, #1e4d14 100%);
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-badge {
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.contact-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
}

.btn-contact-email {
  display: inline-block;
  background: var(--accent);
  color: var(--green);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 14px;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(163,230,53,0.3);
  letter-spacing: 0.2px;
  margin-top: 4px;
}
.btn-contact-email:hover {
  background: #bef264;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(163,230,53,0.4);
}

.contact-hint {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 18px;
}
.contact-hint a { color: #a3e635; text-decoration: none; }
.contact-hint a:hover { text-decoration: underline; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 8px auto 0;
}
.cf-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.cf-input:focus {
  outline: none;
  border-color: #a3e635;
  background: rgba(255,255,255,0.1);
}
.cf-input::placeholder { color: rgba(255,255,255,0.4); }
textarea.cf-input { resize: vertical; min-height: 100px; }

.btn-contact-submit {
  background: linear-gradient(135deg, #a3e635, #84cc16);
  color: #0d2b07;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163,230,53,0.3);
}
.btn-contact-submit:disabled { opacity: 0.6; cursor: wait; }

.cf-status {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 4px;
  min-height: 18px;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  background: #0d2b07;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-right {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .fcarousel-slide { width: 72%; }
  .feat-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .hero { flex-direction: column; min-height: auto; }
  .hero-content { padding: 100px 24px 40px; max-width: 100%; }
  .hero-visual { padding: 0 24px 60px; }
  .map-mockup { transform: none; max-width: 440px; }
  .map-mockup:hover { transform: none; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { flex-direction: row; justify-content: flex-start; }
  .about-lines { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 480px) {
  .hero-content { padding-bottom: 24px; }
  .hero-visual { padding: 0 16px 40px; }
  .map-mockup { max-width: 100%; transform: none; }
  .map-mockup:hover { transform: none; }
  #heroMap { height: 200px; }
}

@media (max-width: 600px) {
  .fcarousel-slide { width: 82%; }
  .fcarousel-track { height: 240px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stat-sep { display: none; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .section-title { margin-bottom: 20px; }

  /* Reduce massive section padding on mobile */
  .features  { padding: 56px 0; }
  .pricing   { padding: 56px 0; }
  .howto     { padding: 56px 0; }
  .about     { padding: 56px 0; }
  .contact   { padding: 56px 0; }

  /* Hero — tighter on small phones */
  .hero-content { padding: 80px 20px 24px; }
  .hero-visual  { padding: 0 20px 40px; }

  /* Shrink map mockup so it doesn't dominate the screen */
  .map-mockup { max-width: 280px; }

  /* Tighten about section */
  .about-inner { gap: 24px; }

  /* Hero actions — stack on very narrow screens */
  .hero-actions { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-secondary { text-align: center; }
}

/* ── Nav drawer (shared with map) ── */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.22s;
}
.nav-drawer-overlay.hidden { display: none; }
.nav-drawer-overlay.open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(280px, 80vw);
  background: #fff;
  z-index: 1101;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.nav-drawer.hidden { display: none; }
.nav-drawer.open { display: flex; transform: translateX(0); }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  height: calc(60px + env(safe-area-inset-top));
  background: #1e4d14;
  flex-shrink: 0;
}
.nav-drawer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a3e635;
}
.nav-drawer-close {
  background: none;
  border: none;
  color: #bbf7d0;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 6px;
}
.nav-drawer-close:hover { background: rgba(255,255,255,0.15); }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}
.nav-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.12s, color 0.12s;
}
.nav-drawer-item:hover { background: #f0f4ec; color: #1e4d14; }
.nav-drawer-item.active {
  color: #1e4d14;
  font-weight: 700;
  border-left-color: #1e4d14;
  background: #f0f4ec;
}
.nav-drawer-icon { width: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ════════════════════════════════════════════════
   PWA INSTALL BANNER
════════════════════════════════════════════════ */
.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.install-banner:not([hidden]) {
  transform: translateY(0);
}
.install-banner[hidden] {
  display: block !important; /* keep in layout so transition works */
  pointer-events: none;
}

.install-banner-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-banner-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e4d14, #2d6b1f);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3e635;
  flex-shrink: 0;
}

.install-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.install-banner-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a2e12;
  line-height: 1.2;
}
.install-banner-text span {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-banner-cta {
  background: #1e4d14;
  color: #a3e635;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.install-banner-cta:hover { background: #2d6b1f; transform: translateY(-1px); }

.install-banner-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.12s;
}
.install-banner-close:hover { color: #374151; }

/* ════════════════════════════════════════════════
   iOS INSTALL GUIDE MODAL
════════════════════════════════════════════════ */
.ios-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  opacity: 0;
  transition: opacity 0.25s;
}
.ios-modal:not([hidden]) {
  opacity: 1;
}
.ios-modal[hidden] {
  display: none;
}

.ios-modal-box {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 32px 28px 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.ios-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.ios-modal-close:hover { background: #e5e7eb; }

.ios-modal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e4d14, #2d6b1f);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3e635;
  margin-bottom: 20px;
}

.ios-modal-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #1a2e12;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ios-modal-sub {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 28px;
}

.ios-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.ios-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ios-step-num {
  width: 32px;
  height: 32px;
  background: #1e4d14;
  color: #a3e635;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.ios-step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ios-step-body strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2e12;
}
.ios-step-body span {
  font-size: 0.83rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ios-step-highlight {
  display: inline-block;
  background: #f0f7ec;
  color: #1e4d14;
  font-weight: 700;
  font-size: 0.88rem !important;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #c8e6b0;
  margin-top: 2px;
}

.ios-modal-arrow {
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  font-style: italic;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}
