/* =====================================================================
   PlantLogic Systems — light, readable, built for mobile ad traffic
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-deep: #0A1C33;
  --navy: #1B3A6B;
  --navy-600: #284F88;
  --paper: #FFFFFF;
  --paper-2: #F5F8FC;
  --ink: #1B2A3D;
  --muted: #4E5D72;
  --hair: rgba(27, 58, 107, 0.16);
  --orange: #E07B2A;
  --orange-soft: #F2A85B;

  --on-dark: #F2F6FB;
  --on-dark-muted: #C4D2E2;
  --hair-dark: rgba(255, 255, 255, 0.14);

  --maxw: 1040px;
  --gutter: clamp(1.1rem, 4vw, 2rem);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; /* clear the sticky nav */ -webkit-text-size-adjust: 100%; background: var(--navy-deep); }
body {
  margin: 0;
  font-family: var(--font-body);
  /* 18px+ body text, high contrast — the page must read at arm's length on a phone */
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 700; }
p { margin: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.on-paper { background: var(--paper); }
.on-card { background: var(--paper-2); }

.h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: 24ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-top: 0.9rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--hair-dark);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand__chip {
  display: inline-flex; flex-direction: column; align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  padding: 5px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  line-height: 1.1; text-align: center;
}
.brand__line { white-space: nowrap; }
.brand__blue { color: var(--navy); }
.brand__orange { color: var(--orange); }
.brand__grey { color: var(--muted); font-size: 0.8rem; }
/* Logo.png has wide white margins: crop them inside the white chip.
   The negative margins assume the current 1536x1024 artwork; re-tune them if Logo.png changes. */
a.brand__chip { padding: 4px 8px; overflow: hidden; }
.brand__logo { display: block; width: auto; max-width: none; height: 96px; margin: -28px -20px; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
  letter-spacing: -0.01em; line-height: 1; color: #fff;
}
.wordmark span { color: var(--orange); }
.nav .brand > .wordmark {
  display: inline-flex; align-items: center; min-height: 44px; /* touch target */
  padding-left: 0.85rem; border-left: 1px solid var(--hair-dark);
}

