/* demo.css — complete redesign
   Inherits tokens & base from index.css */

/* ── Extra tokens ── */
:root {
  --surface2:   #12121f;
  --surface3:   #16161f;
  --border2:    #2a2a40;
  --accent-dim: rgba(200,255,71,.07);
}

html, body { overflow: auto; height: auto; }

/* ── PAGE SHELL ── */
.demo-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,16,.7);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.demo-nav-logo {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text);
}
.demo-nav-logo .d { color: var(--accent); }
.demo-nav-logo img { height: 22px; width: auto; object-fit: contain; }
.demo-nav-links { display: flex; align-items: center; gap: 20px; }
.demo-nav-link {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .15s;
}
.demo-nav-link:hover { color: var(--text); }
.demo-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--accent);
  color: #080810;
  border: none;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.demo-nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 57px);
  max-height: 800px;
}
.hero-left {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,255,71,.2);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  width: fit-content;
}
.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero-title {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
}
.hero-title .accent { color: var(--accent); }
.hero-title .block  { display: block; }

.hero-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  opacity: .9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  background: var(--accent);
  color: #080810;
  border: none;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,255,71,.18);
}
.btn-primary--lg { font-size: 15px; padding: 18px 40px; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: var(--accent2); color: var(--accent2); }

.hero-note {
  font-size: 10px;
  color: var(--muted);
  opacity: .5;
  letter-spacing: .04em;
}

