/* Pristine Popular – v4: v2 "Neural" style, refined (theme toggle, software cards, demo tabs, timeline, FAQ) */
:root {
  --bg: #061a20;
  --bg2: #0a252d;
  --panel: rgba(255,255,255,.04);
  --panel-line: rgba(127,233,240,.14);
  --teal: #14b3bd;
  --cyan: #3ef2f8;
  --mint: #9ff7e6;
  --text: #e8f6f7;
  --muted: #9cb9bd;
  --warm: #ffd36e;
  --on-accent: var(--on-accent);
  --nav-bg: rgba(6,26,32,.72);
  --menu-bg: rgba(6,26,32,.97);
  --chat-bg: linear-gradient(180deg, #0c2c35, #08212a);
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --radius: 20px;
  --max: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f8f9;
  --bg2: #e7f1f3;
  --panel: rgba(255,255,255,.75);
  --panel-line: rgba(11,54,64,.14);
  --teal: #0f8f99;
  --cyan: #0b7f88;
  --mint: #14b3bd;
  --text: #0b2a30;
  --muted: #4f666b;
  --warm: #8a6400;
  --on-accent: #ffffff;
  --nav-bg: rgba(243,248,249,.8);
  --menu-bg: rgba(243,248,249,.98);
  --chat-bg: linear-gradient(180deg, #ffffff, #eef6f7);
  --shadow: 0 24px 60px rgba(11,54,64,.14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; line-height: 1.6; font-size: 16.5px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { position: relative; padding: 110px 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--cyan); font-weight: 700; margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--cyan); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 680px; }
.grad { background: linear-gradient(100deg, var(--cyan), var(--mint) 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.todo { display: inline-block; background: rgba(255,211,110,.14); color: var(--warm); border: 1px dashed var(--warm); border-radius: 6px; padding: 1px 8px; font-size: .85em; font-weight: 600; }
.review-banner { position: relative; z-index: 60; background: #3a2f0b; color: var(--warm); font-size: .82rem; text-align: center; padding: 6px 12px; }

/* Nav */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(calc(100% - 24px), 1080px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--panel-line); border-radius: 999px; transition: top .3s; }
.has-banner .nav { top: 46px; }
.has-banner.scrolled .nav { top: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: .98rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
@media (max-width: 1120px) { .nav ul a { padding: 8px 9px; font-size: .86rem; } .nav .cta { display: none; } }
.nav ul a:hover, .nav ul a.on { color: var(--text); background: rgba(62,242,248,.1); }
.nav .cta { background: var(--cyan); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--panel-line); color: var(--text); border-radius: 999px; padding: 7px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font: inherit; font-weight: 700; }
.btn:hover { transform: translateY(-2px); }
.btn-glow { background: var(--cyan); color: var(--on-accent); box-shadow: 0 0 0 0 rgba(62,242,248,.5), 0 10px 30px rgba(62,242,248,.25); }
.btn-glow:hover { box-shadow: 0 0 0 6px rgba(62,242,248,.15), 0 14px 40px rgba(62,242,248,.35); }
.btn-line { border-color: var(--panel-line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-line:hover { border-color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; background: radial-gradient(ellipse at 75% 40%, rgba(20,179,189,.22), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(62,242,248,.08), transparent 50%), var(--bg); }
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 800; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: linear-gradient(90deg, var(--cyan), var(--mint)); border-radius: 4px; opacity: .55; transform-origin: left; animation: draw 1s .4s ease both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(.4em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-mark { position: relative; justify-self: center; width: min(360px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-mark::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(62,242,248,.35), transparent 65%); filter: blur(20px); animation: pulse 5s ease-in-out infinite; }
.hero-mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(62,242,248,.3); animation: spin 40s linear infinite; }
.hero-mark img { position: relative; width: 78%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--muted); background: rgba(255,255,255,.03); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 36px; margin: 8px auto 0; background: linear-gradient(var(--cyan), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Logo marquee */
.marquee { padding: 34px 0; border-block: 1px solid var(--panel-line); background: var(--bg2); overflow: hidden; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 64px; width: auto; background: #fff; border-radius: 14px; padding: 10px 16px; }
.marquee img.wide { padding: 18px 18px; }
.marquee img.badge { padding: 4px 6px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 46px; }
.tile { position: relative; grid-column: span 2; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--panel-line); overflow: hidden; transition: transform .25s, border-color .25s; transform-style: preserve-3d; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(62,242,248,.14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: rgba(62,242,248,.4); }
.tile:hover::before { opacity: 1; }
.tile.big { grid-column: span 3; }
.tile .num { font-size: .78rem; color: var(--cyan); font-weight: 700; letter-spacing: .14em; }
.tile h3 { margin-top: 10px; font-size: 1.4rem; }
.tile p { color: var(--muted); }
.tile a { font-weight: 700; text-decoration: none; }
.tile .glyph { position: absolute; right: -10px; bottom: -24px; font-size: 7rem; line-height: 1; opacity: .06; font-weight: 900; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.stat { padding: 22px; border-radius: 16px; border: 1px solid var(--panel-line); background: var(--panel); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Chat demo */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.chat { border-radius: 24px; border: 1px solid var(--panel-line); background: var(--chat-bg); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--panel-line); font-size: .88rem; color: var(--muted); }
.chat-head i { width: 10px; height: 10px; border-radius: 50%; background: #2fdf8a; box-shadow: 0 0 10px #2fdf8a; }
.chat-body { height: 330px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; animation: rise .35s ease both; white-space: pre-line; }
.msg.me { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--panel-line); border-bottom-left-radius: 4px; }
.msg.ai b { color: var(--cyan); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-3px); } }
.chat-ask { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--panel-line); }
.chat-ask button { background: rgba(62,242,248,.08); border: 1px solid var(--panel-line); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; cursor: pointer; transition: background .2s, border-color .2s; }
.chat-ask button:hover { background: rgba(62,242,248,.18); border-color: var(--cyan); }
.chat-ask button:disabled { opacity: .45; cursor: default; }
.demo-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 35%, transparent 40%); box-shadow: 0 0 0 1px rgba(62,242,248,.4); }
.ticks li strong { color: var(--text); }

/* Training day */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--panel-line); background: var(--panel); margin: 26px 0 22px; }
.toggle button { border: 0; background: none; color: var(--muted); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.toggle button.on { background: var(--cyan); color: var(--on-accent); }
.day { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mod { padding: 18px; border-radius: 16px; border: 1px solid var(--panel-line); background: var(--panel); animation: rise .4s ease both; }
.mod time { font-size: .8rem; color: var(--cyan); font-weight: 700; }
.mod h3 { font-size: 1rem; margin: 6px 0 0; line-height: 1.35; }
.mod.brk { background: none; border-style: dashed; color: var(--muted); }
.mod.brk h3 { font-weight: 500; }
.course-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.course-meta > div { padding: 22px; border-radius: 16px; border: 1px solid var(--panel-line); background: var(--panel); }
.course-meta h3 { font-size: 1.02rem; }
.trainer { display: flex; gap: 22px; align-items: center; margin-top: 34px; padding: 26px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(20,179,189,.16), rgba(255,255,255,.02)); border: 1px solid var(--panel-line); }
.avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: var(--on-accent); background: conic-gradient(from 200deg, var(--cyan), var(--mint), var(--teal), var(--cyan)); }
.trainer p { color: var(--muted); margin: 0; }
.trainer small { color: var(--cyan); font-weight: 700; letter-spacing: .06em; }

/* Grant estimator */
.estimator { border-radius: 24px; border: 1px solid var(--panel-line); background: var(--panel); padding: 28px; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.tabs button { flex: 1; border: 1px solid var(--panel-line); background: none; color: var(--muted); border-radius: 12px; padding: 12px; font: inherit; font-weight: 700; cursor: pointer; }
.tabs button.on { border-color: var(--cyan); color: var(--text); background: rgba(62,242,248,.08); }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.field input[type=range] { width: 100%; accent-color: var(--cyan); }
.field .val { font-size: 1.6rem; font-weight: 800; }
.field input[type=number] { width: 100%; padding: 12px 14px; font: inherit; font-size: 1.2rem; color: var(--text); background: rgba(0,0,0,.25); border: 1px solid var(--panel-line); border-radius: 12px; }
.result { margin-top: 22px; padding: 20px; border-radius: 16px; background: linear-gradient(120deg, rgba(62,242,248,.14), rgba(62,242,248,.03)); border: 1px solid rgba(62,242,248,.35); }
.result b { font-size: clamp(1.8rem, 4vw, 2.4rem); display: block; line-height: 1.1; }
.result span { color: var(--muted); font-size: .92rem; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.flow { counter-reset: f; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.flow li { counter-increment: f; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.flow li::before { content: counter(f, decimal-leading-zero); flex: none; font-weight: 800; color: var(--cyan); font-size: .9rem; padding-top: 2px; }
.flow li strong { color: var(--text); }
.warn-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--warm); color: var(--warm); background: rgba(255,211,110,.06); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.contact-card { display: block; padding: 28px; border-radius: var(--radius); border: 1px solid var(--panel-line); background: var(--panel); color: var(--text); text-decoration: none; transition: transform .25s, border-color .25s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(62,242,248,.12); color: var(--cyan); font-size: 1.3rem; margin-bottom: 16px; }
.contact-card small { color: var(--muted); display: block; }
.contact-card strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.support-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.support-strip div { padding: 18px; border-radius: 16px; border: 1px solid var(--panel-line); color: var(--muted); font-size: .92rem; }
.support-strip strong { display: block; color: var(--text); margin-bottom: 4px; }

footer { border-top: 1px solid var(--panel-line); padding: 40px 0 34px; color: var(--muted); font-size: .84rem; }
footer .row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
footer .brand { white-space: normal; flex-wrap: wrap; }
footer .hrd { height: 54px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-mark { width: 220px; justify-self: start; order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.big { grid-column: span 1; }
  .stats, .support-strip { grid-template-columns: 1fr 1fr; }
  .course-meta, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav .cta { display: none; }
  .nav ul { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; background: var(--menu-bg); border: 1px solid var(--panel-line); border-radius: 20px; }
  .nav ul.open { display: flex; }
  .nav ul a { padding: 12px 16px; }
}
@media (max-width: 560px) {
  section { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .bento { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .review-banner { font-size: .72rem; }
  .has-banner .nav { top: 54px; }
  .hero-mark { width: 160px; }
  .trainer { flex-direction: column; align-items: flex-start; }
  .chat-body { height: 360px; }
  .msg { max-width: 94%; }
}
/* ---------- v4 additions ---------- */
/* Scroll progress bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal), var(--cyan)); z-index: 70; transition: width .1s linear; }

/* Theme toggle */
.theme-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--panel-line); background: var(--panel); color: var(--text); font-size: 1rem; cursor: pointer; display: grid; place-items: center; }
.theme-btn:hover { border-color: var(--cyan); }

/* Software cards */
.soft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.soft { padding: 18px; border-radius: 18px; border: 1px solid var(--panel-line); background: var(--panel); transition: transform .25s, border-color .25s; }
.soft:hover { transform: translateY(-4px); border-color: var(--cyan); }
.soft .logo { height: 76px; display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.soft .logo img { max-height: 56px; width: auto; max-width: 100%; }
.soft h3 { font-size: 1rem; margin-bottom: 6px; }
.soft p { color: var(--muted); font-size: .88rem; margin: 0; }
.soft .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.soft .tags span { font-size: .72rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--muted); }

/* Software grouped by brand */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.brand-group { padding: 22px; border-radius: var(--radius); border: 1px solid var(--panel-line); background: var(--panel); display: flex; flex-direction: column; gap: 16px; transition: border-color .25s; }
.brand-group:hover { border-color: var(--cyan); }
.brand-head { display: flex; align-items: center; gap: 14px; }
.brand-head img { height: 54px; width: 150px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px 12px; flex: none; }
.brand-head h3 { margin: 0; font-size: 1.25rem; }
.brand-head small { color: var(--muted); font-size: .82rem; }
.brand-products { display: grid; gap: 10px; }
.prod { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--panel-line); background: rgba(255,255,255,.02); }
.prod img { width: 56px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 6px; }
.prod strong { display: block; font-size: .98rem; }
.prod p { margin: 0; color: var(--muted); font-size: .86rem; }
.brand-group .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.brand-group .tags span { font-size: .72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--muted); }

/* PetrusAI assistants list */
.asst { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.asst li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--panel-line); background: var(--panel); }
.asst b { font-size: .95rem; }
.asst span { color: var(--muted); font-size: .84rem; }

/* Demo tabs (chat / before-after) */
.demo-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--panel-line); background: var(--panel); margin-bottom: 18px; }
.demo-tabs button { border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.demo-tabs button.on { background: var(--cyan); color: var(--on-accent); }
.demo-pane[hidden] { display: none; }

/* Before / after compare (from v3, dark-styled) */
.compare { position: relative; border-radius: 24px; border: 1px solid var(--panel-line); background: var(--chat-bg); box-shadow: var(--shadow); overflow: hidden; user-select: none; min-height: 420px; }
.pane { position: absolute; inset: 0; padding: 26px; display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.pane h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--muted); }
.pane ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; font-size: .93rem; }
.pane li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px dashed var(--panel-line); }
.pane li i { font-style: normal; font-size: .75rem; color: var(--muted); }
.pane li em { font-style: normal; font-size: .76rem; white-space: nowrap; color: #ff9f9f; }
.pane.after { background: linear-gradient(160deg, var(--teal), #0b5a61); color: #fff; clip-path: inset(0 0 0 var(--cut, 50%)); }
.pane.after h3, .pane.after li i { color: #d9fbfd; } .pane.after li em { color: #b9fff4; } .pane.after li { border-color: rgba(255,255,255,.25); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 0; border-left: 2px solid var(--cyan); }
.handle::after { content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--cyan); color: var(--on-accent); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-cap { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* Live dashboard demo (iframe) */
.dash-frame { border-radius: 24px; border: 1px solid var(--panel-line); background: var(--chat-bg); box-shadow: var(--shadow); overflow: hidden; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--panel-line); font-size: .88rem; color: var(--muted); }
.dash-head i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2fdf8a; box-shadow: 0 0 10px #2fdf8a; margin-right: 8px; vertical-align: middle; }
.dash-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.dash-frame iframe { display: block; width: 100%; height: 560px; border: 0; background: #fff; }

/* Training timeline */
.tl { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; border-left: 1px solid var(--panel-line); display: grid; gap: 14px; }
.tl li { position: relative; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--panel-line); background: var(--panel); animation: rise .4s ease both; }
.tl li::before { content: ""; position: absolute; left: -34px; top: 18px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--bg); }
.tl time { display: block; font-size: .78rem; color: var(--cyan); font-weight: 700; margin-bottom: 2px; }
.tl h3 { font-size: .98rem; margin: 0; line-height: 1.35; }
.tl small { display: block; color: var(--muted); margin-top: 4px; }
.tl li.brk { background: none; border-style: dashed; color: var(--muted); padding: 8px 16px; } .tl li.brk::before { background: var(--muted); }
.tl li.brk h3 { font-weight: 500; font-size: .9rem; }
.day-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.day-cols > div > .kicker { margin-bottom: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--panel-line); }
.faq details { border-bottom: 1px solid var(--panel-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--muted); padding: 0 0 18px; max-width: 70ch; }

/* Customer stories */
.stories { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 40px; }
.story { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--panel-line); background: var(--panel); }
.story blockquote { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.5; font-weight: 500; }
.story blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--cyan); margin-bottom: 6px; }
.story-who { display: flex; gap: 14px; align-items: center; }
.story-av { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--on-accent); background: conic-gradient(from 200deg, var(--cyan), var(--mint), var(--teal), var(--cyan)); }
.story-who small { display: block; color: var(--muted); }
.story-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-facts li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--muted); }
.story.sample { border-style: dashed; }
.story-tag { position: absolute; top: 12px; right: 14px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--warm); border: 1px dashed var(--warm); border-radius: 6px; padding: 2px 8px; background: rgba(255,211,110,.08); }
.story-cta { display: grid; align-content: center; gap: 6px; background: linear-gradient(160deg, rgba(20,179,189,.16), rgba(255,255,255,.02)); }
.story-cta p { color: var(--muted); }
.story-cta .btn { justify-self: start; margin-top: 8px; }

