/* ---------- Tokens (single light theme) ---------- */
:root {
  /* Neutral ink + one calm teal accent; surfaces are frosted glass over a soft mesh */
  --bg: #f4f6f7;
  --bg-alt: rgb(255 255 255 / .28);
  --surface: rgb(255 255 255 / .42);
  --surface-solid: #ffffff;
  --surface-glass: rgb(255 255 255 / .38);
  --glass-border: rgb(255 255 255 / .7);
  --glass-blur: blur(24px) saturate(185%);
  --ink: #111827;
  --ink-2: #4b5563;
  --muted: #8b93a0;
  --line: rgb(17 24 39 / .08);
  --brand: #0f766e;
  --brand-2: #115e59;
  --brand-soft: rgb(20 184 166 / .1);
  --on-brand: #ffffff;
  --lilac: rgb(15 118 110 / .35);
  --periwinkle: #a5c9c4;
  --pink: #5eead4;
  --link: #0f766e;
  --grad: linear-gradient(120deg, #0f766e 0%, #14b8a6 100%);
  --grad-soft: linear-gradient(160deg, rgb(255 255 255 / .8), rgb(255 255 255 / .35));
  --chat-bg: #f3f5f4;
  --bubble-in: #ffffff;
  --bubble-out: #dcf3ee;
  --wa-head: rgb(255 255 255 / .7);
  --logo-dot: #0f766e;
  --shadow: 0 1px 2px rgb(17 24 39 / .04), 0 10px 30px -12px rgb(17 24 39 / .12);
  --shadow-lg: 0 30px 60px -28px rgb(17 24 39 / .3);
  --radius: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Aurora: slow-drifting colour fields fixed behind the page, so every glass panel has colour to frost */
body::before, body::after {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  filter: blur(40px);
}
body::before {
  background:
    radial-gradient(35vmax 30vmax at 82% 12%, rgb(45 212 191 / .55), transparent 70%),
    radial-gradient(32vmax 28vmax at 12% 40%, rgb(56 189 248 / .45), transparent 70%),
    radial-gradient(30vmax 26vmax at 70% 85%, rgb(251 146 60 / .28), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(26vmax 22vmax at 40% 20%, rgb(52 211 153 / .3), transparent 70%),
    radial-gradient(28vmax 24vmax at 25% 90%, rgb(129 140 248 / .22), transparent 70%);
  animation: aurora 34s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-3vmax, 4vmax, 0) rotate(-6deg) scale(1); }
}

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); }
svg { display: block; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; position: relative; }
.wrap.narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.muted { color: var(--muted); }
.grad-text { background: linear-gradient(90deg, #0f766e, #14b8a6, #0ea5e9, #14b8a6, #0f766e); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.logo-mark .ring { animation: wave 2.4s ease-in-out infinite; }
.logo-mark .r1 { animation-delay: 0s; } .logo-mark .r2, .logo-mark .top { animation-delay: .2s; } .logo-mark .r3 { animation-delay: .4s; } .logo-mark .r4 { animation-delay: .6s; }
@keyframes wave { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .35; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / .55); } 70% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink);
  color: #fff; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 26px -12px rgb(17 24 39 / .6), 0 0 0 0 rgb(20 184 166 / 0);
}
.btn:hover { transform: translateY(-2px); background: #1f2937; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 16px 32px -14px rgb(17 24 39 / .7), 0 10px 40px -8px rgb(20 184 166 / .55); }
/* Shine that sweeps across buttons on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--surface-glass); color: var(--ink); border-color: var(--glass-border); box-shadow: var(--shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.btn-ghost:hover { background: rgb(255 255 255 / .8); }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .4); }
.btn-light:hover { background: #f3f4f6; }
.wa-ico { width: 20px; height: 20px; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- Nav ---------- */
/* Floating glass pill */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.nav-inner {
  display: flex; align-items: center; gap: 24px; height: 60px;
  width: calc(100% - 24px); padding: 0 10px 0 18px; border-radius: 999px;
  background: rgb(255 255 255 / .45); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 12px 32px -16px rgb(17 24 39 / .25);
}
@media (min-width: 720px) { .nav-inner { padding: 0 10px 0 22px; } }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; }
.nav-links { display: none; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .94rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--grad); border-radius: 2px; transition: right .25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav .btn { margin-left: auto; }
.nav .btn span { display: none; }
@media (min-width: 480px) { .nav .btn span { display: inline; } }
@media (min-width: 960px) { .nav-links { display: flex; } .nav .btn { margin-left: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(17 24 39 / .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: float 18s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: rgb(45 212 191 / .4); top: -140px; right: -60px; }
.b2 { width: 340px; height: 340px; background: rgb(56 189 248 / .35); bottom: 0; left: -120px; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } }

.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; padding-bottom: 56px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding-bottom: 88px; } .hero { padding-top: 88px; } }

