/* ==========================================================================
   PRAYOGSETU — LIQUID GLASS & GLASSMORPHISM DESIGN SYSTEM
   Inspired by modern iOS & OriginOS/iQOO translucent interfaces
   Restrained, physical glassmorphism with high-readability industrial styling.
   DO NOT MODIFY SIMULATIONS — WEBSITE LAYER ONLY.
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS & SYSTEM VARIABLES (Monochrome Liquid Glass Architecture)
   ────────────────────────────────────────────────────────────────────────── */
:root,
html[data-theme="dark"],
html.dark {
  color-scheme: dark;

  --bg-0: #07090d;
  --bg-1: #0b0f15;
  --bg-2: #111722;

  --text-primary: #ffffff;
  --text-secondary: #b8bcc5;
  --text-muted: #858890;
  --text-dim: #b8bcc5;
  --text-mute: #858890;

  --accent: #ffffff;
  --accent-2: #e4e4e7;
  --accent-glow: rgba(255,255,255,.20);
  --teal: #ffffff;
  --accent-blue: #e4e4e7;

  /* physical liquid glass */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(15, 22, 33, 0.45) 50%, rgba(255, 255, 255, 0.06) 100%);
  --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(20, 30, 45, 0.55) 50%, rgba(255, 255, 255, 0.10) 100%);
  --glass-border: rgba(255, 255, 255, 0.20);
  --glass-border-top: rgba(255, 255, 255, 0.45);
  --glass-border-sides: rgba(255, 255, 255, 0.22);
  --glass-border-bottom: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.60);
  --glass-shadow-sm: 0 8px 24px -8px rgba(0, 0, 0, 0.50);
  --glass-shadow-hover: 0 26px 60px -12px rgba(0, 0, 0, 0.75);
  --glass-blur: blur(22px) saturate(1.7) contrast(1.04);
  --glass-backdrop-blur: blur(22px) saturate(1.7) contrast(1.04);
  --glass-backdrop-blur-sm: blur(14px) saturate(1.5);
  --glass-hl: inset 0 1.5px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.04);
  --glass-rim: var(--glass-hl);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition-fast: 180ms ease;
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Override */
[data-theme="light"],
html[data-theme="light"],
html:not(.dark):not([data-theme="dark"]) {
  color-scheme: light;

  --bg-0: #ececee;
  --bg-1: #e2e2e5;
  --bg-2: #d6d6da;

  --text-primary: #0e0e10;
  --text-secondary: #3b3b41;
  --text-muted: #66666d;
  --text-dim: #3b3b41;
  --text-mute: #66666d;

  --accent: #111113;
  --accent-2: #2a2a2e;
  --accent-glow: rgba(0,0,0,.15);
  --teal: #3b3b41;
  --accent-blue: #111113;

  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(240, 244, 252, 0.40) 50%, rgba(255, 255, 255, 0.55) 100%);
  --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.80) 0%, rgba(245, 248, 255, 0.55) 100%);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-top: #ffffff;
  --glass-border-sides: rgba(255, 255, 255, 0.85);
  --glass-border-bottom: rgba(200, 215, 235, 0.40);
  --glass-border-hover: #ffffff;
  --glass-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.12);
  --glass-shadow-sm: 0 6px 18px -4px rgba(15, 23, 42, 0.08);
  --glass-shadow-hover: 0 24px 50px -12px rgba(15, 23, 42, 0.16);
  --glass-blur: blur(22px) saturate(1.7) contrast(1.02);
  --glass-backdrop-blur: blur(22px) saturate(1.7) contrast(1.02);
  --glass-backdrop-blur-sm: blur(14px) saturate(1.5);
  --glass-hl: inset 0 1.5px 0 #ffffff, inset 0 -1px 0 rgba(0, 0, 0, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.40);
  --glass-rim: var(--glass-hl);
}

/* ──────────────────────────────────────────────────────────────────────────
   2. REFINED PAGE BACKGROUND ATMOSPHERE (White Glass & Subtle Cool Haze)
   ────────────────────────────────────────────────────────────────────────── */
body.liquid-glass-theme {
  background-color: #eef2f7;
  background-image:
    /* Controlled translucent ambient diffusion scrim so white liquid metal ripples shine through vividly */
    radial-gradient(ellipse 90% 60% at 50% 15%, rgba(255, 255, 255, 0.12) 0%, rgba(240, 244, 250, 0.32) 100%),
    url('images/liquid-metal-light.jpg'),
    url('/images/liquid-metal-light.jpg');
  background-size: 100% 100%, cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-theme="dark"] body.liquid-glass-theme,
html.dark body.liquid-glass-theme {
  background-color: #05070d;
  background-image:
    /* Crisp dark graphite diffusion scrim so obsidian liquid chrome ripples shine through vividly */
    radial-gradient(ellipse 90% 60% at 50% 15%, rgba(5, 7, 13, 0.22) 0%, rgba(5, 7, 13, 0.48) 100%),
    url('images/liquid-metal-dark.jpg'),
    url('/images/liquid-metal-dark.jpg');
  background-size: 100% 100%, cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.liquid-bg {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: url('./liquid-bg.png') center/cover no-repeat fixed !important;
  background-color: #07090d !important;
}

[data-theme="light"] .liquid-bg,
html:not(.dark):not([data-theme="dark"]) .liquid-bg {
  background-image: url('./liquid-bg.png') !important;
  filter: invert(.88) hue-rotate(180deg) brightness(1.1) contrast(.95) !important;
}

#shader-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12 !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   3. FLOATING LIQUID GLASS NAVBAR (iOS / OriginOS Inspired)
   ────────────────────────────────────────────────────────────────────────── */
.liquid-navbar-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.liquid-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1240px;
  height: 64px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--glass-border-top);
  border-left-color: var(--glass-border-sides);
  border-right-color: var(--glass-border-sides);
  border-bottom-color: var(--glass-border-bottom);
  box-shadow: var(--glass-shadow-float), var(--glass-rim);
  transition: all var(--transition-normal);
  position: relative;
}

html[data-theme="dark"] .liquid-navbar,
html.dark .liquid-navbar {
  background: linear-gradient(150deg, rgba(20, 25, 36, 0.78) 0%, rgba(10, 13, 19, 0.70) 100%);
  border-top-color: rgba(255, 255, 255, 0.28);
  border-left-color: rgba(255, 255, 255, 0.14);
  border-right-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.75), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.22);
}

/* Subtle Specular Sheen across top curve */
.liquid-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

html[data-theme="dark"] .liquid-navbar::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

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

.liquid-brand:hover {
  opacity: 0.9;
}

.liquid-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-blue-subtle);
  border: 1px solid var(--glass-border);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform var(--transition-spring), background var(--transition-fast);
}

html[data-theme="dark"] .liquid-brand-icon,
html.dark .liquid-brand-icon {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.liquid-brand:hover .liquid-brand-icon {
  transform: scale(1.06) rotate(-3deg);
  background: var(--accent-blue);
  color: #ffffff;
}

.liquid-brand-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Links Pill */
.liquid-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-bg-subtle);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border-subtle);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.liquid-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.liquid-nav-link:hover {
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .liquid-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.liquid-nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
  background: #0284c7 !important;
  border: 1px solid rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.liquid-nav-link.active::after {
  display: none;
}

html[data-theme="dark"] .liquid-nav-link.active,
html.dark .liquid-nav-link.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.7), 0 0 14px rgba(56, 189, 248, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* CTA Button with Liquid Glass Highlight */
.liquid-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.55), 0 0 14px rgba(56, 189, 248, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

html[data-theme="dark"] .liquid-btn-primary,
html.dark .liquid-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 22px rgba(14, 165, 233, 0.6), 0 0 16px rgba(56, 189, 248, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.liquid-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.75), 0 0 22px rgba(56, 189, 248, 0.6);
}

html[data-theme="dark"] .liquid-btn-primary:hover,
html.dark .liquid-btn-primary:hover {
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.75), 0 0 22px rgba(56, 189, 248, 0.6);
}

.liquid-btn-primary:active {
  transform: translateY(1px);
}

/* Card simulation buttons: Monochrome High Contrast */
.elec-card .liquid-btn-primary,
[class*="-card"] .liquid-btn-primary {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

.elec-card:hover .liquid-btn-primary,
[class*="-card"]:hover .liquid-btn-primary {
  background: #1e293b !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.elec-card .liquid-btn-primary *,
[class*="-card"] .liquid-btn-primary * {
  color: #ffffff !important;
}

html[data-theme="dark"] .elec-card .liquid-btn-primary,
html[data-theme="dark"] [class*="-card"] .liquid-btn-primary,
html.dark .elec-card .liquid-btn-primary,
html.dark [class*="-card"] .liquid-btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25) !important;
}