/* Plain-facts paragraph (for people and for AI search engines) */
.facts { margin-top: 48px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--panel-line); background: var(--panel); }
.facts p { color: var(--muted); margin: 0; max-width: 90ch; font-size: .97rem; }

/* Floating actions */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: grid; gap: 10px; }
.fab a, .fab button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 1.3rem; border: 1px solid var(--panel-line); background: var(--menu-bg); color: var(--text); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s, opacity .3s; }
.fab a:hover, .fab button:hover { transform: translateY(-2px); }
.fab .top { opacity: 0; pointer-events: none; }
.scrolled .fab .top { opacity: 1; pointer-events: auto; }
.fab .wa { background: #25d366; color: #fff; border-color: transparent; position: relative; }
.fab .wa .todo { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .72rem; }

@media (max-width: 980px) {
  .soft-grid { grid-template-columns: repeat(3, 1fr); }
  .day-cols, .stories { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .soft-grid { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: 1fr; }
  .brand-head img { width: 110px; height: 46px; }
  /* phones: show before and after stacked instead of the drag slider */
  .compare { min-height: 0; display: grid; }
  .pane { position: static; padding: 18px; } .pane li { grid-template-columns: 20px 1fr; } .pane li em { grid-column: 2; }
  .pane.after { clip-path: none; }
  .handle, .compare input, .compare-cap { display: none; }
  .fab .top { display: none; }
  .dash-frame iframe { height: 480px; }
  .fab .wa .todo { display: none; }
  /* smaller floating buttons so they don't cover content on phones */
  .fab { right: 12px; bottom: 12px; gap: 8px; }
  .fab a, .fab button { width: 44px; height: 44px; font-size: 1.1rem; }
  .chat-ask, .contact-grid, .support-strip { padding-right: 0; }
  .chat-ask { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
