/* ============================================================
   GROWMATE LANDING PAGE — STYLES
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --ink: #14221b;
  --ink-soft: #2c3e35;
  --muted: #607067;
  --paper: #f7f8f1;
  --card: #ffffff;
  --forest: #16271f;
  --forest-deep: #0d1a12;
  --moss: #bfea55;
  --moss-dark: #91b43d;
  --sky: #9de0f4;
  --mint: #caead2;
  --sun: #ffd36b;
  --coral: #ff9b72;
  --line: rgba(31, 55, 43, 0.12);
  --line-dark: rgba(31, 55, 43, 0.22);
  --shadow-sm: 0 2px 12px rgba(20, 34, 27, 0.08);
  --shadow-md: 0 8px 32px rgba(20, 34, 27, 0.12);
  --shadow-lg: 0 24px 64px rgba(20, 34, 27, 0.16);
  --shadow-phone: 0 32px 80px rgba(0, 0, 0, 0.48), 0 8px 24px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

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

/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-size: clamp(4.5rem, 10vw, 7.8rem);
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: #ffffff;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow, .section-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.body-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.7;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 54px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--forest-deep);
  font-size: 1rem;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(191, 234, 85, 0.35);
}

.cta-primary:hover, .cta-primary:focus-visible {
  transform: translateY(-2px);
  background: #d4ff6b;
  box-shadow: 0 8px 32px rgba(191, 234, 85, 0.5);
}

.cta-primary:active { transform: translateY(0); }

.cta-primary.cta-xl {
  height: 62px;
  padding: 0 36px;
  font-size: 1.1rem;
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
  transition: border-color var(--transition), background var(--transition);
  margin-top: 8px;
}

.cta-outline:hover { border-color: var(--moss-dark); background: rgba(191,234,85,0.08); }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(22, 39, 31, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(191, 234, 85, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-weight: 950;
  font-size: 1.05rem;
}

.brand img { width: 38px; height: 38px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a { transition: color var(--transition); }
.nav-links a:hover { color: #ffffff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(255,255,255,0.18); }
.hamburger:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

.hamburger span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: rgba(13, 26, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(191,234,85,0.12);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 750;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.mobile-nav a:hover { background: rgba(255,255,255,0.08); color: #ffffff; }

.mobile-nav .mobile-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  margin-top: 8px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--forest-deep);
  font-weight: 900;
  font-size: 1rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--forest-deep);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition);
}

.nav-cta:hover { transform: translateY(-1px); background: #d4ff6b; }
.nav-cta:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--forest-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(13, 26, 18, 0.97) 0%, rgba(22, 39, 31, 0.88) 50%, rgba(13, 26, 18, 0.82) 100%),
    url('/plants/monstera-real.jpg') center center / cover no-repeat;
  filter: saturate(0.75) brightness(1);
  transform: scale(1.04);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 25vh;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 100px 0 120px;
}

/* ensure lead text hits 16px minimum */
.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-statement {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lead {
  margin-top: 20px;
  max-width: 520px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 600;
  line-height: 1.65;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 750;
}

.hero-chip-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 25vh;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

/* ── Phone mockups (hero) ─────────────────────────────────── */
.hero-phones {
  position: relative;
  height: 580px;
  perspective: 1200px;
}

.phone-wrap {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.phone-wrap.phone-center { animation-delay: 0s; }
.phone-wrap.phone-back { animation-delay: -2s; }
.phone-wrap.phone-side { animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone {
  position: relative;
  overflow: hidden;
  border: 10px solid #1a2d22;
  border-radius: 36px;
  background: #1a2d22;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 68px;
  height: 14px;
  background: #1a2d22;
  border-radius: var(--radius-pill);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-center {
  right: 70px;
  top: 0;
  z-index: 3;
}

.phone-center .phone {
  width: 248px;
  height: 512px;
  box-shadow: var(--shadow-phone);
}

.phone-primary {
  border-color: #2a4030;
}

.phone-back {
  left: 0;
  top: 80px;
  z-index: 1;
  transform: rotate(-6deg);
}

.phone-back .phone {
  width: 210px;
  height: 432px;
  opacity: 0.8;
  box-shadow: var(--shadow-phone);
}

.phone-side {
  right: 0;
  top: 120px;
  z-index: 2;
  transform: rotate(5deg);
}

.phone-side .phone {
  width: 200px;
  height: 412px;
  opacity: 0.85;
  box-shadow: var(--shadow-phone);
}

/* ── FEATURE STRIP ────────────────────────────────────────── */
.feature-strip {
  padding: 0 0 4px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.strip-scroll {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  overflow-x: auto;
  gap: 0;
  padding: 28px 0;
  scrollbar-width: none;
}

.strip-scroll::-webkit-scrollbar { display: none; }

.strip-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 0 32px;
}

.strip-chip:first-child { padding-left: 0; }
.strip-chip:last-child { padding-right: 0; }

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.chip-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-icon.moss { background: rgba(191, 234, 85, 0.25); }
.chip-icon.sky  { background: rgba(157, 224, 244, 0.25); }
.chip-icon.coral{ background: rgba(255, 155, 114, 0.25); }
.chip-icon.sun  { background: rgba(255, 211, 107, 0.25); }
.chip-icon.mint { background: rgba(202, 234, 210, 0.4); }

.chip-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2;
}

.chip-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── LEAFY AI PLAYGROUND ──────────────────────────────────── */
.playground-section {
  padding: 96px 0;
}

.playground-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.playground-copy .section-label { color: var(--moss-dark); }

.playground-copy h2 {
  margin-bottom: 18px;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.feat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Demo widget */
.playground-demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.demo-plants {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.demo-plant {
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity var(--transition);
  border-right: 1px solid var(--line);
}

.demo-plant:last-child { border-right: none; }
.demo-plant.active { opacity: 1; }
.demo-plant:hover { opacity: 0.9; }
.demo-plant:focus-visible { outline: 2px solid var(--moss-dark); outline-offset: -2px; }

.demo-plant img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-stage {
  padding: 24px;
}

.demo-image-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0d1a12;
  margin-bottom: 16px;
}

.demo-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scan overlay */
.scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms;
}

.scan-overlay.active { opacity: 1; }

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--moss), transparent);
  box-shadow: 0 0 12px var(--moss), 0 0 24px rgba(191,234,85,0.4);
  top: 0;
  transform: translateY(0);
}

