/* ══════════════════════════════════════════════════════════════════════════
   demo.css — Styles for DevRoute demo pages (demo-checkout, demo-esim, etc.)
   Shared components extracted from landing.css + demo-specific classes.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Theme variables ──────────────────────────────────────────────────────── */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --bg:        #06080f;
  --surface:   #0c0e1a;
  --surface-2: #111422;
  --surface-3: #171b2e;
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.11);
  --border-soft: rgba(255,255,255,0.04);
  --text:           #eef0ff;
  --text-primary:   #eef0ff;
  --text-secondary: #8b92b8;
  --text-muted:     #8b92b8;
  --text-dim:       #363a56;
  --brand:   #1d7ef8;
  --brand-2: #00c2cb;
  --green:  #10b981;
  --red:    #f43f5e;
  --blue:   #1d7ef8;
  --indigo: #4f6ef7;
  --purple: #818cf8;
  --yellow: #f59e0b;
  --cyan:   #22d3ee;
  --teal:   #00c2cb;
  --orange: #fb923c;
  --color-success: #10b981;
  --color-error:   #f43f5e;
  --color-warning: #f59e0b;
  --color-info:    #1d7ef8;
  --gradient:      linear-gradient(135deg, #1d7ef8 0%, #00c2cb 100%);
  --gradient-btn:  linear-gradient(135deg, #1d7ef8 0%, #1565c8 100%);
  --gradient-text: linear-gradient(135deg, #60b0ff 0%, #00e5f0 100%);
  --gradient-teal: linear-gradient(135deg, #00c2cb 0%, #1d7ef8 100%);
  --radius-xs:   6px;
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  22px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.4);
  --shadow:      0 4px 20px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.35);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.7), 0 8px 24px rgba(0,0,0,.5);
  --shadow-glow: 0 0 50px rgba(29,126,248,0.18), 0 0 100px rgba(0,194,203,0.1);
  --text-xs:   11px; --text-sm:   12px; --text-base: 14px; --text-md:   15px;
  --text-lg:   16px; --text-xl:   18px; --text-2xl:  22px; --text-3xl:  28px;
  --text-4xl:  36px; --text-5xl:  48px;
  --weight-normal:    400; --weight-medium:    500; --weight-semibold:  600;
  --weight-bold:      700; --weight-extrabold: 800; --weight-black:     900;
  --space-1:  4px;  --space-2:  8px;  --space-3:  12px; --space-4:  16px;
  --space-5:  20px; --space-6:  24px; --space-8:  32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px;
  --transition:    0.2s ease;
  --transition-sm: 0.15s ease;
  --transition-lg: 0.3s ease;
  --z-base:     1; --z-dropdown: 100; --z-modal: 200; --z-toast: 300; --z-overlay: 400;
}

/* ─────────────────────────────────────────────
   Reset & Base
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ─────────────────────────────────────────────
   Utility Classes
───────────────────────────────────────────── */
.hidden { display: none !important; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────
   Animations
───────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

@keyframes border-spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6,6,9,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.05em;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.nav__logo-text {
  font-weight: 700;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__links li a {
  padding: 6px 13px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav__links li a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__link {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(124,58,237,0.5);
}

.nav__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.nav__mobile-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 40px rgba(124,58,237,0.45), 0 4px 20px rgba(0,0,0,0.4);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  opacity: 0.93;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(124,58,237,0.6), 0 8px 30px rgba(0,0,0,0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(124,58,237,0.45);
  background: rgba(124,58,237,0.07);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   Signal Panel (.sp) — Live Demo Hero Card
───────────────────────────────────────────── */
.sp {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sp::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(124,58,237,0.25) 0%, rgba(45,212,191,0.10) 50%, transparent 80%);
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  z-index: 1;
}

/* ── Status bar */
.sp__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.sp__live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.sp__dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green);
  animation: blink 2.5s ease-in-out infinite;
}

.sp__conf {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.sp__conf--hi {
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.25);
}

/* ── Device identity */
.sp__device {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-height: 14px;
}

.sp__model {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 3px 0 8px;
}

.sp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sp__chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.07);
}

.sp__chip--blue   { background: rgba(29,126,248,0.12); color: #60a5fa; border-color: rgba(29,126,248,0.2); }
.sp__chip--purple { background: rgba(129,140,248,0.12); color: #a78bfa; border-color: rgba(129,140,248,0.2); }
.sp__chip--dim    { background: rgba(255,255,255,0.03); color: var(--text-dim); }
.sp__chip--fam    { background: rgba(45,212,191,0.08); color: #2dd4bf; border-color: rgba(45,212,191,0.15); }

/* ── eSIM section */
.sp__esim {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
}

.sp__esim-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sp__esim-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.sp__esim-icon--yes { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.2); }
.sp__esim-icon--no  { background: rgba(244,63,94,0.1);  color: var(--red);   border-color: rgba(244,63,94,0.2); }

.sp__esim-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sp__esim-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 1px;
  transition: color 0.3s;
}

.sp__esim-kvs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.sp__kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.sp__kv > span:first-child {
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}

.sp__kv > span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Intelligence section */
.sp__intel {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sp__intel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp__sec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sp__plan-pill {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 2px 8px;
  border-radius: 999px;
}

.sp__profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 24px;
}

.sp__profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid;
}