.nav__links { display: none; align-items: center; gap: 1.8rem; }
.nav__links a { font-size: 1rem; color: var(--on-dark-muted); font-weight: 500; }
.nav__links a:hover { color: #fff; }
.nav .nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--hair-dark); border-radius: 10px;
  background: transparent; color: #fff;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.25s, opacity 0.2s;
}
.nav__toggle span::before { position: absolute; top: -6px; left: 0; }
.nav__toggle span::after { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem var(--gutter) 1.5rem; }
.nav__mobile.open { display: flex; }
.nav__mobile a { color: #fff; padding: 0.7rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--hair-dark); }
.nav__mobile .btn { margin-top: 1rem; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.1rem; line-height: 1;
  padding: 1.05rem 1.8rem; border-radius: 999px;
  border: 1px solid transparent; transition: transform 0.2s, background 0.2s;
  text-align: center;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px -6px rgba(224,123,42,0.55); }
.btn--primary:hover { background: #cf6e22; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.demo-link { margin-top: 1rem; }
.btn .arr { transition: transform 0.2s; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(40,79,136,0.45), transparent 70%),
    var(--navy-deep);
  color: var(--on-dark);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  text-align: center;
}
.hero__kicker { font-size: 1.05rem; font-weight: 600; color: var(--orange-soft); margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}
.hero h1 .accent { color: var(--orange-soft); }
.hero__sub {
  margin: 1.2rem auto 0;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  color: var(--on-dark-muted);
  max-width: 44ch;
  font-weight: 500;
}
.hero__trust {
  margin-top: 1.3rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem;
  font-size: 1rem; font-weight: 600; color: var(--on-dark-muted);
  list-style: none;
}
.hero__trust span::before { content: "✓ "; color: var(--orange-soft); font-weight: 700; }

/* ---------- Lead form (hero + final CTA) ---------- */
.lead-form {
  max-width: 540px;
  margin: 2rem auto 0;
  text-align: left;
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.45);
}
.lead-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .lead-form__row { grid-template-columns: 1fr 1fr; } }
.lead-form__field label {
  display: block;
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.lead-form__field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--hair);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
}
.lead-form__field input::placeholder { color: #93A1B5; }
.lead-form__field input:focus-visible { outline: none; border-color: var(--orange); }
.lead-form__btn { width: 100%; margin-top: 1.2rem; }
.lead-form__status {
  min-height: 1.5em;
  margin-top: 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.lead-form__status--ok { color: #157A46; }
.lead-form__status--error { color: #B03A2E; }

/* ---------- Story timeline ---------- */
.story { list-style: none; margin: 0; padding: 0; max-width: 760px; margin-inline: auto; }
.story__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding-block: 1.6rem;
  border-bottom: 2px solid var(--paper-2);
  position: relative;
}
.story__item:last-child { border-bottom: none; }
@media (max-width: 540px) {
  .story__item { grid-template-columns: 1fr; text-align: center; }
  .story__art { margin-inline: auto; }
}
.story__art { width: 140px; height: 105px; }
.story__when {
  display: inline-block;
  font-weight: 700; font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 0.3rem;
}
.story__text p { font-size: 1.2rem; line-height: 1.5; }
.story__text em { font-style: normal; font-weight: 700; color: var(--navy); background: #EEF3FA; padding: 0 0.25em; border-radius: 4px; }
.story__item--last .story__text p { font-weight: 600; }

/* ---------- WhatsApp examples ---------- */
.chats { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .chats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.chat {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--hair);
  box-shadow: 0 14px 34px -20px rgba(10,28,51,0.35);
}
.chat svg { width: 100%; height: auto; }

/* ---------- What you get ---------- */
.gets { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .gets { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.get {
  background: #fff;
  border: 2px solid var(--hair);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.get__icon { width: 64px; height: 64px; margin: 0 auto 1.1rem; }
.get h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.get p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Dashboard shot ---------- */
.dash { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.dash img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--hair);
  box-shadow: 0 24px 60px -30px rgba(10,28,51,0.4);
  background: #fff;
}
.dash__caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin-inline: auto; }
.faq__item { border-bottom: 2px solid var(--hair); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left; padding: 1.3rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink);
}
.faq__q .ico { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.25s; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--orange); border-radius: 2px; }
.faq__q .ico::before { width: 14px; height: 2.5px; transform: translate(-50%, -50%); }
.faq__q .ico::after { width: 2.5px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.25s, opacity 0.25s; }
.faq__item.open .faq__q .ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a-inner { padding-bottom: 1.3rem; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(40,79,136,0.5), transparent 70%),
    var(--navy-deep);
  color: var(--on-dark);
  text-align: center;
}
.cta-band .lead { margin-inline: auto; color: var(--on-dark-muted); }
.cta-band__trust {
  margin-top: 1.6rem;
  font-size: 1.1rem; font-weight: 700; color: var(--orange-soft);
  line-height: 1.55;
}
.cta-band__contact { margin-top: 1.4rem; font-size: 1.05rem; color: var(--on-dark-muted); }
.cta-band__contact a { color: #fff; font-weight: 600; border-bottom: 2px solid var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 2.5rem; border-top: 1px solid var(--hair-dark); }
.footer .brand { margin-bottom: 1.2rem; gap: 0.4rem; font-size: 1.05rem; }
.footer__brand a { color: #fff; font-weight: 600; }
.footer__row { display: grid; gap: 0.9rem; justify-items: start; }
.footer__line { font-size: 1.05rem; max-width: 44ch; color: var(--on-dark-muted); }
.footer__mail { color: #fff; font-weight: 600; border-bottom: 2px solid var(--orange); }
.footer__bottom {
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--hair-dark);
  font-size: 0.9rem; color: var(--on-dark-muted);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}