/* ==========================================================================
   US NEURAL (us-neural.me) — INDUSTRIAL DESIGN SYSTEM v2
   Design Language: Linear / Cursor / Raycast Industrial Minimalism
   Features: Deep Frosted Glassmorphism, Vibrant Ambient Light, Custom Interactive Cursor
   Palette: Matte Obsidian, Electric Cyan, Cyber Violet, Neon Emerald, Radiant Amber
   ========================================================================== */

:root {
  --bg-primary: #090a0c;
  --bg-secondary: rgba(15, 18, 25, 0.7);
  --bg-tertiary: rgba(20, 24, 34, 0.75);
  --bg-elevated: rgba(26, 32, 44, 0.85);
  --bg-card: rgba(17, 21, 30, 0.65);
  --bg-glass: rgba(9, 10, 12, 0.78);
  --bg-glass-card: rgba(16, 21, 30, 0.62);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-highlight: rgba(255, 255, 255, 0.32);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --accent-cyan: #38bdf8;
  --accent-cyan-bright: #0ea5e9;
  --accent-cyan-dim: rgba(56, 189, 248, 0.12);
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);

  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-emerald-dim: rgba(16, 185, 129, 0.12);
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-amber: #f59e0b;
  --accent-amber-bright: #fbbf24;
  --accent-amber-dim: rgba(245, 158, 11, 0.12);
  --accent-amber-glow: rgba(245, 158, 11, 0.25);

  --accent-rose: #f43f5e;
  --accent-rose-bright: #fb7185;
  --accent-rose-dim: rgba(244, 63, 94, 0.12);
  --accent-rose-glow: rgba(244, 63, 94, 0.25);

  --accent-violet: #818cf8;
  --accent-violet-bright: #a78bfa;
  --accent-violet-dim: rgba(129, 140, 248, 0.12);
  --accent-violet-glow: rgba(129, 140, 248, 0.25);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition-fast: 140ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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;
  position: relative;
}

/* ==========================================================================
   CUSTOM INDUSTRIAL CURSOR
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea, [role="button"], 
  .filter-btn, .cli-copy-btn, .action-btn, .code-tab-btn, .manifest-hash-val {
    cursor: none !important;
  }
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 18px var(--accent-cyan);
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: rgba(56, 189, 248, 0.03);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.2s ease, 
              background-color 0.2s ease, 
              border-radius 0.2s ease,
              box-shadow 0.2s ease,
              opacity 0.2s ease;
}

/* Cursor Interactive Hover State */
.custom-cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: var(--accent-cyan-bright);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 24px var(--accent-cyan-glow);
}

.custom-cursor-dot.cursor-hover {
  width: 8px;
  height: 8px;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff;
}

/* Cursor Code State */
.custom-cursor-ring.cursor-code {
  width: 22px;
  height: 36px;
  border-radius: 4px;
  border-color: var(--accent-violet-bright);
  background: var(--accent-violet-dim);
  box-shadow: 0 0 20px var(--accent-violet-glow);
}

/* Cursor Click Active State */
.custom-cursor-ring.cursor-active {
  width: 26px;
  height: 26px;
  border-color: var(--accent-rose-bright);
  background: var(--accent-rose-dim);
}

.custom-cursor-hidden {
  opacity: 0 !important;
}

@media (hover: none) or (pointer: coarse) {
  *, body, a, button, input, select, textarea {
    cursor: auto !important;
  }
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   AMBIENT GLASSMORPHIC COLOR ORBS & STRUCTURAL GRID
   ========================================================================== */

/* Background Structural Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Atmospheric Color Glows for Glassmorphism */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.glow-cyan {
  top: 60px;
  left: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0.03) 60%, transparent 75%);
}

.glow-violet {
  top: 880px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.2) 0%, rgba(129, 140, 248, 0.03) 60%, transparent 75%);
}

.glow-emerald {
  top: 1950px;
  left: 5%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.02) 60%, transparent 75%);
}

.glow-amber {
  top: 2850px;
  right: 12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.02) 60%, transparent 75%);
}

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

code, pre {
  font-family: var(--font-mono);
}

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

