/* ==========================================================================
   [CODENAME] PROTOCOL — 3D VOLUMETRIC GLASS & GLOWING RIM SYSTEM
   High-depth visual architecture inspired by useorbix.app and visionOS:
   - Specular top rim chamfer highlights (inset 0 1px 0)
   - Deep occluded bottom shadows (inset 0 -1px 0)
   - Internal luminous depth bloom & ambient neon rim borders
   - Sculpted 3D glass capsules, pills, badges, and hardware frames
   - 60fps Silent Canvas with laser traces & crosshairs
   ========================================================================== */

:root {
  --bg-primary: #050507;
  --bg-secondary: #09090D;
  --bg-tertiary: #101015;
  
  --text-primary: #EFEADF;
  --text-muted: rgba(239, 234, 223, 0.58);
  --text-faint: rgba(239, 234, 223, 0.35);
  
  /* 3D Glass & Border Bevel Tokens */
  --border-subtle: rgba(239, 234, 223, 0.12);
  --border-medium: rgba(239, 234, 223, 0.22);
  --border-hover: rgba(16, 185, 129, 0.45);
  --border-highlight: rgba(255, 255, 255, 0.32);
  
  --card-bg: rgba(16, 16, 22, 0.65);
  --card-bg-elevated: rgba(22, 22, 30, 0.78);
  
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-cream: #EFEADF;
  --accent-cream-dim: #D5CFC2;

  --font-head: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Reusable 3D Volumetric Box Shadows */
  --shadow-bevel-card: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.8),
    inset 0 0 28px rgba(239, 234, 223, 0.025),
    0 24px 50px -12px rgba(0, 0, 0, 0.85);

  --shadow-bevel-card-hover: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.9),
    inset 0 0 35px rgba(16, 185, 129, 0.06),
    0 30px 65px -10px rgba(0, 0, 0, 0.92),
    0 0 28px rgba(16, 185, 129, 0.22);

  --shadow-bevel-pill:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(16, 185, 129, 0.08);

  --shadow-bevel-pill-hover:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.7),
    0 8px 22px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(16, 185, 129, 0.3);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
  line-height: 1.6;
}

/* ==========================================================================
   AMBIENT GRID & LASER BEAMS CANVAS
   ========================================================================== */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* Ambient Backdrops */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
}

.ambient-glow-top {
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  height: 550px;
  background: radial-gradient(ellipse, rgba(239, 234, 223, 0.065) 0%, rgba(5, 5, 7, 0) 70%);
  animation: glowBreathe 8s ease-in-out infinite alternate;
}

.ambient-glow-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1250px;
  height: 750px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.035) 0%, rgba(5, 5, 7, 0) 65%);
  animation: glowBreathe 12s ease-in-out infinite alternate-reverse;
}

@keyframes glowBreathe {
  0% { opacity: 0.65; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   ANIMATED BORDER BEAM (Rim Lighting Trace)
   ========================================================================== */
.border-beam-wrap {
  position: relative;
}

.border-beam {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  z-index: 2;
  overflow: hidden;
}

.border-beam::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(16, 185, 129, 0.9) 35deg,
    rgba(239, 234, 223, 0.95) 65deg,
    transparent 110deg
  );
  animation: borderBeamRotate 5s linear infinite;
}

.border-beam-device::after {
  animation-duration: 4s;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(16, 185, 129, 1) 30deg,
    rgba(255, 255, 255, 1) 55deg,
    transparent 90deg
  );
}

@keyframes borderBeamRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   BUTTON SHIMMER & 3D BUTTONS
   ========================================================================== */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: buttonShimmerSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes buttonShimmerSweep {
  0%, 65% { left: -80%; }
  100% { left: 150%; }
}

/* ==========================================================================
   SONAR RIPPLE RINGS
   ========================================================================== */
.sonar-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-right: 6px;
}

.sonar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: sonarPulse 2.2s cubic-bezier(0.1, 0.3, 0.7, 1) infinite;
  pointer-events: none;
}

.sonar-ring.delayed {
  animation-delay: 1.1s;
}

@keyframes sonarPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.95;
  }
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}

.status-pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  margin-right: 6px;
}

.pulse {
  animation: pipPulse 1.8s ease-in-out infinite alternate;
}