html[data-theme="dark"] .elec-card:hover .liquid-btn-primary,
html[data-theme="dark"] [class*="-card"]:hover .liquid-btn-primary,
html.dark .elec-card:hover .liquid-btn-primary,
html.dark [class*="-card"]:hover .liquid-btn-primary {
  background: #f1f5f9 !important;
  color: #000000 !important;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.4) !important;
}

html[data-theme="dark"] .elec-card .liquid-btn-primary *,
html[data-theme="dark"] [class*="-card"] .liquid-btn-primary *,
html.dark .elec-card .liquid-btn-primary *,
html.dark [class*="-card"] .liquid-btn-primary * {
  color: #000000 !important;
}


/* Secondary Frosted Glass Button */
.liquid-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur-sm);
  -webkit-backdrop-filter: var(--glass-backdrop-blur-sm);
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-sm), var(--glass-rim);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.liquid-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--glass-border-hover);
  color: var(--accent-blue);
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow-hover);
}

.liquid-btn-secondary:active {
  transform: translateY(1px);
}

/* ──────────────────────────────────────────────────────────────────────────
   4. PREMIUM iOS & ORIGINOS/iQOO THEME SWITCH
   ────────────────────────────────────────────────────────────────────────── */
.liquid-theme-switch {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(226, 232, 240, 0.85);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), var(--glass-highlight-subtle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 5px;
  user-select: none;
  outline: none;
  transition: background-color 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

html[data-theme="dark"] .liquid-theme-switch,
html.dark .liquid-theme-switch {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
}

.liquid-theme-switch:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.liquid-switch-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  pointer-events: none;
}

.liquid-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity var(--transition-normal), transform var(--transition-spring);
}

.liquid-icon-moon {
  color: #38bdf8;
  opacity: 0.35;
  transform: scale(0.85);
}

.liquid-icon-sun {
  color: #f59e0b;
  opacity: 1;
  transform: scale(1.05);
}

html[data-theme="dark"] .liquid-icon-moon,
html.dark .liquid-icon-moon {
  opacity: 1;
  transform: scale(1.05);
}

html[data-theme="dark"] .liquid-icon-sun,
html.dark .liquid-icon-sun {
  opacity: 0.35;
  transform: scale(0.85);
}

/* Sliding Circular Thumb */
.liquid-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), 0 0 1px rgba(0, 0, 0, 0.15);
  transition: transform 300ms cubic-bezier(0.34, 1.4, 0.64, 1), background-color 250ms ease, box-shadow 250ms ease;
  pointer-events: none;
}

/* In light mode: thumb sits on right (sun side) */
html[data-theme="light"] .liquid-switch-thumb,
html:not(.dark):not([data-theme="dark"]) .liquid-switch-thumb {
  transform: translateX(28px);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 0 10px rgba(245, 158, 11, 0.4);
}

/* In dark mode: thumb sits on left (moon side) as glowing white circle */
html[data-theme="dark"] .liquid-switch-thumb,
html.dark .liquid-switch-thumb {
  transform: translateX(0px);
  background: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   5. FROSTED GLASS PANELS & CARDS (The Liquid Glass Core)
   Unified Physical Material System for All Content Sections
   ────────────────────────────────────────────────────────────────────────── */
.glass,
.liquid-glass-card,
.glass-panel {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-hl);
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Cursor-following specular sheen from user template */
.glass::before,
.liquid-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

[data-theme="light"] .glass::before,
[data-theme="light"] .liquid-glass-card::before,
html[data-theme="light"] .liquid-glass-card::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.45), transparent 55%) !important;
}

.glass:hover::before,
.liquid-glass-card:hover::before {
  opacity: 1;
}

/* Fixed curved highlight */
.glass::after,
.liquid-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.04));
}

[data-theme="light"] .glass::after,
[data-theme="light"] .liquid-glass-card::after,
html[data-theme="light"] .liquid-glass-card::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.10));
}

.liquid-glass-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-rim);
}

html[data-theme="dark"] .liquid-glass-card:hover,
html.dark .liquid-glass-card:hover {
  border-top-color: rgba(255, 255, 255, 0.60);
  border-left-color: rgba(255, 255, 255, 0.35);
  border-right-color: rgba(255, 255, 255, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 24px 50px -10px rgba(0, 0, 0, 0.88),
    0 8px 20px -3px rgba(0, 0, 0, 0.6),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 24px 0 rgba(255, 255, 255, 0.06);
}

/* Glass Variants for Specific Sections */
.liquid-vision-card {
  border-left: 4px solid rgba(255, 255, 255, 0.45) !important;
}

/* Developer Circular Frosted Glass Avatar Disc */
.liquid-avatar-disc {
  border-radius: 50%;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.4), 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-spring), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .liquid-avatar-disc,
html.dark .liquid-avatar-disc {
  background: rgba(16, 22, 34, 0.65);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.22), 0 6px 20px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.liquid-avatar-disc:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Project Guide Squircle Frosted Glass Avatar */
.liquid-guide-avatar {
  border-radius: 20px;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.4), 0 6px 20px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-spring), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .liquid-guide-avatar,
html.dark .liquid-guide-avatar {
  background: rgba(16, 22, 34, 0.65);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Key Features Liquid Glass Tiles */
.liquid-feature-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--glass-border-top);
  border-left-color: var(--glass-border-sides);
  border-right-color: var(--glass-border-sides);
  border-bottom-color: var(--glass-border-bottom);
  border-radius: 18px;
  box-shadow: var(--glass-shadow-sm), var(--glass-rim);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .liquid-feature-tile,
html.dark .liquid-feature-tile {
  background: linear-gradient(150deg, rgba(22, 27, 38, 0.70) 0%, rgba(11, 14, 21, 0.58) 100%);
  border-top-color: rgba(255, 255, 255, 0.26);
  border-left-color: rgba(255, 255, 255, 0.13);
  border-right-color: rgba(255, 255, 255, 0.13);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.20);
}

.liquid-feature-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255, 255, 255, 0.7) 50%, transparent 90%);
  pointer-events: none;
}

html[data-theme="dark"] .liquid-feature-tile::before,
html.dark .liquid-feature-tile::before {
  background: linear-gradient(90deg, transparent 10%, rgba(255, 255, 255, 0.35) 50%, transparent 90%);
}

.liquid-feature-tile:hover {
  transform: translateY(-3px);
  border-top-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow), var(--glass-rim);
}

html[data-theme="dark"] .liquid-feature-tile:hover,
html.dark .liquid-feature-tile:hover {
  border-top-color: rgba(255, 255, 255, 0.40);
  border-left-color: rgba(255, 255, 255, 0.22);
  border-right-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.8), inset 0 2px 2px rgba(255, 255, 255, 0.3);
}

.liquid-feature-tile-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 132, 199, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 12px;
  color: #0284c7;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

html[data-theme="dark"] .liquid-feature-tile-icon,
html.dark .liquid-feature-tile-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.liquid-feature-tile:hover .liquid-feature-tile-icon {
  background: #ffffff;
  color: #090d16;
  transform: scale(1.05);
}

html[data-theme="dark"] .liquid-feature-tile:hover .liquid-feature-tile-icon,
html.dark .liquid-feature-tile:hover .liquid-feature-tile-icon {
  background: #ffffff;
  color: #090d16;
}

/* Glass Section Container */
.liquid-section-container {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--glass-shadow-float), var(--glass-rim);
  position: relative;
}

/* ──────────────────────────────────────────────────────────────────────────
   6. HERO SECTION REFINEMENTS & ARCHITECTURE PANEL
   ────────────────────────────────────────────────────────────────────────── */
.liquid-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.08);
  backdrop-filter: var(--glass-backdrop-blur-sm);
  -webkit-backdrop-filter: var(--glass-backdrop-blur-sm);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow-sm), var(--glass-rim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0284c7;
}

html[data-theme="dark"] .liquid-hero-badge,
html.dark .liquid-hero-badge {
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
}

.liquid-hero-heading {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: -0.03em !important;
  color: var(--text-primary) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
}

html[data-theme="light"] .liquid-hero-heading,
[data-theme="light"] .liquid-hero-heading,
html:not(.dark) .liquid-hero-heading {
  color: #0e0e10 !important;
}

html[data-theme="dark"] .liquid-hero-heading,
[data-theme="dark"] .liquid-hero-heading,
html.dark .liquid-hero-heading {
  color: #f5f5f5 !important;
}