/* ==========================================================================
   VIBRANT GRADIENT TEXT
   ========================================================================== */

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-violet {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   NAVIGATION BAR (Frosted Glass)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.98rem;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.8));
}

.brand-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
  color: #090a0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.domain-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.25);
  letter-spacing: 0;
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.2));
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(129, 140, 248, 0.35));
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 24px var(--accent-cyan-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 154px;
  padding-bottom: 96px;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.hero-headline {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 980px;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  color: #090a0c;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 24px var(--accent-cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.45), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cli-pill-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2px 4px 2px 14px;
  height: 48px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.cli-pill-wrap:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.cli-prefix {
  color: var(--accent-cyan);
  user-select: none;
  margin-right: 8px;
  font-weight: 600;
}

.cli-copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 14px;
  margin-left: 12px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.cli-copy-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--text-primary);
}

.cli-copy-btn.copied {
  color: var(--accent-emerald-bright);
  border-color: rgba(16, 185, 129, 0.45);
  background: var(--accent-emerald-dim);
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

/* Quick Spec Bar (Frosted Glass) */
.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.telemetry-cell {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 22px;
  transition: background var(--transition-fast);
}

.telemetry-cell:hover {
  background: rgba(26, 32, 44, 0.75);
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.telemetry-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.telemetry-dot.violet { background: var(--accent-violet); box-shadow: 0 0 8px var(--accent-violet); }
.telemetry-dot.emerald { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.telemetry-dot.amber { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section {
  padding: 104px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.section-tag.tag-mac {
  color: var(--accent-violet-bright);
  background: var(--accent-violet-dim);
  border-color: rgba(129, 140, 248, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 880px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* ==========================================================================
   LAYER 01: MAC EXECUTION PLANE & ARCHITECTURE CARDS (Glassmorphism)
   ========================================================================== */

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 52px;
}

.arch-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.arch-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Accent Card Top Bars */
.card-accent-violet {
  border-top: 2px solid var(--accent-violet-bright);
}
.card-accent-violet:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-violet-glow);
}

.card-accent-amber {
  border-top: 2px solid var(--accent-amber-bright);
}
.card-accent-amber:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-amber-glow);
}

.card-accent-emerald {
  border-top: 2px solid var(--accent-emerald-bright);
}
.card-accent-emerald:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-emerald-glow);
}

.card-accent-cyan {
  border-top: 2px solid var(--accent-cyan-bright);
}
.card-accent-cyan:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-cyan-glow);
}

.arch-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.arch-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.arch-tech-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.arch-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.arch-card:hover .arch-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ==========================================================================
   MAC RECONCILIATION REVIEW UI MOCKUP (Glassmorphic Window)
   ========================================================================== */

.mac-mockup-wrapper {
  background: rgba(12, 16, 23, 0.75);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.65), 0 0 36px rgba(129, 140, 248, 0.12);
}

.mac-window-bar {
  background: rgba(18, 23, 34, 0.85);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mac-window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot.close { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.4); }
.mac-dot.min { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.mac-dot.max { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.mac-window-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}

.mac-body {
  padding: 26px;
}

/* 5 Gram Panchayat Cards Grid */
.gp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.gp-card {
  background: rgba(18, 23, 34, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.gp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-cyan-glow);
}

.gp-card.has-exception {
  border-color: rgba(245, 158, 11, 0.35);
  border-top: 1px solid rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.04);
}

.gp-card.has-exception:hover {
  border-color: var(--accent-amber-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-amber-glow);
}

