/* Leadymap : site vitrine
   Reprend le langage visuel de l'app LeadMap : lavande, pastels, violet, flat.
   Échelle marketing (plus grande que l'app).
*/

:root {
  /* Surfaces */
  --bg:          #EFEEF3;
  --bg-elev:     #F7F6FA;
  --surface:     #FFFFFF;
  --surface-2:   #FAFAFC;

  /* Ink */
  --ink:         #14141C;
  --ink-soft:    #585869;
  --ink-mute:    #97979F;
  --ink-faint:   #C7C7CE;

  /* Lines */
  --line:        rgba(20, 20, 28, 0.08);
  --line-soft:   rgba(20, 20, 28, 0.05);
  --line-strong: rgba(20, 20, 28, 0.14);

  /* Accents */
  --accent:      #14141C;
  --accent-hov:  #2A2A36;
  --purple:      #6C5DD3;
  --purple-hov:  #5A4CC5;
  --purple-soft: #ECE9F8;

  /* Pastels */
  --pastel-lavender: #ECE6FA;  --pastel-lavender-ink: #6F5BD0;
  --pastel-mint:     #DEEFE0;  --pastel-mint-ink:     #3F8F58;
  --pastel-pink:     #F5DDDD;  --pastel-pink-ink:     #B95F66;
  --pastel-sky:      #DCE7F1;  --pastel-sky-ink:      #4D7AA1;
  --pastel-peach:    #F4E3D2;  --pastel-peach-ink:    #A8723E;
  --pastel-gray:     #ECECF1;  --pastel-gray-ink:     #6D6D7B;

  /* Radii */
  --r-pill: 999px;
  --r-card: 18px;
  --r-lg:   24px;
  --r-md:   12px;
  --r-sm:   9px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 20, 28, 0.04);
  --shadow:    0 2px 8px rgba(20, 20, 28, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(20, 20, 28, 0.14);
  --shadow-lg: 0 40px 80px -32px rgba(20, 20, 28, 0.28), 0 12px 32px -16px rgba(20, 20, 28, 0.12);

  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  /* faint pastel washes — `background-attachment: fixed` retiré : il forçait un
     repaint plein écran à chaque frame de scroll (très coûteux). */
  background-image:
    radial-gradient(900px 600px at 88% -8%, rgba(108, 93, 211, 0.10), transparent 60%),
    radial-gradient(720px 520px at 4% 8%, rgba(212, 226, 241, 0.5), transparent 55%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ─── Type ─── */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.eyebrow.plain { background: transparent; padding: 0; color: var(--ink-mute); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }

.h1 { font-size: clamp(34px, 5.2vw, 60px); }
.h2 { font-size: clamp(27px, 3.6vw, 40px); }
.h3 { font-size: clamp(19px, 2.2vw, 23px); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); line-height: 1.62; }
.accent-word { color: var(--purple); }
.muted { color: var(--ink-mute); }
.soft  { color: var(--ink-soft); }

section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .h2 { margin: 16px 0 14px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--ink);
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-hov); box-shadow: var(--shadow-md); }
.btn-primary .arrow { transition: transform 0.18s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-purple { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: var(--shadow); }
.btn-purple:hover { background: var(--purple-hov); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-elev); border-color: var(--ink-faint); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Fond quasi opaque au lieu d'un backdrop-filter (recalcul du flou à chaque
     frame de scroll, sur tout le contenu sous le header sticky). */
  background: rgba(239, 238, 243, 0.94);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand-logo { height: 24px; width: auto; display: block; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, #8273E0, #14141C);
  display: grid; place-items: center; color: #fff;
  position: relative; overflow: hidden;
}
.brand .logo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 52%, rgba(198, 255, 188, 0) 52%);
}
.brand .logo svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .login { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 4px; }
.header-cta .login:hover { color: var(--ink); }
.burger { display: none; }

/* ─── Hero ─── */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero h1 { margin: 20px 0 20px; }
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--pastel-mint-ink); }