@keyframes pipPulse {
  0% { opacity: 0.45; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 14px var(--accent-emerald); }
}

/* ==========================================================================
   CORNER CROSSHAIRS & HOVER SPOTLIGHT
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.corner-cross {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(239, 234, 223, 0.22);
  pointer-events: none;
  transition: all var(--transition-fast);
  line-height: 1;
  z-index: 3;
}

.corner-cross.top-left { top: 8px; left: 10px; }
.corner-cross.top-right { top: 8px; right: 10px; }
.corner-cross.bottom-left { bottom: 8px; left: 10px; }
.corner-cross.bottom-right { bottom: 8px; right: 10px; }

.spotlight-card:hover .corner-cross {
  color: var(--accent-emerald);
  transform: scale(1.3);
  text-shadow: 0 0 8px var(--accent-emerald);
}

/* Section Tag with Animated Laser Line */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.tag-laser-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald));
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.tag-laser-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #FFF;
  animation: laserSweep 2s ease-in-out infinite;
}

@keyframes laserSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ==========================================================================
   HEADER & NAVIGATION (3D Sculpted Floating Glass Pill)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.85) 0%, rgba(8, 8, 12, 0.92) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 8px 14px 8px 18px;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.8),
    0 20px 50px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(16, 185, 129, 0.1);
  transition: all var(--transition-fast);
}

.header-container:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.8),
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(16, 185, 129, 0.18);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  z-index: 4;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-medium);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-group:hover .brand-icon {
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: var(--accent-emerald);
  text-shadow: 0 0 8px var(--accent-emerald);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(239, 234, 223, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 4;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(239, 234, 223, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-link.active {
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.12) 0%, rgba(239, 234, 223, 0.05) 100%);
  border: 1px solid rgba(239, 234, 223, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 4;
}

/* 3D Glowing Status Pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-size: 0.76rem;
  color: var(--accent-emerald);
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.5),
    0 4px 14px rgba(0, 0, 0, 0.3),
    0 0 12px rgba(16, 185, 129, 0.15);
  transition: all var(--transition-fast);
}

.status-pill:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
    0 0 20px rgba(16, 185, 129, 0.35);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* 3D Glowing CA Pill */
.ca-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.07) 0%, rgba(239, 234, 223, 0.02) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.badge-mini-soon {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.ca-pill:hover {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.12) 0%, rgba(239, 234, 223, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-1.5px);
}

.ca-label {
  color: var(--text-faint);
}

.ca-value {
  color: var(--text-primary);
  font-weight: 600;
}

.copy-icon {
  color: var(--text-muted);
}

/* 3D Solid Ivory Primary Button */
.btn-primary-pill {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 50%, #DDD6C6 100%);
  color: #050507;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(239, 234, 223, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 28px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(239, 234, 223, 0.55);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 175px;
  padding-bottom: 75px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-row {
  margin-bottom: 24px;
}

/* 3D Glowing Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.08) 0%, rgba(16, 16, 22, 0.7) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.6),
    0 6px 18px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(16, 185, 129, 0.12);
  transition: all var(--transition-fast);
}

.pill-badge:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(16, 185, 129, 0.28);
  transform: translateY(-1.5px);
}

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

.badge-sep {
  color: var(--text-faint);
}

.badge-sub {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.accent-dot {
  color: var(--accent-emerald);
  text-shadow: 0 0 16px var(--accent-emerald);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 68px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 55%, #DDD6C6 100%);
  color: #050507;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 2px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(239, 234, 223, 0.45);
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(239, 234, 223, 0.65);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.08) 0%, rgba(12, 12, 18, 0.8) 100%);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.14) 0%, rgba(16, 16, 24, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-2px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.btn-hero-ghost:hover {
  color: var(--text-primary);
  background: rgba(239, 234, 223, 0.06);
  border-color: var(--border-medium);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   LIVE METRICS GRID (Deep 3D Glass Blocks)
   ========================================================================== */
.metrics-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  background: linear-gradient(180deg, rgba(25, 25, 34, 0.7) 0%, rgba(10, 10, 14, 0.85) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: left;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all var(--transition-smooth);
}

.metric-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-bevel-card-hover);
  transform: translateY(-4px);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.metric-value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.metric-unit {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.metric-slash {
  color: var(--text-faint);
  margin: 0 2px;
}

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

.text-emerald {
  color: var(--accent-emerald) !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.text-glow {
  text-shadow: 0 0 24px rgba(239, 234, 223, 0.4);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  padding: 75px 0;
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.section-desc {
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ==========================================================================
   SECTION 1: STUDIO WORKSPACE & DEVICE EMULATOR
   ========================================================================== */
.studio-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.studio-controls-card {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.75) 0%, rgba(9, 9, 13, 0.9) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.studio-controls-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-bevel-card-hover);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-step-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.card-status-dot {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  font-weight: 700;
}

/* 3D Inset Prompt Box */
.prompt-box-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.prompt-box-wrapper:focus-within {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(16, 185, 129, 0.22);
}

.prompt-textarea {
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.5;
  width: 100%;
}

.prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(239, 234, 223, 0.08);
  padding-top: 14px;
}

.prompt-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}

.btn-compile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  color: #050507;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(239, 234, 223, 0.3);
  transition: all var(--transition-fast);
}

.btn-compile:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(239, 234, 223, 0.5);
}