.gp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.gp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gp-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.gp-amount {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.gp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.status-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-tag.ok {
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-tag.warn {
  background: var(--accent-amber-dim);
  color: var(--accent-amber-bright);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-tag.action {
  background: var(--accent-rose-dim);
  color: var(--accent-rose-bright);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* Table Filter Header */
.table-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn-group {
  display: inline-flex;
  background: rgba(18, 23, 34, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 6px;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.table-filter-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Exceptions & Reconciliation Table (Frosted Glass) */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(15, 20, 29, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 20px;
}

.recon-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.recon-table th {
  background: rgba(22, 28, 41, 0.8);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.recon-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.recon-table tr:last-child td {
  border-bottom: none;
}

.recon-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.col-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
}

.col-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
}

.col-zero-variance {
  font-family: var(--font-mono);
  color: var(--accent-emerald-bright);
}

.col-warn-variance {
  font-family: var(--font-mono);
  color: var(--accent-amber-bright);
}

.row-action-btns {
  display: flex;
  gap: 8px;
}

.action-btn {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.action-btn.accept:hover {
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald-bright);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}

.action-btn.flag:hover {
  background: var(--accent-rose-dim);
  color: var(--accent-rose-bright);
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 12px var(--accent-rose-glow);
}

/* Manifest Hash Strip */
.manifest-strip {
  background: rgba(20, 26, 38, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.manifest-hash-val {
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.manifest-hash-val:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-cyan-bright);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

/* ==========================================================================
   LAYER 02: MYCELIUM SEMANTIC EDGE ROUTER (Benchmarks & Code)
   ========================================================================== */

.benchmark-table-wrapper {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.benchmark-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.benchmark-table th {
  background: rgba(22, 28, 41, 0.85);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.benchmark-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table tr.highlight-row {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--accent-cyan-bright);
}

.benchmark-table tr.highlight-row td {
  color: var(--text-primary);
  font-weight: 500;
}

.badge-winner {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Reconciled Harness Callout */
.callout-box {
  background: rgba(18, 23, 34, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
  padding: 20px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 52px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.callout-box strong {
  color: var(--text-primary);
}

/* Code Tabs Component (Frosted Glass) */
.code-box-wrapper {
  background: rgba(15, 20, 29, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.code-box-header {
  background: rgba(22, 28, 41, 0.85);
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.code-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.code-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.code-snippet {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.75;
  color: #e2e8f0;
  display: none;
}

.code-snippet.active {
  display: block;
}

/* Syntax Highlighting */
.token-kw { color: #f43f5e; font-weight: 600; }
.token-fn { color: #38bdf8; }
.token-str { color: #34d399; }
.token-comment { color: #64748b; font-style: italic; }
.token-num { color: #fbbf24; }

/* ==========================================================================
   ENGINEERING & SECURITY RIGOR SECTION (Glassmorphic Metrics)
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 52px;
}

.stat-metric-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.stat-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.stat-metric-val {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-metric-val.green {
  color: var(--accent-emerald-bright);
  text-shadow: 0 0 20px var(--accent-emerald-glow);
}

.stat-metric-val.cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.stat-metric-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.rigor-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.rigor-box {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.rigor-box:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.rigor-box-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rigor-box-title svg {
  color: var(--accent-cyan);
}

.rigor-box-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.artifact-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.artifact-link-item:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-cyan-bright);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER (Frosted Glass Finish)
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 68px 0 44px;
  background: rgba(9, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 380px;
  margin-top: 16px;
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

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

.footer-list a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--accent-cyan);
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DEDICATED DOWNLOAD PAGE (MAC Desktop v0.7.2)
   ========================================================================== */

.download-hero {
  padding: 130px 0 60px;
}

.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.nav-back-link:hover {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--accent-cyan-dim);
  transform: translateX(-2px);
}

.dl-main-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-medium);
  border-top: 2px solid var(--accent-violet-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 32px var(--accent-violet-glow);
  margin-bottom: 48px;
}

.dl-card-inner {
  padding: 40px;
}

.dl-platform-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.dl-platform-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dl-os-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet-bright);
  flex-shrink: 0;
}

.dl-os-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dl-os-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.dl-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-dl-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
  color: #090a0c;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-dl-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.6), 0 12px 30px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #a78bfa 0%, #0ea5e9 100%);
}

.dl-specs-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.dl-specs-inline span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dl-specs-inline .spec-tag {
  color: var(--accent-emerald-bright);
}

/* Checksum Verification Box */
.checksum-panel {
  background: rgba(10, 14, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.checksum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checksum-hash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  word-break: break-all;
}

.checksum-cmd-hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.checksum-cmd-hint code {
  color: var(--accent-violet-bright);
  background: rgba(129, 140, 248, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Security Assurance Badges */
.dl-security-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.dl-sec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.dl-sec-item svg {
  color: var(--accent-emerald-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Other Platforms Grid */
.other-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.platform-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition-fast);
}

.platform-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

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

.platform-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-card-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.platform-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}

.platform-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Quickstart 3 Steps */
.quickstart-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.step-watermark {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-box.violet {
  background: var(--accent-violet-dim);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: var(--accent-violet-bright);
}

.step-icon-box.cyan {
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan-bright);
}

.step-icon-box.emerald {
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-bright);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-desc code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-violet-bright);
  background: rgba(129, 140, 248, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Headless Showcase 2-Column Card */
.headless-showcase-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-medium);
  border-top: 2px solid var(--accent-cyan-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 32px var(--accent-cyan-glow);
  margin-bottom: 48px;
}

.headless-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}

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

.headless-info-col {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headless-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 10px;
  line-height: 1.25;
}

.headless-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.cli-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.headless-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.headless-terminal-col {
  background: rgba(10, 13, 20, 0.9);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .headless-terminal-col {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
}

.headless-code-body {
  padding: 24px;
  flex: 1;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: #e2e8f0;
}

.headless-terminal-footer {
  padding: 12px 20px;
  background: rgba(15, 20, 30, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* System Requirements Table & Assurance Banner */
.assurance-banner {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
}

.assurance-banner svg {
  color: var(--accent-emerald-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

/* System Requirements Table */
.req-table-wrap {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 48px;
}

.req-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.req-table th {
  background: rgba(22, 28, 41, 0.85);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.req-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.req-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DISPLAY RESPONSIVE ENGINE
   Breakpoints: Desktop (>1024px), Tablet (768-1024px), Mobile (<=768px), Small Mobile (<=480px)
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

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

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

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  /* Prevent horizontal scroll bleed */
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Navigation Bar */
  .navbar {
    height: 58px;
  }

  .nav-links {
    display: none;
  }

  .domain-badge {
    display: none;
  }

  .nav-cta-btn {
    padding: 7px 13px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Ambient light orbs scale-down to prevent mobile lag */
  .ambient-glow {
    filter: blur(70px);
    -webkit-filter: blur(70px);
    opacity: 0.45;
  }

  .glow-cyan {
    width: 280px;
    height: 280px;
    top: 20px;
    left: -20px;
  }

  .glow-violet {
    width: 300px;
    height: 300px;
    top: 600px;
    right: -30px;
  }

  /* Hero Section */
  .hero-section {
    padding: 100px 0 48px;
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-subheadline {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .cli-pill-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    height: 44px;
    font-size: 0.78rem;
  }

  .cli-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .telemetry-strip {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .telemetry-cell {
    padding: 14px 16px;
  }

  /* Section Padding */
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.22;
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }

  /* MAC OS Enclave Window */
  .arch-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .arch-card {
    padding: 20px;
  }

  .mac-window-bar {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .mac-window-title {
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
  }

  .mac-body {
    padding: 16px 12px;
  }

  .gp-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .table-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-btn-group {
    display: flex;
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    font-size: 0.7rem;
  }

  .manifest-block {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .manifest-hash-val {
    max-width: 100%;
    word-break: break-all;
    font-size: 0.68rem;
  }

  /* Code Tabs */
  .code-box-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .code-tabs {
    width: 100%;
  }

  .code-tab-btn {
    flex: 1;
    text-align: center;
  }

  .code-copy-btn {
    align-self: flex-end;
  }

  .code-snippet {
    padding: 16px 12px;
    font-size: 0.76rem;
  }

  /* Rigor Section */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rigor-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rigor-box {
    padding: 20px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Download Page Mobile */
  .download-hero {
    padding: 90px 0 40px;
  }

  .dl-card-inner {
    padding: 22px 16px;
  }

  .dl-platform-header {
    flex-direction: column;
    gap: 16px;
  }

  .dl-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-dl-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .checksum-panel {
    padding: 16px 14px;
  }

  .checksum-hash-row {
    font-size: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .other-platforms-grid,
  .quickstart-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .brand-logo-img {
    width: 24px;
    height: 24px;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .cta-text-full {
    display: none;
  }

  .cta-text-short {
    display: inline;
  }

  .stat-metric-val {
    font-size: 1.9rem;
  }
}