.liquid-hero-subheading {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(90deg, #d9d9dd, #8d8d94);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800 !important;
}

html[data-theme="light"] .liquid-hero-subheading,
[data-theme="light"] .liquid-hero-subheading,
html:not(.dark) .liquid-hero-subheading {
  background: linear-gradient(90deg, #3a3a40, #8a8a92) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .liquid-hero-subheading,
[data-theme="dark"] .liquid-hero-subheading,
html.dark .liquid-hero-subheading {
  background: linear-gradient(90deg, #d9d9dd, #8d8d94) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
}

.liquid-hero-desc {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
}

/* Hero Feature Cards (The 3 wide frosted pills from reference) */
.liquid-feature-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-width: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--glass-border-top);
  border-left-color: var(--glass-border-sides);
  border-right-color: var(--glass-border-sides);
  border-bottom-color: var(--glass-border-bottom);
  border-radius: 16px;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.05), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

html[data-theme="light"] .liquid-feature-card,
html:not(.dark) .liquid-feature-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76) 0%, rgba(245, 248, 255, 0.52) 100%) !important;
  border-top: 2px solid #ffffff !important;
  border-left: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-bottom: 1px solid rgba(200, 215, 235, 0.45) !important;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px 0 #ffffff !important;
}

html[data-theme="dark"] .liquid-feature-card,
html.dark .liquid-feature-card {
  background: linear-gradient(150deg, rgba(28, 36, 52, 0.42) 0%, rgba(12, 17, 26, 0.38) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top-color: rgba(255, 255, 255, 0.52);
  border-left-color: rgba(255, 255, 255, 0.22);
  border-right-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.35);
}

.liquid-feature-card:hover {
  transform: translateY(-2px);
  border-top-color: var(--glass-border-hover);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), var(--glass-rim);
}

html[data-theme="dark"] .liquid-feature-card:hover,
html.dark .liquid-feature-card:hover {
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.8), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.65);
  border-left-color: rgba(255, 255, 255, 0.30);
  border-right-color: rgba(255, 255, 255, 0.30);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.liquid-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 1px #fff;
  flex-shrink: 0;
  color: #334155;
}

.liquid-feature-icon .material-symbols-outlined {
  font-size: 18px !important;
}

html[data-theme="dark"] .liquid-feature-icon,
html.dark .liquid-feature-icon {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.liquid-feature-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.liquid-feature-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html[data-theme="dark"] .liquid-feature-title,
html.dark .liquid-feature-title {
  color: #ffffff !important;
}

.liquid-feature-sub {
  font-size: 0.625rem !important;
  color: var(--text-muted) !important;
  line-height: 1.2 !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Hero Primary Liquid Glass CTA - Radiant Cyan Gradient Pill */
.liquid-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.55), 0 0 24px rgba(56, 189, 248, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.liquid-btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.7), 0 0 28px rgba(56, 189, 248, 0.6);
}

html[data-theme="dark"] .liquid-btn-hero-primary,
html.dark .liquid-btn-hero-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6), 0 0 26px rgba(56, 189, 248, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

html[data-theme="dark"] .liquid-btn-hero-primary:hover,
html.dark .liquid-btn-hero-primary:hover {
  box-shadow: 0 12px 38px rgba(14, 165, 233, 0.75), 0 0 32px rgba(56, 189, 248, 0.65);
}

.liquid-btn-hero-primary:active {
  transform: translateY(1px);
}

.liquid-btn-play-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

html[data-theme="dark"] .liquid-btn-hero-primary .liquid-btn-play-circle,
html.dark .liquid-btn-hero-primary .liquid-btn-play-circle {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Hero Secondary Frosted Glass CTA */
.liquid-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

html[data-theme="dark"] .liquid-btn-hero-secondary,
html.dark .liquid-btn-hero-secondary {
  background: rgba(22, 30, 48, 0.65) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.6), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.25) !important;
}

.liquid-btn-hero-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .liquid-btn-hero-secondary:hover,
html.dark .liquid-btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(30, 42, 64, 0.8) !important;
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.75) !important;
}

.liquid-btn-hero-secondary:active {
  transform: translateY(1px);
}

.liquid-btn-play-circle-outline {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Architecture Panel Enclosure */
.liquid-architecture-enclosure {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--glass-border-top);
  border-left-color: var(--glass-border-sides);
  border-right-color: var(--glass-border-sides);
  border-bottom-color: var(--glass-border-bottom);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.1), 0 8px 24px -4px rgba(15, 23, 42, 0.04), inset 0 2px 2px 0 rgba(255, 255, 255, 1), inset 0 -1.5px 2px 0 rgba(255, 255, 255, 0.5);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .liquid-architecture-enclosure,
html:not(.dark):not([data-theme="dark"]) .liquid-architecture-enclosure {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 246, 255, 0.56) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-radius: 28px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-top: 2.5px solid #ffffff !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(200, 215, 235, 0.50) !important;
  box-shadow:
    0 28px 65px -12px rgba(15, 23, 42, 0.10),
    0 0 35px rgba(2, 132, 199, 0.10),
    inset 0 2px 3px 0 #ffffff,
    inset 0 -2px 3px 0 rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="dark"] .liquid-architecture-enclosure,
html.dark .liquid-architecture-enclosure {
  background: linear-gradient(150deg, rgba(20, 30, 48, 0.50) 0%, rgba(8, 12, 22, 0.42) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-radius: 28px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 2px solid rgba(255, 255, 255, 0.70) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    0 32px 75px -12px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(56, 189, 248, 0.18),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 3px 0 rgba(0, 0, 0, 0.6) !important;
}

.liquid-architecture-enclosure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.8) 70%, transparent 95%);
  pointer-events: none;
  z-index: 2;
}

html[data-theme="light"] .liquid-architecture-enclosure::before,
html:not(.dark):not([data-theme="dark"]) .liquid-architecture-enclosure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3%;
  right: 3%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6) 15%, #ffffff 50%, rgba(255, 255, 255, 0.6) 85%, transparent) !important;
  pointer-events: none;
  z-index: 2;
}

html[data-theme="dark"] .liquid-architecture-enclosure::before,
html.dark .liquid-architecture-enclosure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3%;
  right: 3%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 15%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.4) 85%, transparent) !important;
  pointer-events: none;
  z-index: 2;
}

.liquid-arch-title {
  color: var(--text-primary) !important;
}

html[data-theme="light"] .liquid-arch-title,
html:not(.dark):not([data-theme="dark"]) .liquid-arch-title {
  color: #0f172a !important;
}

html[data-theme="dark"] .liquid-arch-title,
html.dark .liquid-arch-title {
  color: #ffffff !important;
}

/* Precision Metallic Rivets on Enclosure */
.liquid-arch-rivets {
  position: absolute;
  top: 12px;
  right: 22px;
  display: flex;
  gap: 5px;
  pointer-events: none;
  z-index: 5;
}

.liquid-arch-rivets span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0.5px 0.5px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .liquid-arch-rivets span,
html:not(.dark):not([data-theme="dark"]) .liquid-arch-rivets span {
  background: rgba(15, 23, 42, 0.20) !important;
  box-shadow: inset 0 0.5px 0.5px rgba(0, 0, 0, 0.25), 0 0.5px 0.5px #ffffff !important;
}

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

