/* Dondlinger Digital Database — Bleeding Edge Experience Stylesheet */

:root {
  --neon-green: #22c55e;
  --neon-cyan: #38bdf8;
  --neon-purple: #818cf8;
  --neon-amber: #f59e0b;
  --accent-blue: #2563eb;
  --dark-bg: #090d16;
  --card-bg: #111827;
  --card-border: #1e293b;
  --card-hover-border: #2563eb;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Base resets for experience viewport */
#app-root {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
}

/* Top Navigation Bar & Tab Switcher */
.experience-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: #0f172a;
  border-bottom: 2px solid #2563eb;
  z-index: 100;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.4));
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Tab controls */
.mode-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}

.mode-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.mode-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.mode-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.tab-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.mode-tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-contact-nav {
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: #2563eb;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-contact-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
  background: #1d4ed8;
}

/* View Containers */
.view-container {
  flex: 1;
  width: 100%;
  height: calc(100vh - 61px);
  position: relative;
  overflow: hidden;
}

.view-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.98);
}

.view-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* EXPERIENCE PORTAL (TAB 1) LAYOUT */
#experience-portal-view {
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#experience-portal-view::-webkit-scrollbar {
  width: 6px;
}

#experience-portal-view::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.3);
  border-radius: 3px;
}

/* Canvas Hero Section */
.hero-canvas-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(0, 243, 255, 0.08) 0%, rgba(5, 7, 10, 0.95) 70%);
}

#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 60px 24px;
  text-align: center;
  pointer-events: none; /* enable clicks through to canvas unless on button */
}

.hero-interactive-elements {
  pointer-events: auto;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 60%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main-title span.accent-green {
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: #2563eb;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.65);
  background: #1d4ed8;
}

.btn-hero-secondary {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary:hover {
  background: #334155;
  border-color: #38bdf8;
  color: #ffffff;
}

/* SECTION CONTAINERS */
.portal-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  margin-bottom: 36px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

/* Telemetry Section */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.telemetry-card {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.telemetry-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
}

.telemetry-card.featured-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, #111827 60%, rgba(56, 189, 248, 0.12) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 4px 30px rgba(37, 99, 235, 0.25);
}

.telemetry-card.featured-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 40px rgba(56, 189, 248, 0.4);
}

.featured-badge {
  background: rgba(37, 99, 235, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* APP INFOMERCIAL SHOWCASE GRID */
.infomercials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.infomercial-card {
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.infomercial-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 243, 255, 0.18);
}

.infomercial-stage {
  width: 100%;
  height: 190px;
  background: #030508;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.infomercial-stage-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--neon-cyan);
  z-index: 10;
  letter-spacing: 1px;
}

.infomercial-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.infomercial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.infomercial-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}

.infomercial-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.infomercial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-infomercial-action {
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  background: var(--neon-cyan);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-infomercial-action:hover {
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.5);
  transform: translateY(-1px);
}

/* INFOMERCIAL ANIMATED STAGE GRAPHICS */
/* 1. Personalization Swatch Demo */
.swatch-demo-container {
  display: flex;
  gap: 12px;
  align-items: center;
}
.swatch-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.5s ease;
  animation: swatchPulse 4s infinite alternate;
}
@keyframes swatchPulse {
  0% { transform: scale(1); filter: hue-rotate(0deg); }
  50% { transform: scale(1.15); filter: hue-rotate(90deg); }
  100% { transform: scale(1); filter: hue-rotate(180deg); }
}

/* 2. Equalizer Bars Demo */
.eq-container {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.eq-bar {
  width: 10px;
  background: linear-gradient(180deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
  border-radius: 4px;
  animation: eqBounce 1.2s infinite alternate ease-in-out;
}
.eq-bar:nth-child(2) { animation-delay: 0.2s; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; }
.eq-bar:nth-child(4) { animation-delay: 0.1s; }
.eq-bar:nth-child(5) { animation-delay: 0.5s; }
.eq-bar:nth-child(6) { animation-delay: 0.3s; }

@keyframes eqBounce {
  0% { height: 15px; }
  100% { height: 65px; }
}

/* 3. Radar Sweep Demo */
.radar-dish {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.3);
  position: relative;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
}
.radar-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green) 0%, transparent 100%);
  transform-origin: 0% 0%;
  animation: radarRotate 3s linear infinite;
}
@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 4. QR Scan Line Demo */
.qr-demo-box {
  width: 90px;
  height: 90px;
  border: 2px dashed var(--neon-cyan);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.qr-scan-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: scanMove 2s ease-in-out infinite alternate;
}
@keyframes scanMove {
  0% { top: 0%; }
  100% { top: 96%; }
}


.telemetry-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.status-badge.checking {
  background: rgba(255, 183, 3, 0.12);
  color: var(--neon-amber);
  border-color: rgba(255, 183, 3, 0.3);
}

.service-subdomain {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}