.sp__profile-conf {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
}

.sp__profile-why {
  width: 100%;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 1px;
}

.sp__profile-ph {
  font-size: 12px;
  color: var(--text-dim);
}

.sp__headline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  font-style: italic;
  padding: 8px 10px;
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(124,58,237,0.4);
}

.sp__scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp__score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp__score-lbl {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  width: 72px;
  flex-shrink: 0;
}

.sp__score-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.sp__score-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease, background 0.4s;
  width: 0%;
}

.sp__score-n {
  font-size: 11.5px;
  font-weight: 700;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.4s;
}

/* ── Signals section */
.sp__sigs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__sig-col {
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sp__sig-col:last-child { border-right: none; }

.sp__sig-hd {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.sp__sig-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp__sig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp__sig-txt {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Footer */
.sp__foot {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
}

.sp__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.sp__btn:hover {
  color: var(--text);
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.07);
}

/* ── Accordions */
.sp__acc {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__acc-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition);
  text-align: left;
}

.sp__acc-hd:hover {
  background: rgba(124,58,237,0.06);
}

.sp__acc-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.sp__acc-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid;
}

.sp__acc-badge--free       { color: #94a3b8; background: rgba(148,163,184,0.08); border-color: rgba(148,163,184,0.15); }
.sp__acc-badge--starter    { color: #a78bfa; background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.20); }
.sp__acc-badge--growth     { color: #60a5fa; background: rgba(29,126,248,0.10);  border-color: rgba(29,126,248,0.20); }
.sp__acc-badge--enterprise { color: #f59e0b; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.20); }

.sp__acc-arrow {
  font-size: 10px;
  color: var(--text-dim);
  transition: transform 0.22s ease;
  display: inline-block;
  margin-left: 2px;
}

.sp__acc--open .sp__acc-arrow { transform: rotate(180deg); }

.sp__acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.sp__acc--open .sp__acc-body { max-height: 1400px; }

/* ── KV rows inside accordion body */
.sp__rows { display: flex; flex-direction: column; }

.sp__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.sp__row > span:first-child {
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}

.sp__row > span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp__row > span:last-child code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-muted);
}

.sp__row--sep {
  padding: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
  border: none;
}

/* ── Profile block inside accordion */
.sp__profile-wrap {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Scores inside accordion */
.sp__scores--pad {
  padding: 10px 16px 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Key signals chips row */
.sp__keysigs {
  padding: 8px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Compact 2-col details grid (Free / Starter) */
.sp__deets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__deet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  font-size: 11.5px;
}

.sp__deet > span:first-child { color: var(--text-dim); font-weight: 500; flex-shrink: 0; }
.sp__deet > span:last-child  { color: var(--text); font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
.sp__deet--full { grid-column: 1 / -1; }

/* ── Auth verdict cards (Growth / Enterprise) */
.sp__verdicts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sp__verdicts:has(.sp__verd:nth-child(4)) {
  grid-template-columns: 1fr 1fr;
}

.sp__verd {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  background: var(--surface);
}

.sp__verd > span:first-child { font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); }
.sp__verd > span:last-child  { font-size: 12px; font-weight: 700; color: var(--text); }

/* ── 2-column signals variant */
.sp__sigs--2 { grid-template-columns: 1fr 1fr; }

/* ── Plan lock pills */
.sp__lock {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 99px;
  line-height: 1.8;
}

.sp__lock--starter    { color: #a78bfa; background: rgba(124,58,237,0.12); }
.sp__lock--growth     { color: #60a5fa; background: rgba(29,126,248,0.12); }
.sp__lock--enterprise { color: #f59e0b; background: rgba(245,158,11,0.12); }

/* ── Recommendation */
.sp__reason {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 2px;
  font-style: italic;
  white-space: normal;
  overflow-wrap: break-word;
}

.sp__recommendation {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 8px 10px;
  background: rgba(29,126,248,0.06);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(29,126,248,0.35);
}

.sp__recommendation::before {
  content: 'Recommendation · ';
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  display: block;
  margin-bottom: 3px;
}

/* ── Risk context narrative */
.sp__riskctx {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 16px 12px;
  padding: 8px 10px;
  background: rgba(244,63,94,0.05);
  border-radius: var(--radius-xs);
  border-left: 2px solid rgba(244,63,94,0.3);
}

/* ── JSON block */
.sp__json {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #030409;
  padding: 14px 16px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.3) transparent;
}

.sp__json::-webkit-scrollbar { width: 4px; }
.sp__json::-webkit-scrollbar-track { background: transparent; }
.sp__json::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 99px; }

.sp__json pre {
  font-family: 'Fira Code','Cascadia Code','JetBrains Mono',ui-monospace,monospace;
  font-size: 11.5px;
  color: #a78bfa;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* ─────────────────────────────────────────────
   Demo-specific classes (dp-* and demo-*)
───────────────────────────────────────────── */

/* Plan tier badge on dp-cards */
.dp-plan-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  position: absolute;
  top: 16px;
  right: 16px;
}
.dp-plan-tag--free       { background: rgba(124,58,237,.12); color: #a78bfa; border: 1px solid rgba(124,58,237,.2); }
.dp-plan-tag--starter    { background: rgba(16,185,129,.10); color: var(--green);  border: 1px solid rgba(16,185,129,.2); }
.dp-plan-tag--growth     { background: rgba(244,63,94,.10);  color: var(--red);    border: 1px solid rgba(244,63,94,.2); }
.dp-plan-tag--enterprise { background: rgba(45,212,191,.10); color: var(--teal);   border: 1px solid rgba(45,212,191,.2); }

/* Plan tier badge inside hero demo group titles */
.demo-plan-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 99px;
  margin-left: 5px;
  vertical-align: middle;
}
.demo-plan-tag--free       { background: rgba(124,58,237,.18); color: #c4b5fd; }
.demo-plan-tag--starter    { background: rgba(16,185,129,.12); color: var(--green); }
.demo-plan-tag--growth     { background: rgba(244,63,94,.10);  color: var(--red); }
.demo-plan-tag--enterprise { background: rgba(45,212,191,.12); color: var(--teal); }

/* Lock pill — shown when a field requires a higher plan */
.demo-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 99px;
  vertical-align: middle;
}
.demo-lock-pill--starter    { background: rgba(16,185,129,.08);  color: #34d399; border: 1px solid rgba(16,185,129,.18); }
.demo-lock-pill--growth     { background: rgba(244,63,94,.08);   color: #fb7185; border: 1px solid rgba(244,63,94,.18); }
.demo-lock-pill--enterprise { background: rgba(45,212,191,.08);  color: var(--teal); border: 1px solid rgba(45,212,191,.18); }

/* ── Intelligence demo components ─────────────────────────────────────────── */
.demo-row--full {
  padding: 8px 0 4px;
  border: none;
}
.demo-row--full:hover { background: none; }

/* Score bars (Growth+) */
.demo-scores-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  margin-bottom: 4px;
}
.demo-score {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-score__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  width: 72px;
  flex-shrink: 0;
}
.demo-score__track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.demo-score__fill {
  height: 100%;
  border-radius: 999px;
  transition: width .5s ease;
}
.demo-score__val {
  font-size: 12px;
  font-weight: 700;
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* Insight chips */
.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 0 2px;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: lowercase;
  letter-spacing: .01em;
}

/* Intelligence sub-section divider inside accordion groups */
.demo-intel-sep {
  padding: 10px 12px 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-top: 1px solid var(--border-soft);
  margin-top: 2px;
}

/* Headline + recommendation card (Starter+) */
.demo-intel-card {
  margin: 2px 12px 6px;
  padding: 9px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--purple);
  border-radius: var(--radius-xs);
}
.demo-intel-card__headline {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.demo-intel-card__rec {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Risk context narrative (Enterprise) */
.demo-intel-risk {
  margin: 2px 12px 6px;
  padding: 8px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(244,63,94,0.5);
  border-radius: var(--radius-xs);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  width: fit-content;
}

.footer__logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}

.footer__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer__col {}

.footer__col-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col-links a:hover {
  color: var(--text);
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   Mobile Navigation Drawer
───────────────────────────────────────────── */
.nav__drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13,14,23,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px 20px;
  flex-direction: column;
  gap: 2px;
  z-index: 98;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  animation: fadeInUp 0.15s ease both;
}

.nav__drawer.nav__drawer--open {
  display: flex;
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}

.nav__drawer-link:hover,
.nav__drawer-link:active {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.nav__drawer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 4px;
}

.nav__drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(124,58,237,0.4);
}

/* Overlay when drawer is open */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(0,0,0,0.6);
  z-index: 97;
}

.nav__overlay--open {
  display: block;
}

/* ─────────────────────────────────────────────
   Responsive — 768px
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────────
   Responsive — 1024px
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─────────────────────────────────────────────
   Responsive — 480px (small phones)
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .nav__actions .nav__link {
    display: none;
  }

  /* Signal panel — prevent overflow on small phones */
  .sp__verdicts {
    grid-template-columns: 1fr 1fr;
  }

  .sp__esim {
    flex-wrap: wrap;
    gap: 8px;
  }

  .sp__esim-kvs {
    width: 100%;
  }
}