.liquid-arch-badge-cyan {
  padding: 3px 10px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html[data-theme="dark"] .liquid-arch-badge-cyan,
html.dark .liquid-arch-badge-cyan {
  background: rgba(14, 165, 233, 0.25) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

.liquid-arch-badge-green {
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html[data-theme="dark"] .liquid-arch-badge-green,
html.dark .liquid-arch-badge-green {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.5) !important;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   BLUEPRINT SVG INDUSTRIAL NEON GRAPHICS (Exact Match to Reference Image 1)
   ────────────────────────────────────────────────────────────────────────── */
.blueprint-svg-container,
html[data-theme="light"] .blueprint-svg-container,
html:not(.dark):not([data-theme="dark"]) .blueprint-svg-container {
  background: #ffffff !important;
  border: 1px solid rgba(203, 213, 225, 0.85) !important;
  box-shadow: inset 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="dark"] .blueprint-svg-container,
html.dark .blueprint-svg-container {
  background: #060b14 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 25px rgba(56, 189, 248, 0.08) !important;
}

html[data-theme="dark"] .blueprint-svg-container svg text,
html.dark .blueprint-svg-container svg text {
  fill: #38bdf8 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg text[fill="#94a3b8"],
html.dark .blueprint-svg-container svg text[fill="#94a3b8"] {
  fill: #38bdf8 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg rect[fill="#ffffff"],
html[data-theme="dark"] .blueprint-svg-container svg rect[fill="#f1f5f9"],
html[data-theme="dark"] .blueprint-svg-container svg circle[fill="#ffffff"],
html.dark .blueprint-svg-container svg rect[fill="#ffffff"],
html.dark .blueprint-svg-container svg rect[fill="#f1f5f9"],
html.dark .blueprint-svg-container svg circle[fill="#ffffff"] {
  fill: #0c1524 !important;
  stroke: #0284c7 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg [stroke="#cbd5e1"],
html[data-theme="dark"] .blueprint-svg-container svg [stroke="#475569"],
html[data-theme="dark"] .blueprint-svg-container svg [stroke="#334155"],
html[data-theme="dark"] .blueprint-svg-container svg [stroke="#3a5f94"],
html.dark .blueprint-svg-container svg [stroke="#cbd5e1"],
html.dark .blueprint-svg-container svg [stroke="#475569"],
html.dark .blueprint-svg-container svg [stroke="#334155"],
html.dark .blueprint-svg-container svg [stroke="#3a5f94"] {
  stroke: #0284c7 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg path[class*="animate-signal-flow"],
html.dark .blueprint-svg-container svg path[class*="animate-signal-flow"] {
  stroke: #38bdf8 !important;
  filter: drop-shadow(0 0 6px #38bdf8);
}

/* ──────────────────────────────────────────────────────────────────────────
   7. SIMULATION CATEGORY CARDS (Approved Reference Replication)
   Integrated engineering imagery with frosted icons and status badges
   ────────────────────────────────────────────────────────────────────────── */
.sim-card.liquid-glass-card {
  padding: 14px 14px 18px 14px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--glass-border-top);
  border-left-color: var(--glass-border-sides);
  border-right-color: var(--glass-border-sides);
  border-bottom-color: var(--glass-border-bottom);
  box-shadow: var(--glass-shadow), var(--glass-rim);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .sim-card.liquid-glass-card,
html.dark .sim-card.liquid-glass-card {
  background: linear-gradient(150deg, rgba(28, 38, 58, 0.45) 0%, rgba(12, 17, 28, 0.40) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-top-color: rgba(255, 255, 255, 0.55) !important;
  border-left-color: rgba(255, 255, 255, 0.24) !important;
  border-right-color: rgba(255, 255, 255, 0.24) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 20px 48px -12px rgba(0, 0, 0, 0.75),
    0 4px 14px -2px rgba(0, 0, 0, 0.5),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.40),
    inset 0 0 22px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4) !important;
}

.sim-card.liquid-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.75) 75%, transparent);
  pointer-events: none;
  z-index: 4;
}

.sim-card.liquid-glass-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-rim);
}

html[data-theme="dark"] .sim-card.liquid-glass-card:hover,
html.dark .sim-card.liquid-glass-card:hover {
  background: linear-gradient(150deg, rgba(35, 48, 72, 0.55) 0%, rgba(16, 22, 36, 0.48) 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.70) !important;
  border-left-color: rgba(255, 255, 255, 0.35) !important;
  border-right-color: rgba(255, 255, 255, 0.35) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 28px 60px -12px rgba(0, 0, 0, 0.88),
    0 8px 20px -3px rgba(0, 0, 0, 0.6),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.50),
    0 0 24px rgba(56, 189, 248, 0.12) !important;
}

/* Card Top Image & Badges Container - Embedded inside glass frame */
.sim-card-media {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .sim-card-media,
html:not(.dark):not([data-theme="dark"]) .sim-card-media {
  background: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.sim-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.94;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), opacity 450ms ease;
}

.sim-card:hover .sim-card-img {
  transform: scale(1.05);
  opacity: 1;
}

/* Image overlay: top vignette + gentle bottom fade into glass surface */
.sim-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(10, 14, 24, 0.75) 75%, rgba(10, 14, 24, 0.96) 100%);
  pointer-events: none;
}

html[data-theme="light"] .sim-card-media-overlay,
html:not(.dark):not([data-theme="dark"]) .sim-card-media-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.01) 40%, rgba(255, 255, 255, 0.50) 100%);
}

/* Frosted glass icon box over image top-left */
.sim-card-icon-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), inset 0 1px 1px rgba(255, 255, 255, 1);
  z-index: 2;
  transition: transform var(--transition-spring);
}

html[data-theme="dark"] .sim-card-icon-wrap,
html.dark .sim-card-icon-wrap {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}

.sim-card:hover .sim-card-icon-wrap {
  transform: scale(1.08);
}

/* Status Pill Badges over image top-right */
.sim-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.02em !important;
  padding: 3px 12px !important;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  transition: transform var(--transition-fast);
}

/* "Available" status badge */
.sim-card-badge.badge-available,
.sim-card[data-availability="available"] .sim-card-badge:not(.badge-category) {
  background: rgba(209, 250, 229, 0.90);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .sim-card-badge.badge-available,
html[data-theme="dark"] .sim-card[data-availability="available"] .sim-card-badge:not(.badge-category),
html.dark .sim-card-badge.badge-available,
html.dark .sim-card[data-availability="available"] .sim-card-badge:not(.badge-category) {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.20) !important;
}

/* "Category" badge */
.sim-card-badge.badge-category {
  background: rgba(224, 242, 254, 0.90);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .sim-card-badge.badge-category,
html.dark .sim-card-badge.badge-category {
  background: rgba(6, 182, 212, 0.15) !important;
  color: #2dd4bf !important;
  border: 1px solid rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.20) !important;
}

/* Card Content Typography */
.sim-card-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

html[data-theme="dark"] .sim-card-title,
html.dark .sim-card-title {
  color: #ffffff;
}

.sim-card:hover .sim-card-title {
  color: var(--accent-blue);
}

.sim-card-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 14px;
  min-height: 42px;
}

/* Card Footer */
.sim-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border-subtle);
}

.sim-card-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-blue) !important;
}

html[data-theme="dark"] .sim-card-count,
html.dark .sim-card-count {
  color: #38bdf8 !important;
}

.sim-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue) !important;
  transition: transform var(--transition-fast);
}

html[data-theme="dark"] .sim-card-arrow,
html.dark .sim-card-arrow {
  color: #38bdf8 !important;
}

.sim-card:hover .sim-card-arrow {
  transform: translate(2px, -2px);
}

/* PrayogSetu Simulations Banner Button - Sleek Frosted Glass Squircle (Exact Match to Reference Image 2) */
.liquid-btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff !important;
  background: #0f172a;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

html[data-theme="light"] .liquid-btn-banner,
html:not(.dark):not([data-theme="dark"]) .liquid-btn-banner {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

html[data-theme="dark"] .liquid-btn-banner,
html.dark .liquid-btn-banner {
  background: rgba(14, 20, 32, 0.65) !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #ffffff !important;
}

.liquid-btn-banner:hover {
  transform: translateY(-2px);
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.45), 0 0 18px rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .liquid-btn-banner:hover,
html.dark .liquid-btn-banner:hover {
  transform: translateY(-2px);
  background: rgba(22, 32, 50, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.8), 0 0 18px rgba(255, 255, 255, 0.20) !important;
}

/* Banner Typography Classes */
.liquid-sim-banner-label {
  color: #0f172a !important;
}

html[data-theme="dark"] .liquid-sim-banner-label,
html.dark .liquid-sim-banner-label {
  color: #ffffff !important;
}

.liquid-sim-banner-title {
  color: #0f172a !important;
}

html[data-theme="dark"] .liquid-sim-banner-title,
html.dark .liquid-sim-banner-title {
  color: #ffffff !important;
}

.liquid-sim-banner-desc {
  color: #475569 !important;
}

html[data-theme="dark"] .liquid-sim-banner-desc,
html.dark .liquid-sim-banner-desc {
  color: #cbd5e1 !important;
}

/* Main Feature Banner Card Translucency */
html[data-theme="light"] #simulations .liquid-glass-card,
html:not(.dark):not([data-theme="dark"]) #simulations .liquid-glass-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76) 0%, rgba(240, 246, 255, 0.54) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-radius: 28px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-top: 2.5px solid #ffffff !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(200, 215, 235, 0.50) !important;
  box-shadow:
    0 28px 65px -12px rgba(15, 23, 42, 0.10),
    0 0 35px rgba(2, 132, 199, 0.10),
    inset 0 2px 3px 0 #ffffff,
    inset 0 -2px 3px 0 rgba(15, 23, 42, 0.04) !important;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] #simulations .liquid-glass-card,
html.dark #simulations .liquid-glass-card {
  background: linear-gradient(150deg, rgba(20, 30, 50, 0.30) 0%, rgba(8, 12, 22, 0.25) 100%) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-radius: 28px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  border-top: 2px solid rgba(255, 255, 255, 0.70) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 28px 70px -12px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(56, 189, 248, 0.08),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.50),
    inset 0 0 35px 0 rgba(255, 255, 255, 0.03),
    inset 0 -2px 3px 0 rgba(0, 0, 0, 0.55) !important;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] #simulations .liquid-glass-card::before,
html:not(.dark):not([data-theme="dark"]) #simulations .liquid-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5) 15%, #ffffff 50%, rgba(255, 255, 255, 0.5) 85%, transparent) !important;
  pointer-events: none;
  z-index: 2;
}

html[data-theme="dark"] #simulations .liquid-glass-card::before,
html.dark #simulations .liquid-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 15%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.35) 85%, transparent) !important;
  pointer-events: none;
  z-index: 2;
}