/* Hero mockup (browser window with mini app) */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.4s var(--ease, ease);
}
.hero-grid:hover .mock { transform: perspective(1600px) rotateY(-5deg) rotateX(1.5deg); }
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar .dot.r { background: #E8AEB2; }
.mock-bar .dot.y { background: #E8D08A; }
.mock-bar .dot.g { background: #9DC8AC; }
.mock-bar .url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 6px;
  background: var(--bg-elev); font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-mute); display: flex; align-items: center; padding: 0 10px;
}
.mock-body { padding: 16px; }

/* mini stat tiles inside mockup */
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mini-tile { border-radius: 12px; padding: 11px 12px; }
.mini-tile.lav { background: var(--pastel-lavender); }
.mini-tile.mint { background: var(--pastel-mint); }
.mini-tile.peach { background: var(--pastel-peach); }
.mini-tile .lbl { font-size: 9.5px; color: var(--ink-soft); font-weight: 500; }
.mini-tile .val { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; margin-top: 3px; }

.mini-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); }
.mini-row:last-child { border-bottom: 0; }
.mini-row .nm { font-size: 11.5px; font-weight: 600; }
.mini-row .ct { font-size: 9.5px; color: var(--ink-mute); }
.mini-badge { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.mini-badge.sky { background: var(--pastel-sky); color: var(--pastel-sky-ink); }
.mini-badge.lav { background: var(--pastel-lavender); color: var(--pastel-lavender-ink); }
.mini-badge.mint { background: var(--pastel-mint); color: var(--pastel-mint-ink); }
.mini-badge.peach { background: var(--pastel-peach); color: var(--pastel-peach-ink); }
.mini-stars { font-size: 10px; color: #E8B73A; letter-spacing: -1px; }

/* ─── Proof bar ─── */
.proof { padding: 28px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.proof .wrap { display: flex; align-items: center; justify-content: center; gap: 14px 38px; flex-wrap: wrap; }
.proof .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); }
.proof .logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.proof .logos span { font-weight: 600; font-size: 16px; color: var(--ink-soft); letter-spacing: -0.02em; }

/* ─── Feature grid ─── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-icon.lav { background: var(--pastel-lavender); color: var(--pastel-lavender-ink); }
.feat-icon.sky { background: var(--pastel-sky); color: var(--pastel-sky-ink); }
.feat-icon.peach { background: var(--pastel-peach); color: var(--pastel-peach-ink); }
.feat-icon.mint { background: var(--pastel-mint); color: var(--pastel-mint-ink); }
.feat-icon.pink { background: var(--pastel-pink); color: var(--pastel-pink-ink); }
.feat-card h3 { margin-bottom: 8px; font-size: 18px; }
.feat-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ─── Demo / showcase ─── */
.demo { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase + .showcase { margin-top: 56px; }
.showcase.flip .showcase-media { order: -1; }
.showcase-media {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 18px; box-shadow: var(--shadow-sm);
}
.showcase-text .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 12px;
}
.showcase-text h3 { font-size: 24px; margin-bottom: 12px; }
.showcase-text p { color: var(--ink-soft); font-size: 15px; margin: 0 0 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.checklist svg { width: 18px; height: 18px; color: var(--pastel-mint-ink); flex-shrink: 0; margin-top: 1px; }

/* generic mock panels for showcase */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 13px; }
.panel + .panel { margin-top: 9px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kanban-col { background: var(--bg-elev); border-radius: 11px; padding: 8px; }
.kanban-col .col-h { font-size: 9.5px; font-weight: 600; margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
.kanban-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.kanban-card .t { font-size: 10px; font-weight: 600; }
.kanban-card .s { font-size: 8.5px; color: var(--ink-mute); margin-top: 2px; }
.dotc { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ─── Pricing ─── */
.pricing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-sm); }
.pricing-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: var(--r-pill); cursor: pointer; color: var(--ink-soft);
  transition: all 0.15s; display: inline-flex; align-items: center; gap: 8px;
}
.pricing-toggle button.active { background: var(--accent); color: #fff; }
.save-badge { font-size: 11px; font-weight: 600; background: var(--pastel-mint); color: var(--pastel-mint-ink); padding: 2px 8px; border-radius: 999px; }
.pricing-toggle button.active .save-badge { background: rgba(255,255,255,0.18); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative; transition: transform 0.18s, box-shadow 0.18s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple), var(--shadow-md); }
.plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 13px; border-radius: 999px; letter-spacing: 0.01em; white-space: nowrap;
}
.plan-name { font-size: 16px; font-weight: 600; }
.plan-desc { font-size: 13.5px; color: var(--ink-mute); margin: 4px 0 18px; min-height: 38px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-size: 42px; font-weight: 700; letter-spacing: -0.04em; }
.plan-price .per { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.plan-billed { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; min-height: 18px; }
.plan .btn { margin: 22px 0; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.plan-features svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--pastel-mint-ink); }
.plan-features li.off { color: var(--ink-faint); }
.plan-features li.off svg { color: var(--ink-faint); }
.plan-features .hl { color: var(--ink); font-weight: 600; }
.pay-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--ink-mute); }
.pay-note a { color: var(--purple); }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.compare thead th { background: var(--surface-2); font-size: 13px; font-weight: 600; }
.compare thead th.col { text-align: center; }
.compare td.feat { color: var(--ink-soft); }
.compare td.val { text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.compare td.val.hl { color: var(--purple); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--pastel-mint-ink); }
.compare .no { color: var(--ink-faint); }
.compare svg { width: 17px; height: 17px; vertical-align: middle; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: transparent; border: 0; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 16px; color: var(--ink); text-align: left; }
.faq-q .ico { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; color: var(--purple); transition: transform 0.25s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease, ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 320px; }