.live-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 24px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .88rem; text-decoration: none; transition: transform .2s ease, border-color .2s ease;
}
.live-badge strong { color: var(--ink); }
.live-badge:hover { transform: translateY(-1px); border-color: var(--lilac); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.lead strong { color: var(--brand); }
.lead em { color: var(--ink); font-style: normal; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.hero-points span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .72rem; margin-right: 6px; }

/* Hero entrance: the copy rises in line by line */
.hero-copy > * { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .45s; }
.hero-copy > :nth-child(5) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Hero visual: ripples spread out from behind the chat, like the logo */
.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
/* Glowing colour orb the glass chat floats over */
.hero-visual::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: conic-gradient(from 0deg, #2dd4bf, #38bdf8, #a5b4fc, #fb923c, #2dd4bf);
  filter: blur(50px); opacity: .55; animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Small glass chips orbiting the chat */
.hero-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 16px; font-size: .84rem; font-weight: 700; color: var(--ink);
  background: rgb(255 255 255 / .5); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 16px 34px -16px rgb(17 24 39 / .35);
  animation: bob 6s ease-in-out infinite;
}
.hero-chip b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgb(255 255 255 / .7); font-size: 1rem; }
/* Chips sit in the space above/below the chat so they never cover its text */
.hero-visual:has(.hero-chip) { min-height: 580px; }
.chip-a { top: 4px; left: 0; animation-delay: -2s; }
.chip-b { bottom: 4px; right: 0; animation-delay: -4s; }
.ripples { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ripples i {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid var(--lilac); opacity: 0; animation: ripple 6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.ripples i:nth-child(2) { animation-delay: 1.5s; }
.ripples i:nth-child(3) { animation-delay: 3s; }
.ripples i:nth-child(4) { animation-delay: 4.5s; }
@keyframes ripple { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

.float-chat {
  width: min(330px, 100%); padding: 0 0 14px; border-radius: 28px; overflow: hidden;
  background: rgb(255 255 255 / .32); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2;
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgb(255 255 255 / .45); color: var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.fc-head svg { width: 34px; height: 34px; background: #fff; border: 1px solid var(--line); border-radius: 50%; padding: 3px; }
.fc-head span { display: flex; flex-direction: column; line-height: 1.2; }
.fc-head small { font-size: .72rem; color: #22a35a; }
.fc-bubble { margin: 0 14px; padding: 9px 13px; border-radius: 14px; max-width: 82%; font-size: .9rem; box-shadow: 0 1px 2px rgb(17 24 39 / .06); opacity: 0; animation: pop .5s ease forwards; }
.fc-in { background: rgb(255 255 255 / .78); align-self: flex-start; border-top-left-radius: 4px; border: 1px solid var(--glass-border); }
.fc-out { background: rgb(204 251 241 / .8); align-self: flex-end; border-top-right-radius: 4px; }
.fc-small { font-weight: 700; color: var(--brand); }
.float-chat > :nth-child(2) { animation-delay: .6s; }
.float-chat > :nth-child(3) { animation-delay: 1.3s; }
.float-chat > :nth-child(4) { animation-delay: 2s; }
.float-chat > :nth-child(5) { animation-delay: 2.6s; }
.float-chat > :nth-child(6) { animation-delay: 3.4s; }
.float-chat > :nth-child(7) { animation-delay: 4.1s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.fc-cards { margin: 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; opacity: 0; animation: pop .5s ease forwards; }
.fc-card { background: rgb(255 255 255 / .7); border: 1px solid var(--glass-border); border-radius: 12px; padding: 6px; font-size: .78rem; font-weight: 700; text-align: center; }
.fc-card span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; font-size: 1.8rem; margin-bottom: 4px; background: linear-gradient(135deg, var(--a), var(--b)); }

.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .4); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; padding: 7px 15px; border-radius: 999px; background: rgb(255 255 255 / .55); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 #fff; font-weight: 600; font-size: .88rem; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pitch ---------- */
.pitch { padding: 64px 0 8px; }
.pitch-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pitch-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.pitch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pitch-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .3s; }
.pitch-card.in::before { transform: scaleX(1); }
.pitch-card strong { display: block; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 6px; }
.pitch-card span { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* Scroll reveal: app.js adds .reveal, then .in once on screen */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Live store ---------- */
.live-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .live-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.live-video { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.live-video::before { content: ""; position: absolute; width: 90%; height: 80%; top: 10%; background: rgb(94 234 212 / .3); filter: blur(60px); border-radius: 50%; }
.video-frame { position: relative; width: min(320px, 100%); border-radius: 40px; padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.video-frame video { display: block; width: 100%; max-height: 640px; border-radius: 32px; background: #eef2f1; object-fit: contain; }
.video-tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lead-sm { font-size: 1.08rem; color: var(--ink-2); }
.lead-sm a { font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; background: var(--grad); }
.ticks strong { color: var(--ink); }

/* ---------- Demo ---------- */
.store-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.store-tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-tab .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.1rem; }
.store-tab small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; line-height: 1.2; }
.store-tab .t { text-align: left; line-height: 1.25; }
.store-tab:hover { border-color: var(--lilac); transform: translateY(-1px); }
.store-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -12px rgb(17 24 39 / .6); }
.store-tab[aria-selected="true"] small { color: inherit; opacity: .85; }
.store-tab[aria-selected="true"] .ico { background: rgb(255 255 255 / .22); }

.demo-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 920px) { .demo-grid { grid-template-columns: 400px 1fr; gap: 44px; } }

.phone {
  position: relative; width: 100%; max-width: 400px; margin: 0 auto;
  height: 690px; max-height: 84vh; min-height: 520px;
  border-radius: 44px; padding: 9px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: var(--surface-solid); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; z-index: 3; }
.wa-header { display: flex; align-items: center; gap: 10px; padding: 28px 14px 11px; background: var(--wa-head); color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 34px 34px 0 0; }
.wa-back { font-size: 1.6rem; line-height: 1; opacity: .9; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; flex-shrink: 0; }
.wa-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.wa-meta strong { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-meta span { font-size: .75rem; color: #22a35a; }
.wa-reset { background: #fff; border: 1px solid var(--line); color: var(--brand); width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: transform .3s ease; }
.wa-reset:hover { background: var(--brand-soft); transform: rotate(-90deg); }

.wa-body {
  flex: 1; overflow-y: auto; padding: 14px 12px; background-color: var(--chat-bg);
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
  display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth;
}
.wa-body::-webkit-scrollbar { width: 6px; }
.wa-body::-webkit-scrollbar-thumb { background: rgb(17 24 39 / .2); border-radius: 3px; }

.msg { max-width: 86%; padding: 7px 10px 6px; border-radius: 12px; font-size: .9rem; line-height: 1.45; box-shadow: 0 1px 1px rgb(17 24 39 / .08); animation: pop .28s ease; word-wrap: break-word; color: var(--ink); }
.msg.in { background: var(--bubble-in); align-self: flex-start; border-top-left-radius: 3px; }
.msg.out { background: var(--bubble-out); align-self: flex-end; border-top-right-radius: 3px; }
.msg .time { display: block; text-align: right; font-size: .66rem; color: var(--muted); margin-top: 2px; }
.msg.out .time::after { content: " ✓✓"; color: var(--brand); }
.msg a { color: var(--link); word-break: break-all; }
.day-chip { align-self: center; font-size: .72rem; padding: 4px 10px; border-radius: 8px; background: var(--bubble-in); color: var(--muted); margin-bottom: 6px; }
.sys-note { align-self: center; font-size: .72rem; text-align: center; padding: 6px 10px; border-radius: 8px; background: #fff3c4; color: #5b4a00; max-width: 92%; }

.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.quick { display: flex; flex-direction: column; gap: 4px; align-self: flex-start; width: 86%; animation: pop .28s ease; }
.quick button {
  background: var(--bubble-in); color: var(--link); border: 0; border-radius: 10px; padding: 9px 10px;
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 1px rgb(17 24 39 / .08); transition: background .15s ease;
}
.quick button:hover:not(:disabled) { background: var(--brand-soft); }
.quick button:disabled { opacity: .5; cursor: default; }
.quick button.chosen { opacity: 1; outline: 2px solid var(--brand); }

.carousel { display: flex; gap: 8px; overflow-x: auto; align-self: stretch; padding: 2px 2px 6px; scroll-snap-type: x mandatory; animation: pop .3s ease; }
.carousel::-webkit-scrollbar { height: 4px; }
.carousel::-webkit-scrollbar-thumb { background: rgb(17 24 39 / .2); border-radius: 2px; }
.pcard { flex: 0 0 72%; scroll-snap-align: start; background: var(--bubble-in); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgb(17 24 39 / .1); display: flex; flex-direction: column; }
.pthumb { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--a), var(--b)); position: relative; }
.pthumb .badge { position: absolute; top: 8px; left: 8px; background: #fff; color: var(--brand); font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.pinfo { padding: 8px 10px 6px; font-size: .84rem; }
.pinfo strong { display: block; line-height: 1.3; }
.price { font-weight: 800; }
.price s { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: .78rem; }
.pbtns { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pbtns button { background: none; border: 0; border-top: 1px solid var(--line); padding: 8px; font: inherit; font-size: .84rem; font-weight: 700; color: var(--link); cursor: pointer; }
.pbtns button:first-child { border-top: 0; }
.pbtns button:hover:not(:disabled) { background: var(--brand-soft); }
.pbtns button:disabled { opacity: .5; cursor: default; }
.pcard.more { justify-content: center; align-items: center; text-align: center; padding: 16px; gap: 8px; color: var(--muted); font-size: .85rem; }
.pcard.more span { font-size: 2rem; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bubble-in); align-self: flex-start; width: 70%; animation: pop .3s ease; }
.photos div { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(135deg, var(--a), var(--b)); }
.photos div:nth-child(2) { filter: hue-rotate(25deg) saturate(.8); transform: scaleX(-1); }
.photos div:nth-child(3) { filter: brightness(.85); font-size: 1.4rem; }
.photos div:nth-child(4) { filter: hue-rotate(-20deg); font-size: 2.6rem; }

.wa-input { display: flex; gap: 8px; padding: 8px 8px 14px; background: var(--chat-bg); border-radius: 0 0 34px 34px; }
.wa-input input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; background: var(--bubble-in); color: var(--ink); font: inherit; font-size: .92rem; outline: none; }
.wa-input input:focus-visible { outline: 2px solid var(--brand); }
.wa-input button { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-input button svg { width: 20px; height: 20px; }

.demo-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; text-align: left;
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); background: var(--brand-soft); }
.chip .k { margin-right: 4px; }
.demo-note { font-size: .9rem; color: var(--muted); margin: 0; }

.trace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trace-head h3 { margin: 0; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.trace { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; scroll-behavior: smooth; }
.trace li { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: start; font-size: .86rem; animation: slidein .35s ease; }
.trace .trace-empty { display: block; color: var(--muted); }
.trace .tag { font-family: var(--mono); font-size: .68rem; font-weight: 700; padding: 3px 6px; border-radius: 6px; text-align: center; letter-spacing: .04em; color: #fff; background: var(--c, #64748b); }
.trace code { font-family: var(--mono); font-size: .78rem; background: var(--bg-alt); padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.trace .sep { grid-column: 1 / -1; border-top: 1px dashed var(--line); margin: 4px 0; display: block; }
@keyframes slidein { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.pipe-step {
  position: relative; text-align: left; padding: 16px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pipe-step .n { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.pipe-step .e { font-size: 1.5rem; display: block; margin: 4px 0 6px; }
.pipe-step strong { display: block; font-size: .92rem; line-height: 1.25; }
.pipe-step:hover { border-color: var(--lilac); transform: translateY(-2px); }
.pipe-step[aria-selected="true"] { background: var(--ink); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -14px rgb(17 24 39 / .7); }
.pipe-step[aria-selected="true"] .n { color: inherit; opacity: .85; }
.pipe-detail {
  margin-top: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 24px; box-shadow: var(--shadow); animation: pop .3s ease;
}
@media (min-width: 860px) { .pipe-detail { grid-template-columns: 1fr 1fr; } }
.pipe-detail h3 { font-size: 1.3rem; }
.pipe-detail p { color: var(--ink-2); }
.pipe-detail ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.pipe-detail li { margin-bottom: 4px; }
.pipe-detail li::marker { color: var(--brand); }
.pipe-code { background: var(--bg-alt); color: var(--ink); border-radius: 14px; padding: 18px 20px; font-family: var(--mono); font-size: .8rem; line-height: 1.6; overflow-x: auto; white-space: pre; margin: 0; align-self: start; border: 1px solid var(--line); }
.pipe-code .c { color: var(--muted); }
.pipe-code .s { color: var(--brand); }

/* ---------- Architecture ---------- */
.arch { display: grid; gap: 16px; align-items: center; }
@media (min-width: 920px) { .arch { grid-template-columns: 1fr 60px 1.1fr 60px 1fr; } }
.arch-col { display: flex; flex-direction: column; gap: 14px; }
.arch-node { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; }
.arch-node > span { grid-row: span 2; font-size: 1.6rem; width: 42px; height: 42px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 12px; }
.arch-node > span svg { width: 34px; height: 34px; }
.arch-node small { color: var(--muted); }
.arch-node.core { border: 2px solid transparent; background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box; }
.arch-node.core ul { grid-column: 1 / -1; margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.arch-node.core li { font-size: .78rem; font-weight: 600; background: var(--brand-soft); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.arch-link { height: 28px; display: grid; place-items: center; }
.arch-link i { display: block; width: 2px; height: 100%; background-image: linear-gradient(var(--brand) 50%, transparent 50%); background-size: 2px 8px; animation: flowY 1s linear infinite; }
@media (min-width: 920px) {
  .arch-link { height: auto; }
  .arch-link i { width: 100%; height: 2px; background-image: linear-gradient(90deg, var(--brand) 50%, transparent 50%); background-size: 8px 2px; animation-name: flowX; }
}
@keyframes flowX { to { background-position: 16px 0; } }
@keyframes flowY { to { background-position: 0 16px; } }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lilac); }
.feature p { color: var(--ink-2); margin: 0; font-size: .94rem; }
.f-ico { font-size: 1.5rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, rgb(45 212 191 / .28), rgb(56 189 248 / .22)); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9); margin-bottom: 14px; transition: transform .3s ease; }
.feature:hover .f-ico { transform: rotate(-6deg) scale(1.08); }

/* ---------- Industries ---------- */
.industries { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ind {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ind:hover { transform: translateY(-4px); border-color: var(--lilac); box-shadow: var(--shadow); }
.ind .big { font-size: 2.2rem; }
.ind h3 { margin: 0; }
.ind .ask { font-size: .88rem; color: var(--ink-2); background: var(--bg-alt); border-radius: 10px; padding: 8px 10px; }
.ind .facets { display: flex; flex-wrap: wrap; gap: 6px; }
.ind .facets span { font-size: .74rem; font-weight: 600; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; color: var(--ink-2); }
.ind .go { font-size: .85rem; font-weight: 700; color: var(--brand); margin-top: auto; }
.ind.static { cursor: default; border-style: dashed; }
.ind.static:hover { transform: none; border-color: var(--line); box-shadow: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .94rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: 0 8px 18px -10px rgb(17 24 39 / .6); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--lilac); }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: 104px 0; border-top: 1px solid var(--line); }
.contact .b4 { width: 520px; height: 520px; background: rgb(94 234 212 / .3); right: -160px; top: -200px; }
.contact-inner { display: grid; gap: 40px; align-items: center; }
/* The contact block is one big pane of glass */
.contact .wrap.contact-inner {
  width: calc(100% - 24px); padding: 36px 24px; border-radius: 32px;
  background: rgb(255 255 255 / .35); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), var(--shadow-lg);
}
@media (min-width: 720px) { .contact .wrap.contact-inner { padding: 56px; } }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.2fr .8fr; } }
.contact p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; margin-bottom: 26px; }
.contact .btn { white-space: normal; text-align: center; }
.people { display: flex; flex-direction: column; gap: 14px; }
.person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.person:hover { transform: translateY(-3px); border-color: var(--lilac); }
.avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; background: var(--ink); color: #fff; }
.p-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.p-info strong { font-size: 1.05rem; }
.p-info a { color: var(--ink-2); text-decoration: none; font-variant-numeric: tabular-nums; }
.p-info a:hover { color: var(--brand); }
.p-actions { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; background: var(--brand-soft); color: var(--brand); transition: background .2s ease, color .2s ease, transform .2s ease; }
.icon-btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
/* ---------- Footer / float ---------- */
.footer { padding: 32px 0 96px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer .logo { font-size: 1.15rem; }
.footer .logo-mark { width: 30px; height: 30px; }
@media (min-width: 720px) { .footer { padding-bottom: 32px; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px 13px 14px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / .7); transition: transform .2s ease;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- Headline word flip (app.js cycles the verb) ---------- */
/* Padding gives descenders (the g in "chatting") room inside the clipped gradient;
   the negative margin keeps the line height unchanged. */
/* The outer .swap flips; the inner .swap-text carries the rainbow so its shimmer never restarts. */
.swap { display: inline-block; }
.swap.out { animation: flipOut .35s ease-in forwards; }
.swap.in { animation: flipIn .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes flipOut { to { opacity: 0; transform: translateY(-.45em) rotateX(70deg); } }
@keyframes flipIn { from { opacity: 0; transform: translateY(.45em) rotateX(-70deg); } to { opacity: 1; transform: none; } }
.swap-text {
  display: inline-block; padding: 0 .04em .16em; margin: 0 -.04em -.16em;
  background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #06b6d4, #3b82f6, #a855f7, #ec4899, #ef4444);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ---------- Title above the moving strips ---------- */
.strip-head { text-align: center; padding-bottom: 20px; }
.strip-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; }
.strip-head p { color: var(--ink-2); margin: 0; }

/* ---------- Feature strip: a second marquee row running the other way ---------- */
.marquee { display: grid; gap: 10px; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 55s; }
.marquee-track.reverse span { font-weight: 700; color: var(--ink); }
.marquee-track.reverse span:nth-child(3n) { background: var(--ink); color: #5eead4; border-color: transparent; }

/* ---------- Glass surfaces ---------- */
/* Frosted panels: translucent fill (var(--surface)), blur, and a bright top edge */
.live-badge, .float-chat, .pitch-card, .video-frame, .video-tag, .store-tab, .phone, .panel,
.pipe-step, .pipe-detail, .arch-node:not(.core), .feature, .ind, .steps li, .faq details, .person {
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 1px 0 0 rgb(255 255 255 / .5), var(--shadow);
}
/* Cursor spotlight: app.js sets --mx/--my on the hovered glass panel */
.pitch-card, .panel, .feature, .ind, .steps li, .person, .pipe-detail {
  background-image: radial-gradient(360px circle at var(--mx, -500px) var(--my, -500px), rgb(255 255 255 / .75), rgb(45 212 191 / .08) 45%, transparent 70%);
}
.pitch-card:hover, .feature:hover, .ind:hover, .steps li:hover, .person:hover {
  box-shadow: inset 0 1px 0 #fff, 0 22px 44px -20px rgb(15 118 110 / .35);
}
.store-tab[aria-selected="true"], .pipe-step[aria-selected="true"] { border-color: transparent; }
.faq details[open], .ind:hover, .feature:hover, .person:hover, .store-tab:hover, .pipe-step:hover { border-color: var(--lilac); }
.ind.static, .ind.static:hover { border-color: rgb(17 24 39 / .14); }
.section.alt { background: var(--bg-alt); border-color: var(--glass-border); }
.steps li { transition: transform .25s ease, box-shadow .25s ease; }
.steps li:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