/* Universal Subpage Cards (Physics, Electronics, Digital, Counters, Shift Registers, Mux, Demux, Valves, Parameters) */
.elec-card,
.param-card,
.digi-card,
.physics-card,
.valve-card,
.sub-card,
.de-card,
.cnt-card,
.mux-card,
.demux-card,
.sr-card,
.liquid-glass-card-pro {
  position: relative !important;
  border-radius: 20px !important;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(28px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.08) !important;
  border: 1px solid var(--glass-border) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.75), 
              0 0 28px rgba(56, 189, 248, 0.04),
              inset 0 1.5px 0 rgba(255, 255, 255, 0.45), 
              inset 0 0 24px rgba(255, 255, 255, 0.025),
              inset 0 -1px 2px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s !important;
  overflow: hidden;
}

.elec-card::before,
.param-card::before,
.digi-card::before,
.physics-card::before,
.valve-card::before,
.sub-card::before,
.de-card::before,
.cnt-card::before,
.mux-card::before,
.demux-card::before,
.sr-card::before,
.liquid-glass-card-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 15%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.4) 85%, transparent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
  transition: opacity 0.35s ease;
}

.elec-card:hover::before,
.param-card:hover::before,
.digi-card:hover::before,
.physics-card:hover::before,
.valve-card:hover::before,
.sub-card:hover::before,
.de-card:hover::before,
.cnt-card:hover::before,
.mux-card:hover::before,
.demux-card:hover::before,
.sr-card:hover::before,
.liquid-glass-card-pro:hover::before {
  opacity: 1;
}

html[data-theme="dark"] .elec-card,
html[data-theme="dark"] .param-card,
html[data-theme="dark"] .digi-card,
html[data-theme="dark"] .physics-card,
html[data-theme="dark"] .valve-card,
html[data-theme="dark"] .sub-card,
html[data-theme="dark"] .de-card,
html[data-theme="dark"] .cnt-card,
html[data-theme="dark"] .mux-card,
html[data-theme="dark"] .demux-card,
html[data-theme="dark"] .sr-card,
html[data-theme="dark"] .liquid-glass-card-pro,
html.dark .elec-card,
html.dark .param-card,
html.dark .digi-card,
html.dark .physics-card,
html.dark .valve-card,
html.dark .sub-card,
html.dark .de-card,
html.dark .cnt-card,
html.dark .mux-card,
html.dark .demux-card,
html.dark .sr-card,
html.dark .liquid-glass-card-pro {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.28) 100%) !important;
  backdrop-filter: blur(28px) saturate(210%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.08) !important;
  border-top-color: rgba(255, 255, 255, 0.55) !important;
  border-left-color: rgba(255, 255, 255, 0.25) !important;
  border-right-color: rgba(255, 255, 255, 0.15) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 20px 48px -10px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(56, 189, 248, 0.04),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 24px rgba(255, 255, 255, 0.025),
    inset 0 -1px 2px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .elec-card,
[data-theme="light"] .param-card,
[data-theme="light"] .digi-card,
[data-theme="light"] .physics-card,
[data-theme="light"] .valve-card,
[data-theme="light"] .sub-card,
[data-theme="light"] .de-card,
[data-theme="light"] .cnt-card,
[data-theme="light"] .mux-card,
[data-theme="light"] .demux-card,
[data-theme="light"] .sr-card,
[data-theme="light"] .liquid-glass-card-pro,
html:not(.dark):not([data-theme="dark"]) .elec-card,
html:not(.dark):not([data-theme="dark"]) .param-card,
html:not(.dark):not([data-theme="dark"]) .digi-card,
html:not(.dark):not([data-theme="dark"]) .physics-card,
html:not(.dark):not([data-theme="dark"]) .valve-card,
html:not(.dark):not([data-theme="dark"]) .sub-card,
html:not(.dark):not([data-theme="dark"]) .de-card,
html:not(.dark):not([data-theme="dark"]) .cnt-card,
html:not(.dark):not([data-theme="dark"]) .mux-card,
html:not(.dark):not([data-theme="dark"]) .demux-card,
html:not(.dark):not([data-theme="dark"]) .sr-card,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card-pro {
  position: relative !important;
  border-radius: 26px !important;
  background: linear-gradient(145deg, 
      rgba(255, 255, 255, 0.68) 0%, 
      rgba(255, 255, 255, 0.35) 48%, 
      rgba(255, 255, 255, 0.50) 100%) !important;
  background-color: rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(34px) saturate(180%) contrast(105%) !important;
  -webkit-backdrop-filter: blur(34px) saturate(180%) contrast(105%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 
      0 20px 48px -12px rgba(15, 23, 42, 0.08),
      0 1px 2px rgba(0, 0, 0, 0.03),
      inset 0 1.5px 0.5px rgba(255, 255, 255, 0.92),
      inset 0 -1px 1px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease !important;
}

[data-theme="light"] .elec-card:hover,
[data-theme="light"] .param-card:hover,
[data-theme="light"] .digi-card:hover,
[data-theme="light"] .physics-card:hover,
[data-theme="light"] .valve-card:hover,
[data-theme="light"] .sub-card:hover,
[data-theme="light"] .de-card:hover,
[data-theme="light"] .cnt-card:hover,
[data-theme="light"] .mux-card:hover,
[data-theme="light"] .demux-card:hover,
[data-theme="light"] .sr-card:hover,
[data-theme="light"] .liquid-glass-card-pro:hover,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover,
html:not(.dark):not([data-theme="dark"]) .param-card:hover,
html:not(.dark):not([data-theme="dark"]) .digi-card:hover,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover,
html:not(.dark):not([data-theme="dark"]) .sub-card:hover,
html:not(.dark):not([data-theme="dark"]) .de-card:hover,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card-pro:hover {
  transform: translateY(-5px) !important;
  box-shadow: 
      0 28px 64px -14px rgba(2, 132, 199, 0.16),
      0 2px 6px rgba(0, 0, 0, 0.04),
      inset 0 1.5px 1px rgba(255, 255, 255, 1) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  border-top-color: #ffffff !important;
}

/* Card Technical Icon Box */
[data-theme="light"] .card-icon-wrap,
[data-theme="light"] .technical-icon-box,
[data-theme="light"] .sim-card-icon-wrap,
[data-theme="light"] .param-icon-wrap,
[data-theme="light"] .icon-wrap,
html:not(.dark):not([data-theme="dark"]) .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .technical-icon-box,
html:not(.dark):not([data-theme="dark"]) .sim-card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .param-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(2, 132, 199, 0.06) !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
  color: #0284c7 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
}

[data-theme="light"] .physics-card:hover .card-icon-wrap,
[data-theme="light"] .de-card:hover .card-icon-wrap,
[data-theme="light"] .elec-card:hover .card-icon-wrap,
[data-theme="light"] .param-card:hover .param-icon-wrap,
[data-theme="light"] .cnt-card:hover .card-icon-wrap,
[data-theme="light"] .mux-card:hover .card-icon-wrap,
[data-theme="light"] .demux-card:hover .card-icon-wrap,
[data-theme="light"] .sr-card:hover .card-icon-wrap,
[data-theme="light"] .valve-card:hover .param-icon-wrap,
[data-theme="light"] .liquid-glass-card-pro:hover .technical-icon-box,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .de-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .param-card:hover .param-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover .param-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card-pro:hover .technical-icon-box {
  transform: scale(1.06) rotate(2deg) !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

[data-theme="light"] .card-icon-wrap .card-icon,
[data-theme="light"] .card-icon-wrap .material-symbols-outlined,
[data-theme="light"] .technical-icon-box .material-symbols-outlined,
[data-theme="light"] .param-icon-wrap .param-icon,
html:not(.dark):not([data-theme="dark"]) .card-icon-wrap .card-icon,
html:not(.dark):not([data-theme="dark"]) .card-icon-wrap .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .technical-icon-box .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .param-icon-wrap .param-icon {
  color: #0284c7 !important;
}

/* Card Status Pill Badges */
[data-theme="light"] .experiment-count-badge,
[data-theme="light"] .font-data-label,
[data-theme="light"] [class*="bg-emerald-50"],
[data-theme="light"] span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .experiment-count-badge,
html:not(.dark):not([data-theme="dark"]) .font-data-label,
html:not(.dark):not([data-theme="dark"]) [class*="bg-emerald-50"],
html:not(.dark):not([data-theme="dark"]) span[class*="text-emerald"] {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 4px 11px !important;
  border-radius: 9999px !important;
  background: rgba(16, 185, 129, 0.07) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #059669 !important;
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.6) !important;
  letter-spacing: -0.01em !important;
}