.scan-line.scanning {
  animation: scanDown 1.4s cubic-bezier(0.4,0,0.6,1) forwards;
}

@keyframes scanDown {
  0%   { top: 0%; opacity: 1; }
  85%  { top: 95%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Scan corners */
.scan-corners { position: absolute; inset: 0; }

.sc {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--moss);
  border-style: solid;
}

.sc.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.sc.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.sc.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.sc.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

/* Scan button */
.scan-idle {
  display: flex;
  justify-content: center;
}

.scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
  transition: background var(--transition), transform var(--transition);
}

.scan-btn:hover { background: var(--ink); transform: translateY(-1px); }
.scan-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

/* Scan result */
.scan-result {
  animation: fadeUp 400ms ease both;
}

.scan-result[hidden] { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(191, 234, 85, 0.2);
  color: var(--moss-dark);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}

.result-badge.warn {
  background: rgba(255, 211, 107, 0.2);
  color: #8a6400;
}

.result-name {
  font-size: 1.18rem;
  font-weight: 950;
  color: var(--ink);
  font-style: italic;
}

.result-common {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 650;
  margin-top: 2px;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.result-tags span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--ink-soft);
}

.result-tip {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 14px;
}

.result-reset {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--muted);
  transition: color var(--transition);
}

.result-reset:hover { color: var(--forest); }

/* ── TWO-PATHWAY SPLIT ────────────────────────────────────── */
.pathways-section {
  background: var(--forest);
  padding: 96px 0;
}

.pathways-header {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  margin-bottom: 52px;
  text-align: center;
}

.pathways-header h2 { color: #ffffff; }
.pathways-header .section-label { color: var(--sky); }

.pathways-grid {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pathway {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: default;
}

.pathway:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }

.pathway.gardener-path:hover, .pathway.gardener-path:focus-within {
  border-color: rgba(191,234,85,0.3);
  background: rgba(191,234,85,0.05);
  box-shadow: 0 0 60px rgba(191,234,85,0.1), inset 0 0 60px rgba(191,234,85,0.03);
}

.pathway.seller-path:hover, .pathway.seller-path:focus-within {
  border-color: rgba(157,224,244,0.3);
  background: rgba(157,224,244,0.05);
  box-shadow: 0 0 60px rgba(157,224,244,0.1), inset 0 0 60px rgba(157,224,244,0.03);
}

/* Pathway phone */
.pw-phone {
  display: flex;
  justify-content: center;
}

.pw-phone-frame {
  position: relative;
  width: 180px;
  height: 370px;
  border: 8px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  overflow: hidden;
  background: #0d1a12;
  box-shadow: 0 24px 56px rgba(0,0,0,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pw-phone-frame .phone-notch {
  background: rgba(255,255,255,0.12);
}

.pathway:hover .pw-phone-frame {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 32px 72px rgba(0,0,0,0.6);
}

.pw-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pathway copy */
.pw-copy { color: rgba(255,255,255,0.85); }

.pw-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.pw-tag svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moss-tag { background: rgba(191,234,85,0.18); color: var(--moss); }
.sky-tag  { background: rgba(157,224,244,0.18); color: var(--sky); }

.media-skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.media-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.2) 45%, transparent 80%),
    linear-gradient(120deg, rgba(191,234,85,0.08), rgba(157,224,244,0.08));
  transform: translateX(-100%);
  animation: skeletonSweep 1.15s ease-in-out infinite;
}

.media-skeleton img {
  opacity: 0;
}

.media-loaded::after {
  animation: none;
  opacity: 0;
}

.media-loaded img {
  opacity: 1;
  transition: opacity 260ms ease;
}

@keyframes skeletonSweep {
  to { transform: translateX(100%); }
}

.pw-copy h3 {
  color: #ffffff;
  margin-bottom: 18px;
}

