/* ============================================================
   Momentra Global — interactive door demo
   Layers on top of styles.css (shares tokens, phone, buttons)
   ============================================================ */

/* The demo simulates a TENANT VENUE's own night-mode dashboard — deliberately
   dark + cyan, distinct from the (light) Momentra marketing brand. The site
   theme is light, so this scope restores the dark tokens (and the --cyan vars
   this sheet depends on) for everything inside the demo stage. */
.demo-main {
  --bg: #060a16; --bg-2: #0a1120; --panel: #0e1626; --panel-2: #131d31;
  --line: rgba(34, 211, 238, 0.16); --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eaf1fb; --muted: #93a0b8; --muted-2: #61708c;
  --cyan: #22d3ee; --cyan-bright: #67e8f9; --cyan-deep: #0891b2;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 18px 50px -16px rgba(8, 145, 178, 0.35);
  background:
    radial-gradient(900px 520px at 84% -8%, rgba(34, 211, 238, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
}
.demo-main .eyebrow { color: var(--cyan-bright); }
.demo-main .btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.02); }
.demo-main .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); }
.demo-main :focus-visible { outline-color: var(--cyan-bright); }

.demo-main { padding-bottom: 40px; }

/* [hidden] must always win over component display rules below */
[hidden] { display: none !important; }

.demo-intro { text-align: center; max-width: 720px; padding-top: 48px; padding-bottom: 8px; }
.demo-intro .eyebrow { justify-content: center; display: inline-flex; }
.demo-intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.demo-lede { color: var(--muted); font-size: 1.1rem; margin: 18px auto 0; max-width: 56ch; }