.archetypes-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archetypes-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  font-weight: 700;
}

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

/* 3D Archetype Pills with Inset Highlights */
.archetype-pill {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.07) 0%, rgba(14, 14, 20, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.archetype-pill:hover {
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-2px);
}

.archetype-pill.active {
  color: #050507;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  border-color: #FFFFFF;
  font-weight: 800;
  box-shadow: 
    inset 0 1px 0 #FFF,
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(239, 234, 223, 0.4);
}

/* Pipeline Status Card with 3D Depth */
.pipeline-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 
    inset 0 1px 3px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pipeline-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.pipeline-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.step-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-faint);
  transition: color var(--transition-fast);
}

.step-item.active {
  color: var(--accent-cream);
  font-weight: 600;
}

.step-item.done {
  color: var(--accent-emerald);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

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

.step-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(239, 234, 223, 0.2);
}

.step-item.active .step-indicator {
  background: var(--accent-cream);
  box-shadow: 0 0 10px rgba(239, 234, 223, 0.8);
}

.step-item.done .step-indicator {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.step-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.compilation-bar-bg {
  width: 100%;
  height: 5px;
  background: rgba(239, 234, 223, 0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.compilation-bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  transition: width 0.3s ease;
  box-shadow: 0 0 12px var(--accent-emerald);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(239, 234, 223, 0.08);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  font-weight: 600;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   DEVICE EMULATOR CARD & 3D HARDWARE FRAME
   ========================================================================== */
.studio-emulator-card {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.75) 0%, rgba(9, 9, 13, 0.9) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.studio-emulator-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-bevel-card-hover);
}

.emulator-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.device-notch-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-emerald);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

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

.device-actions {
  display: flex;
  gap: 8px;
}

.device-pill-btn {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.08) 0%, rgba(14, 14, 20, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.device-pill-btn:hover {
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-1.5px);
}

/* 3D Smartphone Frame with Beveled Edges */
.device-frame {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(145deg, #1c1c24 0%, #0c0c10 50%, #050507 100%);
  border: 2px solid rgba(239, 234, 223, 0.28);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.9),
    0 32px 80px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(16, 185, 129, 0.18);
  transition: all var(--transition-smooth);
}

.device-frame:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.9),
    0 40px 95px rgba(0, 0, 0, 0.98),
    0 0 60px rgba(16, 185, 129, 0.32);
}

.device-screen {
  background: #050507;
  border-radius: 28px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  position: relative;
  border: 1px solid rgba(239, 234, 223, 0.1);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
  z-index: 3;
}

.app-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(239, 234, 223, 0.1);
  margin-bottom: 18px;
}

.app-screen-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.app-screen-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.app-screen-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 10px rgba(16, 185, 129, 0.2);
}

.app-screen-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* 3D Demo Card Balance inside Phone */
.demo-card-balance {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.06) 0%, rgba(12, 12, 16, 0.9) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    0 6px 18px rgba(0, 0, 0, 0.5);
}