/* Card Title & Typography in White Mode */
[data-theme="light"] .elec-card h3,
[data-theme="light"] .param-card h3,
[data-theme="light"] .digi-card h3,
[data-theme="light"] .physics-card h3,
[data-theme="light"] .valve-card h3,
[data-theme="light"] .sub-card h3,
[data-theme="light"] .de-card h3,
[data-theme="light"] .cnt-card h3,
[data-theme="light"] .mux-card h3,
[data-theme="light"] .demux-card h3,
[data-theme="light"] .sr-card h3,
[data-theme="light"] .card-category-title,
html:not(.dark):not([data-theme="dark"]) .elec-card h3,
html:not(.dark):not([data-theme="dark"]) .param-card h3,
html:not(.dark):not([data-theme="dark"]) .digi-card h3,
html:not(.dark):not([data-theme="dark"]) .physics-card h3,
html:not(.dark):not([data-theme="dark"]) .valve-card h3,
html:not(.dark):not([data-theme="dark"]) .sub-card h3,
html:not(.dark):not([data-theme="dark"]) .de-card h3,
html:not(.dark):not([data-theme="dark"]) .cnt-card h3,
html:not(.dark):not([data-theme="dark"]) .mux-card h3,
html:not(.dark):not([data-theme="dark"]) .demux-card h3,
html:not(.dark):not([data-theme="dark"]) .sr-card h3,
html:not(.dark):not([data-theme="dark"]) .card-category-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .elec-card p,
[data-theme="light"] .param-card p,
[data-theme="light"] .digi-card p,
[data-theme="light"] .physics-card p,
[data-theme="light"] .valve-card p,
[data-theme="light"] .sub-card p,
[data-theme="light"] .de-card p,
[data-theme="light"] .cnt-card p,
[data-theme="light"] .mux-card p,
[data-theme="light"] .demux-card p,
[data-theme="light"] .sr-card p,
[data-theme="light"] .card-category-desc,
html:not(.dark):not([data-theme="dark"]) .elec-card p,
html:not(.dark):not([data-theme="dark"]) .param-card p,
html:not(.dark):not([data-theme="dark"]) .digi-card p,
html:not(.dark):not([data-theme="dark"]) .physics-card p,
html:not(.dark):not([data-theme="dark"]) .valve-card p,
html:not(.dark):not([data-theme="dark"]) .sub-card p,
html:not(.dark):not([data-theme="dark"]) .de-card p,
html:not(.dark):not([data-theme="dark"]) .cnt-card p,
html:not(.dark):not([data-theme="dark"]) .mux-card p,
html:not(.dark):not([data-theme="dark"]) .demux-card p,
html:not(.dark):not([data-theme="dark"]) .sr-card p,
html:not(.dark):not([data-theme="dark"]) .card-category-desc {
  color: #64748b !important;
}

/* Card Launch Button — Liquid Glass Pill (Matching Image Inner Buttons) */
[data-theme="light"] .physics-card > div:last-child,
[data-theme="light"] .de-card > div:last-child,
[data-theme="light"] .elec-card > div:last-child,
[data-theme="light"] .param-card > div:last-child,
[data-theme="light"] .valve-card > div:last-child,
[data-theme="light"] .sub-card > div:last-child,
[data-theme="light"] .cnt-card > div:last-child,
[data-theme="light"] .mux-card > div:last-child,
[data-theme="light"] .demux-card > div:last-child,
[data-theme="light"] .sr-card > div:last-child,
[data-theme="light"] [class*="-card"] .experiment-item-link,
[data-theme="light"] [class*="-card"] div[class*="bg-on-tertiary"],
[data-theme="light"] [class*="-card"] a[class*="bg-on-tertiary"],
[data-theme="light"] [class*="-card"] .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) .physics-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .de-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .elec-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .param-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .valve-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .sub-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .cnt-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .mux-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .demux-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) .sr-card > div:last-child,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .experiment-item-link,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] div[class*="bg-on-tertiary"],
html:not(.dark):not([data-theme="dark"]) [class*="-card"] a[class*="bg-on-tertiary"],
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .liquid-btn-primary {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  color: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), inset 0 1px 0.5px rgba(255, 255, 255, 0.8) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="light"] .physics-card:hover > div:last-child,
[data-theme="light"] .de-card:hover > div:last-child,
[data-theme="light"] .elec-card:hover > div:last-child,
[data-theme="light"] .param-card:hover > div:last-child,
[data-theme="light"] .valve-card:hover > div:last-child,
[data-theme="light"] .sub-card:hover > div:last-child,
[data-theme="light"] .cnt-card:hover > div:last-child,
[data-theme="light"] .mux-card:hover > div:last-child,
[data-theme="light"] .demux-card:hover > div:last-child,
[data-theme="light"] .sr-card:hover > div:last-child,
[data-theme="light"] [class*="-card"] .experiment-item-link:hover,
[data-theme="light"] [class*="-card"]:hover div[class*="bg-on-tertiary"],
[data-theme="light"] [class*="-card"]:hover a[class*="bg-on-tertiary"],
[data-theme="light"] [class*="-card"]:hover .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .de-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .param-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .sub-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover > div:last-child,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .experiment-item-link:hover,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover div[class*="bg-on-tertiary"],
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover a[class*="bg-on-tertiary"],
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .liquid-btn-primary {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #0284c7 !important;
  box-shadow: 0 6px 18px -4px rgba(2, 132, 199, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] .physics-card > div:last-child span,
[data-theme="light"] .de-card > div:last-child span,
[data-theme="light"] .elec-card > div:last-child span,
[data-theme="light"] .param-card > div:last-child span,
[data-theme="light"] .valve-card > div:last-child span,
[data-theme="light"] .sub-card > div:last-child span,
[data-theme="light"] .cnt-card > div:last-child span,
[data-theme="light"] .mux-card > div:last-child span,
[data-theme="light"] .demux-card > div:last-child span,
[data-theme="light"] .sr-card > div:last-child span,
[data-theme="light"] [class*="-card"] div[class*="bg-on-tertiary"] span,
[data-theme="light"] [class*="-card"] a[class*="bg-on-tertiary"] span,
[data-theme="light"] [class*="-card"] .liquid-btn-primary span,
html:not(.dark):not([data-theme="dark"]) .physics-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .de-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .elec-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .param-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .valve-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .sub-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .cnt-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .mux-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .demux-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .sr-card > div:last-child span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] div[class*="bg-on-tertiary"] span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] a[class*="bg-on-tertiary"] span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .liquid-btn-primary span {
  color: #1e293b !important;
}

[data-theme="light"] .physics-card:hover > div:last-child span,
[data-theme="light"] .de-card:hover > div:last-child span,
[data-theme="light"] .elec-card:hover > div:last-child span,
[data-theme="light"] .param-card:hover > div:last-child span,
[data-theme="light"] .valve-card:hover > div:last-child span,
[data-theme="light"] .sub-card:hover > div:last-child span,
[data-theme="light"] .cnt-card:hover > div:last-child span,
[data-theme="light"] .mux-card:hover > div:last-child span,
[data-theme="light"] .demux-card:hover > div:last-child span,
[data-theme="light"] .sr-card:hover > div:last-child span,
[data-theme="light"] [class*="-card"]:hover div[class*="bg-on-tertiary"] span,
[data-theme="light"] [class*="-card"]:hover a[class*="bg-on-tertiary"] span,
[data-theme="light"] [class*="-card"]:hover .liquid-btn-primary span,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .de-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .param-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .sub-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover > div:last-child span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover div[class*="bg-on-tertiary"] span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover a[class*="bg-on-tertiary"] span,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .liquid-btn-primary span {
  color: #0284c7 !important;
}

[data-theme="light"] .physics-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .de-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .elec-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .param-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .valve-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .sub-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .cnt-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .mux-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .demux-card > div:last-child .material-symbols-outlined,
[data-theme="light"] .sr-card > div:last-child .material-symbols-outlined,
[data-theme="light"] [class*="-card"] div[class*="bg-on-tertiary"] .material-symbols-outlined,
[data-theme="light"] [class*="-card"] a[class*="bg-on-tertiary"] .material-symbols-outlined,
[data-theme="light"] [class*="-card"] .liquid-btn-primary .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .physics-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .de-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .elec-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .param-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .valve-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .sub-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .cnt-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .mux-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .demux-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) .sr-card > div:last-child .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] div[class*="bg-on-tertiary"] .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] a[class*="bg-on-tertiary"] .material-symbols-outlined,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .liquid-btn-primary .material-symbols-outlined {
  color: #0284c7 !important;
}

.subpage-hero-banner {
  position: relative !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, rgba(0, 0, 0, 0.35) 100%) !important;
  backdrop-filter: blur(30px) saturate(210%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(30px) saturate(210%) brightness(1.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  padding: 48px 0;
}

.subpage-hero-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(56, 189, 248, 0.4) 80%, transparent);
  pointer-events: none;
}

[data-theme="light"] .subpage-hero-banner,
html:not(.dark):not([data-theme="dark"]) .subpage-hero-banner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.60) 100%) !important;
  backdrop-filter: blur(26px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08), inset 0 1.5px 0 #ffffff !important;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(239, 68, 68, 0.12) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-top: 1.2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f87171;
}