/* ---------- Tabs ---------- */
.demo-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 34px auto 20px;
  padding: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.demo-tab {
  font-family: var(--ff-display); font-weight: 600; font-size: 0.9rem;
  color: var(--muted);
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; cursor: pointer;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.demo-tab:hover { color: var(--cyan-bright); }
.demo-tab.is-active {
  color: #02181d;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: 0 8px 22px -10px rgba(6,182,212,0.7);
}

/* ---------- Stat bar ---------- */
.demo-statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.stat {
  text-align: center; padding: 16px 12px;
  background: linear-gradient(180deg, var(--panel), rgba(13,18,27,0.5));
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
}
.stat-k { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; color: var(--cyan-bright); letter-spacing: -0.02em; }
.stat-v { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.stat-k.bump { animation: statBump .5s ease; }
@keyframes statBump { 0% { transform: scale(1); } 40% { transform: scale(1.28); color: #fff; } 100% { transform: scale(1); } }

/* ---------- Panels ---------- */
.demo-panel { display: none; }
.demo-panel.is-active { display: block; animation: panelIn .3s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.panel-grid-wide { grid-template-columns: 1.3fr 1fr; align-items: start; }
.demo-phone { margin-inline: auto; }
.panel-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.panel-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; max-width: 46ch; }
.panel-tip { color: var(--text) !important; font-size: 0.95rem !important; padding: 12px 16px; background: rgba(34,211,238,0.06); border-left: 2px solid var(--cyan); border-radius: 0 8px 8px 0; }
.panel-tip strong { color: var(--cyan-bright); }
.panel-copy .btn { margin-top: 6px; }

/* ---------- Panel 1: camera / snap ---------- */
.camera { margin-bottom: 14px; }
.camera-frame {
  position: relative; aspect-ratio: 4/3;
  background:
    radial-gradient(120% 120% at 50% 30%, rgba(34,211,238,0.1), transparent 60%),
    repeating-linear-gradient(45deg, #0a1119, #0a1119 10px, #0c141d 10px, #0c141d 20px);
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.camera-guest { position: absolute; inset: 0; }
.camera-guest img { width: 100%; height: 100%; object-fit: cover; }
.camera-reticle { position: absolute; inset: 18%; pointer-events: none; }
.camera-reticle span { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan-bright); opacity: 0.8; }
.camera-reticle span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.camera-reticle span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.camera-reticle span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.camera-reticle span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.camera-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 0.78rem; color: var(--muted); }
.camera-frame.flash::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flash .4s ease; }
@keyframes flash { from { opacity: 0.9; } to { opacity: 0; } }

.snap-btn {
  display: block; margin: 12px auto 0;
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid var(--cyan-bright); background: transparent; cursor: pointer;
  padding: 5px; transition: transform .12s ease;
}
.snap-btn span { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); }
.snap-btn:hover { transform: scale(1.05); }
.snap-btn:active { transform: scale(0.92); }

.board-list { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.board-list .board-row { animation: rowIn .34s ease; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.row-vip-btn {
  margin-left: auto; flex: none; cursor: pointer;
  font-family: var(--ff-display); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px;
  color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft);
  transition: all .16s ease;
}
.row-vip-btn:hover { color: var(--cyan-bright); border-color: var(--cyan); }
.row-vip-btn.is-vip { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-color: transparent; }

/* ---------- Panel 2: pass ---------- */
.pass-screen { display: flex; flex-direction: column; }
.pass-brand { text-align: center; margin-bottom: 12px; }
.pass-brand .brand-name { font-size: 1rem; }
.pass-card {
  background: linear-gradient(160deg, #0f1926, #0a121c);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,0.8);
}
.pass-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pass-venue { font-family: var(--ff-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.pass-mode { font-family: var(--ff-display); font-size: 0.68rem; font-weight: 700; color: #02181d; background: var(--cyan-bright); padding: 3px 9px; border-radius: 6px; }
.pass-qr { display: block; width: 200px; max-width: 100%; margin: 0 auto 16px; border-radius: 12px; background: #fff; padding: 8px; }
.pass-qr.regen { animation: passPop .4s ease; }
@keyframes passPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.pass-nfc { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 216px; margin-bottom: 16px; }
.pass-nfc p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.nfc-wave { position: relative; width: 70px; height: 70px; }
.nfc-wave span { position: absolute; inset: 0; margin: auto; border: 2px solid var(--cyan-bright); border-radius: 50%; animation: nfc 1.8s ease-out infinite; opacity: 0; }
.nfc-wave span:nth-child(2) { animation-delay: .6s; }
.nfc-wave span:nth-child(3) { animation-delay: 1.2s; }
@keyframes nfc { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.pass-info { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.pass-info > div { display: flex; justify-content: space-between; font-size: 0.86rem; }
.pass-info span { color: var(--muted); }
.pass-info strong { color: var(--text); }
.pass-toggle { display: flex; gap: 8px; margin-top: 16px; }
.pass-switch {
  flex: 1; font-family: var(--ff-display); font-weight: 600; font-size: 0.85rem;
  color: var(--muted); padding: 9px; border-radius: 10px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02); cursor: pointer;
  transition: all .16s ease;
}
.pass-switch.is-active { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-color: transparent; }

/* ---------- Panel 3: scanner ---------- */
.scanner-window {
  position: relative; aspect-ratio: 5/4; margin-bottom: 14px;
  background: radial-gradient(120% 120% at 50% 40%, rgba(34,211,238,0.08), #0a1119);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scan-line { position: absolute; left: 8%; right: 8%; height: 2px; top: 12%; background: linear-gradient(90deg, transparent, var(--cyan-bright), transparent); box-shadow: 0 0 12px var(--cyan-bright); opacity: 0; }
.scanner.scanning .scan-line { opacity: 1; animation: scanMove 1s ease-in-out; }
@keyframes scanMove { 0% { top: 12%; } 50% { top: 84%; } 100% { top: 12%; } }
.scan-corners span { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan); opacity: 0.7; }
.scan-corners span:nth-child(1) { top: 14%; left: 10%; border-right: 0; border-bottom: 0; }
.scan-corners span:nth-child(2) { top: 14%; right: 10%; border-left: 0; border-bottom: 0; }
.scan-corners span:nth-child(3) { bottom: 14%; left: 10%; border-right: 0; border-top: 0; }
.scan-corners span:nth-child(4) { bottom: 14%; right: 10%; border-left: 0; border-top: 0; }
.scanner-hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 0.8rem; color: var(--muted); }

.scan-result { margin-top: 14px; padding: 14px; background: #101a26; border: 1px solid var(--line); border-radius: 14px; animation: panelIn .3s ease; }
.scan-result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.scan-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.scan-result-head strong { display: block; font-size: 1rem; }
.scan-badge { font-family: var(--ff-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; display: inline-block; margin-top: 3px; }
.scan-badge.vip { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); }
.scan-badge.reg { color: var(--muted); background: rgba(255,255,255,0.06); }
.scan-perks { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.scan-perks li { font-size: 0.78rem; color: var(--cyan-bright); background: rgba(34,211,238,0.1); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.scan-note { font-size: 0.86rem; color: var(--muted); font-style: italic; }

/* ---------- Panel 4: VIP ---------- */
.vip-list-wrap { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.vip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.vip-head h3 { font-family: var(--ff-display); font-size: 1.1rem; }
.vip-count { font-family: var(--ff-display); font-weight: 700; color: var(--cyan-bright); font-size: 0.9rem; }
.vip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vip-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #101a26; border: 1px solid var(--line-soft); border-radius: 12px; flex-wrap: wrap; }
.vip-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.vip-name { min-width: 130px; }
.vip-name strong { display: block; font-size: 0.95rem; }
.vip-name span { font-size: 0.76rem; color: var(--muted); }
.vip-perks { display: flex; gap: 7px; margin-left: auto; flex-wrap: wrap; }
.perk-toggle {
  font-family: var(--ff-body); font-size: 0.76rem; font-weight: 600;
  color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
  transition: all .15s ease;
}
.perk-toggle:hover { border-color: var(--cyan); }
.perk-toggle.on { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-color: transparent; }

/* ---------- Panel 5: blast ---------- */
.blast-screen { display: flex; flex-direction: column; }
.blast-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.blast-reach { font-size: 0.78rem; color: var(--muted); }
.blast-reach strong { color: var(--cyan-bright); }
.blast-channels { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.chan {
  flex: 1 1 auto; font-family: var(--ff-display); font-weight: 600; font-size: 0.78rem;
  color: var(--muted); padding: 8px 6px; border-radius: 9px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
  transition: all .16s ease;
}
.chan.is-active { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-color: transparent; }
.blast-preview { position: relative; background: #101a26; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; min-height: 76px; display: flex; gap: 12px; align-items: flex-start; }
.blast-ghost { color: var(--cyan-bright); font-size: 1.3rem; flex: none; }
.blast-msg { font-size: 0.9rem; color: var(--text); line-height: 1.45; }
.blast-input { font-size: 0.9rem; margin-bottom: 10px; }
.blast-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blast-count { font-size: 0.78rem; color: var(--muted-2); }
.blast-sent { text-align: center; padding: 20px 8px 6px; }
.blast-sent .blast-burst {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: var(--glow); position: relative; animation: burst .5s ease;
}
.blast-sent .blast-burst::after { content: "◉"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #02181d; font-size: 1.4rem; }
@keyframes burst { 0% { transform: scale(0.2); opacity: 0; } 60% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
.blast-sent strong { display: block; font-size: 1.05rem; color: var(--text); }
.blast-sent span { color: var(--muted); font-size: 0.88rem; }

.blast-quick { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blast-quick button {
  font-family: var(--ff-body); font-size: 0.82rem; font-weight: 500;
  color: var(--cyan-bright); padding: 7px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(34,211,238,0.05);
  transition: all .15s ease;
}
.blast-quick button:hover { background: rgba(34,211,238,0.14); }

/* ---------- Intro CTA + hero video ---------- */
.demo-intro-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.demo-video { max-width: 960px; margin: 34px auto 0; }
.demo-video-frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #060a10;
}
.demo-video-poster { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(0.7); }
.demo-video-scrim { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 40%, rgba(6,182,212,0.22), transparent 55%), linear-gradient(180deg, rgba(5,7,10,0.15), rgba(5,7,10,0.75)); }
.demo-video-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid rgba(103,232,249,0.6); cursor: pointer; color: #02181d;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: var(--glow); display: flex; align-items: center; justify-content: center;
  transition: transform .16s ease, box-shadow .2s ease;
}
.demo-video-play svg { margin-left: 4px; }
.demo-video-play:hover { transform: scale(1.06); }
.demo-video-play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(103,232,249,0.5); animation: pulse 2.4s infinite; }
.demo-video-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.demo-video-tag { font-family: var(--ff-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-bright); }
.demo-video-cap strong { font-family: var(--ff-display); font-size: clamp(1rem, 2vw, 1.3rem); color: #fff; }
.demo-video.is-playing .demo-video-play, .demo-video.is-playing .demo-video-cap { display: none; }
.demo-video.is-playing .demo-video-scrim { background: linear-gradient(180deg, rgba(5,7,10,0.2), rgba(5,7,10,0.5)); }
.demo-video-soon { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.demo-video.is-playing .demo-video-soon { display: flex; }
.demo-video-soon strong { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cyan-bright); }
.demo-video-soon span { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }

/* ---------- Guided tour bar ---------- */
.tour-bar {
  display: flex; align-items: center; gap: 16px;
  margin: 0 auto 24px; padding: 12px 16px;
  background: linear-gradient(180deg, rgba(6,182,212,0.1), rgba(13,18,27,0.7));
  border: 1px solid var(--cyan); border-radius: 14px;
  box-shadow: var(--glow);
  animation: panelIn .3s ease;
}
.tour-badge { font-family: var(--ff-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); padding: 5px 11px; border-radius: 999px; flex: none; }
.tour-cap { min-width: 0; flex: 1; }
.tour-cap strong { display: block; font-family: var(--ff-display); font-size: 0.98rem; color: var(--text); }
.tour-cap span { display: block; font-size: 0.86rem; color: var(--muted); }
.tour-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.tour-progress { font-family: var(--ff-display); font-weight: 700; font-size: 0.8rem; color: var(--cyan-bright); }
.tour-controls .btn-sm { padding: 7px 12px; }
.tour-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 4px 6px; }
.tour-close:hover { color: var(--cyan-bright); }
.demo-tab.tour-flash { animation: tourFlash 1s ease; }
@keyframes tourFlash { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 0 3px rgba(103,232,249,0.4); } }

/* ---------- Panel 5: tracking heat-map ---------- */
.track-wrap { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.track-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.track-head h3 { font-family: var(--ff-display); font-size: 1.1rem; }
.track-sub { font-size: 0.82rem; color: var(--muted); }
.track-funnel { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); }
.track-funnel b { font-family: var(--ff-display); color: var(--cyan-bright); font-size: 0.95rem; }
.track-funnel i { color: var(--muted-2); font-style: normal; }
.track-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.track-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; }
.track-rank { font-family: var(--ff-display); font-weight: 700; color: var(--muted-2); font-size: 0.9rem; text-align: center; }
.track-item.top .track-rank { color: var(--cyan-bright); }
.track-body { min-width: 0; }
.track-name { display: flex; align-items: center; gap: 8px; }
.track-name strong { font-size: 0.9rem; }
.track-type { font-family: var(--ff-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft); padding: 2px 7px; border-radius: 999px; }
.track-bar-wrap { height: 8px; background: rgba(255,255,255,0.05); border-radius: 999px; margin-top: 7px; overflow: hidden; }
.track-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-bright)); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.track-item:not(.top) .track-bar { background: linear-gradient(90deg, #1f3947, #2b6d80); }
.track-metrics { text-align: right; flex: none; }
.track-metrics b { font-family: var(--ff-display); font-size: 1.05rem; color: var(--text); }
.track-metrics span { display: block; font-size: 0.7rem; color: var(--muted); }
.track-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--muted); }

/* ---------- Panel 7: admin / provisioning ---------- */
.admin-console { background: #070b12; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-console-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--line-soft); }
.admin-dots { display: inline-flex; gap: 5px; }
.admin-dots i { width: 10px; height: 10px; border-radius: 50%; background: #253241; display: block; }
.admin-title { font-family: var(--ff-display); font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.admin-plan { margin-left: auto; font-family: var(--ff-display); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; color: #02181d; background: var(--cyan-bright); padding: 3px 8px; border-radius: 6px; }
.admin-form { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; }
.admin-field > span { font-size: 0.76rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.admin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-slug { display: flex; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.admin-slug input { border: 0; background: transparent; border-radius: 0; padding-right: 4px; }
.admin-slug input:focus { box-shadow: none; background: transparent; }
.admin-slug i { font-style: normal; color: var(--muted-2); font-size: 0.86rem; padding-right: 12px; white-space: nowrap; }
.admin-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-chip { font-family: var(--ff-body); font-size: 0.8rem; font-weight: 600; color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02); transition: all .15s ease; }
.admin-chip:hover { border-color: var(--cyan); }
.admin-chip.on { color: #02181d; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); border-color: transparent; }
.admin-boot { padding: 18px; }
.admin-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-family: var(--ff-body); }
.admin-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted-2); opacity: 0.4; transition: opacity .3s ease, color .3s ease; }
.admin-steps li .admin-step-ic { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex: none; }
.admin-steps li.doing { opacity: 1; color: var(--text); }
.admin-steps li.doing .admin-step-ic { border-color: var(--cyan); color: var(--cyan-bright); animation: spinIc 0.8s linear infinite; }
.admin-steps li.done { opacity: 1; color: var(--text); }
.admin-steps li.done .admin-step-ic { border-color: transparent; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep)); color: #02181d; }
@keyframes spinIc { to { transform: rotate(360deg); } }
.admin-live { padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: panelIn .35s ease; }
.admin-live-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--cyan-bright); }
.admin-live > strong { font-family: var(--ff-display); font-size: 1.4rem; }
.admin-live-url { font-family: var(--ff-display); font-size: 0.95rem; color: var(--cyan-bright); border: 1px dashed var(--line); padding: 8px 16px; border-radius: 999px; background: rgba(34,211,238,0.05); }
.admin-live-stats { display: flex; gap: 22px; margin-top: 6px; }
.admin-live-stats span { font-size: 0.8rem; color: var(--muted); }
.admin-live-stats b { font-family: var(--ff-display); color: var(--text); font-size: 1.1rem; display: block; }
.admin-live .btn { margin-top: 8px; }

/* ---------- Final CTA ---------- */
.demo-cta { margin-top: 40px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(6,182,212,0.06), transparent); padding: 64px 0; }
.demo-cta-inner { text-align: center; max-width: 640px; }
.demo-cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.demo-cta-inner p { color: var(--muted); margin: 14px auto 24px; font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .demo-statbar { grid-template-columns: repeat(2, 1fr); }
  .panel-grid, .panel-grid-wide { grid-template-columns: 1fr; gap: 30px; }
  .panel-copy { text-align: center; }
  .panel-copy > p, .demo-lede { margin-inline: auto; }
  .panel-tip { text-align: left; }
  .vip-perks { margin-left: 0; }
  .tour-bar { flex-wrap: wrap; }
  .tour-cap { flex-basis: 100%; order: 2; }
  .tour-controls { margin-left: auto; }
}
@media (max-width: 560px) {
  .demo-tabs { border-radius: 16px; }
  .demo-tab { font-size: 0.82rem; padding: 9px 13px; }
  .vip-name { min-width: 0; width: 100%; }
  .track-item { grid-template-columns: 22px 1fr; }
  .track-metrics { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .track-metrics span { display: inline; }
  .admin-row { grid-template-columns: 1fr; }
  .demo-video-play { width: 64px; height: 64px; }
}