.demo-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.demo-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.demo-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.demo-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.amount-selector-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.amount-btn {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.06) 0%, rgba(14, 14, 18, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 9px 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.amount-btn:hover {
  background: rgba(239, 234, 223, 0.1);
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.amount-btn.active {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  color: #050507;
  border-color: #FFFFFF;
  box-shadow: inset 0 1px 0 #FFF, 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(239, 234, 223, 0.4);
}

.demo-text-input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-fast);
}

.demo-text-input:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7), 0 0 16px rgba(16, 185, 129, 0.25);
}

.demo-action-btn {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 55%, #DDD6C6 100%);
  color: #050507;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0 #FFF,
    inset 0 -2px 2px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(239, 234, 223, 0.35);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.demo-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 #FFF,
    0 12px 30px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(239, 234, 223, 0.55);
}

.demo-feed {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.demo-feed-header {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.demo-feed-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.demo-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.feed-hash {
  color: var(--text-muted);
}

.feed-amt {
  color: var(--accent-emerald);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

.feed-status {
  color: var(--text-faint);
  font-size: 0.68rem;
}

.device-home-bar {
  width: 110px;
  height: 4px;
  background: rgba(239, 234, 223, 0.3);
  border-radius: 2px;
  margin: 14px auto 0 auto;
}

/* ==========================================================================
   SECTION 2: MARKET IN MOTION (Volumetric Glass Cards)
   ========================================================================== */
.market-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

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

.filter-pill {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.07) 0%, rgba(14, 14, 20, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  color: #050507;
  font-weight: 800;
  border-color: #FFFFFF;
  box-shadow: 
    inset 0 1px 0 #FFF,
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(239, 234, 223, 0.4);
}

.search-input {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  color: var(--text-primary);
  font-size: 0.84rem;
  outline: none;
  min-width: 290px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 18px rgba(16, 185, 129, 0.25);
}

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

.app-card {
  background: linear-gradient(180deg, rgba(24, 24, 32, 0.72) 0%, rgba(9, 9, 13, 0.88) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all var(--transition-smooth);
}

.app-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-bevel-card-hover);
  transform: translateY(-4px);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-medium);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.app-name {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.app-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.badge-status-green {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 10px rgba(16, 185, 129, 0.2);
}

.app-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.app-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(239, 234, 223, 0.08);
  border-bottom: 1px solid rgba(239, 234, 223, 0.08);
}

.stat-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-card-test {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.08) 0%, rgba(14, 14, 20, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.btn-card-test:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  color: #050507;
  border-color: #FFFFFF;
  box-shadow: 
    inset 0 1px 0 #FFF,
    0 6px 18px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(239, 234, 223, 0.4);
  transform: translateY(-2px);
}

.app-relayers {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 3: REAL-TIME PROVER BENCHMARK & OSCILLOSCOPE WAVEFORM
   ========================================================================== */
.prover-card {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.75) 0%, rgba(9, 9, 13, 0.9) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.prover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

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

.prover-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-inline-gen {
  background: transparent;
  border: none;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.denomination-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.denom-btn {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.06) 0%, rgba(14, 14, 18, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.denom-btn:hover {
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
  transform: translateY(-1.5px);
}

.denom-btn.active {
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 60%, #DDD6C6 100%);
  color: #050507;
  border-color: #FFFFFF;
  box-shadow: inset 0 1px 0 #FFF, 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px rgba(239, 234, 223, 0.4);
}

.secret-input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  width: 100%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
}

.field-sub {
  font-size: 0.72rem;
  color: var(--text-faint);
}

.relayer-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.relayer-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
  margin-left: 6px;
  font-weight: 600;
}

.relayer-speed {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-emerald);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

/* Oscilloscope Waveform Strip */
.waveform-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.8);
}

.waveform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wf-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-faint);
}

.wf-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.waveform-svg {
  width: 100%;
  height: 38px;
}