/* ── HERO RIGHT: APP MOCKUP ── */
.hero-right {
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(6,6,12,.5);
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,255,71,.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ── APP MOCKUP ── */
.app-mock {
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.app-topbar {
  height: 40px;
  background: #06060e;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
}
.app-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.app-logo-sm {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 3px;
}
.app-logo-sm .d { color: var(--accent); }
.app-logo-sm .l { color: var(--text); }
.app-project-name { font-size: 9px; color: var(--muted); letter-spacing: .06em; }

.app-tabs {
  display: flex;
  flex: 1;
  justify-content: center;
}
.app-tab {
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.app-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.app-tab-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.app-topbar-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.app-status  { font-size: 8px; letter-spacing: .1em; color: var(--accent); opacity: .8; }
.app-version { font-size: 8px; color: var(--muted); border: 1px solid var(--border); padding: 2px 7px; border-radius: 3px; }

.app-notes {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  min-height: 90px;
}
.app-notes-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 8px;
}
.app-notes-btn {
  font-size: 8px;
  letter-spacing: .08em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--muted);
}
.app-notes-btn.active { color: var(--accent); border-color: rgba(200,255,71,.3); }

.notes-text {
  font-size: 9px;
  line-height: 1.75;
  color: rgba(226,226,240,.7);
  letter-spacing: .02em;
}
/* inline note tags — shared across mockups */
.nt {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  margin: 0 1px;
  vertical-align: middle;
  letter-spacing: .04em;
}
.nt-intro  { background: rgba(28,76,58,.95);  color: #4dffa0; border: 1px solid rgba(77,255,160,.2); }
.nt-chorus { background: rgba(107,26,90,.95); color: #ff80e0; border: 1px solid rgba(255,128,224,.2); }
.nt-time   { background: rgba(71,200,255,.1); color: var(--accent2); border: 1px solid rgba(71,200,255,.25); }
.nt-jump   { background: rgba(74,140,26,.9);  color: #c8ff47; border: 1px solid rgba(200,255,71,.25); }

.app-timeline {
  background: var(--bg);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.track-label {
  font-size: 7px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.track-row { display: flex; gap: 2px; height: 16px; }
.t-seg {
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  font-size: 7px;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}
.t-gap { background: transparent; }

.wf-wrap {
  height: 36px;
  background: #030408;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin: 4px 0;
}
.wf-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px 5px;
}
.wf-playhead {
  position: absolute;
  top: 0; left: 35%;
  width: 1px; height: 100%;
  background: var(--accent);
  opacity: .9;
}

.app-transport {
  height: 38px;
  background: #06060e;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.tr-btn {
  width: 22px; height: 22px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tr-play {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tr-time {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: .06em;
  margin-left: auto;
  opacity: .8;
}

/* ── PLATFORM STRIP ── */
.platform-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-right: 1px solid var(--border);
  flex: 1;
  justify-content: center;
}
.platform-item:last-child { border-right: none; }
.platform-label { font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.platform-val   { font-size: 11px; color: var(--text); letter-spacing: .06em; }
.platform-dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── FEATURE STRIPS ── */
.feat-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.feat-body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border-left: 1px solid var(--border);
}
.feat-strip.flip .feat-body {
  order: 2;
  border-right: 1px solid var(--border);
  border-left: none;
}
.feat-strip.flip .feat-visual { order: 1; }

.feat-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--accent);
  opacity: .6;
  text-transform: uppercase;
}
.feat-title {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.feat-title em { font-style: normal; color: var(--accent); }
.feat-desc   { font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 360px; }
.feat-detail { font-size: 10px; color: var(--muted); opacity: .6; letter-spacing: .04em; font-style: italic; }

.feat-visual {
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.feat-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(200,255,71,.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FEATURE VISUALS ── */
/* 4-video grid */
.vid-grid-mock { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.vid-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.vid-slot {
  aspect-ratio: 16/9;
  background: #020207;
  border: 1px solid var(--border2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vid-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,255,71,.04), transparent 60%);
}
.vid-slot-label { position: absolute; top: 5px; left: 6px; font-size: 7px; color: var(--muted); letter-spacing: .08em; }
.vid-slot-play  { opacity: .2; }
.vid-sync-bar {
  height: 24px;
  background: #030408;
  border: 1px solid var(--border2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
}
.vid-sync-bar-fill {
  height: 3px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.vid-sync-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--accent);
  border-radius: 2px;
}
.vid-sync-label { font-size: 8px; color: var(--accent); letter-spacing: .06em; white-space: nowrap; }

/* notes mockup */
.notes-mock {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 7px;
  overflow: hidden;
  font-family: var(--mono);
}
.notes-mock-bar {
  height: 32px;
  background: #06060e;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.notes-mock-title { font-size: 8px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-right: auto; }
.notes-mock-btn {
  font-size: 8px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: 3px;
}
.notes-mock-btn.active { color: var(--accent); border-color: rgba(200,255,71,.2); }
.notes-mock-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notes-mock-line {
  font-size: 10px;
  line-height: 1.75;
  color: rgba(226,226,240,.75);
  letter-spacing: .02em;
}
.notes-mock-popup {
  margin: 0 14px 12px;
  background: #0f0f1c;
  border: 1px solid var(--border2);
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.notes-mock-popup-tc   { font-size: 8px; color: var(--muted); letter-spacing: .06em; margin-bottom: 4px; }
.notes-mock-popup-text { font-size: 9px; color: rgba(226,226,240,.7); line-height: 1.6; }

/* timeline mockup */
.timeline-mock { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 4px; }
.tm-track-header { font-size: 7px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.tm-row { display: flex; gap: 2px; height: 18px; }
.tm-seg {
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 7px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
}
.tm-wf {
  height: 40px;
  background: #020207;
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 4px 0;
}
.tm-wf-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px 6px;
}
.tm-playhead {
  position: absolute;
  top: 0; left: 32%;
  width: 1px; height: 100%;
  background: var(--accent);
  opacity: .9;
}
.tm-tc { position: absolute; bottom: 4px; right: 8px; font-size: 8px; color: var(--accent); letter-spacing: .06em; opacity: .7; }
.tm-transport {
  height: 30px;
  background: #06060e;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
}
.tm-tr-btn  { width: 18px; height: 18px; background: var(--surface2); border: 1px solid var(--border); border-radius: 3px; }
.tm-tr-play { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.tm-bpm     { font-size: 8px; color: var(--accent); letter-spacing: .06em; margin-left: auto; opacity: .7; }

/* ── HOW IT WORKS ── */
.steps-section {
  padding: 96px 64px;
  border-top: 1px solid var(--border);
}
.steps-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 64px;
}
.steps-label {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
}
.steps-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.step-item { position: relative; }
.step-item + .step-item { padding-left: 40px; border-left: 1px solid var(--border); }
.step-n {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  opacity: .12;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.step-title { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 12px; color: var(--muted); line-height: 1.75; }

/* ── TRUST ── */
.trust-section {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon.lime { background: rgba(200,255,71,.06); border-color: rgba(200,255,71,.2); color: var(--accent); }
.trust-icon.cyan { background: rgba(71,200,255,.06); border-color: rgba(71,200,255,.2); color: var(--accent2); }
.trust-title { font-family: var(--display); font-size: 17px; font-weight: 700; }
.trust-desc  { font-size: 12px; color: var(--muted); line-height: 1.7; }
.trust-tags  { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.trust-tag {
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  text-transform: uppercase;
}
.trust-tag--hi { color: var(--accent2); border-color: rgba(71,200,255,.25); }

/* ── CTA BAND ── */
.cta-band {
  border-top: 1px solid var(--border);
  padding: 96px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-band-bg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  opacity: .04;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 40px 0 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-band-left { display: flex; flex-direction: column; gap: 12px; }
.cta-kicker    { font-size: 9px; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.cta-title     { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.cta-sub       { font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 440px; }

/* ── FOOTER ── */
.demo-footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}
.footer-logo {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text);
}
.footer-logo .d  { color: var(--accent); }
.footer-logo img { height: 16px; width: auto; object-fit: contain; }
.footer-links    { display: flex; gap: 24px; }
.footer-link     { font-size: 10px; letter-spacing: .1em; color: var(--muted); text-decoration: none; text-transform: uppercase; transition: color .15s; }
.footer-link:hover { color: var(--text); }
.footer-copy     { font-size: 10px; color: var(--muted); opacity: .4; letter-spacing: .04em; }

/* ── DEMO LOADING OVERLAY ── */
.demo-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,16,.94);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.demo-loading-overlay.active { display: flex; }
.demo-spinner {
  width: 36px; height: 36px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-loading-title { font-family: var(--display); font-size: 18px; font-weight: 700; }

/* ── MOBILE ── */
@media (max-width: 860px) {
  .demo-nav    { padding: 14px 20px; }
  .demo-nav-links .demo-nav-link { display: none; }
  .hero        { grid-template-columns: 1fr; max-height: none; }
  .hero-left   { padding: 48px 28px 32px; }
  .hero-right  { display: none; }
  .platform-strip { flex-direction: column; }
  .platform-item  { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .platform-item:last-child { border-bottom: none; }
  .feat-strip  { grid-template-columns: 1fr; }
  .feat-body   { padding: 48px 28px; border-left: none; }
  .feat-strip.flip .feat-body   { order: 1; border-right: none; border-top: 1px solid var(--border); }
  .feat-strip.flip .feat-visual { order: 2; }
  .feat-visual { min-height: 260px; padding: 28px; }
  .steps-section { padding: 64px 28px; }
  .steps-grid    { grid-template-columns: 1fr; gap: 32px; }
  .step-item + .step-item { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 32px; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-item    { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px; }
  .trust-item:last-child { border-bottom: none; }
  .cta-band      { flex-direction: column; align-items: flex-start; padding: 64px 28px; }
  .demo-footer   { padding: 20px; }
  .footer-links  { display: none; }
}
