/* ==========================================================================
   ShapeBot — landing page
   Plain CSS3: custom properties, flexbox, grid, clamp(), no framework.
   ========================================================================== */

:root {
  --bg: #0b1222;
  --bg-alt: #0f172a;
  --surface: #1e293b;
  --surface-deep: #020617;
  --border: #334155;
  --border-strong: #475569;
  --line: #1e293b;

  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;

  --green: #10b981;
  --green-text: #34d399;
  --green-soft: #6ee7b7;
  --green-ink: #04211a;
  --green-bg: #052e22;
  --green-border: #14532d;
  --cyan: #22d3ee;
  --cyan-text: #67e8f9;
  --cyan-bg: #083344;
  --cyan-border: #155e75;
  --water: #06b6d4;
  --orange: #fb923c;
  --orange-bg: #431407;
  --gold: #fbbf24;

  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-text); }
a:hover { color: var(--green-soft); }
strong, .bold { font-weight: 700; }
small { font-size: 0.8em; }

.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--green); color: var(--green-ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 1000px; }
.narrow-sm { max-width: 820px; }
.center { text-align: center; }
.accent, .green { color: var(--green-text); }
.cyan { color: var(--cyan); }
.orange { color: var(--orange); }
.gold { color: var(--gold); }
.muted { color: var(--muted); font-weight: 400; }
.muted-2 { color: var(--text-2); }
.display { font-family: var(--font-display); font-weight: 700; }
.caps { text-transform: uppercase; letter-spacing: 0.06em; }
.self-start { align-self: flex-start; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.stack-xl { display: flex; flex-direction: column; gap: 48px; }
.stack-xxl { display: flex; flex-direction: column; gap: 96px; }

/* Two-column block that stacks on narrow screens */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius); font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 44px; padding: 0 18px; border-radius: var(--radius-sm); font-size: 15px; }
.btn-lg { height: 56px; padding: 0 24px; font-size: 16px; }
.btn-xl { height: 60px; padding: 0 30px; border-radius: 18px; font-family: var(--font-display); font-size: 18px; }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: #34d399; color: var(--green-ink); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); font-weight: 600; }
.btn-secondary:hover { color: var(--text); border-color: var(--border-strong); }
.btn-dark { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border-strong); }
.btn-dark:hover { color: var(--text); border-color: var(--green); }
.btn-light { background: #f8fafc; color: #0f172a; }
.btn-light:hover { background: #fff; color: #0f172a; }
.btn-lg.btn-primary { font-family: var(--font-display); font-size: 17px; }
.wide { width: 100%; }

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
  70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ring { animation: ring 2s ease-out infinite; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 34, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(2, 6, 23, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: var(--green-ink); display: grid; place-items: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }

.main-nav { display: flex; gap: 28px; font-size: 15px; }
.main-nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--text); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; right: -160px; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, .18), rgba(16, 185, 129, 0) 65%);
  pointer-events: none;
}
.hero .split { position: relative; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy > * { max-width: 600px; }

.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--green-border); background: var(--green-bg); color: var(--green-soft);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.lead-sm { font-size: 17px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--green-text); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(2, 6, 23, .5);
  animation: float 4s ease-in-out infinite;
}
.float-badge span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.float-badge strong { font-size: 14px; }
.float-badge small { font-size: 12px; color: var(--muted); }
.badge-left { left: max(0px, calc(50% - 340px)); top: 108px; }
.badge-right { right: max(0px, calc(50% - 340px)); bottom: 120px; animation-delay: -2s; }
.badge-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.badge-icon.orange { background: var(--orange-bg); color: var(--orange); }
.badge-icon.green { background: var(--green-bg); color: var(--green-text); }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--line); padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.section-head.center { max-width: 760px; margin: 0 auto; align-items: center; }
.eyebrow { color: var(--green-text); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.step-visual {
  height: 150px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--border);
  padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 14px;
}
.step-visual.dropzone { border: 2px dashed var(--green); background: #111c33; align-items: center; }
.step-text { display: flex; gap: 14px; align-items: flex-start; }
.step-text p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--green-text); line-height: 1; }
.small { font-size: 13px; }

