/* ═══════════════════════════════════════════════════════════════════════════
   MAGIFY — STAGE-2 PUBLIC DESIGN SYSTEM
   Palette: Obsidian, Champagne Gold, Deep Slate, Warm Amber & Indigo Accent
   Typography: Playfair Display (Serif) & Lato / Inter (Sans)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #060911;
  --bg-secondary: #0d1322;
  --bg-tertiary: #131b2e;
  --surface-card: rgba(19, 27, 46, 0.75);
  --surface-card-hover: rgba(28, 38, 64, 0.85);
  --surface-glass: rgba(255, 255, 255, 0.04);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(212, 175, 55, 0.2);
  --border-active: #D4AF37;

  --gold-primary: #D4AF37;
  --gold-light: #F4E295;
  --gold-dark: #A3821C;
  --gold-glow: rgba(212, 175, 55, 0.25);

  --accent-warm: #F59E0B;
  --accent-violet: #8B5CF6;
  --accent-blue: #3B82F6;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

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

/* ── Container & Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #000;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1.5px;
}

.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  background: var(--gold-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-header-cta:hover {
  background: #FFF;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ── Typography & Badges ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  padding: 70px 0 90px 0;
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 85% 35%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.hero-headline {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-headline span.gold {
  color: var(--gold-primary);
  display: inline-block;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: #FFF;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.trust-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ── Interactive Audience Context Selector in Hero ──────────────────────── */
.audience-selector-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.audience-selector-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audience-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.audience-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.audience-pill:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.audience-pill.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

/* ── Hero Live Preview Mockup Card (Dynamic Context) ────────────────────── */
.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
}

.mockup-card {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.15);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.mockup-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.mockup-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.mockup-record {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.mockup-record-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.mockup-record-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.mockup-update-thread {
  border-left: 2px solid rgba(212, 175, 55, 0.35);
  padding-left: 14px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-update-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mockup-update-item strong {
  color: var(--gold-primary);
}

.mockup-evidence-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

/* ── Section: Rooms Mental Model (Create a Room) ────────────────────────── */
.section-rooms {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.rooms-qualification-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  max-width: 680px;
  margin: 0 auto 36px auto;
  font-size: 0.88rem;
  color: var(--gold-light);
  text-align: center;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.room-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.room-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.room-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.room-card-badge {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.room-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.room-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.room-card-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 4px;
}

.room-card-create {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold-light);
  cursor: pointer;
  transition: all 0.25s ease;
}

.room-card-create:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.room-create-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--gold-primary);
}

.room-create-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}

.room-create-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Mental Model Flow Strip */
.rooms-flow-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 10px;
  gap: 16px;
}

.flow-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.flow-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.35;
}

.flow-arrow {
  color: var(--gold-primary);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Section: What Could MAGIFY Remember For You? ───────────────────────── */
.section-remember {
  padding: 90px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.audience-showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 44px 0;
  flex-wrap: wrap;
}

.audience-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audience-tab-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.audience-tab-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.audience-view-panel {
  display: none;
}

.audience-view-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

/* Audience Grid of Cards */
.audience-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-situation-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.audience-situation-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.situation-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.situation-icon-box.gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
}

.situation-icon-box.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.situation-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.situation-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFF;
}

.situation-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.situation-quote-pill {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold-primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-style: italic;
}

/* ── Section: Product Demonstration Flow (Capture to Verify) ────────────── */
.section-demo-flow {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-stepper-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 48px 0 40px 0;
}

.demo-stepper-nav::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stepper-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text-muted);
  transition: all 0.25s ease;
  width: 140px;
}

