*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

:root {
  --accent: #6aafd2;
  --accent-dim: rgba(106, 175, 210, 0.15);
  --accent-glow: rgba(106, 175, 210, 0.4);
  --green: #5eead4;
  --green-dim: rgba(94, 234, 212, 0.15);
  --pink: #ec4899;
  --pink-dim: rgba(236, 72, 153, 0.15);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  --teal: #14b8a6;
  --teal-dim: rgba(20, 184, 166, 0.15);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.15);
  --indigo: #6366f1;
  --indigo-dim: rgba(99, 102, 241, 0.15);
  --cyan: #06b6d4;
  --cyan-dim: rgba(6, 182, 212, 0.15);
  --lime: #84cc16;
  --lime-dim: rgba(132, 204, 22, 0.15);
  --sky: #0ea5e9;
  --sky-dim: rgba(14, 165, 233, 0.15);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.15);
  --violet: #7c3aed;
  --violet-dim: rgba(124, 58, 237, 0.15);
  --rose: #f43f5e;
  --rose-dim: rgba(244, 63, 94, 0.15);
  --fuchsia: #d946ef;
  --fuchsia-dim: rgba(217, 70, 239, 0.15);
  --orange: #f97316;
  --orange-dim: rgba(249, 115, 22, 0.15);
  --slate: #64748b;
  --slate-dim: rgba(100, 116, 139, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --bg: #09090b;
  --bg-subtle: #0f0f12;
  --bg-card: #141418;
  --bg-card-hover: #1a1a1f;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --nav-bg: rgba(9,9,11,0.85);
  --logo-filter: invert(1);
  --shadow-heavy: rgba(0,0,0,0.5);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-subtle: #f8f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f3f5;
  --text: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --border: rgba(0,0,0,0.06);
  --border-strong: rgba(0,0,0,0.1);
  --nav-bg: rgba(255,255,255,0.85);
  --logo-filter: invert(0);
  --shadow-heavy: rgba(0,0,0,0.2);
}

/* System preference fallback (no data-theme attribute) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg: #09090b; --bg-subtle: #0f0f12; --bg-card: #141418; --bg-card-hover: #1a1a1f;
    --text: #fafafa; --text-secondary: #a1a1aa; --text-muted: #71717a;
    --border: rgba(255,255,255,0.06); --border-strong: rgba(255,255,255,0.1);
    --nav-bg: rgba(9,9,11,0.85); --logo-filter: invert(1); --shadow-heavy: rgba(0,0,0,0.5);
  }
}
@media (prefers-color-scheme: light) {
  html:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg: #ffffff; --bg-subtle: #f8f8fa; --bg-card: #ffffff; --bg-card-hover: #f3f3f5;
    --text: #09090b; --text-secondary: #52525b; --text-muted: #a1a1aa;
    --border: rgba(0,0,0,0.06); --border-strong: rgba(0,0,0,0.1);
    --nav-bg: rgba(255,255,255,0.85); --logo-filter: invert(0); --shadow-heavy: rgba(0,0,0,0.2);
  }
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 22px; width: auto; filter: var(--logo-filter); }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  padding: 6px 12px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--bg-card); text-decoration: none; }
.nav-link.primary {
  background: var(--accent); color: #fff; font-weight: 600;
}
.nav-link.primary:hover { background: #2563eb; }

/* ===== HAMBURGER ===== */
.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--border-strong); border-radius: 8px;
  cursor: pointer; transition: all 0.2s; position: relative; z-index: 110;
}
.hamburger:hover { background: var(--bg-subtle); }
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 1px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 2.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(2.5px, -2.5px); }

.menu-overlay {
  position: fixed; top: 0; right: 0;
  width: fit-content; min-width: 220px; max-width: 280px; height: 100vh;
  background: var(--bg-card); border-left: 1px solid var(--border);
  z-index: 105; padding: 24px 24px 40px;
  transform: translateX(100%); transition: transform 0.3s ease, background 0.3s;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15); overflow-y: auto;
}
.menu-overlay.open { transform: translateX(0); }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 104; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }

.menu-close {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: none; border: none;
  color: var(--text-muted); cursor: pointer; border-radius: 6px;
  transition: color 0.2s, background 0.2s; margin-bottom: 12px;
}
.menu-close:hover { color: var(--text); background: var(--bg-subtle); }
.menu-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.menu-items { display: flex; flex-direction: column; gap: 2px; }
.menu-group-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); padding: 12px 12px 4px;
}
.menu-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 13px; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: 10px;
  transition: all 0.2s;
}
.menu-item:hover { background: var(--bg-subtle); text-decoration: none; }
.menu-item svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.menu-item.park-item {
  background: var(--border-strong); font-weight: 600; margin-bottom: 4px; width: fit-content;
}
.menu-item.park-item:hover { background: var(--text-muted); color: #fff; }
.menu-item.section-link {
  font-size: 12px; font-weight: 400; padding: 6px 12px; color: var(--text-secondary);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; background: var(--bg-subtle);
  border: 1px solid var(--border-strong); border-radius: 8px;
  width: fit-content;
}
.theme-btn {
  width: 30px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 6px; cursor: pointer;
  transition: all 0.2s; color: var(--text-muted);
}
.theme-btn:hover { color: var(--text); }
.theme-btn.active { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.theme-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== HUB PAGE ===== */
.hero { text-align: center; padding: 80px 24px 32px; }
.hero h1 { font-size: 36px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 12px; }
.hero p { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.product-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 900px; margin: 0 auto 80px; padding: 0 24px;
  grid-auto-rows: 1fr;
}
.product-grid > a { display: flex; text-decoration: none; color: inherit; }
@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.product-card-icon svg { width: 22px; height: 22px; stroke-width: 2; fill: none; }
.product-card h3 { font-size: 18px; font-weight: 650; }
.product-card .price { font-size: 14px; color: var(--accent); font-weight: 600; }
.product-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.product-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent); margin-top: auto;
}
.product-card .card-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== DEMO PAGE LAYOUT ===== */
.demo-page { padding: 48px 0 80px; }
.demo-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 768px) { .demo-layout { grid-template-columns: 1fr; } }

/* Explainer (left) */
.explainer { padding: 16px 0; }
.explainer .product-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--accent); margin-bottom: 16px;
}
.explainer h2 { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 8px; }
.explainer .tagline { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }

.explainer-section { margin-bottom: 28px; }
.explainer-section h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px;
}
.explainer-section ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.explainer-section li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}
.explainer-section li svg {
  width: 16px; height: 16px; stroke: #22c55e; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}

.explainer .pricing-badge {
  display: inline-block; padding: 8px 16px; border-radius: 8px;
  background: var(--accent-dim); color: var(--accent);
  font-size: 16px; font-weight: 700; margin-bottom: 20px;
}

.explainer .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.explainer .cta-btn:hover { background: #2563eb; text-decoration: none; }

/* Wizard panel (right) */
.wizard-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky; top: 80px;
}

/* Wizard internals - same as landing page */
.wizard-progress {
  display: flex; align-items: center; gap: 0;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.wizard-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s, transform 0.3s;
}
.wizard-dot.active { background: #6aafd2; transform: scale(1.25); }
.wizard-dot.done { background: #22c55e; }
.wizard-line { flex: 1; height: 2px; background: var(--border-strong); transition: background 0.3s; }
.wizard-line.done { background: #22c55e; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wizard-body { padding: 28px; }
.wizard-body h3 { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.wizard-body .subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }

/* Shared wizard components */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
  outline: none;
}
.otp-row { display: flex; gap: 10px; margin-bottom: 16px; justify-content: center; }
.otp-box {
  width: 44px; height: 48px; text-align: center; font-size: 18px; font-weight: 600;
  border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
}
.btn-primary {
  width: 100%; padding: 12px 16px; border: none; border-radius: 8px;
  background: #6aafd2; color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; margin-top: 4px;
  min-height: 44px;
}
.btn-primary:hover { background: #2563eb; }
.btn-secondary {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: transparent; color: var(--text); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s; margin-top: 8px;
  min-height: 44px;
}
.btn-secondary:hover { background: var(--bg-card-hover); }

.duration-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.duration-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border-strong);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  min-height: 48px;
}
.duration-option:hover { border-color: #6aafd2; }
.duration-option.selected { border-color: #6aafd2; background: rgba(106,175,210,0.08); }
.duration-label { font-size: 14px; font-weight: 500; }
.duration-price { font-size: 14px; font-weight: 600; }
.duration-price.free { color: #22c55e; }

.confirm-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.confirm-icon.green { background: rgba(34,197,94,0.12); }
.confirm-icon.green svg { stroke: #22c55e; }
.confirm-icon.red { background: rgba(239,68,68,0.12); }
.confirm-icon.red svg { stroke: #ef4444; }
.confirm-icon.amber { background: rgba(245,158,11,0.12); }
.confirm-icon.amber svg { stroke: #f59e0b; }
.confirm-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 2.5; }

.confirm-text { text-align: center; margin-bottom: 20px; }
.confirm-text h3 { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.confirm-text p { font-size: 13px; color: var(--text-muted); }

.timer {
  text-align: center; font-size: 28px; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 16px; font-variant-numeric: tabular-nums;
}

.detail-card { display: flex; flex-direction: column; }
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--border); font-size: 13px;
}
.detail-row:first-child { border-top: none; }
.detail-row .label { color: var(--text-muted); }
.detail-row .value { color: var(--text); font-weight: 500; }
.detail-row .value.green { color: #22c55e; }
.detail-row .value.red { color: #ef4444; }
.detail-row .value.amber { color: #f59e0b; }
.detail-row.total { font-weight: 700; font-size: 14px; border-top: 2px solid var(--border-strong); padding-top: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.badge.green { background: rgba(34,197,94,0.12); color: #22c55e; }
.badge.red { background: rgba(239,68,68,0.12); color: #ef4444; }
.badge.amber { background: rgba(245,158,11,0.12); color: #f59e0b; }
.badge.blue { background: rgba(106,175,210,0.12); color: #6aafd2; }

.vehicle-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 8px; border: 1px solid var(--border-strong); margin-bottom: 14px;
  min-height: 48px;
}
.vehicle-card.selected { border-color: #6aafd2; background: rgba(106,175,210,0.06); }
.vehicle-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(106,175,210,0.1);
  display: flex; align-items: center; justify-content: center;
}
.vehicle-icon svg { width: 18px; height: 18px; stroke: #6aafd2; fill: none; stroke-width: 2; }
.vehicle-info { flex: 1; }
.vehicle-info .name { font-size: 13px; font-weight: 600; }
.vehicle-info .plate { font-size: 12px; color: var(--text-muted); }

/* Surge banner */
.surge-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px; margin-bottom: 16px;
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
}
.surge-banner svg { width: 18px; height: 18px; stroke: #f59e0b; fill: none; stroke-width: 2; flex-shrink: 0; }
.surge-banner .surge-text { font-size: 13px; color: #f59e0b; font-weight: 600; }

/* Occupancy bar */
.occupancy-bar { height: 8px; border-radius: 4px; background: var(--border-strong); margin: 8px 0 16px; overflow: hidden; }
.occupancy-fill { height: 100%; border-radius: 4px; transition: width 0.8s ease; }
.occupancy-fill.green { background: #22c55e; }
.occupancy-fill.amber { background: #f59e0b; }
.occupancy-fill.red { background: #ef4444; }

/* Feature checklist */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text);
}
.feature-list li svg { width: 16px; height: 16px; stroke: #22c55e; fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* Replay button */
.replay-bar {
  padding: 12px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: center;
}
.replay-btn {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.replay-btn:hover { color: var(--text); }
.replay-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Implementation spec (collapsible) */
.impl-spec { margin-top: 40px; }
.impl-toggle {
  width: 100%; padding: 14px 20px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); color: var(--text-muted);
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s, border-color 0.2s;
}
.impl-toggle:hover { color: var(--text); border-color: var(--accent); }
.impl-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.impl-toggle.open svg { transform: rotate(180deg); }
.impl-content {
  display: none; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
}
.impl-content.open { display: block; }
.impl-content h4 { font-size: 13px; font-weight: 700; color: var(--text); margin: 12px 0 4px; }
.impl-content h4:first-child { margin-top: 0; }
.impl-content code {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  background: var(--bg); padding: 2px 6px; border-radius: 4px;
}
.impl-content a { color: var(--accent); }

/* Plan comparison cards */
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 768px) { .plan-cards { grid-template-columns: 1fr; } }
.plan-card {
  padding: 16px; border-radius: 8px; border: 1px solid var(--border-strong);
  cursor: pointer; transition: border-color 0.2s;
}
.plan-card.selected { border-color: #6aafd2; background: rgba(106,175,210,0.06); }
.plan-card.recommended { border-color: #22c55e; }
.plan-card h4 { font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.plan-card .plan-price { font-size: 18px; font-weight: 700; color: var(--accent); }
.plan-card .plan-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Savings callout */
.savings-callout {
  padding: 12px 16px; border-radius: 8px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  font-size: 13px; color: #22c55e; font-weight: 600;
  text-align: center; margin-bottom: 16px;
}

/* Toggle switch */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
}
.toggle-row .toggle-label { font-size: 14px; font-weight: 500; }
.toggle {
  width: 40px; height: 22px; border-radius: 11px;
  background: var(--border-strong); position: relative;
  cursor: pointer; transition: background 0.2s;
}
.toggle.on { background: #22c55e; }
.toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; transition: transform 0.2s;
}
.toggle.on::after { transform: translateX(18px); }

/* Revenue split preview */
.split-preview {
  display: flex; gap: 8px; margin: 12px 0;
}
.split-bar {
  height: 8px; border-radius: 4px; transition: width 0.5s;
}
.split-bar.property { background: #22c55e; }
.split-bar.polarity { background: #6aafd2; }
.split-labels {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted);
}

/* ===== VIEW TOGGLE ===== */
.view-toggle {
  display: flex; justify-content: center; gap: 4px; margin-bottom: 16px;
}
.view-btn {
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: transparent;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.view-btn:hover { border-color: var(--accent); color: var(--text); }
.view-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.view-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== STATUS SECTION HEADERS ===== */
.status-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; margin-top: 16px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  cursor: pointer; user-select: none; transition: color 0.2s;
}
.status-section-header:hover { color: var(--text); }
.status-section-header:first-child { margin-top: 0; }
.status-section-header .status-dot-lg {
  width: 8px; height: 8px; border-radius: 50%;
}
.status-section-header .status-count {
  font-size: 10px; background: var(--border-strong); border-radius: 10px;
  padding: 1px 7px; font-weight: 600;
}
.status-section-header .collapse-icon {
  margin-left: auto; transition: transform 0.2s;
}
.status-section-header.collapsed .collapse-icon {
  transform: rotate(-90deg);
}

/* ===== SECTIONS ===== */
.sections-container {
  max-width: 720px; margin: 0 auto; padding: 0 24px 48px;
}
.demo-section {
  margin-bottom: 32px; scroll-margin-top: 72px;
}
.section-divider {
  display: flex; align-items: center; gap: 8px;
  padding: 0 0 6px;
}
.section-divider .section-icon {
  width: 16px; height: 16px; stroke: var(--text-muted); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.section-divider .section-name {
  font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap;
}
.section-divider .section-count {
  font-size: 10px; font-weight: 600; background: var(--border-strong);
  border-radius: 10px; padding: 1px 7px; color: var(--text-muted); flex-shrink: 0;
}
.section-divider .section-line {
  flex: 1; height: 1px; background: var(--border-strong);
}

/* Section chip nav */
.section-nav {
  display: flex; gap: 6px; max-width: 720px; margin: 0 auto 20px;
  padding: 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-chip {
  flex-shrink: 0; font-size: 12px; font-weight: 500;
  color: var(--text-muted); padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border-strong); background: transparent;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.section-chip:hover { color: var(--text); border-color: var(--accent); }
.section-chip.active { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

/* Status pill on cards */
.status-pill {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 2px 8px; border-radius: 10px;
  flex-shrink: 0;
}
.status-pill.live { background: rgba(34,197,94,0.12); color: #22c55e; }
.status-pill.planned { background: var(--border-strong); color: var(--text-muted); }

/* ===== LIST VIEW ===== */
[data-view="list"].product-grid {
  grid-template-columns: 1fr; gap: 3px;
  margin: 0; padding: 0; max-width: none; grid-auto-rows: auto;
}
[data-view="list"] .product-card {
  flex-direction: row; align-items: center;
  padding: 10px 14px; gap: 10px;
  border-radius: var(--radius);
}
[data-view="list"] .product-card:hover { transform: none; }
[data-view="list"] .product-card-icon { flex-shrink: 0; width: 36px; height: 36px; }
[data-view="list"] .product-card-icon svg { width: 18px; height: 18px; }
[data-view="list"] .product-card h3 {
  font-size: 13px; flex-shrink: 0; min-width: 0; width: auto;
}
[data-view="list"] .product-card .price {
  font-size: 11px; flex-shrink: 0; width: auto; min-width: 0;
}
[data-view="list"] .product-card p {
  flex: 1; min-width: 0; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text-muted);
}
[data-view="list"] .product-card .card-link {
  margin-left: auto; margin-top: 0; flex-shrink: 0; white-space: nowrap;
  font-size: 12px;
}
[data-view="list"] .product-card .status-pill { display: none; }
.status-label {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  padding: 6px 4px 3px; margin: 0; line-height: 1;
}
.status-label.live { color: #22c55e; }
.status-label.planned { color: var(--text-muted); }
.status-label.planned ~ a .product-card {
  opacity: 0.55;
}
.status-label.planned ~ a:hover .product-card {
  opacity: 0.85;
}
@media (max-width: 768px) {
  [data-view="list"] .product-card {
    padding: 10px 12px; gap: 8px;
  }
  [data-view="list"] .product-card h3 { font-size: 13px; flex: 1; }
  [data-view="list"] .product-card .price { display: none; }
  [data-view="list"] .product-card p { display: none; }
  [data-view="list"] .product-card .card-link { margin-left: auto; }
}

/* ===== KANBAN VIEW ===== */
.kanban-board { display: none; max-width: 720px; margin: 0 auto 80px; padding: 0 24px; }
.kanban-board.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) { .kanban-board.active { grid-template-columns: 1fr; } }
.kanban-column { min-width: 0; }
.kanban-column-header {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.kanban-column.live .kanban-column-header { color: #22c55e; }
.kanban-column.planned .kanban-column-header { color: var(--text-muted); }
.kanban-column-header .count {
  font-size: 10px; background: var(--border-strong); border-radius: 10px;
  padding: 1px 7px; font-weight: 600; color: var(--text-muted);
}
.kanban-column.live .kanban-column-header .count {
  background: rgba(34,197,94,0.15); color: #22c55e;
}
.kanban-card {
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 16px; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.kanban-column.live .kanban-card { border-color: rgba(34,197,94,0.25); }
.kanban-column.live .kanban-card:hover { border-color: #22c55e; }
.kanban-column.planned .kanban-card { opacity: 0.75; }
.kanban-column.planned .kanban-card:hover { opacity: 1; border-color: var(--accent); }
.kanban-card:hover { border-color: var(--accent); }
.kanban-card h4 { font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.kanban-card .price { font-size: 12px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.kanban-tickets { display: flex; flex-direction: column; gap: 4px; }
.kanban-ticket {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
}
.kanban-ticket a { font-size: 12px; font-weight: 600; }
.kanban-ticket .status-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.kanban-ticket .status-dot.done { background: #22c55e; }
.kanban-ticket .status-dot.live { background: #22c55e; }
.kanban-ticket .status-dot.todo { background: #6aafd2; }
.kanban-ticket .status-dot.planned { background: var(--text-muted); }
.kanban-ticket .status-dot.backlog { background: var(--text-muted); }
.kanban-ticket .status-dot.progress { background: #f59e0b; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border); padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.footer-top img { height: 22px; width: auto; filter: var(--logo-filter); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-divider {
  border: none; border-top: 1px solid var(--border); margin: 0 0 24px;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .sections-container { padding: 0 16px 32px; }
  .section-nav { padding: 0 16px; margin-bottom: 16px; }
  .section-divider .section-name { font-size: 12px; }
  .demo-section { margin-bottom: 24px; scroll-margin-top: 60px; }
  .nav { padding: 12px 16px; }
  .hero { padding: 60px 16px 24px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .product-card { padding: 24px; }
  .demo-page { padding: 32px 0 60px; }
  .demo-layout { gap: 32px; }
  .wizard-panel { position: static; }
  .wizard-body { padding: 20px 16px; }
  .explainer { padding: 0; }
  .explainer h2 { font-size: 24px; }
  .explainer .tagline { font-size: 14px; }
  .otp-row { gap: 8px; }
  .otp-box { width: 40px; height: 44px; font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .footer-top, .footer-bottom {
    flex-direction: column; align-items: flex-start; gap: 16px;
  }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}

/* ── ICP Selector (PP-1176) ───────────────────────────────────────────── */

.icp-selector {
  max-width: 960px;
  margin: 24px auto 32px;
  padding: 20px 24px;
  background: var(--surface, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
}

.icp-selector:empty { display: none; }

.icp-selector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.icp-selector-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text, #e5e7eb);
}

.icp-selector-sub {
  font-size: 13px;
  color: var(--text-muted, #9ca3af);
  margin: 4px 0 0;
}

.icp-selector-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icp-selector-back,
.icp-selector-close {
  background: transparent;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.15));
  color: var(--text-muted, #9ca3af);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
}

.icp-selector-close {
  padding: 6px 10px;
  font-size: 18px;
  line-height: 1;
}

.icp-selector-back:hover,
.icp-selector-close:hover {
  border-color: var(--text, #e5e7eb);
  color: var(--text, #e5e7eb);
}

.icp-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.icp-selector-card {
  --icp-accent: #4EA7FC;
  background: var(--surface-2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text, #e5e7eb);
  transition: all 0.15s ease;
  border-left: 3px solid var(--icp-accent);
}

.icp-selector-card:hover {
  background: var(--surface-3, rgba(255, 255, 255, 0.06));
  transform: translateY(-1px);
}

.icp-selector-card-label {
  font-size: 14px;
  font-weight: 600;
}

.icp-selector-card-tagline {
  font-size: 11px;
  color: var(--text-muted, #9ca3af);
  margin-top: 4px;
  line-height: 1.3;
}

.icp-selector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icp-selector-chip {
  background: var(--surface-2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  color: var(--text, #e5e7eb);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.15s ease;
}

.icp-selector-chip:hover {
  background: var(--surface-3, rgba(255, 255, 255, 0.08));
  border-color: var(--text-muted, #9ca3af);
}

.icp-selector-empty {
  text-align: center;
  color: var(--text-muted, #9ca3af);
  font-size: 13px;
  margin: 0;
}

.icp-selector-empty code {
  background: var(--surface-2, rgba(255, 255, 255, 0.05));
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Product card filter states when an ICP filter is active */
a.icp-match .product-card {
  outline: 1px solid rgba(74, 167, 252, 0.4);
}

a.icp-dim {
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

a.icp-dim:hover {
  opacity: 0.55;
}

a.icp-recommended .product-card {
  outline: 2px solid #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  position: relative;
}

a.icp-recommended .product-card::before {
  content: 'Recommended';
  position: absolute;
  top: -10px;
  right: 12px;
  background: #22c55e;
  color: #000;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────────────────────────
 * Course-app shell mockup styles (1116-393 / 7H + 7D mockups)
 * Used by dashboard-customer.html, dashboard-team.html,
 * dashboard-admin.html, get-started.html — all share the same
 * sidebar + main layout so we're not duplicating chrome.
 * ─────────────────────────────────────────────────────────────────*/

.shell-frame { display: flex; min-height: 100vh; background: var(--bg-subtle); }

.shell-sidebar {
  width: 256px; flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}

.shell-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.shell-brand img { height: 26px; width: auto; }
.shell-brand .sub { font-size: 13px; font-weight: 500; color: var(--text-muted); }

.shell-role {
  margin: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-subtle);
  display: flex; align-items: center; gap: 10px;
}
.shell-role.role-customer .shell-role-icon { background: rgba(204,120,92,0.18); color: #cc785c; }
.shell-role.role-team     .shell-role-icon { background: rgba(78,205,196,0.18); color: #4ecdc4; }
.shell-role.role-admin    .shell-role-icon { background: rgba(240,192,64,0.20); color: #d49a1f; }
.shell-role-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.shell-role-text { flex: 1; min-width: 0; }
.shell-role-title { font-size: 13px; font-weight: 600; color: var(--text); }
.shell-role-title .sep { color: var(--text-muted); margin: 0 4px; }
.shell-role.role-customer .shell-role-title .tier { color: #cc785c; }
.shell-role-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.shell-nav { flex: 1; padding: 8px 12px; }
.shell-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s;
}
.shell-nav a:hover { background: var(--bg-card-hover); color: var(--text); text-decoration: none; }
.shell-nav a.active { background: rgba(106,175,210,0.15); color: var(--accent); font-weight: 600; }
.shell-nav .group-label {
  margin-top: 18px; padding: 0 12px 4px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted);
}
.shell-nav .course-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer;
}
.shell-nav .course-row.active { background: rgba(106,175,210,0.15); color: var(--accent); font-weight: 600; }
.shell-nav .course-row .chev { margin-left: auto; transition: transform 0.15s; }
.shell-nav .course-row.expanded .chev { transform: rotate(90deg); }
.shell-nav .module-list {
  margin: 4px 0 4px 12px; padding-left: 12px;
  border-left: 1px solid var(--border);
}
.shell-nav .module-list a { font-size: 12.5px; padding: 6px 12px; }
.shell-nav .add-courses {
  margin-top: 6px; font-size: 12px;
  color: var(--text-muted);
}

.shell-footer { border-top: 1px solid var(--border); padding: 12px; }
.shell-footer a.settings {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none;
}
.shell-footer a.settings:hover { background: var(--bg-card-hover); color: var(--text); text-decoration: none; }
.shell-footer .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 4px 0;
}
.shell-footer .theme-icon { color: var(--text-muted); }
.shell-footer .signout {
  font-size: 12px; color: var(--text-muted); display: flex; gap: 5px; align-items: center;
}

/* Main content area */
.shell-main { flex: 1; overflow-y: auto; padding: 32px 48px; }

/* Hero */
.shell-hero { max-width: 1100px; margin-bottom: 32px; }
.creative-evolution {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  background: linear-gradient(135deg, rgba(232,168,124,0.18), rgba(242,160,181,0.18));
  border: 1px solid rgba(232,168,124,0.45);
  color: #b86a3f;
  margin-bottom: 14px;
}
.shell-h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--text); line-height: 1.1;
  margin: 0 0 12px;
  font-family: 'Geist', sans-serif;
}
.shell-h1 .gradient {
  background: linear-gradient(135deg, #4a8fb8 0%, #d4567a 50%, #d49a6a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.shell-lead {
  font-size: 16px; color: var(--text-secondary);
  max-width: 640px; margin: 0;
}
.shell-tier-line { margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.shell-tier-line strong { color: var(--text); font-weight: 600; }

/* KPI strip */
.shell-kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 32px 0; }
.shell-kpi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.shell-kpi-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.shell-kpi-value { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.shell-kpi-value .small { font-size: 16px; color: var(--text-secondary); font-weight: 500; }
.shell-kpi-value .delta { font-size: 13px; font-weight: 600; margin-left: 6px; }
.shell-kpi-value .delta.up { color: #22c55e; }
.shell-kpi-value .delta.down { color: #ef4444; }
.shell-kpi-progress { margin-top: 10px; height: 4px; background: var(--bg-subtle); border-radius: 2px; overflow: hidden; }
.shell-kpi-progress-fill { height: 100%; background: linear-gradient(90deg, #4a8fb8, #6aafd2); border-radius: 2px; }
.shell-kpi-foot { margin-top: 10px; font-size: 12px; color: var(--text-muted); }

/* CTAs */
.shell-cta-row { display: flex; gap: 12px; margin: 24px 0 36px; flex-wrap: wrap; }
.shell-btn-primary {
  background: var(--accent); color: #fff;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 2px 12px rgba(106,175,210,0.35);
  transition: background 0.15s, transform 0.15s;
}
.shell-btn-primary:hover { background: #4a8fb8; text-decoration: none; transform: translateY(-1px); }
.shell-btn-secondary {
  background: var(--bg-card); color: var(--text);
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.shell-btn-secondary:hover { background: var(--bg-card-hover); text-decoration: none; }

/* Get-started callout */
.shell-gs-callout {
  background: linear-gradient(135deg, rgba(232,168,124,0.10), rgba(242,160,181,0.08));
  border: 1px solid rgba(232,168,124,0.30);
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 1100px;
  margin: 0 0 32px;
  display: flex; align-items: center; gap: 16px;
}
.shell-gs-icon { width: 40px; height: 40px; background: rgba(232,168,124,0.25); color: #b86a3f; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shell-gs-text { flex: 1; }
.shell-gs-title { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.shell-gs-sub { font-size: 13px; color: var(--text-secondary); }
.shell-gs-link { color: #b86a3f; font-weight: 600; font-size: 13px; text-decoration: none; display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

/* Module grid */
.shell-modules-section { max-width: 1100px; }
.shell-modules-section h2 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.shell-module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shell-module-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  display: flex; gap: 16px; align-items: flex-start;
  text-decoration: none; color: inherit;
}
.shell-module-card:hover { transform: translateY(-2px); border-color: rgba(106,175,210,0.4); box-shadow: 0 4px 20px rgba(0,0,0,0.06); text-decoration: none; }
.shell-module-num { background: rgba(106,175,210,0.15); color: #4a8fb8; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.shell-module-num.done { background: rgba(78,205,196,0.18); color: #4ecdc4; }
.shell-module-num.next { background: rgba(232,168,124,0.18); color: #b86a3f; }
.shell-module-text { flex: 1; min-width: 0; }
.shell-module-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 2px 0 4px; }
.shell-module-card p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.shell-module-card .meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* Generic table for admin views */
.shell-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; max-width: 1100px; margin-bottom: 24px; }
.shell-table-header { display: grid; padding: 12px 20px; gap: 12px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); background: var(--bg-subtle); }
.shell-table-row { display: grid; padding: 14px 20px; gap: 12px; border-bottom: 1px solid var(--border); align-items: center; font-size: 13px; }
.shell-table-row:last-child { border-bottom: none; }
.shell-table-row:hover { background: var(--bg-card-hover); }
.shell-table-row strong { font-weight: 600; color: var(--text); }
.shell-table-row .muted { color: var(--text-muted); }

.shell-pill {
  display: inline-block; padding: 2px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.shell-pill.live { background: rgba(94,234,212,0.15); color: #14b8a6; }
.shell-pill.refunded { background: rgba(239,68,68,0.15); color: #ef4444; }
.shell-pill.team { background: rgba(78,205,196,0.18); color: #4ecdc4; }
.shell-pill.admin { background: rgba(240,192,64,0.20); color: #d49a1f; }
.shell-pill.customer { background: rgba(204,120,92,0.18); color: #cc785c; }

/* Section heading inside main */
.shell-section { max-width: 1100px; margin-bottom: 32px; }
.shell-section h2 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 14px; }

/* Read-only badge for team role */
.read-only-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(78,205,196,0.15);
  border: 1px solid rgba(78,205,196,0.35);
  color: #14b8a6;
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}

/* Demo banner top */
.demo-banner {
  background: linear-gradient(90deg, rgba(232,168,124,0.18), rgba(242,160,181,0.18));
  border-bottom: 1px solid rgba(232,168,124,0.35);
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  color: #b86a3f;
}
.demo-banner a { color: #b86a3f; text-decoration: underline; }

/* Get-started walkthrough page styles */
.gs-step { display: flex; gap: 20px; margin-bottom: 28px; max-width: 880px; }
.gs-step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 100px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 2px 12px rgba(106,175,210,0.4);
}
.gs-step-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 6px 0 6px; }
.gs-step-body p { font-size: 14px; color: var(--text-secondary); margin: 0 0 12px; }
.gs-code {
  background: #0a0c18; color: #e2e8f0;
  border-radius: 10px; padding: 14px 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; line-height: 1.6;
  overflow-x: auto; margin: 12px 0;
}
.gs-code .dots { display: flex; gap: 6px; margin-bottom: 8px; }
.gs-code .dots span { width: 10px; height: 10px; border-radius: 50%; }
.gs-code .dots span:nth-child(1) { background: #ff6b6b; }
.gs-code .dots span:nth-child(2) { background: #f0c040; }
.gs-code .dots span:nth-child(3) { background: #4ecdc4; }

.gs-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 1100px; margin-bottom: 32px; }
.gs-tool-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.15s, border-color 0.15s;
}
.gs-tool-card:hover { transform: translateY(-2px); }
.gs-tool-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* Mobile */
@media (max-width: 768px) {
  .shell-frame { flex-direction: column; }
  .shell-sidebar { display: none; }
  .shell-main { padding: 20px; }
  .shell-kpi-strip { grid-template-columns: 1fr 1fr; }
  .shell-module-grid { grid-template-columns: 1fr; }
  .shell-h1 { font-size: 32px; }
}

/* "Coming soon" planned card on demo index — visually shows it's not clickable */
.product-card.planned-card {
  opacity: 0.6;
  cursor: not-allowed;
}
.product-card.planned-card:hover {
  transform: none;
  border-color: var(--border);
  background: var(--bg-card);
  box-shadow: none;
}