.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.icon-tile.lg { width: 48px; height: 48px; border-radius: 14px; }
.icon-tile.xl { width: 76px; height: 76px; border-radius: 24px; }
.icon-tile.green { background: var(--green-bg); color: var(--green-text); }
.icon-tile.cyan { background: var(--cyan-bg); color: var(--cyan); }
.icon-tile.orange { background: var(--orange-bg); color: var(--orange); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--surface); color: var(--muted); border: 1px solid transparent; }
.chip.on { background: var(--green-bg); color: var(--green-soft); }
.chips.sm .chip, .chip.solid { font-size: 9px; padding: 3px 7px; }
.chips.sm .chip { border-color: var(--border); background: transparent; color: var(--text-2); }
.chips.sm .chip.on { border-color: var(--green); background: var(--green-bg); color: var(--green-soft); }

/* ---------- Features ---------- */
.feature.reverse { flex-wrap: wrap-reverse; }
.feature-copy { display: flex; flex-direction: column; gap: 20px; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.feature-copy .icon-tile { align-self: flex-start; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual.duo { gap: 16px; flex-wrap: wrap; }

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist.green li::before { color: var(--green-text); }
.checklist.cyan li::before { color: var(--cyan); }
.checklist.orange li::before { color: var(--orange); }
.checklist li { color: var(--text); }
.checklist.sm { font-size: 15px; flex-grow: 1; }
.checklist.sm li { padding-left: 28px; }
.checklist.sm li::before { width: 18px; height: 18px; }

/* ---------- Phone mockups ---------- */
.phone {
  width: 300px; max-width: 100%; flex-shrink: 0;
  border-radius: 44px; padding: 10px;
  background: var(--surface-deep); border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(2, 6, 23, .7);
}
.phone.sm { width: 250px; border-radius: 40px; padding: 9px; }
.screen {
  position: relative; overflow: hidden;
  border-radius: 34px; background: var(--bg-alt);
  padding: 26px 14px 16px; display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
}
.phone.sm .screen { border-radius: 31px; padding: 22px 12px 14px; gap: 9px; }
.screen.tall { height: 560px; padding: 0; }
.screen.fixed-h { height: 500px; }
.screen.card-bg { background: var(--surface); }
.screen small { display: block; font-size: 10px; color: var(--muted); }
.screen b { display: block; }
.screen .display.lg { font-size: 17px; }
.screen .display.xl { font-size: 20px; }
.screen b.sm { font-size: 12px; display: inline; }

.m-head { display: flex; justify-content: space-between; align-items: center; }
.m-head b { font-family: var(--font-display); font-size: 20px; }
.m-avatar { width: 32px; height: 32px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.m-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.m-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m-card.m-row { flex-direction: row; }

.m-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; padding: 10px; }
.m-day { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.m-day small { font-size: 8px; font-weight: 600; }
.m-dot { width: 24px; height: 24px; border-radius: 99px; border: 2px solid var(--border); background: var(--bg-alt); display: grid; place-items: center; color: var(--green-ink); }
.m-dot.on { background: var(--green); border-color: var(--green); }
.m-dot.today { border-color: var(--green); }

.m-tabs { display: flex; gap: 6px; }
.m-tab { flex: 1 1 0; min-width: 0; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); padding: 7px 7px; white-space: nowrap; overflow: hidden; }
.m-tab b { font-family: var(--font-display); font-size: 12px; }
.m-tab small { font-size: 9px; color: var(--text-2); }
.m-tab.active { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.m-tab.active small { color: var(--green-ink); }
.m-tab-add { flex: 0 0 28px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-strong); color: var(--green-text); display: grid; place-items: center; }

.m-progress { display: flex; flex-direction: column; gap: 5px; }
.m-bar { height: 5px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.m-bar.thick { height: 8px; }
.m-bar span { display: block; height: 100%; border-radius: 99px; background: var(--green); }

.m-ex.done { border-color: var(--green); }
.m-check { width: 28px; height: 28px; border-radius: 9px; background: var(--green); color: var(--green-ink); display: grid; place-items: center; flex-shrink: 0; }
.m-check .icon { stroke-width: 3; }
.m-check.empty { background: transparent; border: 2px solid var(--border-strong); }
.m-stepper { display: flex; align-items: center; gap: 4px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.m-stepper > span { width: 26px; height: 26px; border-radius: 7px; background: var(--surface); display: grid; place-items: center; }
.m-stepper > span.plus { background: var(--green); color: var(--green-ink); }
.m-stepper b { font-size: 15px; padding: 0 3px; }
.m-stepper b small { display: inline; font-family: var(--font-body); }
.m-ex .display { font-size: 17px; }
.m-ex .caps { font-size: 8px; }

.m-sets { display: flex; gap: 4px; }
.m-sets span { flex: 1 1 0; height: 26px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-2); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.m-sets.big span { height: 30px; border-radius: 9px; font-size: 12px; }
.m-sets span.on { background: var(--green); border-color: var(--green); color: var(--green-ink); }

.m-finish {
  height: 42px; border-radius: 13px; background: var(--green); color: var(--green-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
/* Hero "Concluir Treino": dark button that fills with progress, label on the right (as in the app) */
.m-finish.live { position: relative; overflow: hidden; justify-content: flex-start; padding: 0 12px; background: #065f46; color: var(--text); }
.m-finish.live .fill { position: absolute; inset: 0 auto 0 0; background: #047857; }
.m-finish.live > :not(.fill) { position: relative; }
.m-finish.live svg { color: #fcd34d; }
.m-finish.live small { margin-left: auto; font-family: var(--font-body); font-size: 11px; font-weight: 600; }
.m-finish.water { height: 32px; border-radius: 10px; background: var(--water); color: #042f3a; font-size: 12px; font-family: var(--font-body); }

/* Workout complete screen */
.ghost { padding: 26px 14px; display: flex; flex-direction: column; gap: 12px; opacity: .35; }
.ghost b { font-size: 20px; }
.ghost span { display: block; border-radius: var(--radius); background: var(--surface); }
.m-modal {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  padding: 22px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.m-modal em { font-size: 12px; color: #e2e8f0; }
.m-modal .m-finish { width: 100%; height: 40px; font-family: var(--font-body); font-size: 13px; }
.m-trophy { width: 58px; height: 58px; border-radius: 20px; background: var(--green); color: var(--green-ink); display: grid; place-items: center; }
.m-stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.m-stats > div { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 8px 4px; text-align: center; }
.m-stats .display { font-size: 16px; }
.m-stats small { font-size: 9px; }
.m-stats.tight { gap: 5px; }
.m-stats.tight > div { border-radius: 10px; padding: 6px 2px; }
.m-stats.tight small { font-size: 8px; }
.m-stats.tight b { font-size: 12px; }

.confetti { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.confetti i { position: absolute; display: block; }

/* Chart */
.kicker { font-size: 9px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kicker.cyan { color: var(--cyan-text) !important; }
.m-chart { background: var(--bg-alt); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.m-chart > small { font-size: 11px !important; color: var(--green-soft) !important; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 5px; }
.bar { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bar b { font-size: 8px; font-weight: 600; color: var(--text-2); }
.bar i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: #115e59; }
.bar small { font-size: 7px !important; }
.bar.today b { color: var(--green-soft); }
.bar.today i { background: var(--green); }

.m-insight {
  display: flex; gap: 7px; padding: 9px 10px; border-radius: var(--radius-sm);
  background: var(--cyan-bg); border: 1px solid var(--cyan-border);
  font-size: 10px; line-height: 1.35;
}
.m-insight .icon { color: var(--cyan-text); margin-top: 1px; }

/* Nutrition */
.m-switch { width: 30px; height: 18px; border-radius: 99px; background: var(--green); padding: 2px; display: flex; justify-content: flex-end; }
.m-switch span { width: 14px; height: 14px; border-radius: 99px; background: #fff; }
.chip.solid { background: var(--green-bg); color: var(--green-soft); font-weight: 700; }
.m-water { display: flex; align-items: center; gap: 12px; }
.bottle { position: relative; width: 44px; height: 78px; border-radius: 12px 12px 15px 15px; border: 2px solid var(--border-strong); overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.bottle span { position: absolute; left: 0; right: 0; bottom: 0; background: var(--water); }
.bottle.warn span { background: var(--orange); } /* app zone "Atenção": 1 L to under 2 L */
.m-water .display.xl small { display: inline; font-size: 12px; }

/* Editor */
.m-edit-name { display: flex; gap: 6px; align-items: center; }
.m-card.m-edit-name { flex-direction: row; }
.num { width: 22px; height: 22px; border-radius: 6px; background: var(--border); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.field { flex: 1 1 0; height: 30px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.field.focus { justify-content: flex-start; padding: 0 8px; border-color: var(--green); font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.field.hot { border-color: var(--orange); color: #fdba74; }
.m-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.m-fields label { display: flex; flex-direction: column; gap: 2px; }
.m-fields small { font-size: 8px; }
.m-add, .m-outline { height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 600; }
.m-add { border: 2px dashed var(--border-strong); color: var(--text-2); }
.m-outline { border: 1px solid var(--border); background: var(--surface); font-size: 12px; border-radius: var(--radius-sm); }

/* ---------- Demo ---------- */
.numbered { display: flex; flex-direction: column; gap: 14px; }
.numbered li { display: flex; gap: 14px; align-items: center; }
.numbered li p { margin: 0; }
.numbered li > span { width: 32px; height: 32px; flex-shrink: 0; border-radius: 99px; background: var(--green-bg); color: var(--green-text); font-weight: 700; display: grid; place-items: center; }

.demo-phone { width: 410px; border-radius: 48px; }
.demo-placeholder {
  height: 760px; border-radius: 38px; padding: 40px 28px;
  align-items: center; justify-content: center; gap: 16px; text-align: center; font-size: 15px;
}
.demo-placeholder .display.xl { font-size: 28px; }
.demo-placeholder p { color: var(--muted); max-width: 260px; }
.demo-placeholder small { font-size: 12px; }
.demo-placeholder .btn { margin-top: 12px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 30px; display: flex; flex-direction: column; gap: 20px;
}
.plan.featured { border: 2px solid var(--green); box-shadow: 0 30px 70px rgba(16, 185, 129, .12); }
.plan-tag {
  position: absolute; top: -14px; left: 28px; padding: 5px 12px; border-radius: 99px;
  background: var(--green); color: var(--green-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--font-display); font-size: 44px; letter-spacing: -0.03em; }
.price span { color: var(--muted); }
.plan .muted { font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 20px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 17px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--muted); transition: transform .2s ease; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq p { color: var(--text-2); padding-bottom: 20px; }

/* ---------- Final CTA / footer ---------- */
.final-cta {
  border-radius: 32px; background: var(--green-bg); border: 1px solid var(--green-border);
  padding: clamp(32px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.final-cta > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.final-cta h2 { font-size: clamp(30px, 4vw, 44px); }
.final-cta p { color: #a7f3d0; font-size: 18px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

/* ---------- Scroll reveal (enabled by JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(2, 6, 23, .5);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 16px; height: 52px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .stack-xxl { gap: 72px; }
  .hero .split { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .split { gap: 40px; }
  .float-badge { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .demo-phone { width: 100%; max-width: 410px; }
  .plan { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