.wave-path {
  fill: none;
  stroke: url(#waveGrad);
  stroke-width: 1.8;
  stroke-dasharray: 200;
  animation: waveDash 3.5s linear infinite alternate;
}

.wave-path-2 {
  opacity: 0.4;
  animation-duration: 4.8s;
  animation-direction: alternate-reverse;
}

@keyframes waveDash {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

.btn-run-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFEADF 55%, #DDD6C6 100%);
  color: #050507;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 0 #FFF,
    inset 0 -2px 2px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(239, 234, 223, 0.4);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.btn-run-proof:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 #FFF,
    0 14px 35px rgba(0, 0, 0, 0.7),
    0 0 38px rgba(239, 234, 223, 0.6);
}

/* Prover Terminal */
.prover-terminal {
  background: #000000;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    0 16px 40px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(239, 234, 223, 0.1);
  padding-bottom: 12px;
  position: relative;
  z-index: 3;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(239, 234, 223, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 10px rgba(16, 185, 129, 0.2);
}

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  min-height: 130px;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 3;
}

.term-line {
  word-break: break-all;
}

.text-muted {
  color: var(--text-muted);
}

.proof-receipt-box {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 5, 7, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 3;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 20px rgba(16, 185, 129, 0.15);
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.receipt-time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.point-row {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.point-lbl {
  color: var(--text-faint);
  width: 32px;
  font-weight: 700;
}

.point-val {
  color: var(--text-primary);
  word-break: break-all;
}

/* ==========================================================================
   SECTION 4: CODE TERMINAL (Deep Glass & Border Bevel)
   ========================================================================== */
.code-terminal-card {
  background: #000000;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 0 40px rgba(0, 0, 0, 0.95),
    0 24px 60px rgba(0, 0, 0, 0.85);
  transition: all var(--transition-smooth);
}

.code-terminal-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 30px 75px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(16, 185, 129, 0.2);
}

.code-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(239, 234, 223, 0.03);
  border-bottom: 1px solid rgba(239, 234, 223, 0.1);
  position: relative;
  z-index: 3;
}

.code-tabs {
  display: flex;
  gap: 6px;
}

.code-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.code-tab:hover {
  color: var(--text-primary);
  background: rgba(239, 234, 223, 0.06);
}

.code-tab.active {
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.14) 0%, rgba(239, 234, 223, 0.04) 100%);
  border-color: var(--border-medium);
  color: var(--accent-cream);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.code-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(239, 234, 223, 0.08) 0%, rgba(14, 14, 20, 0.8) 100%);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-bevel-pill);
  transition: all var(--transition-fast);
}

.code-copy-btn:hover {
  color: var(--text-primary);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-bevel-pill-hover);
  transform: translateY(-1.5px);
}

.code-container {
  padding: 26px;
  overflow-x: auto;
  position: relative;
  z-index: 3;
}

.code-block {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #D5CFC2;
}

/* ==========================================================================
   SECTION 5: GLOBAL TELEMETRY (3D Glass Boxes)
   ========================================================================== */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.telemetry-box {
  background: linear-gradient(180deg, rgba(24, 24, 32, 0.7) 0%, rgba(9, 9, 13, 0.88) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-bevel-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all var(--transition-smooth);
}

.telemetry-box:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-bevel-card-hover);
  transform: translateY(-4px);
}

.box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 700;
}

.box-badge-green {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.box-stat {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* SVG Sparkline */
.sparkline-wrapper {
  width: 100%;
  height: 26px;
  margin: 4px 0;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spark-path {
  fill: none;
  stroke: rgba(16, 185, 129, 0.7);
  stroke-width: 1.8;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: sparkDraw 4s ease-out forwards, sparkPulse 2s ease-in-out infinite alternate;
}

.spark-dot {
  fill: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pipPulse 1.5s ease-in-out infinite alternate;
}

@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes sparkPulse {
  0% { stroke: rgba(16, 185, 129, 0.45); }
  100% { stroke: rgba(16, 185, 129, 0.95); }
}

.box-footer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (Orbix Minimalist)
   ========================================================================== */
.footer-wrapper {
  border-top: 1px solid var(--border-medium);
  padding: 85px 0 65px 0;
  margin-top: 65px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Toast Notification with 3D Depth */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: linear-gradient(180deg, rgba(24, 24, 32, 0.92) 0%, rgba(9, 9, 13, 0.96) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 30px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(16, 185, 129, 0.2);
  animation: toastIn 0.25s ease-out;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .studio-workspace {
    grid-template-columns: 1fr;
  }
  .prover-grid {
    grid-template-columns: 1fr;
  }
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-pill {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-group {
    gap: 30px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