[data-theme="light"] .subpage-badge,
html:not(.dark):not([data-theme="dark"]) .subpage-badge {
  border-color: rgba(239, 68, 68, 0.30) !important;
  color: #dc2626 !important;
  background: rgba(254, 226, 226, 0.70) !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12), inset 0 1px 0 #ffffff !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   9. MOBILE RESPONSIVE NAVIGATION DRAWER
   ────────────────────────────────────────────────────────────────────────── */
.liquid-mobile-drawer {
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), var(--glass-rim);
  padding: 20px;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideDown 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-mobile-drawer.open {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ──────────────────────────────────────────────────────────────────────────
   9.2 COMPREHENSIVE LIQUID GLASS FOOTER
   ────────────────────────────────────────────────────────────────────────── */
.liquid-footer {
  background: var(--glass-bg-subtle);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  position: relative;
}

.liquid-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

html[data-theme="dark"] .liquid-footer::before,
html.dark .liquid-footer::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ──────────────────────────────────────────────────────────────────────────
   9.5 AUTHENTIC BLUEPRINT DARK MODE LIQUID GLASS SPECIFICATION
   ────────────────────────────────────────────────────────────────────────── */
html[data-theme="dark"] .blueprint-svg-container,
html.dark .blueprint-svg-container {
  background-color: #070e1b !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .blueprint-svg-container svg text,
html.dark .blueprint-svg-container svg text {
  fill: #94a3b8 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg rect[fill="#ffffff"],
html.dark .blueprint-svg-container svg rect[fill="#ffffff"],
html[data-theme="dark"] .blueprint-svg-container rect[fill="#f8fafc"],
html.dark .blueprint-svg-container rect[fill="#f8fafc"] {
  fill: #0c1628 !important;
  stroke: #1e3a5f !important;
}

html[data-theme="dark"] .blueprint-svg-container svg path[fill="#ffffff"],
html.dark .blueprint-svg-container svg path[fill="#ffffff"] {
  fill: #0c1628 !important;
  stroke: #1e3a5f !important;
}

html[data-theme="dark"] .blueprint-svg-container svg rect[fill="#f1f5f9"],
html.dark .blueprint-svg-container svg rect[fill="#f1f5f9"] {
  fill: #08101e !important;
  stroke: #1e3a5f !important;
}

html[data-theme="dark"] .blueprint-svg-container svg circle[fill="#ffffff"],
html.dark .blueprint-svg-container svg circle[fill="#ffffff"] {
  fill: #0c1628 !important;
}

html[data-theme="dark"] .blueprint-svg-container svg path[stroke="#cbd5e1"],
html.dark .blueprint-svg-container svg path[stroke="#cbd5e1"],
html[data-theme="dark"] .blueprint-svg-container svg rect[stroke="#cbd5e1"],
html.dark .blueprint-svg-container svg rect[stroke="#cbd5e1"] {
  stroke: #1e3a5f !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   10. CONTROLLED THEME TRANSITION SYSTEM (280ms iOS / OriginOS Easing)
   Applies controlled smooth transitions to theme colors & surfaces only.
   ────────────────────────────────────────────────────────────────────────── */
html.theme-transitioning body.liquid-glass-theme,
html.theme-transitioning .liquid-navbar,
html.theme-transitioning .liquid-glass-card,
html.theme-transitioning .liquid-glass-panel,
html.theme-transitioning .subpage-hero-banner,
html.theme-transitioning .subpage-badge,
html.theme-transitioning .liquid-footer,
html.theme-transitioning .liquid-btn-primary,
html.theme-transitioning .liquid-btn-secondary,
html.theme-transitioning .liquid-theme-switch,
html.theme-transitioning .liquid-pill-badge,
html.theme-transitioning .sim-card,
html.theme-transitioning .elec-card,
html.theme-transitioning .param-card,
html.theme-transitioning .digi-card,
html.theme-transitioning .physics-card,
html.theme-transitioning .valve-card,
html.theme-transitioning .sub-card,
html.theme-transitioning .liquid-hero-heading,
html.theme-transitioning .liquid-hero-desc {
  transition: 
    background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   11. ACCESSIBILITY & PREFERS REDUCED MOTION
   ────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ──────────────────────────────────────────────────────────────────────────
   12. ULTRA-PREMIUM LIQUID FROSTED GLASS CARDS (WHITE MODE ONLY)
   Matches the exact physical liquid glass aesthetic of Process Parameters:
   - 26px border radius with multi-layered specular borders
   - 34px heavy optical diffusion with saturated luminescence
   - Soft translucent milky white gradient with inner rim highlights
   - Clean dark-slate typography and mint-green technical badges
   - Frosted glass experiment buttons with soft cyan active hover states
   - ZERO impact on Black Mode (Dark Mode stays 100% original)
   ────────────────────────────────────────────────────────────────────────── */
[data-theme="light"] .cats .card,
html:not(.dark):not([data-theme="dark"]) .cats .card,
[data-theme="light"] .card,
html:not(.dark):not([data-theme="dark"]) .card,
[data-theme="light"] .physics-card,
html:not(.dark):not([data-theme="dark"]) .physics-card,
[data-theme="light"] .elec-card,
html:not(.dark):not([data-theme="dark"]) .elec-card,
[data-theme="light"] .de-card,
html:not(.dark):not([data-theme="dark"]) .de-card,
[data-theme="light"] .cnt-card,
html:not(.dark):not([data-theme="dark"]) .cnt-card,
[data-theme="light"] .param-card,
html:not(.dark):not([data-theme="dark"]) .param-card,
[data-theme="light"] .valve-card,
html:not(.dark):not([data-theme="dark"]) .valve-card,
[data-theme="light"] .mux-card,
html:not(.dark):not([data-theme="dark"]) .mux-card,
[data-theme="light"] .demux-card,
html:not(.dark):not([data-theme="dark"]) .demux-card,
[data-theme="light"] .sr-card,
html:not(.dark):not([data-theme="dark"]) .sr-card,
[data-theme="light"] .digi-card,
html:not(.dark):not([data-theme="dark"]) .digi-card,
[data-theme="light"] .sub-card,
html:not(.dark):not([data-theme="dark"]) .sub-card,
[data-theme="light"] .sim-card,
html:not(.dark):not([data-theme="dark"]) .sim-card,
[data-theme="light"] .category-card,
html:not(.dark):not([data-theme="dark"]) .category-card,
[data-theme="light"] .experiment-card,
html:not(.dark):not([data-theme="dark"]) .experiment-card,
[data-theme="light"] .lab-card,
html:not(.dark):not([data-theme="dark"]) .lab-card,
[data-theme="light"] .simulation-card,
html:not(.dark):not([data-theme="dark"]) .simulation-card,
[data-theme="light"] .module-card,
html:not(.dark):not([data-theme="dark"]) .module-card,
[data-theme="light"] .liquid-glass-card,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card,
[data-theme="light"] .liquid-glass-card-pro,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card-pro {
  border-radius: 26px !important;
  background: linear-gradient(145deg, 
      rgba(255, 255, 255, 0.68) 0%, 
      rgba(255, 255, 255, 0.35) 48%, 
      rgba(255, 255, 255, 0.50) 100%) !important;
  background-color: rgba(255, 255, 255, 0.38) !important;
  -webkit-backdrop-filter: blur(34px) saturate(180%) contrast(105%) !important;
  backdrop-filter: blur(34px) saturate(180%) contrast(105%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 
      0 20px 48px -12px rgba(15, 23, 42, 0.08), 
      0 1px 2px rgba(0, 0, 0, 0.03),
      inset 0 1.5px 0.5px rgba(255, 255, 255, 0.92), 
      inset 0 -1px 1px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
}

[data-theme="light"] .cats .card:hover,
html:not(.dark):not([data-theme="dark"]) .cats .card:hover,
[data-theme="light"] .card:hover,
html:not(.dark):not([data-theme="dark"]) .card:hover,
[data-theme="light"] .physics-card:hover,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover,
[data-theme="light"] .elec-card:hover,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover,
[data-theme="light"] .de-card:hover,
html:not(.dark):not([data-theme="dark"]) .de-card:hover,
[data-theme="light"] .cnt-card:hover,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover,
[data-theme="light"] .param-card:hover,
html:not(.dark):not([data-theme="dark"]) .param-card:hover,
[data-theme="light"] .valve-card:hover,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover,
[data-theme="light"] .mux-card:hover,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover,
[data-theme="light"] .demux-card:hover,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover,
[data-theme="light"] .sr-card:hover,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover,
[data-theme="light"] .digi-card:hover,
html:not(.dark):not([data-theme="dark"]) .digi-card:hover,
[data-theme="light"] .sub-card:hover,
html:not(.dark):not([data-theme="dark"]) .sub-card:hover,
[data-theme="light"] .sim-card:hover,
html:not(.dark):not([data-theme="dark"]) .sim-card:hover,
[data-theme="light"] .category-card:hover,
html:not(.dark):not([data-theme="dark"]) .category-card:hover,
[data-theme="light"] .experiment-card:hover,
html:not(.dark):not([data-theme="dark"]) .experiment-card:hover,
[data-theme="light"] .lab-card:hover,
html:not(.dark):not([data-theme="dark"]) .lab-card:hover,
[data-theme="light"] .simulation-card:hover,
html:not(.dark):not([data-theme="dark"]) .simulation-card:hover,
[data-theme="light"] .module-card:hover,
html:not(.dark):not([data-theme="dark"]) .module-card:hover,
[data-theme="light"] .liquid-glass-card:hover,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card:hover,
[data-theme="light"] .liquid-glass-card-pro:hover,
html:not(.dark):not([data-theme="dark"]) .liquid-glass-card-pro:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 
      0 28px 64px -14px rgba(2, 132, 199, 0.16), 
      0 2px 6px rgba(0, 0, 0, 0.04),
      inset 0 1.5px 1px rgba(255, 255, 255, 1) !important;
}

/* White mode icon container */
[data-theme="light"] .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .card-icon-wrap,
[data-theme="light"] .technical-icon-box,
html:not(.dark):not([data-theme="dark"]) .technical-icon-box,
[data-theme="light"] .card .ic,
html:not(.dark):not([data-theme="dark"]) .card .ic {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(2, 132, 199, 0.06) !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
  color: #0284c7 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] [class*="-card"]:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .card-icon-wrap,
[data-theme="light"] .card:hover .card-icon-wrap,
html:not(.dark):not([data-theme="dark"]) .card:hover .card-icon-wrap,
[data-theme="light"] [class*="-card"]:hover .technical-icon-box,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .technical-icon-box,
[data-theme="light"] .card:hover .ic,
html:not(.dark):not([data-theme="dark"]) .card:hover .ic {
  transform: scale(1.06) rotate(2deg) !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

/* White mode experiment badge / count pill */
[data-theme="light"] .physics-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .physics-card span[class*="text-emerald"],
[data-theme="light"] .de-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .de-card span[class*="text-emerald"],
[data-theme="light"] .cnt-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .cnt-card span[class*="text-emerald"],
[data-theme="light"] .mux-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .mux-card span[class*="text-emerald"],
[data-theme="light"] .demux-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .demux-card span[class*="text-emerald"],
[data-theme="light"] .sr-card span[class*="text-emerald"],
html:not(.dark):not([data-theme="dark"]) .sr-card span[class*="text-emerald"],
[data-theme="light"] .elec-card .sim-card-badge,
html:not(.dark):not([data-theme="dark"]) .elec-card .sim-card-badge,
[data-theme="light"] .param-card .sim-card-badge,
html:not(.dark):not([data-theme="dark"]) .param-card .sim-card-badge,
[data-theme="light"] .sim-card-badge,
html:not(.dark):not([data-theme="dark"]) .sim-card-badge,
[data-theme="light"] .experiment-count-badge,
html:not(.dark):not([data-theme="dark"]) .experiment-count-badge,
[data-theme="light"] .font-data-label,
html:not(.dark):not([data-theme="dark"]) .font-data-label,
[data-theme="light"] .badge,
html:not(.dark):not([data-theme="dark"]) .badge,
[data-theme="light"] .badge.ok,
html:not(.dark):not([data-theme="dark"]) .badge.ok {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 4px 11px !important;
  border-radius: 9999px !important;
  background: rgba(16, 185, 129, 0.07) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #059669 !important;
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.6) !important;
  letter-spacing: -0.01em !important;
}

/* White mode card title & description */
[data-theme="light"] [class*="-card"] h3,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] h3,
[data-theme="light"] [class*="-card"] h2,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] h2,
[data-theme="light"] .card-category-title,
html:not(.dark):not([data-theme="dark"]) .card-category-title,
[data-theme="light"] .card h3,
html:not(.dark):not([data-theme="dark"]) .card h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

[data-theme="light"] [class*="-card"] p,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] p,
[data-theme="light"] .card-category-desc,
html:not(.dark):not([data-theme="dark"]) .card-category-desc,
[data-theme="light"] .card p,
html:not(.dark):not([data-theme="dark"]) .card p {
  color: #64748b !important;
  text-shadow: none !important;
}

/* White mode action buttons / simulation links: Translucent Frosted Glass */
[data-theme="light"] .physics-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .physics-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .cnt-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .cnt-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .de-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .de-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .elec-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .elec-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .elec-card .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) .elec-card .liquid-btn-primary,
[data-theme="light"] .valve-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .valve-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .param-card a[href*="simulations"],
html:not(.dark):not([data-theme="dark"]) .param-card a[href*="simulations"],
[data-theme="light"] .mux-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .mux-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .demux-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .demux-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .sr-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .sr-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .sim-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .sim-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] .experiment-card .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .experiment-card .bg-on-tertiary-fixed-variant,
[data-theme="light"] [class*="-card"] .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .bg-on-tertiary-fixed-variant,
[data-theme="light"] [class*="-card"] .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .liquid-btn-primary,
[data-theme="light"] .open-sim-btn,
html:not(.dark):not([data-theme="dark"]) .open-sim-btn,
[data-theme="light"] .experiment-item-link,
html:not(.dark):not([data-theme="dark"]) .experiment-item-link {
  background: rgba(255, 255, 255, 0.45) !important;
  color: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), inset 0 1px 0.5px rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="light"] .physics-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .cnt-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .de-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .de-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .elec-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .elec-card:hover .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover .liquid-btn-primary,
