:root {
  --green-dark: #0f4a26;
  --green: #1b7a3d;
  --green-light: #eaf6ec;
  --orange: #f5821f;
  --orange-dark: #d96c0f;
  --yellow: #ffc93c;
  --ink: #1c2b22;
  --ink-soft: #4d5c53;
  --bg: #fbfaf6;
  --card-bg: #ffffff;
  --border: #e4e8e0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 74, 38, 0.08);
  --max-width: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scroll-reveal: JS toggles .visible as elements enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

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

a { color: inherit; }

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.98rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 130%; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 130, 31, 0.3);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 12px 28px rgba(245, 130, 31, 0.4); }
.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}
.btn-outline:hover { background: var(--green-light); }
.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-block svg { transition: transform 0.2s var(--ease); }
.btn-block:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--green-dark); }
.nav-cta { margin-left: 8px; padding: 8px 16px; font-size: 0.82rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--bg) 100%);
  padding: 64px 0 60px;
  overflow: hidden;
}
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bg-svg .sun-glow { animation: glow-pulse 6s ease-in-out infinite; transform-origin: 1300px 160px; }
  .hero-bg-svg .wave-back { animation: wave-back 10s ease-in-out infinite; }
  .hero-bg-svg .wave-mid { animation: wave-mid 8s ease-in-out infinite; }
  .hero-bg-svg .wave-front { animation: wave-front 6.5s ease-in-out infinite; }
  .hero-bg-svg .sprig-left { animation: sprig-sway 5s ease-in-out infinite; transform-origin: 120px 560px; }
  .hero-bg-svg .sprig-right { animation: sprig-sway 5.6s ease-in-out infinite; transform-origin: 1480px 520px; animation-delay: -2s; }
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.7; }
}
@keyframes wave-back {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -6px); }
}
@keyframes wave-mid {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, -10px); }
}
@keyframes wave-front {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -14px); }
}
@keyframes sprig-sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}
.hero-blob--1 {
  width: 340px; height: 340px;
  top: -80px; left: -60px;
  background: radial-gradient(circle, var(--yellow), transparent 70%);
  animation-duration: 18s;
}
.hero-blob--2 {
  width: 300px; height: 300px;
  top: 40px; right: -80px;
  background: radial-gradient(circle, var(--orange), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}
.hero-blob--3 {
  width: 260px; height: 260px;
  bottom: -100px; left: 40%;
  background: radial-gradient(circle, var(--green), transparent 70%);
  animation-duration: 20s;
  animation-delay: -3s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-18px, 14px) scale(0.96); }
}
.hero-leaf {
  position: absolute;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: sway 7s ease-in-out infinite;
  transform-origin: top center;
}
.hero-leaf--1 { top: 18%; left: 4%; width: 34px; animation-duration: 6s; }
.hero-leaf--2 { top: 68%; left: 10%; width: 24px; animation-duration: 8s; animation-delay: -2s; }
.hero-leaf--3 { top: 12%; right: 6%; width: 28px; animation-duration: 7s; animation-delay: -4s; }
@keyframes sway {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  33% { transform: translate(4px, -10px) rotate(4deg); }
  66% { transform: translate(-3px, -4px) rotate(10deg); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  color: var(--orange-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }
h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--green-dark);
}
h1 .accent {
  background: linear-gradient(100deg, var(--orange) 0%, var(--yellow) 50%, var(--orange) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: -220% center; }
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { display: flex; justify-content: center; }
.phone-shot {
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(15, 74, 38, 0.18);
  max-width: 300px;
  animation: float-bob 5s ease-in-out infinite;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--green-light); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
  margin: 0 0 44px;
}
.section-title.center { text-align: center; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 74, 38, 0.14);
  border-color: var(--green-light);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.2) rotate(-8deg); }
.feature-card h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 74, 38, 0.14);
}
.audience-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s var(--ease);
}
/* This illustration's satellite marker sits close to the canvas's bottom
   edge, so a center crop clips it; bias the crop toward the bottom instead. */
.audience-card img.obj-pos-bottom { object-position: center 80%; }
.audience-card:hover img { transform: scale(1.06); }
.audience-card h3 { margin: 20px 0 8px; color: var(--green-dark); }
.audience-card p { margin: 0 24px 24px; color: var(--ink-soft); font-size: 0.95rem; }

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.screenshot-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* CTA / Contact */
.section-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #123f21 0%, var(--green-dark) 55%, #0b331b 100%);
  color: #fff;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  pointer-events: none;
  animation: drift 20s ease-in-out infinite;
}
.cta-blob--1 { width: 380px; height: 380px; top: -120px; left: -80px; background: radial-gradient(circle, var(--yellow), transparent 70%); }
.cta-blob--2 { width: 340px; height: 340px; bottom: -140px; right: -80px; background: radial-gradient(circle, var(--orange), transparent 70%); animation-delay: -8s; animation-duration: 24s; }

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.eyebrow-light { color: var(--yellow); }
.cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 14px; }
.cta-copy p { color: #d9e8dd; max-width: 42ch; }

.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
  align-items: flex-start;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-badge svg { flex-shrink: 0; color: var(--yellow); }
.contact-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.contact-form {
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafaf8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 122, 61, 0.14);
}
.form-field { position: relative; }
.form-field .field-icon {
  position: absolute;
  left: 14px;
  top: 40px;
  color: var(--ink-soft);
  pointer-events: none;
  display: flex;
}
.form-field input { padding-left: 38px; }

/* Custom dropdown (replaces native <select> so the open menu matches site styling) */
.dropdown { position: relative; }
.dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fafaf8;
  cursor: pointer;
  text-align: left;
}
.dropdown-trigger:focus,
.dropdown-trigger.open {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.dropdown-caret {
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: transform 0.15s ease;
}
.dropdown-trigger.open .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
  transform-origin: top center;
}
.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dropdown-menu li {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.dropdown-menu li:hover,
.dropdown-menu li.active {
  background: var(--green-light);
  color: var(--green-dark);
}
.dropdown-menu li[aria-selected="true"] { font-weight: 600; color: var(--green-dark); }
.form-note { text-align: center; color: var(--green-dark); font-weight: 600; margin: 14px 0 0; }
.form-note.error { color: #b3261e; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer { padding: 16px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { height: 56px; opacity: 1; }
.footer-inner p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

/* WhatsApp floating action button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.whatsapp-fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Responsive */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-media { order: -1; }
  .feature-grid, .audience-grid, .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  .feature-grid, .audience-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}
