/* ==========================================================================
   Prospectou — Landing page
   Design system reconstructed 1:1 from the original export (emerald theme).
   Tokens: emerald #059669 · ink #141E14 · muted #5A7A5A · border #E6EFE6
   Font: Inter variable (self-hosted, latin).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;            /* variable axis */
  font-display: swap;
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
}

:root {
  /* brand */
  --emerald: #059669;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-500: #16a34a;
  --emerald-400: #22c55e;
  --mint: #c7ebd9;
  --mint-bg: #ecfdf5;

  /* neutrals (green-tinted) */
  --ink: #141e14;          /* headings */
  --body: #3a4a3a;         /* primary body text */
  --muted: #5a7a5a;        /* secondary text */
  --faint: #9db39d;        /* tertiary / captions */
  --border: #e6efe6;
  --border-soft: #eef3ee;
  --surface: #ffffff;
  --surface-soft: #fafcfa;
  --surface-mint: #f3faf6;

  /* shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(20, 30, 20, .04), 0 1px 3px rgba(20, 30, 20, .06);
  --shadow: 0 4px 14px rgba(20, 30, 20, .06), 0 2px 6px rgba(20, 30, 20, .04);
  --shadow-lg: 0 24px 60px -18px rgba(5, 80, 55, .22), 0 8px 24px -12px rgba(20, 30, 20, .12);

  --container: 1160px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

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

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section--soft { background: var(--surface-soft); }
.section--mint { background: linear-gradient(180deg, #fff 0%, var(--mint-bg) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-700);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--emerald); opacity: .55;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { color: var(--ink); letter-spacing: -.03em; line-height: 1.06; font-weight: 800; }
.h-display { font-size: clamp(40px, 5.4vw, 60px); line-height: 1.02; }
.h-section { font-size: clamp(29px, 3.6vw, 44px); line-height: 1.08; }
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); line-height: 1.6; }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; }
.section-head .h-section { margin-top: 14px; }
.section-head .lede { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding-inline: 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 16px -6px rgba(5, 150, 105, .5); }
.btn-primary:hover { background: var(--emerald-700); box-shadow: 0 10px 22px -8px rgba(5, 150, 105, .55); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--mint); background: var(--surface-mint); }
.btn-soft { background: var(--surface-mint); color: var(--emerald-700); border-color: var(--mint); }
.btn-soft:hover { background: var(--mint-bg); }
.btn-sm { height: 40px; padding-inline: 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { font-weight: 800; font-size: 21px; letter-spacing: -.04em; color: var(--ink); }
.brand b { color: var(--emerald); font-weight: 800; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav__links a {
  padding: 8px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-mint); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__login { font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 8px 10px; }
.nav__login:hover { color: var(--emerald-700); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; align-items: center; justify-content: center; margin-left: auto; }
.nav__burger svg { width: 20px; height: 20px; stroke: var(--ink); }

.mobile-menu { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 92px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(5,150,105,.10), transparent 60%),
    radial-gradient(50% 40% at 5% 10%, rgba(34,197,94,.08), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__title { margin-top: 18px; }
.hero__sub { margin-top: 20px; max-width: 540px; font-size: clamp(16px, 1.5vw, 19px); }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; border: 2.5px solid #fff; margin-left: -10px;
  box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.hero__proof p { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hero__proof b { color: var(--ink); font-weight: 700; }

/* ---------- logos band ---------- */
.logos { margin-top: clamp(40px, 6vw, 64px); }
.logos__label { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--faint); }
.logos__row { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 5vw, 52px); }
.logos__row span { font-weight: 800; letter-spacing: -.02em; font-size: clamp(15px, 1.6vw, 19px); color: #aebfae; transition: color .2s ease; }
.logos__row span:hover { color: var(--muted); }

/* ==========================================================================
   SCREENSHOT FRAME (placeholder → real prints in phase 2)
   ========================================================================== */
.shot {
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.shot__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border-soft); background: var(--surface-soft); }
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dbe6db; }
.shot__dots i:nth-child(1){ background:#f7b7b0; } .shot__dots i:nth-child(2){ background:#f7dca8; } .shot__dots i:nth-child(3){ background:#bfe8cf; }
.shot__url { margin-left: 8px; flex: 1; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; padding-inline: 10px; font-size: 12px; color: var(--faint); font-weight: 500; }
.shot__url svg { width: 12px; height: 12px; margin-right: 6px; stroke: var(--emerald); }
.shot__body { aspect-ratio: 16 / 10.4; background:
    linear-gradient(135deg, #f6faf7 0%, #eef6f1 100%);
  display: grid; place-items: center; position: relative; }
.shot__body img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot__ph { text-align: center; color: var(--faint); padding: 24px; }
.shot__ph svg { width: 34px; height: 34px; stroke: var(--mint); margin: 0 auto 10px; }
.shot__ph b { display: block; color: var(--muted); font-weight: 700; font-size: 14px; }
.shot__ph small { font-size: 12px; }
.shot--tilt { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg); }

/* ==========================================================================
   FEATURE GRID (S2) — carousel on mobile, grid on desktop
   ========================================================================== */
.features { margin-top: clamp(36px, 4vw, 52px); }
.features__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.fcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px 20px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint); }
.fcard__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-bg); display: grid; place-items: center; margin-bottom: 16px; }
.fcard__icon svg { width: 22px; height: 22px; stroke: var(--emerald-700); fill: none; }
.fcard h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.fcard p { margin-top: 7px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.carousel-dots { display: none; }
.carousel-hint { display: none; }

/* ==========================================================================
   DEEP-DIVE FEATURE SECTIONS (S3–S9)
   ========================================================================== */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.deep + .deep { margin-top: clamp(64px, 9vw, 116px); }
.deep--rev .deep__media { order: -1; }
.deep__eyebrow { color: var(--emerald-700); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.deep__title { margin-top: 12px; }
.deep__text { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 520px; }
.deep__bullets { margin-top: 24px; display: grid; gap: 16px; }
.bullet { display: flex; gap: 13px; }
.bullet__ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--mint-bg); display: grid; place-items: center; margin-top: 1px; }
.bullet__ic svg { width: 15px; height: 15px; stroke: var(--emerald); }
.bullet h4 { font-size: 15px; font-weight: 700; color: var(--ink); }
.bullet p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pills { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface-mint); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--emerald-700); }
.pill svg { width: 14px; height: 14px; stroke: var(--emerald); }