.pw-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pw-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.pw-list li::before {
  content: '✓';
  color: var(--moss);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pw-copy .cta-outline {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
}

.pw-copy .cta-outline:hover {
  border-color: var(--moss);
  color: var(--moss);
  background: transparent;
}

/* ── SOCIAL PROOF ─────────────────────────────────────────── */
.social-section { padding: 96px 0; }

.social-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.social-inner .section-label { color: var(--moss-dark); }
.social-inner h2 { margin-bottom: 48px; }

.cards-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.cards-track {
  display: flex;
  gap: 24px;
  transition: transform 380ms cubic-bezier(0.4,0,0.2,1);
}

.proof-card {
  min-width: calc(100% / 3 - 16px);
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.card-meta strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--ink);
}

.card-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
  margin-top: 2px;
}

.card-stars {
  color: var(--sun);
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-top: 4px;
}

blockquote {
  font-size: 0.97rem;
  font-weight: 650;
  color: var(--ink-soft);
  line-height: 1.65;
  quotes: none;
  flex: 1;
}

.card-plant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card-plant img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-plant span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

/* Swiper dots */
.card-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-dark);
  transition: width var(--transition), background var(--transition), border-radius var(--transition);
}

.dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--forest);
}

/* ── LIVE STATS ───────────────────────────────────────────── */
.stats-section {
  background: var(--forest-deep);
  padding: 80px 0;
}

.stats-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  padding: 24px 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 950;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-div {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── FINAL CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: var(--forest);
  padding: 112px 24px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(191,234,85,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(157,224,244,0.06) 0%, transparent 70%);
}

.cta-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.leaf {
  position: absolute;
  width: clamp(20px, 4vw, 42px);
  height: clamp(34px, 6vw, 68px);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(191,234,85,0.28), rgba(157,224,244,0.16));
  opacity: 0.45;
  animation: drift 12s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.leaf::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 12%;
  width: 1px;
  background: rgba(255,255,255,0.26);
  transform: rotate(18deg);
}

.l1 { top: 10%; left: 5%;  animation-delay: 0s; }
.l2 { top: 60%; left: 10%; animation-delay: -3s; }
.l3 { top: 20%; right: 8%; animation-delay: -6s; }
.l4 { top: 70%; right: 5%; animation-delay: -2s; }
.l5 { top: 45%; left: 50%; animation-delay: -8s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%  { transform: translateY(-18px) rotate(8deg); }
  66%  { transform: translateY(10px) rotate(-5deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-content h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-body {
  color: rgba(255,255,255,0.65);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-sub {
  margin-top: 14px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 650;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 1rem;
  color: var(--ink);
}

.footer-brand img { width: 32px; height: 32px; object-fit: contain; }

.footer-text {
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.footer-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color var(--transition);
}

.footer-link:hover { color: var(--forest); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 88px;
    padding-bottom: 60px;
    text-align: center;
    align-items: start;
  }

  .hero-copy { align-items: center; }
  .hero-chips { justify-content: center; }
  .hero-actions { justify-content: center; }
  .lead { max-width: 580px; }

  .hero-phones {
    order: -1;
    height: 460px;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }

  .phone-center { right: 60px; top: 0; }
  .phone-center .phone { width: 220px; height: 452px; }
  .phone-back .phone { width: 185px; height: 380px; }
  .phone-side .phone { width: 176px; height: 362px; }

  .playground-inner { grid-template-columns: 1fr; gap: 48px; }
  .pathways-grid { grid-template-columns: 1fr; gap: 24px; }

  .pathway { flex-direction: row; gap: 32px; }
  .pw-phone { justify-content: flex-start; flex-shrink: 0; }
  .pw-phone-frame { width: 140px; height: 288px; }
}

@media (max-width: 768px) {

  .hero-phones { height: 400px; max-width: 420px; }
  .phone-center .phone { width: 190px; height: 392px; }
  .phone-back .phone { width: 160px; height: 328px; }
  .phone-side .phone { width: 154px; height: 316px; }
  .phone-back { top: 60px; }
  .phone-side { top: 90px; }

  .proof-card { min-width: calc(100% - 0px); }

  .pathway { flex-direction: column; }
  .pw-phone { justify-content: center; }

  .stats-grid { flex-direction: column; }
  .stat-div { width: 80px; height: 1px; }

  .footer { flex-direction: column; text-align: center; }
  .footer-text { text-align: center; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }

  h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }

  /* Full-width CTAs on small screens */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-primary { width: 100%; justify-content: center; }
  .hero-note { text-align: center; }

  /* Reduce hero padding so headline hits the fold */
  .hero-inner { padding-top: 80px; padding-bottom: 40px; gap: 28px; }

  .hero-phones { height: 340px; }
  .phone-center .phone { width: 164px; height: 338px; }
  .phone-back .phone { width: 138px; height: 284px; }
  .phone-side .phone { width: 132px; height: 272px; }

  .strip-chip { padding: 0 20px; }

  .cta-primary { width: 100%; justify-content: center; }
  .cta-primary.cta-xl { width: auto; }

  .demo-plants { grid-template-columns: repeat(4, 1fr); }
}