/* ─── CTA band ─── */
.cta-band {
  background: linear-gradient(135deg, #1B1B26, #14141C);
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 93, 211, 0.4), transparent 70%);
  top: -180px; right: -120px;
}
.cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 188, 0.14), transparent 70%);
  bottom: -160px; left: -80px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 480px; margin: 0 auto 28px; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--ink-mute); max-width: 280px; margin: 0; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--ink-soft); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-mute); flex-wrap: wrap; }
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all 0.15s; }
.footer-bottom .socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* ─── Legal pages ─── */
.legal { padding: 56px 0 40px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal .updated { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--purple); }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 24px; margin-bottom: 36px; }
.legal .toc ul { list-style: none; padding: 0; columns: 2; }
.legal .toc a { font-size: 14px; }

/* ─── Success page ─── */
.success-wrap { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 60px 28px; }
.success-card { max-width: 480px; }
.success-check {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 28px;
  background: var(--pastel-mint); display: grid; place-items: center; color: var(--pastel-mint-ink);
  animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.success-check svg { width: 42px; height: 42px; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-card h1 { font-size: 32px; margin-bottom: 12px; }
.success-card p { color: var(--ink-soft); font-size: 16px; margin: 0 0 28px; }
.success-note { font-size: 13px; color: var(--ink-mute); margin-top: 20px; }

/* ═══ PitchBot-style sections ═══ */

/* Social-proof pill */
.proof-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 6px 16px 6px 8px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
}
.proof-pill .avs { display: inline-flex; }
.proof-pill .av {
  width: 24px; height: 24px; border-radius: 50%; margin-right: -8px;
  border: 2px solid var(--surface); display: grid; place-items: center;
  color: #fff; font-size: 9.5px; font-weight: 700; overflow: hidden;
}
.proof-pill .av:last-child { margin-right: 6px; }
.proof-pill .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.proof-pill .av.a { background: linear-gradient(135deg, #B8A8E8, #6C5DD3); }
.proof-pill .av.b { background: linear-gradient(135deg, #9DC8AC, #3F8F58); }
.proof-pill .av.c { background: linear-gradient(135deg, #E8AEB2, #B95F66); }

/* Centered hero */
.hero-center { text-align: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; position: relative; overflow: hidden; }
.hero-center h1 { margin: 24px auto 0; max-width: 15ch; line-height: 1.05; }
.hero-center .hero-cta { justify-content: center; margin-top: 28px; }

/* Glow behind the product shot */
.hero-shot { position: relative; margin-top: 48px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero-shot .glow {
  position: absolute; left: 50%; top: -6%; transform: translateX(-50%);
  width: min(96%, 1080px); height: 78%; z-index: 0; pointer-events: none;
  filter: blur(46px); opacity: 0.9;
  background:
    radial-gradient(40% 60% at 12% 30%, rgba(244, 227, 210, 0.95), transparent 70%),
    radial-gradient(38% 55% at 50% 8%, rgba(236, 230, 248, 0.95), transparent 70%),
    radial-gradient(42% 60% at 88% 36%, rgba(220, 231, 241, 0.95), transparent 70%),
    radial-gradient(36% 50% at 70% 80%, rgba(222, 239, 224, 0.85), transparent 70%);
}
.hero-shot .shot-frame {
  position: relative; z-index: 1; max-width: 1000px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.shot-frame img { width: 100%; display: block; vertical-align: bottom; }

/* Feature row with vertical dividers */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature-cell { padding: 6px 32px; position: relative; }
.feature-cell + .feature-cell::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line);
}
.feature-cell .ftile {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
}
.feature-cell .ftile svg { width: 19px; height: 19px; }
.feature-cell h4 { font-size: 15.5px; margin-bottom: 6px; }
.feature-cell p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }

/* Tech pill (centered tag) */
.tag-pill {
  display: inline-block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 16px; font-size: 13px; font-weight: 600;
  color: var(--ink); box-shadow: var(--shadow-sm);
}

/* Split section: feature list + mockup */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split-list { display: flex; flex-direction: column; gap: 6px; }
.split-item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 18px; border-radius: var(--r-card); align-items: start; }
.split-item .si-ico { color: var(--ink-mute); margin-top: 1px; }
.split-item .si-ico svg { width: 20px; height: 20px; }
.split-item h4 { font-size: 16px; margin-bottom: 4px; }
.split-item p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }
.split-item.active { background: var(--purple-soft); }
.split-item.active .si-ico { color: var(--purple); }
.split-item.active h4 { color: var(--purple); }
.split-item.active p { color: var(--pastel-lavender-ink); }
.split-media {
  position: relative; background: linear-gradient(150deg, var(--bg-elev), var(--surface));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md);
}
.split-media .shotcard { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.split-media .shotcard img { width: 100%; display: block; }
.split-media .float-badge {
  position: absolute; top: -14px; left: 24px; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.split-media .float-badge svg { width: 22px; height: 22px; }

/* Stats band (full-bleed atmospheric) */
.stats-band {
  border-radius: var(--r-lg); padding: clamp(48px, 7vw, 96px) 28px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 15% 10%, rgba(232, 219, 245, 0.9), transparent 60%),
    radial-gradient(60% 80% at 85% 20%, rgba(220, 231, 241, 0.9), transparent 60%),
    radial-gradient(80% 90% at 60% 110%, rgba(20, 20, 28, 0.92), transparent 70%),
    linear-gradient(160deg, #2A2A3A 0%, #14141C 70%);
}
.stats-band .tag-pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.stats-band h2 { color: #fff; margin: 16px auto 40px; max-width: 16ch; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.stat-glass {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-card); padding: 30px 22px;
}
.stat-glass .si { width: 34px; height: 34px; margin: 0 auto 16px; color: rgba(255,255,255,0.8); }
.stat-glass .si svg { width: 34px; height: 34px; }
.stat-glass .num { font-size: clamp(32px, 4vw, 46px); font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat-glass .lbl { font-size: 13.5px; color: rgba(255,255,255,0.62); margin-top: 10px; }

@media (max-width: 940px) {
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .feature-cell { padding: 18px 0; border-top: 1px solid var(--line); }
  .feature-cell + .feature-cell::before { display: none; }
  .feature-cell:first-child { border-top: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .stat-tiles { grid-template-columns: 1fr; max-width: 360px; }
}

/* ─── Reveal animation ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease, cubic-bezier(0.2,0.7,0.2,1)), transform 0.7s var(--ease, cubic-bezier(0.2,0.7,0.2,1)); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .mock { transform: none; }
  .hero-grid:hover .mock { transform: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .showcase.flip .showcase-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta .login { display: none; }
  .mini-tiles { grid-template-columns: 1fr 1fr; }
  .legal .toc ul { columns: 1; }
}