.service-subdomain:hover {
  text-decoration: underline;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.telemetry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.latency-val {
  color: var(--text-primary);
  font-weight: 700;
}

.btn-launch-service {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-launch-service:hover {
  background: var(--neon-cyan);
  color: #000000;
  border-color: var(--neon-cyan);
  font-weight: 700;
}

/* Capabilities Showcase Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.capability-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 30px;
  transition: all 0.3s ease;
}

.capability-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.15);
}

.cap-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border: 1px solid rgba(0, 243, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.cap-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cap-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cap-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Client Intake Section */
.intake-box {
  background: linear-gradient(135deg, rgba(13, 18, 28, 0.9) 0%, rgba(5, 7, 10, 0.95) 100%);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.1);
}

.intake-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--neon-green);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.2);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit-intake {
  padding: 14px 36px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: #000000;
  background: var(--neon-green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
  transition: all 0.25s ease;
}

.btn-submit-intake:hover {
  background: #45ff24;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.7);
  transform: translateY(-2px);
}

/* LEGACY DIRECTORY VIEW (TAB 2) WRAPPER */
#legacy-directory-view {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
}

/* CATEGORY FILTER BAR */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  sticky: top 61px;
  z-index: 90;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: #38bdf8;
  background: #334155;
}

.filter-btn.active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* HERO STATS ROW */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FREE DOWNLOADS VAULT GRID */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.download-card {
  background: rgba(13, 18, 28, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(57, 255, 20, 0.15);
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.download-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-badge.free {
  background: rgba(57, 255, 20, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.4);
}

.tier-badge.community {
  background: rgba(0, 243, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 243, 255, 0.4);
}

.tier-badge.enterprise {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.download-version-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.download-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terminal Install Box */
.terminal-install-box {
  background: #030508;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-green);
  margin-bottom: 20px;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.btn-copy-code:hover {
  color: var(--text-primary);
}

.download-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-download-primary {
  flex: 1;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #000000;
  background: var(--neon-green);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-download-primary:hover {
  background: #45ff24;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.5);
}

.btn-download-secondary {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download-secondary:hover {
  color: var(--text-primary);
  border-color: var(--neon-cyan);
}

/* Footer for experience portal */
.experience-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* LIVE METROPOLIS CONTROL ROOM HUD                                           */
/* -------------------------------------------------------------------------- */
.metropolis-control-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: rgba(5, 10, 18, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 28px;
}

.hud-item {
  display: flex;
  flex-direction: column;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hud-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-top: 4px;
}

/* -------------------------------------------------------------------------- */
/* INTERACTIVE GLASSMORPHISM APP DEMO SHOWCASES                               */
/* -------------------------------------------------------------------------- */
.interactive-demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
}

@media (max-width: 600px) {
  .interactive-demos-grid {
    grid-template-columns: 1fr;
  }
}

.interactive-demo-card {
  background: rgba(13, 18, 28, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-demo-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 32px rgba(0, 243, 255, 0.15);
}

.demo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.demo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.demo-preview-stage {
  background: rgba(3, 7, 13, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sound-pad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sound-pad {
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 14px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
}

.sound-pad:hover {
  background: var(--neon-green);
  color: #000000;
  box-shadow: 0 0 12px var(--neon-green);
}

.sound-pad:active, .sound-pad.playing {
  transform: scale(0.95);
  background: #ffffff;
  color: #000000;
}

.dropzone-demo {
  border: 2px dashed rgba(0, 243, 255, 0.4);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(0, 243, 255, 0.03);
}

.dropzone-demo:hover, .dropzone-demo.dragover {
  border-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.08);
}

/* -------------------------------------------------------------------------- */
/* COMMERCIAL CLIENT ROI & SCOPE CALCULATOR                                   */
/* -------------------------------------------------------------------------- */
.roi-calculator-card {
  background: linear-gradient(145deg, rgba(13, 20, 32, 0.9) 0%, rgba(5, 9, 16, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  .roi-calculator-card {
    grid-template-columns: 1fr;
  }
}

.roi-controls-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

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

.calc-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.calc-chip:hover {
  border-color: var(--neon-green);
  color: var(--text-primary);
}

.calc-chip.selected {
  background: rgba(57, 255, 20, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.roi-results-side {
  background: rgba(3, 7, 13, 0.8);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-big-box {
  margin-bottom: 20px;
}

.metric-big-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-big-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neon-green);
}

.btn-lock-scope {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #000000;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-lock-scope:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.7);
}

/* -------------------------------------------------------------------------- */
/* GLOBAL COMMAND PALETTE SEARCH MODAL (CMD+K / /)                             */
/* -------------------------------------------------------------------------- */
#cmd-k-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#cmd-k-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.cmd-k-box {
  width: 90%;
  max-width: 640px;
  background: #090e17;
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 243, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.cmd-k-input-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
}

.cmd-k-icon {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.cmd-k-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.cmd-k-kbd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
}

.cmd-k-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.cmd-k-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease;
}

.cmd-k-item:hover, .cmd-k-item.active {
  background: rgba(0, 243, 255, 0.12);
}

.cmd-k-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cmd-k-item-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-green);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .experience-nav-bar {
    padding: 10px 16px;
  }
  .brand-subline {
    display: none;
  }
  .mode-tab-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .btn-contact-nav {
    display: none;
  }
  .hero-canvas-section {
    min-height: 75vh;
  }
  .portal-section {
    padding: 40px 16px;
  }
  .intake-box {
    padding: 24px 16px;
  }
}