.stepper-node-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.stepper-node-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stepper-node:hover .stepper-node-circle {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.stepper-node.active .stepper-node-circle {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.stepper-node.active .stepper-node-label {
  color: var(--gold-primary);
  font-weight: 700;
}

/* Demo Step Stage Display */
.demo-stage-box {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.demo-step-pane {
  display: none;
}

.demo-step-pane.active {
  display: contents;
  animation: fadeIn 0.35s ease;
}

.demo-step-content h3 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.demo-step-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.demo-step-highlight {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--gold-light);
}

.demo-interactive-preview {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* ── Visual Evidence Demonstration Components (Librarian UI Fidelity) ───── */
.demo-audience-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.demo-audience-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.demo-aud-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-aud-pill:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.demo-aud-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* PWA Interface Chrome */
.evidence-ui-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-chrome-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.evidence-room-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Photographed Document Representation */
.evidence-photo-box {
  background: #060911;
  border: 1px solid #1E293B;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.evidence-photo-header {
  background: rgba(15, 23, 42, 0.85);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.evidence-photo-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93C5FD;
  font-weight: 600;
}

.evidence-photo-stage {
  padding: 16px;
  background: radial-gradient(circle at center, #131A2B 0%, #080C16 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Realistic Printed Paper Sheet */
.evidence-doc-sheet {
  background: #F8FAFC;
  color: #0F172A;
  border-radius: 6px;
  padding: 16px 20px;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  font-family: var(--font-sans);
  position: relative;
}

.evidence-doc-sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2563EB;
  border-radius: 6px 6px 0 0;
}

.doc-sheet-brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.doc-sheet-logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E3A8A;
  letter-spacing: -0.5px;
}

.doc-sheet-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.5px;
}

.doc-sheet-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.doc-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.doc-sheet-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #E2E8F0;
}

.doc-sheet-table td.label {
  color: #64748B;
  font-weight: 600;
  width: 45%;
}

.doc-sheet-table td.val {
  color: #0F172A;
  font-weight: 700;
}

.doc-highlight {
  background: #FEF08A;
  color: #854D0E;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  border: 1px solid #FACC15;
}

.doc-sheet-footer {
  font-size: 0.68rem;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid #E2E8F0;
}

/* Realistic User Note Bubble */
.evidence-note-box {
  margin-top: 12px;
  background: #080C16;
  border: 1px solid #1E293B;
  border-left: 3px solid var(--gold-primary);
  border-radius: 6px;
  padding: 12px 14px;
}

.evidence-note-text {
  color: #F1F5F9;
  font-size: 0.88rem;
  line-height: 1.5;
  font-style: italic;
}

.evidence-note-meta {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Realistic PDF Attachment Card */
.evidence-pdf-card {
  background: #080C16;
  border: 1px solid #1E293B;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.evidence-pdf-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.pdf-icon-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  width: 44px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.pdf-icon-badge svg {
  margin-bottom: 2px;
}

.pdf-meta-col {
  flex-grow: 1;
  overflow: hidden;
}

.pdf-meta-name {
  color: #FFF;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdf-meta-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Timeline & Continuity Progression (Continue Later) */
.timeline-stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 20px;
}

.timeline-stepper::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: #1E293B;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-subtle);
}

.timeline-dot.gold {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
}

.timeline-dot.blue {
  border-color: #3B82F6;
  background: #3B82F6;
}

.timeline-badge-time {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}

.timeline-card-content {
  background: #080C16;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 12px;
}

/* Living Record / Room Gallery */
.room-record-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.record-asset-item {
  background: #080C16;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #CBD5E1;
}

/* Grounded Ask MAGIFY Interface */
.ask-interface-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ask-input-bar {
  display: flex;
  align-items: center;
  background: #080C16;
  border: 1px solid #334155;
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  gap: 10px;
}

.ask-input-bar svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.ask-input-bar span {
  flex-grow: 1;
  color: #F8FAFC;
  font-size: 0.88rem;
  font-weight: 500;
}

.ask-btn-run {
  background: var(--gold-primary);
  color: #000;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
}

.ask-response-card {
  background: #080C16;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 8px;
  padding: 16px;
}

.ask-response-answer {
  color: #F8FAFC;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.ask-citation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #1E293B;
  font-size: 0.75rem;
}

.ask-citation-chip {
  color: #93C5FD;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-inspect-why {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-inspect-why:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Show Why Provenance Inspector */
.show-why-inspector {
  background: #080C16;
  border: 1px solid #10B981;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.show-why-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1E293B;
}

.show-why-badge {
  color: #34D399;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.show-why-provenance-strip {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}


/* ── Section: Human-First Trust ("Your Information Stays Yours") ────────── */
.section-trust {
  padding: 90px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-human-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
  margin-bottom: 40px;
}

.trust-human-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.trust-human-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.trust-human-card h4 {
  font-size: 1.3rem;
  margin: 16px 0 10px 0;
  color: #FFF;
}

.trust-human-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Expandable Technical Layer */
.technical-expandable-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}

.technical-toggle-btn {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.technical-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.technical-details-content {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
}

.technical-details-content.open {
  display: block;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.technical-col h5 {
  color: var(--gold-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.technical-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Section: Gated Early Access & Request Access Flow ─────────────────── */
.section-access {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.access-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.access-status-badge .pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.access-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 640px;
  margin: 36px auto 0 auto;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 24px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.form-submit-btn:hover {
  background: #FFF;
  color: #000;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.form-feedback {
  display: none;
  padding: 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  color: #34D399;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 60px 0 36px 0;
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* ── Responsive Mobile & Tablet ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline {
    font-size: 3.2rem;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-flow-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .flow-arrow {
    display: none;
  }

  .audience-cards-grid, .trust-human-grid {
    grid-template-columns: 1fr;
  }

  .demo-stage-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  /* Mobile Header Hierarchy: Keeps MAGIFY LIBRARIAN identity primary */
  .btn-header-cta {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    box-shadow: none;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 18px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .demo-stepper-nav {
    overflow-x: auto;
    padding-bottom: 12px;
    justify-content: flex-start;
    gap: 16px;
  }

  .demo-stepper-nav::before {
    display: none;
  }

  .stepper-node {
    width: 100px;
    flex-shrink: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