[data-theme="light"] .valve-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .param-card:hover a[href*="simulations"],
html:not(.dark):not([data-theme="dark"]) .param-card:hover a[href*="simulations"],
[data-theme="light"] .mux-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .demux-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .sr-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .sim-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .sim-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] .experiment-card:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) .experiment-card:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] [class*="-card"]:hover .bg-on-tertiary-fixed-variant,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .bg-on-tertiary-fixed-variant,
[data-theme="light"] [class*="-card"]:hover .liquid-btn-primary,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .liquid-btn-primary,
[data-theme="light"] .open-sim-btn:hover,
html:not(.dark):not([data-theme="dark"]) .open-sim-btn:hover,
[data-theme="light"] .experiment-item-link:hover,
html:not(.dark):not([data-theme="dark"]) .experiment-item-link:hover {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
  color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08), inset 0 1px 0.5px rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1.5px) !important;
}

[data-theme="light"] .physics-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .physics-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .cnt-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .cnt-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .de-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .de-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .elec-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .elec-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .elec-card .liquid-btn-primary *,
html:not(.dark):not([data-theme="dark"]) .elec-card .liquid-btn-primary *,
[data-theme="light"] .valve-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .valve-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .param-card a[href*="simulations"] *,
html:not(.dark):not([data-theme="dark"]) .param-card a[href*="simulations"] *,
[data-theme="light"] .mux-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .mux-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .demux-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .demux-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .sr-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .sr-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .sim-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .sim-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .experiment-card .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .experiment-card .bg-on-tertiary-fixed-variant *,
[data-theme="light"] [class*="-card"] .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .bg-on-tertiary-fixed-variant *,
[data-theme="light"] [class*="-card"] .liquid-btn-primary *,
html:not(.dark):not([data-theme="dark"]) [class*="-card"] .liquid-btn-primary *,
[data-theme="light"] .open-sim-btn *,
html:not(.dark):not([data-theme="dark"]) .open-sim-btn * {
  color: #1e293b !important;
}

[data-theme="light"] .physics-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .physics-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .cnt-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .cnt-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .de-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .de-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .elec-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .elec-card:hover .liquid-btn-primary *,
html:not(.dark):not([data-theme="dark"]) .elec-card:hover .liquid-btn-primary *,
[data-theme="light"] .valve-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .valve-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .param-card:hover a[href*="simulations"] *,
html:not(.dark):not([data-theme="dark"]) .param-card:hover a[href*="simulations"] *,
[data-theme="light"] .mux-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .mux-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .demux-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .demux-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .sr-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .sr-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .sim-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .sim-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] .experiment-card:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) .experiment-card:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] [class*="-card"]:hover .bg-on-tertiary-fixed-variant *,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .bg-on-tertiary-fixed-variant *,
[data-theme="light"] [class*="-card"]:hover .liquid-btn-primary *,
html:not(.dark):not([data-theme="dark"]) [class*="-card"]:hover .liquid-btn-primary *,
[data-theme="light"] .open-sim-btn:hover *,
html:not(.dark):not([data-theme="dark"]) .open-sim-btn:hover * {
  color: #0284c7 !important;
}