/* ==========================================================================
   STATS BAND (S10)
   ========================================================================== */
.stats { background: var(--emerald); color: #fff; border-radius: var(--radius-xl); padding: clamp(34px, 5vw, 52px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: #d6f3e6; line-height: 1.4; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }

/* ==========================================================================
   TESTIMONIALS (S11)
   ========================================================================== */
.tcards { margin-top: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }
.tcard blockquote { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--body); flex: 1; }
.tcard__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard__who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-bg); border: 1px dashed var(--mint); display: grid; place-items: center; color: var(--emerald); }
.tcard__who b { font-size: 14px; color: var(--ink); display: block; }
.tcard__who span { font-size: 12.5px; color: var(--faint); }

/* ==========================================================================
   PRICING (S12)
   ========================================================================== */
.plans { margin-top: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; position: relative; }
.plan--featured { border-color: var(--emerald); box-shadow: 0 18px 44px -18px rgba(5,150,105,.32); }
.plan__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--emerald); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan__desc { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 40px; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__price span { font-size: 13px; color: var(--faint); }
.plan .btn { margin-top: 18px; }
.plan__list { margin-top: 22px; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; font-size: 14px; color: var(--body); }
.plan__list li svg { flex: 0 0 17px; width: 17px; height: 17px; stroke: var(--emerald); margin-top: 2px; }
.plan__list li.strong { font-weight: 700; color: var(--ink); }

/* ==========================================================================
   FAQ (S13)
   ========================================================================== */
.faq { max-width: 760px; margin-inline: auto; margin-top: clamp(34px, 4vw, 48px); display: grid; gap: 12px; }
.qa { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; font-weight: 700; font-size: 15.5px; color: var(--ink); background: none; border: 0; }
.qa__q svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: var(--emerald); transition: transform .25s ease; }
.qa.is-open .qa__q svg { transform: rotate(45deg); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa__a p { padding: 0 20px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   FINAL CTA + CONTACT (S14)
   ========================================================================== */
.cta { background: linear-gradient(160deg, var(--ink) 0%, #0d2c1d 55%, #073d28 100%); color: #fff; border-radius: var(--radius-xl); padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta__title { color: #fff; }
.cta__sub { margin-top: 16px; color: #bfe0cf; font-size: 16px; max-width: 460px; }
.cta__list { margin-top: 24px; display: grid; gap: 13px; }
.cta__list li { display: flex; gap: 11px; align-items: center; font-size: 15px; color: #e6f5ec; }
.cta__list svg { width: 20px; height: 20px; stroke: var(--emerald-400); flex: 0 0 20px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 19px; }
.form-card > p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.field { margin-top: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--body); margin-bottom: 6px; }
.field label .req { color: var(--emerald); }
.field input, .field select {
  width: 100%; height: 44px; padding-inline: 13px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-soft); font-size: 14.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--emerald); background: #fff; box-shadow: 0 0 0 3px rgba(5,150,105,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { margin-top: 18px; }
.form-note { margin-top: 12px; font-size: 11.5px; color: var(--faint); text-align: center; line-height: 1.5; }
.form-success { text-align: center; padding: 24px 8px; display: none; }
.form-success.is-on { display: block; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--mint-bg); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 30px; height: 30px; stroke: var(--emerald); }
.form-success h3 { font-size: 20px; }
.form-success p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.form-success .btn { margin-top: 20px; }
.form.is-hidden { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #c7d6c7; padding-block: clamp(48px, 6vw, 72px) 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { color: #fff; font-size: 22px; }
.footer__brand .brand b { color: var(--emerald-400); }
.footer__brand p { margin-top: 14px; font-size: 14px; color: #9db39d; max-width: 300px; line-height: 1.6; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: #9db39d; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { margin-top: clamp(36px, 5vw, 52px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.footer__legal { font-size: 12.5px; color: #7e947e; line-height: 1.6; }
.footer__legal b { color: #9db39d; font-weight: 600; }
.footer__copy { font-size: 12.5px; color: #7e947e; }

/* ==========================================================================
   REVEAL ANIMATION (progressive enhancement)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .shot--tilt { transform: none; }
  .deep, .cta { grid-template-columns: 1fr; }
  .deep--rev .deep__media { order: 0; }
  .deep__media { max-width: 600px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: var(--nav-h) 0 auto; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 16px 22px 22px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 49; }
  .mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 12px 4px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border-soft); }
  .mobile-menu .btn { margin-top: 14px; }

  /* ---- S2 becomes a swipe carousel ---- */
  .features { margin-inline: -22px; }
  .features__track {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding: 6px 22px 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .features__track::-webkit-scrollbar { display: none; }
  .fcard { scroll-snap-align: center; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--mint); padding: 0; transition: width .2s, background .2s; }
  .carousel-dots button.is-active { width: 22px; border-radius: 999px; background: var(--emerald); }
  .carousel-hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; font-size: 12.5px; color: var(--faint); font-weight: 500; }
  .carousel-hint svg { width: 15px; height: 15px; stroke: var(--faint); }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
  .stat:nth-child(odd) { border-left: 0; }

  .tcards, .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero__cta .btn { flex: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}
