:root {

  --bg-space: #030712;
  --bg-deep: #050b18;
  --bg-surface: rgba(10, 18, 36, 0.68);
  --bg-surface-elevated: rgba(15, 27, 54, 0.85);
  --bg-surface-active: rgba(22, 38, 75, 0.95);

  --line-subtle: rgba(255, 255, 255, 0.08);
  --line-cyber: rgba(0, 242, 254, 0.22);
  --line-glow: rgba(0, 242, 254, 0.5);
  --line-purple: rgba(139, 92, 246, 0.35);

  --cyan: #00f2fe;
  --cyan-deep: #0284c7;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --magenta: #d946ef;
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --amber: #f59e0b;
  --red: #f43f5e;

  --text-primary: #f8fafc;
  --text-regular: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Cascadia Code', 'Liberation Mono', 'Courier New', monospace;

  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line-subtle);
  --shadow-cyber: 0 0 30px -5px rgba(0, 242, 254, 0.25), 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-purple: 0 0 30px -5px rgba(139, 92, 246, 0.3);

  --shell-max: 1440px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.4) transparent;
}

html[data-theme="light"],
html[data-theme="light"] * {
  scrollbar-color: #94a3b8 rgba(226, 232, 240, 0.5);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 7, 18, 0.35);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.35);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.75);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: #00f2fe;
}

html[data-theme="light"]::-webkit-scrollbar-track,
[data-theme="light"]::-webkit-scrollbar-track,
[data-theme="light"] *::-webkit-scrollbar-track,
body.theme-tech-light::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6) !important;
  border-left: 1px solid rgba(226, 232, 240, 0.6) !important;
}

html[data-theme="light"]::-webkit-scrollbar-thumb,
[data-theme="light"]::-webkit-scrollbar-thumb,
[data-theme="light"] *::-webkit-scrollbar-thumb,
body.theme-tech-light::-webkit-scrollbar-thumb {
  background: #94a3b8 !important;

  border-radius: 9999px !important;
  border: 2px solid rgba(248, 250, 252, 0.8) !important;
  background-clip: padding-box !important;
  transition: all 0.25s ease !important;
}

html[data-theme="light"]::-webkit-scrollbar-thumb:hover,
[data-theme="light"]::-webkit-scrollbar-thumb:hover,
[data-theme="light"] *::-webkit-scrollbar-thumb:hover,
body.theme-tech-light::-webkit-scrollbar-thumb:hover {
  background: #0284c7 !important;

  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4) !important;
}

html[data-theme="light"]::-webkit-scrollbar-thumb:active,
[data-theme="light"]::-webkit-scrollbar-thumb:active,
[data-theme="light"] *::-webkit-scrollbar-thumb:active,
body.theme-tech-light::-webkit-scrollbar-thumb:active {
  background: #0369a1 !important;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

:root[data-theme="light"],
body.theme-tech-light {

  --bg-space: #f8fafc;
  --bg-deep: #f1f5f9;
  --bg-surface: rgba(255, 255, 255, 0.86);
  --bg-surface-elevated: rgba(255, 255, 255, 0.96);
  --bg-surface-active: #ffffff;

  --line-subtle: rgba(15, 23, 42, 0.08);
  --line-cyber: rgba(19, 102, 236, 0.22);
  --line-glow: rgba(19, 102, 236, 0.4);
  --line-purple: rgba(116, 70, 255, 0.25);

  --cyan: #1366ec;

  --cyan-deep: #0950c4;
  --cyan-glow: rgba(19, 102, 236, 0.16);
  --purple: #7446ff;
  --purple-glow: rgba(116, 70, 255, 0.18);
  --magenta: #b51a8a;
  --green: #059669;
  --green-glow: rgba(5, 150, 105, 0.16);
  --amber: #d97706;
  --red: #e11d48;

  --text-primary: #191c21;

  --text-regular: #2d3238;

  --text-muted: #86909c;

  --text-subtle: #a4abb6;

  --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --shadow-cyber: 0 16px 36px -6px rgba(19, 102, 236, 0.12), 0 0 0 1px rgba(19, 102, 236, 0.18);
  --shadow-purple: 0 16px 36px -6px rgba(116, 70, 255, 0.12);
}

.theme-switching,
.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
  transition: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-old(root) {
  animation-name: fade-out;
}

::view-transition-new(root) {
  animation-name: fade-in;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

body {
  background-color: var(--bg-space);
  color: var(--text-regular);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

::selection {
  background: var(--cyan);
  color: var(--bg-space);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1280px) {
  .shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.font-mono {
  font-family: var(--font-mono);
}

.text-cyan {
  color: var(--cyan) !important;
}

.text-purple {
  color: var(--purple) !important;
}

.text-green {
  color: var(--green) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.gradient-cyber-text {
  background: linear-gradient(90deg, #5cbbff 0%, #3575ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  font-weight: 700;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  contain: strict;
  transform: translateZ(0);
}

.tech-cyber-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(0, 242, 254, 0.25) 1.2px, transparent 1.2px),
    linear-gradient(rgba(0, 242, 254, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.04) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 50px 50px;
  mask-image: radial-gradient(circle at 50% 35%, black 45%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black 45%, transparent 90%);
  pointer-events: none;
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ambient-glow-primary {
  position: fixed;
  top: -150px;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
  z-index: 0;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 18s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ambient-glow-secondary {
  position: fixed;
  top: 35%;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(121, 40, 202, 0.05) 50%, transparent 70%);
  z-index: 0;
  filter: blur(90px);
  pointer-events: none;
  animation: floatOrb2 22s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cursor-light-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 450px;
  margin-left: -225px;
  margin-top: -225px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(-1000px, -1000px, 0);
  transition: transform 0.05s ease-out;
}

main,
section,
footer {
  position: relative;
  z-index: 1;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(80px, 100px, 0) scale(1.15);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-100px, -80px, 0) scale(1.2);
  }
}

.tech-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tech-header.scrolled {
  background: rgba(3, 7, 18, 0.68);
  border-bottom-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 0 10px rgba(92, 121, 255, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-icon-box.small {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 8px rgba(92, 121, 255, 0.35));
}

.brand-logo:hover .logo-icon-box {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(19, 102, 236, 0.6));
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-name strong {
  color: var(--cyan);
  font-weight: 800;
}

.brand-badge-v3 {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--cyan);
  border: 1px solid var(--line-cyber);
  letter-spacing: 0.05em;
}

.tech-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 3px 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-subtle);
  color: var(--text-regular);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
  transform: scale(1.06);
}

.theme-icon-wrap {
  width: 18px;
  height: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="dark"] .sun-svg,
body.theme-cyber-dark .sun-svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #facc15;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.5));
}

:root[data-theme="dark"] .moon-svg,
body.theme-cyber-dark .moon-svg {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}

:root[data-theme="light"] .sun-svg,
body.theme-tech-light .sun-svg {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}

:root[data-theme="light"] .moon-svg,
body.theme-tech-light .moon-svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #0284c7;
  filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.4));
}

.drawer-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.drawer-theme-lbl {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-regular);
}

.system-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-subtle);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tech-btn-sm {
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 8px;
}

.tech-btn-sm .btn-icon-svg {
  width: 14px;
  height: 14px;
}

.tech-btn-lg {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
}

.tech-btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #1366ec;
  background-image:
    radial-gradient(6% 79% at 12% 87%, #7446ff 0%, rgba(93, 78, 255, 0) 100%),
    radial-gradient(2% 68% at 72% 99%, #2cb2ff 0%, rgba(0, 170, 255, 0) 100%),
    linear-gradient(78deg, #5c5cff 0%, #1366ec 50%, #5cbbff 100%);
  background-size: 100% 100%;
  color: #ffffff !important;
  font-weight: 500;
  border: none;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  box-shadow:
    inset 0 0 12px -6px rgba(255, 255, 255, 0.45),
    inset 0 8px 24px -16px rgba(255, 255, 255, 0.6),
    -2px 3px 12px -2px rgba(116, 70, 255, 0.22),
    2px 3px 12px -2px rgba(44, 178, 255, 0.22);
  transition: filter 0.25s ease, box-shadow 0.3s ease;
  --mouse-x: -200px;
  --mouse-y: -200px;
}

.tech-btn-primary>* {
  position: relative;
  z-index: 3;
}

.tech-btn-primary::after {
  content: "";
  position: absolute;
  left: var(--mouse-x, -200px);
  top: var(--mouse-y, -200px);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: overlay;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.tech-btn-lg.tech-btn-primary::after {
  width: 115px;
  height: 115px;
}

.tech-btn-primary:hover {
  filter: brightness(1.02);
  transform: none !important;
  box-shadow:
    inset 0 0 12px -6px rgba(255, 255, 255, 0.5),
    inset 0 8px 24px -16px rgba(255, 255, 255, 0.68),
    -3px 4px 16px -2px rgba(116, 70, 255, 0.32),
    3px 4px 16px -2px rgba(44, 178, 255, 0.32);
}

.tech-btn-primary:hover::after {
  opacity: 0.45;
}

.tech-btn-primary:active {
  transform: scale(0.985) !important;
  filter: brightness(0.97);
}

.tech-btn-primary:active::after {
  opacity: 0.65;
}

.tech-btn-primary .btn-icon-svg,
.tech-btn-primary:hover .btn-icon-svg {
  transform: none !important;
}

.glow-cyber-btn:not(.tech-btn-primary) {
  position: relative;
  overflow: hidden;
}

.glow-cyber-btn:not(.tech-btn-primary)::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: rotate(30deg) translate3d(-100%, 0, 0);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.glow-cyber-btn:not(.tech-btn-primary):hover::after {
  transform: rotate(30deg) translate3d(100%, 0, 0);
}

.tech-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--line-subtle);
  backdrop-filter: blur(10px);
}

.tech-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-cyber);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tech-btn:hover .btn-icon-svg {
  transform: translateX(3px);
}

.full-width {
  width: 100%;
}

.hero-section {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(15, 27, 54, 0.8);
  border: 1px solid var(--line-cyber);
  width: fit-content;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.hero-pill-badge .badge-tag {
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.hero-pill-badge .badge-text {
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-regular);
  max-width: 620px;
  letter-spacing: 0.01em;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-num small {
  font-size: 18px;
  color: var(--cyan);
  margin-left: 2px;
}

.stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line-subtle);
}

.hero-visual {
  position: relative;
}

.visual-orb-halo {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(139, 92, 246, 0.1) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hologram-card {
  position: relative;
  z-index: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-cyber);
  overflow: hidden;
}

.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line-subtle);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-amber {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.hologram-tab-title {
  font-size: 12px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.card-inner-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.arena-query-bar {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.query-chip {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.query-content {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.arena-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.arena-col {
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arena-before {
  background: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.35);
}

.arena-after {
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid var(--line-cyber);
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.08);
}

.col-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.badge-fail {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.col-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.bubble-box p {
  font-size: 13.5px;
  line-height: 1.6;
}

.bubble-gray p {
  color: var(--text-muted);
  filter: blur(0.3px);
}

.bubble-highlight p {
  color: #ffffff;
}

.bubble-highlight strong {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bubble-foot-meta {
  font-size: 12px;
  margin-top: 6px;
}

.arena-footer-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--cyan);
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
}

.pulse-cyan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.ecosystem-section {
  padding: 44px 0 52px 0;
  background: rgba(3, 7, 18, 0.4);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  z-index: 1;
}

.ecosystem-header-bar {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.eco-title {
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.eco-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.eco-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
}

.eco-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 242, 254, 0.15);
}

.eco-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-cyan {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.dot-blue {
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}

.dot-purple {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.dot-orange {
  background: #f97316;
  box-shadow: 0 0 8px #f97316;
}

.dot-green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.eco-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-status-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.chip-cyan {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.chip-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.chip-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.chip-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.chip-green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.eco-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

:root[data-theme="light"] .ecosystem-section {
  background: rgba(248, 250, 252, 0.7);
  border-top-color: rgba(226, 232, 240, 0.8);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

:root[data-theme="light"] .eco-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

:root[data-theme="light"] .eco-title {
  color: #0f172a;
}

:root[data-theme="light"] .eco-sub {
  color: #64748b;
}

:root[data-theme="light"] .eco-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .eco-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 12px 26px -4px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.2);
}

:root[data-theme="light"] .eco-name {
  color: #0f172a;
}

:root[data-theme="light"] .eco-desc {
  color: #475569;
}

:root[data-theme="light"] .chip-cyan {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

:root[data-theme="light"] .chip-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}

:root[data-theme="light"] .chip-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #7e22ce;
  border-color: rgba(147, 51, 234, 0.25);
}

:root[data-theme="light"] .chip-orange {
  background: rgba(234, 88, 12, 0.1);
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.25);
}

:root[data-theme="light"] .chip-green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .eco-title {
    font-size: 19px;
  }
}

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--line-cyber);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-regular);
}

.scanner-section {
  padding: 100px 0;
}

.scanner-glass-container {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-cyber);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}

.diagnosis-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: flex-end;
  width: 100%;
}

.form-col-left {
  width: 100%;
}

.form-col-right {
  width: 100%;
}

.submit-col-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.submit-scanner-btn {
  height: 52px;

  width: 100%;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px -2px rgba(0, 242, 254, 0.45);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.required-star {
  color: var(--red);
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-box input {
  width: 100%;
  height: 52px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 0 42px 0 46px;
  font-size: 15px;
  color: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-box input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  background: rgba(0, 0, 0, 0.65);
}

.input-clear-btn {
  position: absolute;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.input-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-wrap.open {
  z-index: 1000;
}

.custom-select-trigger {
  width: 100%;
  height: 52px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  user-select: none;
}

.custom-select-trigger:hover,
.custom-select-wrap.open .custom-select-trigger {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
  background: rgba(0, 0, 0, 0.65);
}

.trigger-content {
  display: flex;
  align-items: center;
  gap: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-arrow {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.custom-select-wrap.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--cyan);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 320px;
  max-height: 312px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: auto;
  scrollbar-color: auto;
  background: rgba(10, 15, 28, 0.96);
  border: 1px solid var(--line-cyber);
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 242, 254, 0.18);
  border-radius: var(--radius-md);
  padding: 8px 6px 8px 8px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
  pointer-events: none;
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.custom-select-dropdown::-webkit-scrollbar-button:start:decrement,
.custom-select-dropdown::-webkit-scrollbar-button:end:increment {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  margin: 4px 0;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.12);
  transition: background 0.2s ease;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

@supports (-moz-appearance: none) {
  .custom-select-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.35) rgba(255, 255, 255, 0.04);
  }

  :root[data-theme="light"] .custom-select-dropdown {
    scrollbar-color: #cbd5e1 rgba(0, 0, 0, 0.04) !important;
  }
}

.custom-select-wrap.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-option {
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
  user-select: none;
}

.custom-option:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.2);
}

.custom-option.selected {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
}

.option-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.option-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}

.option-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.custom-option.selected .option-title {
  color: var(--cyan);
}

.option-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

.option-check {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.8);
}

.custom-option.selected .option-check {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .form-grid-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.quick-samples-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.samples-title {
  font-size: 13px;
  color: var(--text-muted);
}

.samples-hint {
  width: 100%;
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  opacity: 0.85;
}

.sample-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-item {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-subtle);
  color: var(--text-regular);
  transition: all 0.2s ease;
}

.chip-item:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan);
  color: #ffffff;
}

.agreement-row {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.compact-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.compact-checkbox input {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
}

.scanning-chamber {
  margin-top: 24px;
  padding: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.1);
}

.chamber-inner {
  display: grid;
  grid-template-columns: 210px 1.25fr 1.35fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.radar-compact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.radar-hud {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2px solid var(--line-cyber);
  position: relative;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(3, 7, 18, 0.85) 75%);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25), inset 0 0 15px rgba(0, 242, 254, 0.15);
}

.radar-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.6);
  pointer-events: none;
  animation: radarRipple 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.radar-ripple.ripple-1 {
  animation-delay: 0s;
}

.radar-ripple.ripple-2 {
  animation-delay: 1.4s;
}

@keyframes radarRipple {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0.95;
  }

  100% {
    width: 185px;
    height: 185px;
    opacity: 0;
  }
}

.radar-core-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  z-index: 3;
  animation: corePulse 1.4s ease-in-out infinite alternate;
}

@keyframes corePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    box-shadow: 0 0 6px var(--cyan);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow: 0 0 16px var(--cyan);
  }
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85px;
  height: 85px;
  background: conic-gradient(from 0deg at 0% 0%, rgba(0, 242, 254, 0.9) 0deg, rgba(0, 242, 254, 0.2) 30deg, transparent 75deg);
  transform-origin: 0 0;
  animation: radarRotate 2.2s linear infinite;
  z-index: 2;
}

@keyframes radarRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.radar-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 242, 254, 0.35);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-rings span:nth-child(1) {
  width: 48px;
  height: 48px;
}

.radar-rings span:nth-child(2) {
  width: 100px;
  height: 100px;
}

.radar-rings span:nth-child(3) {
  width: 148px;
  height: 148px;
}

.radar-crosshair::before,
.radar-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(0, 242, 254, 0.3);
  z-index: 1;
}

.radar-crosshair::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.radar-crosshair::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  z-index: 3;
}

.blip-1 {
  top: 32%;
  left: 62%;
  animation: blipFlash 1.6s infinite;
}

.blip-2 {
  top: 68%;
  left: 28%;
  animation: blipFlash 2.1s infinite 0.4s;
}

.blip-3 {
  top: 72%;
  left: 74%;
  animation: blipFlash 1.9s infinite 0.9s;
}

@keyframes blipFlash {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.target-locked-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.4);
}

.target-locked-text::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  margin-right: 6px;
  flex-shrink: 0;
  animation: targetDotPulse 1.8s infinite;
}

@keyframes targetDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.model-probe-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}

.probe-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 10px;
}

.probe-item:hover {
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 4px 12px -2px rgba(0, 242, 254, 0.12);
}

.probe-item.connected {
  border-color: rgba(0, 242, 254, 0.45);
  background: rgba(0, 242, 254, 0.07);
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.1);
}

.probe-item.idle {
  opacity: 0.72;
}

.probe-item.idle .probe-pulse-dot {
  background: #64748b !important;
  box-shadow: none !important;
  animation: none !important;
}

.probe-item.idle .probe-status {
  color: #64748b !important;
}

.probe-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.probe-brand-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.brand-doubao {
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.brand-deepseek {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.brand-kimi {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.brand-qwen {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.probe-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.probe-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.probe-subtext {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.probe-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.probe-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan, #00f2fe);
  box-shadow: 0 0 6px var(--cyan, #00f2fe);
  animation: probePulseDetecting 1.4s infinite;
  transition: background 0.3s ease;
}

@keyframes probePulseDetecting {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.probe-item.connected .probe-pulse-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.probe-status {
  font-size: 11.5px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.probe-item.connected .probe-status {
  color: #10b981 !important;
  font-weight: 600;
}

.terminal-compact {
  background: #010409;
  border: 1px solid var(--line-subtle);
  border-radius: 14px;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  flex-shrink: 0;
}

.t-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.t-dot.red {
  background: #ef4444;
}

.t-dot.yellow {
  background: #f59e0b;
}

.t-dot.green {
  background: #10b981;
}

.t-title {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.t-live-tag {
  color: #10b981;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.terminal-content {
  padding: 12px 14px;
  overflow-y: auto;
  flex-grow: 1;
  font-size: 11.5px;
  line-height: 1.6;
  color: #38bdf8;

  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.terminal-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.term-line {
  margin-bottom: 5px;
  word-break: break-all;
}

.progress-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #ffffff;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0284c7, var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.3s ease;
}

.diagnosis-result-board {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInBoard 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

@keyframes fadeInBoard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 20px;
  gap: 20px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.result-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.result-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Filter Status Banner */
.result-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.08);
  animation: fadeIn 0.3s ease-out;
}

.filter-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.filter-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  font-size: 16px;
  flex-shrink: 0;
}

.filter-banner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.filter-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.filter-banner-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

#resetFilterBannerBtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 12px;
}

/* Main 3-card Grid */
.result-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.35fr;
  gap: 20px;
  align-items: stretch;
}

.result-card {
  background: rgba(13, 19, 33, 0.75);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-tag {
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.bilingual-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: none;
}

.bilingual-label .label-cn {
  font-family: var(--font-main);
  font-size: 1em;
  letter-spacing: 0.02em;
}

.bilingual-label .label-en {
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.62;
  text-transform: uppercase;
}

.section-badge.bilingual-label {
  align-items: center;
  gap: 3px;
}

.card-tag.bilingual-label {
  gap: 3px;
}

.heading-en {
  display: inline-block;
  margin-left: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Score Card */
.score-dial-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.score-svg-box {
  width: 124px;
  height: 124px;
  position: relative;
  flex-shrink: 0;
}

.score-svg-box svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-bg-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
}

.score-progress-ring {
  fill: none;
  stroke: url(#scoreRingGradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 427;
  stroke-dashoffset: 427;
  transition: stroke-dashoffset 1.2s ease-out;
  filter: drop-shadow(0 0 8px rgba(19, 102, 236, 0.45));
}

.score-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-big-num {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-big-num.score-unavailable {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.score-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.score-status-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-badge-wrap {
  margin-bottom: 2px;
}

.score-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #00f2fe;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.18);
  letter-spacing: 0.3px;
}

.score-level-badge i {
  font-size: 15px;
  color: #fbbf24;
}

.score-level-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: auto;
}

.summary-desc {
  font-size: 13px;
  color: var(--text-regular);
  line-height: 1.6;
  margin: 0;
}

/* Radar Card */
.radar-card {
  align-items: center;
}

.radar-container {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#radarChartCanvas {
  max-width: 100%;
  height: auto;
}

.radar-legend-row {
  display: flex;
  gap: 20px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: auto;
  align-items: center;
  padding-top: 10px;
}

.radar-legend-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.legend-dot.target-dot {
  background: #00f2fe;
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.5);
}

.legend-dot.base-dot {
  background: #64748b;
  border: 1px dashed #94a3b8;
}

/* Models Card */
.models-card {
  display: flex;
  flex-direction: column;
}

.matrix-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-subtle);
}

.model-filter-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.model-filter-all[aria-pressed="true"] {
  background: rgba(0, 242, 254, 0.15) !important;
  border-color: rgba(0, 242, 254, 0.45) !important;
  color: #00f2fe !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.all-btn-status {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.25);
  color: #00f2fe;
}

.all-btn-action {
  font-size: 10.5px;
  opacity: 0.7;
}

.matrix-filter-tip {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.model-cards-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.model-cards-scroll::-webkit-scrollbar {
  width: 4px;
}

.model-cards-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.model-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 10px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.model-row-item:hover {
  transform: translateX(2px);
  border-color: rgba(0, 242, 254, 0.35);
  background: rgba(0, 242, 254, 0.05);
}

.model-row-item[aria-pressed="true"] {
  background: rgba(0, 242, 254, 0.12) !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.25) !important;
}

.model-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.model-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.model-rate-chip {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.model-rate-chip .chip-lbl {
  font-size: 10px;
  opacity: 0.75;
}

.model-rate-chip .chip-val {
  color: var(--cyan);
  font-weight: 700;
}

.model-rank-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-subtle);
  color: var(--text-muted);
  white-space: nowrap;
}

.model-rank-badge.top-rank {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.15);
}

.model-action-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-subtle);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.model-row-item[aria-pressed="true"] .model-action-chip {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.brand-yuanbao {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.brand-wenxin {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.brand-gemini {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.brand-grok {
  color: #d1d5db;
  background: rgba(209, 213, 219, 0.1);
  border: 1px solid rgba(209, 213, 219, 0.25);
}

.brand-claude {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.brand-gpt {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.mentioned-entities-result-card {
  margin-top: 0;
}

.mentioned-entities-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mentioned-entities-card-heading .card-tag {
  display: block;
  margin-bottom: 6px;
}

.mentioned-entities-card-heading h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}

.entity-count {
  color: var(--cyan);
  font-size: 11px;
  white-space: nowrap;
  padding-top: 2px;
}

.entity-disclaimer {
  margin: 10px 0 16px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.entity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.entity-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.entity-rank {
  color: var(--cyan);
  font-size: 11px;
  flex-shrink: 0;
}

.entity-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.entity-name {
  color: #ffffff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-source {
  color: var(--text-muted);
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-frequency {
  color: var(--text-muted);
  font-size: 10.5px;
  flex-shrink: 0;
}

.entity-empty {
  padding: 18px;
  border: 1px dashed var(--line-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================
   Answers & Evidence Section (.exposure-details)
   ========================================================== */

.exposure-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.4s ease-out;
}

.exposure-status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin: 0 0 4px 0;
  align-self: flex-start;
}

.analysis-retry-button {
  align-self: flex-start;
  margin-bottom: 4px;
}

.exposure-analysis-error {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.55;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
  margin: 0 0 8px 0;
}

.exposure-details-heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 4px 0;
  letter-spacing: -0.01em;
}

.exposure-empty-state {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  border: 1px dashed var(--line-subtle);
  border-radius: var(--radius-md);
  margin: 0;
}

/* Accordion Component */
.exposure-detail-accordion {
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 12px;
}

.exposure-detail-accordion:hover {
  border-color: rgba(0, 242, 254, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.exposure-detail-accordion[open] {
  border-color: rgba(0, 242, 254, 0.45);
  background: rgba(0, 242, 254, 0.025);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.exposure-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  list-style: none;
  position: relative;
  gap: 12px;
  line-height: 1.5;
}

.exposure-summary-row::-webkit-details-marker {
  display: none;
}

.exposure-summary-row::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.exposure-detail-accordion[open] .exposure-summary-row::after {
  transform: rotate(-135deg);
}

.exposure-detail-accordion[open] .exposure-summary-row {
  border-bottom: 1px solid var(--line-subtle);
}

/* Accordion Body */
.exposure-answer {
  padding: 16px 20px;
  color: var(--text-regular);
  font-size: 13.5px;
  line-height: 1.7;
}

.exposure-answer.exposure-markdown h1,
.exposure-answer.exposure-markdown h2,
.exposure-answer.exposure-markdown h3 {
  color: #ffffff;
  margin: 12px 0 6px 0;
  font-size: 15px;
}

.exposure-answer.exposure-markdown p {
  margin: 0 0 10px 0;
}

.exposure-answer.exposure-markdown ul,
.exposure-answer.exposure-markdown ol {
  margin: 0 0 10px 0;
  padding-left: 20px;
}

.exposure-answer.exposure-markdown li {
  margin-bottom: 4px;
}

.exposure-entity-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: #00f2fe;
  margin: 6px 18px;
}

.exposure-entity-badge.is-target {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

blockquote.exposure-quote {
  margin: 10px 20px 14px 20px;
  padding: 12px 18px;
  border-left: 3.5px solid var(--cyan);
  background: rgba(0, 242, 254, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.6;
}

pre.exposure-search-evidence {
  margin: 10px 20px 16px 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #38bdf8;
  overflow-x: auto;
}

.issues-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.issues-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.issues-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  font-size: 17px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  flex-shrink: 0;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.issue-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issue-card.p0 {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.04);
}

.issue-card.p1 {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.04);
}

.issue-card.p2 {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.04);
}

.issue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.issue-pri {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.p0 .issue-pri {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.p1 .issue-pri {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.p2 .issue-pri {
  background: rgba(0, 242, 254, 0.2);
  color: #67e8f9;
}

.issue-dim {
  font-size: 11.5px;
  color: var(--text-muted);
}

.issue-card h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.issue-card p {
  font-size: 13px;
  color: var(--text-regular);
  line-height: 1.5;
}

.expert-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  gap: 20px;
}

.expert-cta-text h5 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.expert-cta-text p {
  font-size: 13.5px;
  color: var(--text-regular);
}

.btn-text-mobile {
  display: none !important;
}

.btn-text-desktop {
  display: inline !important;
}

.dimensions-section {
  padding: 90px 0;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dim-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.dim-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyber);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.15);
  background: var(--bg-surface-elevated);
}

.dim-card.featured-glow {
  border-color: var(--line-cyber);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.12);
}

.dim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dim-weight {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.dim-icon {
  font-size: 22px;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dim-card:hover .dim-icon {
  transform: scale(1.08) translateY(-2px);
}

.dimensions-grid .dim-card:nth-child(1) .dim-icon {
  color: #00f2fe;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.16), rgba(0, 242, 254, 0.05));
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.18);
}

.dimensions-grid .dim-card:nth-child(1) .dim-weight {
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.28);
}

.dimensions-grid .dim-card:nth-child(1):hover .dim-icon {
  border-color: #00f2fe;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.45);
}

.dimensions-grid .dim-card:nth-child(2) .dim-icon {
  color: #c084fc;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(139, 92, 246, 0.06));
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.18);
}

.dimensions-grid .dim-card:nth-child(2) .dim-weight {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.28);
}

.dimensions-grid .dim-card:nth-child(2):hover .dim-icon {
  border-color: #c084fc;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
}

.dimensions-grid .dim-card:nth-child(3) .dim-icon {
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.06));
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.18);
}

.dimensions-grid .dim-card:nth-child(3) .dim-weight {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
}

.dimensions-grid .dim-card:nth-child(3):hover .dim-icon {
  border-color: #fbbf24;
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.45);
}

.dimensions-grid .dim-card:nth-child(4) .dim-icon {
  color: #34d399;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.07));
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.22);
}

.dimensions-grid .dim-card:nth-child(4) .dim-weight {
  color: #34d399;
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.32);
}

.dimensions-grid .dim-card:nth-child(4):hover .dim-icon {
  border-color: #34d399;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.5);
}

.dimensions-grid .dim-card:nth-child(5) .dim-icon {
  color: #fb7185;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.18), rgba(244, 63, 94, 0.06));
  border-color: rgba(251, 113, 133, 0.35);
  box-shadow: 0 0 14px rgba(251, 113, 133, 0.18);
}

.dimensions-grid .dim-card:nth-child(5) .dim-weight {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.28);
}

.dimensions-grid .dim-card:nth-child(5):hover .dim-icon {
  border-color: #fb7185;
  box-shadow: 0 0 22px rgba(251, 113, 133, 0.45);
}

.dimensions-grid .dim-card:nth-child(6) .dim-icon {
  color: #fb923c;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), rgba(234, 88, 12, 0.06));
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.18);
}

.dimensions-grid .dim-card:nth-child(6) .dim-weight {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.28);
}

.dimensions-grid .dim-card:nth-child(6):hover .dim-icon {
  border-color: #fb923c;
  box-shadow: 0 0 22px rgba(251, 146, 60, 0.45);
}

.dim-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.dim-card p {
  font-size: 14.5px;
  color: var(--text-regular);
  line-height: 1.6;
  flex-grow: 1;
}

.dim-footer-pill {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-subtle);
  padding-top: 12px;
}

.battle-section {
  padding: 90px 0;
}

.battle-console-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-cyber);
}

.battle-scenarios-bar,
.battle-models-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bar-lbl {
  font-size: 13.5px;
  color: var(--text-muted);
}

.scenario-btn,
.model-pill {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  color: var(--text-regular);
  transition: all 0.2s ease;
}

.scenario-btn:hover,
.model-pill:hover {
  color: #ffffff;
  border-color: var(--line-cyber);
}

.scenario-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(0, 242, 254, 0.25));
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.model-pill.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(121, 40, 202, 0.25));
  border-color: var(--purple);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.battle-display-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.battle-panel-box {
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-before {
  border: 1px dashed rgba(239, 68, 68, 0.4);
}

.panel-after {
  border: 1px solid var(--line-cyber);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.1);
}

.panel-tag-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.bad {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.status-indicator.good {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.tag-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.meta-tag {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.panel-chat-bubble {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  color: var(--text-regular);
  min-height: 140px;
}

.panel-after .panel-chat-bubble {
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.25);
  background: rgba(0, 242, 254, 0.03);
}

.panel-after .panel-chat-bubble strong {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-subtle);
  padding-top: 12px;
}

.pipeline-section {
  padding: 90px 0;
}

.pipeline-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pipeline-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pipeline-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyber);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.featured-step {
  border-color: var(--line-cyber);
  background: var(--bg-surface-elevated);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

.step-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--line-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.step-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.pipeline-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.pipeline-step-card p {
  font-size: 13.5px;
  color: var(--text-regular);
  line-height: 1.6;
}

.inspector-section {
  padding: 90px 0;
}

.inspector-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-cyber);
}

.inspector-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 14, 26, 0.95);
  border-bottom: 1px solid var(--line-subtle);
  padding: 10px 18px;
  gap: 16px;
}

.inspector-tabs-rail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
}

.insp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.insp-tab-btn i {
  font-size: 14.5px;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.insp-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.insp-tab-btn:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

.insp-tab-btn.active {
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.18);
  font-weight: 600;
}

.insp-tab-btn.active i {
  opacity: 1;
  color: #00f2fe;
}

.inspector-nav-badge {
  font-size: 11px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
}

.code-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #02050e;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 12.5px;
  color: var(--text-muted);
}

.code-pre {
  background: #010309;
  padding: 24px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.6;
  color: #38bdf8;
  max-height: 380px;
}

.calculator-section {
  padding: 90px 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-cyber);
}

.calc-control-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: #ffffff;
}

.tech-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

.tech-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.tech-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-subtle);
}

.calc-result-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.res-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-tag {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.kpi-huge-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.kpi-desc {
  font-size: 13.5px;
  color: var(--text-regular);
}

.res-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.sub-kpi-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

.sub-num {
  font-size: 22px;
  font-weight: 700;
}

.paradigm-section {
  padding: 90px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.compare-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compare-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.compare-tag.highlight {
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--line-cyber);
}

.compare-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.compare-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
}

.badge-x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-v {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.featured-border {
  border-color: var(--line-cyber);
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-cyber);
}

.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-card[open] {
  border-color: var(--line-cyber);
  background: var(--bg-surface-elevated);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.faq-header::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-size: 16px;
  font-weight: 800;
  color: var(--cyan);
}

.faq-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-card[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-body {
  padding: 0 24px 22px 54px;
  font-size: 14.5px;
  color: var(--text-regular);
  line-height: 1.7;
}

.final-cta-section {
  padding: 80px 0 100px 0;
}

.final-cta-box {
  background: radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.25) 0%, rgba(15, 27, 54, 0.9) 70%);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.15);
}

.final-glow-orb {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.final-cta-box h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
}

.final-cta-box p {
  font-size: 16.5px;
  color: var(--text-regular);
  max-width: 620px;
  margin: 0 auto 32px auto;
  position: relative;
}

.final-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
}

.tech-footer {
  background: #01040a;
  border-top: 1px solid var(--line-subtle);
  padding-top: 60px;
  padding-bottom: 36px;
  z-index: 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-subtle);
}

.footer-left {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-sub-meta {
  font-size: 12px;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--cyan);
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-subtle);
}

.copyright-short {
  display: none;
}

.copyright-full {
  display: inline;
}

.tech-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tech-modal {
  width: 100%;
  max-width: 500px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--line-cyber);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.25);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-badge {
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 6px;
}

.modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-item label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.form-item input {
  height: 48px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 14.5px;
  color: #ffffff;
}

.form-item input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: calc(var(--header-h) + 40px);
  }

  .dimensions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-main-grid {
    grid-template-columns: 1fr;
  }

  .battle-display-grid {
    grid-template-columns: 1fr;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .chamber-inner {
    grid-template-columns: 1fr;
  }

  .issues-grid {
    grid-template-columns: 1fr;
  }

  .entity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .result-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .result-title {
    font-size: 22px !important;
  }

  .result-subtitle {
    word-break: break-word !important;
    font-size: 12px !important;
  }

  .result-filter-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px 14px !important;
  }

  .filter-banner-left {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .filter-banner-title {
    font-size: 13px !important;
    word-break: break-word !important;
  }

  .filter-banner-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  #resetFilterBannerBtn {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 14px !important;
  }

  .score-dial-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .score-status-box {
    align-items: center !important;
    text-align: center !important;
  }

  .model-row-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .model-row-left {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .model-row-left .model-name {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .model-row-right {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .exposure-summary-row {
    font-size: 13px !important;
    padding: 12px 14px !important;
    word-break: break-word !important;
  }

  .exposure-answer {
    padding: 14px 14px !important;
    font-size: 13px !important;
  }

  blockquote.exposure-quote {
    margin: 8px 10px 12px 10px !important;
    padding: 10px 14px !important;
  }

  pre.exposure-search-evidence {
    margin: 8px 10px 12px 10px !important;
    padding: 10px 12px !important;
  }
}

@media (max-width: 640px) {
  .diagnosis-result-board {
    gap: 18px !important;
  }

  .result-card {
    padding: 16px !important;
  }

  .entity-list {
    grid-template-columns: 1fr !important;
  }

  .issues-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1080px) {
  .tech-header {
    z-index: 1005 !important;
  }

  .tech-nav {
    position: fixed !important;
    top: 0 !important;
    right: -340px !important;
    width: 290px !important;
    max-width: 80vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #090d16 !important;
    border-left: 1px solid rgba(0, 242, 254, 0.2) !important;
    border-radius: 0 !important;
    padding: 24px 20px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    z-index: 1010 !important;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.9) !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
    overflow-y: auto !important;
    display: flex !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .tech-nav.open {
    right: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  :root[data-theme="light"] .tech-nav {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    padding: 24px 20px !important;
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.15) !important;
  }

  .tech-nav .nav-link {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 550 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
    color: var(--text-muted);
  }

  :root[data-theme="light"] .tech-nav .nav-link {
    color: #334155 !important;
  }

  :root[data-theme="light"] .tech-nav .nav-link:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }

  :root[data-theme="light"] .tech-nav .nav-link.active {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: none !important;
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-subtle);
    margin-bottom: 8px;
  }

  :root[data-theme="light"] .nav-drawer-header {
    border-bottom-color: #e2e8f0 !important;
  }

  .drawer-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
  }

  :root[data-theme="light"] .drawer-title {
    color: #0f172a !important;
  }

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
  }

  :root[data-theme="light"] .drawer-close-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
  }

  :root[data-theme="light"] .drawer-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }

  .drawer-close-btn svg {
    width: 16px;
    height: 16px;
  }

  .nav-drawer-footer {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line-subtle);
  }

  :root[data-theme="light"] .nav-drawer-footer {
    border-top-color: #e2e8f0 !important;
  }

  .drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(3, 7, 18, 0.6) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    z-index: 1000 !important;
    display: none !important;
    cursor: pointer !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .drawer-backdrop.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  :root[data-theme="light"] .drawer-backdrop {
    background: rgba(15, 23, 42, 0.35) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .system-status-chip {
    display: none;
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .cursor-light-glow {
    display: none !important;
  }

  .ambient-glow-primary {
    width: 300px !important;
    height: 300px !important;
    top: -60px !important;
    left: -40px !important;
    filter: blur(40px) !important;
    animation: none !important;
    transform: translateZ(0) !important;
    opacity: 0.65 !important;
  }

  .ambient-glow-secondary {
    width: 260px !important;
    height: 260px !important;
    top: 40% !important;
    right: -50px !important;
    filter: blur(45px) !important;
    animation: none !important;
    transform: translateZ(0) !important;
    opacity: 0.55 !important;
  }

  .tech-cyber-grid {
    background-size: 32px 32px, 32px 32px, 32px 32px !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    opacity: 0.35 !important;
  }

  .tech-header {
    background: rgba(3, 7, 18, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .tech-header.scrolled {
    background: rgba(3, 7, 18, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  :root[data-theme="light"] .tech-header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  :root[data-theme="light"] .tech-header.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .custom-select-wrap.open {
    z-index: 1000 !important;
  }

  .custom-select-dropdown {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: min(260px, 46vh) !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 6px 4px 6px 6px !important;
    z-index: 1001 !important;
  }

  .header-actions .header-cta-btn {
    display: none;
  }

  .section-header-center {
    margin-bottom: 16px !important;
  }

  .section-title {
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .section-desc {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .section-badge {
    margin-bottom: 6px !important;
    padding: 2px 8px !important;
    font-size: 10.5px !important;
  }

  .hero-visual {
    display: none !important;

  }

  .hero-section {
    padding-top: calc(var(--header-h) + 28px) !important;
    padding-bottom: 24px !important;
    text-align: center !important;
  }

  .hero-content {
    max-width: 100% !important;
    gap: 16px !important;
  }

  .hero-pill-badge {
    display: none !important;
  }

  .hero-title,
  .hero-headline {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
  }

  .hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-actions .tech-btn {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 14.5px !important;
    justify-content: center !important;
  }

  .hero-stats {
    margin-top: 18px !important;
    padding: 12px 6px !important;
    gap: 4px !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .stat-num {
    font-size: 20px !important;
  }

  .stat-lbl {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  .ecosystem-section {
    padding: 20px 0 !important;
    overflow: hidden !important;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .eco-card {
    padding: 10px 8px !important;
    border-radius: 8px !important;
    min-height: unset !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .eco-card .eco-status-chip,
  .eco-card .eco-badge {
    display: none !important;
  }

  .eco-desc {
    display: none !important;
  }

  .eco-card-top,
  .eco-head {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .eco-brand-dot,
  .eco-dot {
    flex-shrink: 0 !important;
  }

  .eco-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .scanner-section {
    padding: 20px 0 !important;
  }

  .scanner-glass-container {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .target-models-area {
    margin-top: 10px !important;
  }

  .targets-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .target-checkbox-pill {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  .scanner-submit-bar {
    margin-top: 12px !important;
  }

  .submit-scanner-btn {
    padding: 12px 18px !important;
    font-size: 14.5px !important;
  }

  .scanning-chamber {
    padding: 16px 12px !important;
    margin-top: 16px !important;
  }

  .chamber-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    margin-bottom: 16px !important;
  }

  .radar-compact-box {
    width: 100% !important;
    gap: 10px !important;
  }

  .radar-hud {
    width: 140px !important;
    height: 140px !important;
  }

  .radar-sweep {
    width: 70px !important;
    height: 70px !important;
  }

  .radar-rings span:nth-child(1) {
    width: 40px !important;
    height: 40px !important;
  }

  .radar-rings span:nth-child(2) {
    width: 85px !important;
    height: 85px !important;
  }

  .radar-rings span:nth-child(3) {
    width: 125px !important;
    height: 125px !important;
  }

  .target-locked-text {
    font-size: 11px !important;
  }

  .model-probe-list {
    width: 100% !important;
    gap: 6px !important;
  }

  .probe-item {
    padding: 7px 10px !important;
    gap: 8px !important;
  }

  .probe-left {
    gap: 7px !important;
  }

  .probe-brand-badge {
    font-size: 9.5px !important;
    padding: 1px 5px !important;
  }

  .probe-name {
    font-size: 11.5px !important;
  }

  .probe-subtext {
    font-size: 10px !important;
  }

  .probe-status {
    font-size: 11px !important;
  }

  .terminal-compact {
    width: 100% !important;
    height: 150px !important;
  }

  .terminal-content {
    font-size: 10.5px !important;
    padding: 8px 10px !important;
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  .expert-cta-card {
    padding: 16px 14px !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .expert-cta-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .expert-cta-text h5 {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }

  .expert-cta-text p {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  #unlockPlanBtn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    gap: 5px !important;
  }

  #unlockPlanBtn .btn-icon-svg {
    width: 14px !important;
    height: 14px !important;
  }

  .board-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .kpi-row {
    grid-template-columns: 1fr !important;
  }

  .score-hero-card {
    padding: 16px 12px !important;
  }

  .diag-terminal {
    display: none !important;
  }

  .dimensions-section {
    padding: 20px 0 !important;
    overflow: hidden !important;
  }

  .dimensions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dim-card {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    min-height: unset !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }

  .dim-head {
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .dim-weight {
    font-size: 10px !important;
    padding: 2px 6px !important;
    flex-shrink: 0 !important;
  }

  .dim-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .dim-card h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
  }

  .dim-card h3 .dim-en {
    display: none !important;
  }

  .dim-card p {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .dim-footer-pill,
  .dim-card .dim-badge {
    display: none !important;

  }

  .battle-section {
    padding: 20px 0 !important;
  }

  .battle-console-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .battle-scenarios-bar,
  .battle-models-bar,
  .battle-models-row {
    display: none !important;
  }

  .battle-input-simulation {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
  }

  .battle-display-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .battle-panel-box {
    padding: 12px 12px !important;
    border-radius: 10px !important;
  }

  .panel-tag-header {
    margin-bottom: 6px !important;
    gap: 6px !important;
  }

  .panel-tag-header .tag-title {
    font-size: 12.5px !important;
  }

  .panel-tag-header .meta-tag {
    font-size: 10px !important;
    margin-left: auto !important;
  }

  .panel-chat-bubble {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin: 6px 0 !important;
  }

  .panel-foot {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    padding-top: 6px !important;
  }

  .pipeline-section {
    display: none !important;
  }

  .faq-section {
    display: none !important;
  }

  .inspector-section {
    display: none !important;
  }

  .calculator-section {
    display: none !important;
  }

  .paradigm-section {
    display: none !important;
  }

  .tech-nav a[href="#pipeline"],
  .tech-nav a[href="#faq"],
  .tech-nav a[href="#inspector"],
  .tech-nav a[href="#calculator"] {
    display: none !important;
  }

  .final-cta-section {
    padding: 24px 0 !important;
  }

  .final-cta-box {
    padding: 28px 14px !important;
    border-radius: 12px !important;
  }

  .final-cta-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .final-cta-desc {
    font-size: 12.5px !important;
    margin-bottom: 16px !important;
  }

  .final-btn-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .final-btn-group .tech-btn {
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    justify-content: center !important;
  }

  .tech-footer {
    padding: 24px 0 20px !important;
  }

  .footer-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  .footer-left {
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .footer-logo {
    justify-content: center !important;
  }

  .footer-tagline {
    font-size: 12.5px !important;
    color: var(--text-muted) !important;
    text-align: center !important;
    line-height: 1.4 !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .footer-sub-meta {
    display: none !important;
  }

  .footer-links {
    display: none !important;
  }

  .footer-bottom {
    padding-top: 14px !important;
    margin-top: 12px !important;
    border-top: 1px solid var(--line-subtle) !important;
    text-align: center !important;
    font-size: 11.5px !important;
  }

  .footer-bottom p {
    margin: 0 !important;
    font-size: 11.5px !important;
    color: var(--text-subtle) !important;
    line-height: 1.4 !important;
  }

  .copyright-full {
    display: none !important;
  }

  .copyright-short {
    display: inline !important;
  }

  .footer-compliance {
    margin-top: 4px !important;
    font-size: 11.5px !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .footer-compliance .compliance-quote,
  .footer-compliance .compliance-sep {
    display: none !important;
  }

  .stat-divider {
    display: none !important;
  }
}

:root[data-theme="light"],
body.theme-tech-light {
  background-color: #f8fafc !important;
  color: var(--text-regular);
}

:root[data-theme="light"] body,
body.theme-tech-light {
  background-color: #f8fafc !important;
  background-image:
    radial-gradient(circle at 50% 18%, rgba(2, 132, 199, 0.04) 0%, transparent 60%),
    radial-gradient(circle, rgba(2, 132, 199, 0.16) 1.2px, transparent 1.2px),
    linear-gradient(rgba(2, 132, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.035) 1px, transparent 1px) !important;
  background-size: 100% 100%, 48px 48px, 48px 48px, 48px 48px !important;
  background-position: 0 0, 0 0, 0 0, 0 0 !important;
  background-attachment: fixed !important;
  color: var(--text-regular);
}

:root[data-theme="light"] .tech-header {
  background: rgba(255, 255, 255, 0.45) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.02) !important;
}

:root[data-theme="light"] .tech-header.scrolled {
  background: rgba(255, 255, 255, 0.65) !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.18) !important;
  backdrop-filter: blur(32px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

:root[data-theme="light"] .brand-name {
  color: #191c21;
}

:root[data-theme="light"] .brand-name strong {
  color: #1366ec;
}

:root[data-theme="light"] .brand-badge-v3 {
  background: rgba(19, 102, 236, 0.08);
  border-color: rgba(19, 102, 236, 0.22);
  color: #1366ec;
}

:root[data-theme="light"] .brand-mark-svg line {
  stroke: #00b4d8;
  opacity: 0.9;
}

:root[data-theme="light"] .brand-mark-svg rect[fill="#00f2fe"] {
  fill: #00b4d8;
}

:root[data-theme="light"] .logo-icon-box {
  filter: drop-shadow(0 0 10px rgba(92, 121, 255, 0.3));
}

@media (min-width: 1081px) {
  :root[data-theme="light"] .tech-nav {
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(203, 213, 225, 0.45) !important;
    border-radius: 9999px !important;
    padding: 3px 6px !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03), inset 0 1px 1.5px rgba(255, 255, 255, 0.95) !important;
  }
}

:root[data-theme="light"] .nav-link {
  color: #191c21;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

:root[data-theme="light"] .nav-link:hover {
  color: #1366ec;
  background: rgba(255, 255, 255, 0.65);
}

:root[data-theme="light"] .nav-link.active {
  color: #1366ec;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(19, 102, 236, 0.2);
  box-shadow: 0 2px 8px rgba(19, 102, 236, 0.08);
  font-weight: 600;
}

:root[data-theme="light"] .nav-dot {
  background: #1366ec;
  box-shadow: 0 0 6px rgba(19, 102, 236, 0.6);
}

:root[data-theme="light"] .cursor-light-glow {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.05) 35%, transparent 70%) !important;
  width: 480px !important;
  height: 480px !important;
  margin-left: -240px !important;
  margin-top: -240px !important;
  filter: blur(40px) !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 0 !important;
}

:root[data-theme="light"] .ambient-glow-primary {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.04) 50%, transparent 70%);
  filter: blur(70px);
}

:root[data-theme="light"] .ambient-glow-secondary {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.03) 50%, transparent 70%);
  filter: blur(80px);
}

:root[data-theme="light"] .tech-btn-primary {
  background-color: #1366ec !important;
  background-image:
    radial-gradient(6% 79% at 12% 87%, #7446ff 0%, rgba(93, 78, 255, 0) 100%),
    radial-gradient(2% 68% at 72% 99%, #2cb2ff 0%, rgba(0, 170, 255, 0) 100%),
    linear-gradient(78deg, #5c5cff 0%, #1366ec 50%, #5cbbff 100%) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border: none !important;
  outline: none !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  box-shadow:
    inset 0 0 12px -6px rgba(255, 255, 255, 0.45),
    inset 0 8px 24px -16px rgba(255, 255, 255, 0.6),
    -2px 3px 12px -2px rgba(116, 70, 255, 0.2),
    2px 3px 12px -2px rgba(44, 178, 255, 0.2) !important;
  transform: none !important;
  transition: filter 0.25s ease, box-shadow 0.3s ease !important;
}

:root[data-theme="light"] .tech-btn-primary:hover {
  transform: none !important;
  filter: brightness(1.02) !important;
  box-shadow:
    inset 0 0 12px -6px rgba(255, 255, 255, 0.5),
    inset 0 8px 24px -16px rgba(255, 255, 255, 0.65),
    -3px 4px 16px -2px rgba(116, 70, 255, 0.3),
    3px 4px 16px -2px rgba(44, 178, 255, 0.3) !important;
}

:root[data-theme="light"] .tech-btn-primary:active {
  transform: scale(0.985) !important;
  filter: brightness(0.96) !important;
}

:root[data-theme="light"] .tech-btn-lg.tech-btn-primary {
  padding: 14px 32px;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 10px;
}

:root[data-theme="light"] .tech-btn-lg.tech-btn-primary:hover {
  transform: none !important;
}

:root[data-theme="light"] .glow-cyber-btn::after {
  background: linear-gradient(60deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%) !important;
}

:root[data-theme="light"] .tech-btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] .tech-btn-secondary:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

:root[data-theme="light"] .tech-btn-secondary:active {
  transform: translateY(1px) scale(0.985);
}

:root[data-theme="light"] .system-status-chip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #047857;
}

:root[data-theme="light"] .pulse-dot {
  background: #059669;
  box-shadow: 0 0 8px #059669;
}

:root[data-theme="light"] .hero-title,
:root[data-theme="light"] .section-title,
:root[data-theme="light"] .result-title,
:root[data-theme="light"] .issues-title,
:root[data-theme="light"] .final-cta-box h2,
:root[data-theme="light"] .modal-header h3,
:root[data-theme="light"] .dim-card h3,
:root[data-theme="light"] .pipeline-step-card h3,
:root[data-theme="light"] .compare-card h4,
:root[data-theme="light"] .faq-title,
:root[data-theme="light"] .tag-title,
:root[data-theme="light"] .model-name,
:root[data-theme="light"] .issue-card h5,
:root[data-theme="light"] .expert-cta-text h5 {
  color: #191c21 !important;
}

:root[data-theme="light"] .hero-subtitle,
:root[data-theme="light"] .section-desc,
:root[data-theme="light"] .dim-card p,
:root[data-theme="light"] .pipeline-step-card p,
:root[data-theme="light"] .faq-body,
:root[data-theme="light"] .final-cta-box p,
:root[data-theme="light"] .summary-desc,
:root[data-theme="light"] .kpi-desc,
:root[data-theme="light"] .issue-card p,
:root[data-theme="light"] .expert-cta-text p {
  color: #2d3238 !important;
  line-height: 1.65;
}

:root[data-theme="light"] .hero-subtitle strong,
:root[data-theme="light"] .stat-num,
:root[data-theme="light"] .query-content,
:root[data-theme="light"] .score-big-num,
:root[data-theme="light"] .input-label,
:root[data-theme="light"] .form-item label,
:root[data-theme="light"] .calc-label-bar {
  color: #191c21 !important;
}

:root[data-theme="light"] .gradient-cyber-text {
  background: linear-gradient(90deg, #1366ec 0%, #3875f6 40%, #7446ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline;
  font-weight: 700;
}

:root[data-theme="light"] .section-badge {
  color: #1366ec;
  background: rgba(19, 102, 236, 0.08);
  border-color: rgba(19, 102, 236, 0.22);
}

:root[data-theme="light"] .hero-pill-badge {
  background: #ffffff;
  border-color: rgba(19, 102, 236, 0.2);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(19, 102, 236, 0.06);
}

:root[data-theme="light"] .hero-pill-badge .badge-tag {
  background: linear-gradient(78deg, rgba(133, 110, 250, 0.12) 0%, rgba(19, 102, 236, 0.12) 50%, rgba(44, 178, 255, 0.12) 100%) !important;
  color: #1366ec !important;
  border: 1px solid rgba(19, 102, 236, 0.24) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(19, 102, 236, 0.08);
}

:root[data-theme="light"] .hero-pill-badge .badge-text {
  color: #2d3238 !important;
  font-weight: 500 !important;
}

:root[data-theme="light"] .stat-lbl,
:root[data-theme="light"] .text-muted,
:root[data-theme="light"] .meta-txt {
  color: #86909c !important;
  font-weight: 500;
}

:root[data-theme="light"] .stat-divider {
  background: #e2e8f0;
}

:root[data-theme="light"] .hologram-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .card-glass-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

:root[data-theme="light"] .hologram-tab-title {
  color: #0369a1;
}

:root[data-theme="light"] .arena-query-bar {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .arena-before {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-radius: var(--radius-md);
}

:root[data-theme="light"] .badge-fail {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: 1px solid #fca5a5 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.08);
}

:root[data-theme="light"] .arena-after {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06) !important;
}

:root[data-theme="light"] .badge-success {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.08);
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(1) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(1) .dim-icon {
  color: #0284c7 !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(14, 165, 233, 0.04)) !important;
  border-color: rgba(2, 132, 199, 0.28) !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.12) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(1) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(1) .dim-weight {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.09) !important;
  border-color: rgba(2, 132, 199, 0.22) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(1):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(1):hover .dim-icon {
  border-color: #0284c7 !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.26) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(2) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(2) .dim-icon {
  color: #7c3aed !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(139, 92, 246, 0.04)) !important;
  border-color: rgba(124, 58, 237, 0.28) !important;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.12) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(2) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(2) .dim-weight {
  color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.09) !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(2):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(2):hover .dim-icon {
  border-color: #7c3aed !important;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.26) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(3) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(3) .dim-icon {
  color: #d97706 !important;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(245, 158, 11, 0.04)) !important;
  border-color: rgba(217, 119, 6, 0.28) !important;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.12) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(3) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(3) .dim-weight {
  color: #d97706 !important;
  background: rgba(217, 119, 6, 0.09) !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(3):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(3):hover .dim-icon {
  border-color: #d97706 !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.26) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(4) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(4) .dim-icon {
  color: #059669 !important;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.14), rgba(16, 185, 129, 0.05)) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.14) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(4) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(4) .dim-weight {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.09) !important;
  border-color: rgba(5, 150, 105, 0.24) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(4):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(4):hover .dim-icon {
  border-color: #059669 !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(5) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(5) .dim-icon {
  color: #e11d48 !important;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(244, 63, 94, 0.04)) !important;
  border-color: rgba(225, 29, 72, 0.28) !important;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.12) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(5) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(5) .dim-weight {
  color: #e11d48 !important;
  background: rgba(225, 29, 72, 0.09) !important;
  border-color: rgba(225, 29, 72, 0.22) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(5):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(5):hover .dim-icon {
  border-color: #e11d48 !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.26) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(6) .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(6) .dim-icon {
  color: #ea580c !important;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12), rgba(251, 146, 60, 0.04)) !important;
  border-color: rgba(234, 88, 12, 0.28) !important;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.12) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(6) .dim-weight,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(6) .dim-weight {
  color: #ea580c !important;
  background: rgba(234, 88, 12, 0.09) !important;
  border-color: rgba(234, 88, 12, 0.22) !important;
}

:root[data-theme="light"] .dimensions-grid .dim-card:nth-child(6):hover .dim-icon,
body.theme-tech-light .dimensions-grid .dim-card:nth-child(6):hover .dim-icon {
  border-color: #ea580c !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.26) !important;
}

:root[data-theme="light"] .col-sub {
  color: #64748b !important;
}

:root[data-theme="light"] .bubble-box,
:root[data-theme="light"] .bubble-gray,
:root[data-theme="light"] .bubble-highlight {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

:root[data-theme="light"] .bubble-gray p,
:root[data-theme="light"] .arena-before .bubble-box p {
  color: #475569 !important;
  filter: none !important;
  line-height: 1.65 !important;
}

:root[data-theme="light"] .bubble-highlight p,
:root[data-theme="light"] .arena-after .bubble-highlight p,
:root[data-theme="light"] .bubble-box p,
:root[data-theme="light"] .arena-col p {
  color: #0f172a !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}

:root[data-theme="light"] .bubble-highlight strong {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.12) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

:root[data-theme="light"] .arena-before .bubble-foot-meta,
:root[data-theme="light"] .arena-before .bubble-foot-meta span {
  color: #94a3b8 !important;
}

:root[data-theme="light"] .arena-after .bubble-foot-meta,
:root[data-theme="light"] .arena-after .bubble-foot-meta span,
:root[data-theme="light"] .bubble-foot-meta.text-cyan {
  color: #0284c7 !important;
}

:root[data-theme="light"] .arena-footer-bar {
  color: #0284c7 !important;
  border-top-color: #e2e8f0 !important;
}

:root[data-theme="light"] .scanner-glass-container,
:root[data-theme="light"] .battle-console-card,
:root[data-theme="light"] .inspector-card,
:root[data-theme="light"] .calculator-grid,
:root[data-theme="light"] .dim-card,
:root[data-theme="light"] .pipeline-step-card,
:root[data-theme="light"] .compare-card,
:root[data-theme="light"] .faq-card,
:root[data-theme="light"] .tech-modal {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] .dim-card:hover,
:root[data-theme="light"] .pipeline-step-card:hover {
  border-color: #0284c7;
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.25);
  transform: translateY(-4px);
}

:root[data-theme="light"] .inspector-nav {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 10px 18px !important;
}

:root[data-theme="light"] .inspector-tabs-rail {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

:root[data-theme="light"] .insp-tab-btn {
  color: #475569 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  font-weight: 550 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .insp-tab-btn i {
  color: #64748b !important;
}

:root[data-theme="light"] .insp-tab-btn:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: transparent !important;
}

:root[data-theme="light"] .insp-tab-btn:hover i {
  color: #0284c7 !important;
}

:root[data-theme="light"] .insp-tab-btn.active {
  color: #0284c7 !important;
  background: #ffffff !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  font-weight: 700 !important;
}

:root[data-theme="light"] .insp-tab-btn.active i {
  color: #0284c7 !important;
}

:root[data-theme="light"] .inspector-nav-badge {
  color: #0284c7 !important;
}

:root[data-theme="light"] .code-window-bar {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

:root[data-theme="light"] .code-window-bar .file-name {
  color: #0f172a !important;
  font-weight: 600 !important;
}

:root[data-theme="light"] .code-window-bar .file-size {
  color: #0284c7 !important;
}

:root[data-theme="light"] .input-box input,
:root[data-theme="light"] .custom-select-trigger,
:root[data-theme="light"] .form-item input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

:root[data-theme="light"] .input-box input:focus,
:root[data-theme="light"] .custom-select-trigger:hover,
:root[data-theme="light"] .custom-select-wrap.open .custom-select-trigger,
:root[data-theme="light"] .form-item input:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  background: #ffffff !important;
}

:root[data-theme="light"] .custom-select-arrow {
  color: #64748b !important;
}

:root[data-theme="light"] .custom-select-wrap.open .custom-select-arrow {
  color: #0284c7 !important;
}

:root[data-theme="light"] .custom-select-dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(2, 132, 199, 0.12) !important;
  scrollbar-color: auto !important;
  scrollbar-width: auto !important;
}

:root[data-theme="light"] .custom-select-dropdown::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
}

:root[data-theme="light"] .custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 1px solid #94a3b8;
}

:root[data-theme="light"] .custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

:root[data-theme="light"] .custom-option {
  border: 1px solid transparent;
}

:root[data-theme="light"] .custom-option:hover {
  background: rgba(2, 132, 199, 0.06) !important;
  border-color: rgba(2, 132, 199, 0.18) !important;
}

:root[data-theme="light"] .custom-option.selected {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.28) !important;
}

:root[data-theme="light"] .option-title {
  color: #0f172a !important;
}

:root[data-theme="light"] .custom-option.selected .option-title {
  color: #0284c7 !important;
}

:root[data-theme="light"] .option-sub {
  color: #64748b !important;
}

:root[data-theme="light"] .option-check {
  color: #0284c7 !important;
}

:root[data-theme="light"] .chip-item {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

:root[data-theme="light"] .chip-item:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0284c7;
  color: #0284c7;
}

:root[data-theme="light"] .modal-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

:root[data-theme="light"] .modal-close-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: rotate(90deg);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .modal-close-btn:active {
  transform: rotate(90deg) scale(0.92);
}

:root[data-theme="light"] .input-clear-btn {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #64748b;
}

:root[data-theme="light"] .input-clear-btn:hover {
  background: #cbd5e1;
  border-color: #94a3b8;
  color: #0f172a;
}

:root[data-theme="light"] .scanning-chamber,
body.theme-tech-light .scanning-chamber {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 18px -2px rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] .radar-hud,
body.theme-tech-light .radar-hud {
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.16) 0%, rgba(224, 242, 254, 0.45) 42%, rgba(248, 250, 252, 0.92) 75%, #ffffff 100%);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.14), 0 0 0 1px rgba(2, 132, 199, 0.08), inset 0 0 24px rgba(2, 132, 199, 0.08);
}

:root[data-theme="light"] .radar-sweep,
body.theme-tech-light .radar-sweep {
  background: conic-gradient(from 0deg at 0% 0%, rgba(2, 132, 199, 0.75) 0deg, rgba(2, 132, 199, 0.18) 35deg, transparent 75deg) !important;
}

:root[data-theme="light"] .radar-ripple,
body.theme-tech-light .radar-ripple {
  border-color: rgba(2, 132, 199, 0.45) !important;
}

:root[data-theme="light"] .radar-core-dot,
body.theme-tech-light .radar-core-dot {
  background: #0284c7 !important;
  box-shadow: 0 0 10px #0284c7 !important;
}

:root[data-theme="light"] .radar-rings span,
body.theme-tech-light .radar-rings span {
  border-color: rgba(2, 132, 199, 0.28) !important;
}

:root[data-theme="light"] .radar-crosshair::before,
:root[data-theme="light"] .radar-crosshair::after,
body.theme-tech-light .radar-crosshair::before,
body.theme-tech-light .radar-crosshair::after {
  background: rgba(2, 132, 199, 0.2) !important;
}

:root[data-theme="light"] .radar-blip,
body.theme-tech-light .radar-blip {
  background: #0284c7 !important;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8) !important;
}

:root[data-theme="light"] .target-locked-text,
body.theme-tech-light .target-locked-text {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.22);
  color: #0284c7 !important;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

:root[data-theme="light"] .target-locked-text::before,
body.theme-tech-light .target-locked-text::before {
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}

:root[data-theme="light"] .probe-item,
body.theme-tech-light .probe-item {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

:root[data-theme="light"] .probe-item:hover,
body.theme-tech-light .probe-item:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .probe-item.connected,
body.theme-tech-light .probe-item.connected {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.04) 0%, #ffffff 100%) !important;
  box-shadow: 0 3px 10px -2px rgba(16, 185, 129, 0.12) !important;
}

:root[data-theme="light"] .probe-item.idle,
body.theme-tech-light .probe-item.idle {
  opacity: 0.75;
  background: #f8fafc;
}

:root[data-theme="light"] .probe-name,
body.theme-tech-light .probe-name {
  color: #0f172a !important;
}

:root[data-theme="light"] .probe-subtext,
body.theme-tech-light .probe-subtext {
  color: #64748b !important;
}

:root[data-theme="light"] .probe-status-wrap,
body.theme-tech-light .probe-status-wrap {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .probe-pulse-dot,
body.theme-tech-light .probe-pulse-dot {
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.6);
  animation: probePulseDetecting 1.4s infinite;
}

:root[data-theme="light"] .probe-status,
body.theme-tech-light .probe-status {
  color: #475569;
}

:root[data-theme="light"] .probe-item.connected .probe-pulse-dot,
body.theme-tech-light .probe-item.connected .probe-pulse-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

:root[data-theme="light"] .probe-item.connected .probe-status,
body.theme-tech-light .probe-item.connected .probe-status {
  color: #059669 !important;
  font-weight: 600;
}

:root[data-theme="light"] .probe-item.idle .probe-pulse-dot,
body.theme-tech-light .probe-item.idle .probe-pulse-dot {
  background: #cbd5e1 !important;
  box-shadow: none !important;
  animation: none !important;
}

:root[data-theme="light"] .probe-item.idle .probe-status,
body.theme-tech-light .probe-item.idle .probe-status {
  color: #94a3b8 !important;
}

:root[data-theme="light"] .brand-doubao,
body.theme-tech-light .brand-doubao {
  color: #0284c7;
  background: #e0f2fe;
  border-color: #bae6fd;
}

:root[data-theme="light"] .brand-deepseek,
body.theme-tech-light .brand-deepseek {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #7dd3fc;
}

:root[data-theme="light"] .brand-kimi,
body.theme-tech-light .brand-kimi {
  color: #7c3aed;
  background: #f3e8ff;
  border-color: #ddd6fe;
}

:root[data-theme="light"] .brand-qwen,
body.theme-tech-light .brand-qwen {
  color: #c2410c;
  background: #ffedd5;
  border-color: #fed7aa;
}

:root[data-theme="light"] .terminal-compact,
body.theme-tech-light .terminal-compact {
  background: #090d16;
  border-color: #1e293b;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .terminal-header,
body.theme-tech-light .terminal-header {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .terminal-content,
body.theme-tech-light .terminal-content {
  color: #38bdf8;
}

:root[data-theme="light"] .progress-labels,
body.theme-tech-light .progress-labels {
  color: #0f172a !important;
}

:root[data-theme="light"] .progress-bar,
body.theme-tech-light .progress-bar {
  background: #e2e8f0 !important;
}

:root[data-theme="light"] .result-header-row,
body.theme-tech-light .result-header-row {
  border-bottom-color: #e2e8f0;
}

:root[data-theme="light"] .result-title,
body.theme-tech-light .result-title {
  color: #0f172a !important;
}

:root[data-theme="light"] .result-subtitle,
body.theme-tech-light .result-subtitle {
  color: #64748b !important;
}

:root[data-theme="light"] .result-badge,
body.theme-tech-light .result-badge {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

:root[data-theme="light"] .result-filter-banner,
body.theme-tech-light .result-filter-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%) !important;
  border-color: #bae6fd !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06) !important;
}

:root[data-theme="light"] .filter-banner-icon,
body.theme-tech-light .filter-banner-icon {
  background: #e0f2fe !important;
  border-color: #7dd3fc !important;
  color: #0284c7 !important;
}

:root[data-theme="light"] .filter-banner-title,
body.theme-tech-light .filter-banner-title {
  color: #0369a1 !important;
}

:root[data-theme="light"] .filter-banner-desc,
body.theme-tech-light .filter-banner-desc {
  color: #475569 !important;
}

:root[data-theme="light"] .result-card,
body.theme-tech-light .result-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

:root[data-theme="light"] .card-tag {
  color: #0284c7 !important;
  font-weight: 600;
  letter-spacing: 0.06em;
}

:root[data-theme="light"] .score-bg-ring {
  stroke: rgba(15, 23, 42, 0.06) !important;
}

:root[data-theme="light"] .score-big-num,
body.theme-tech-light .score-big-num {
  color: #0f172a !important;
}

:root[data-theme="light"] .score-level-badge,
body.theme-tech-light .score-level-badge {
  color: #0284c7 !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(59, 130, 246, 0.06) 100%) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08) !important;
}

:root[data-theme="light"] .score-level-badge i {
  color: #d97706 !important;
}

:root[data-theme="light"] .summary-box,
body.theme-tech-light .summary-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  border-left-color: #0284c7 !important;
}

:root[data-theme="light"] .summary-desc,
body.theme-tech-light .summary-desc {
  color: #334155 !important;
  line-height: 1.65;
}

:root[data-theme="light"] .legend-dot.target-dot,
body.theme-tech-light .legend-dot.target-dot {
  background: #0284c7 !important;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.35) !important;
}

:root[data-theme="light"] .legend-dot.base-dot,
body.theme-tech-light .legend-dot.base-dot {
  background: #94a3b8 !important;
  border-color: #cbd5e1 !important;
}

:root[data-theme="light"] .matrix-filter-header,
body.theme-tech-light .matrix-filter-header {
  border-bottom-color: #e2e8f0 !important;
}

:root[data-theme="light"] .model-filter-all,
body.theme-tech-light .model-filter-all {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

:root[data-theme="light"] .model-filter-all[aria-pressed="true"],
body.theme-tech-light .model-filter-all[aria-pressed="true"] {
  background: #eff6ff !important;
  border-color: #3b82f6 !important;
  color: #1d4ed8 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15) !important;
}

:root[data-theme="light"] .all-btn-status,
body.theme-tech-light .all-btn-status {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}

:root[data-theme="light"] .model-cards-scroll::-webkit-scrollbar-thumb,
body.theme-tech-light .model-cards-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
}

:root[data-theme="light"] .model-row-item,
body.theme-tech-light .model-row-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

:root[data-theme="light"] .model-row-item:hover,
body.theme-tech-light .model-row-item:hover {
  background: #f0f9ff !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08) !important;
}

:root[data-theme="light"] .model-row-item[aria-pressed="true"],
body.theme-tech-light .model-row-item[aria-pressed="true"] {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 1px #2563eb, 0 4px 14px rgba(37, 99, 235, 0.12) !important;
}

:root[data-theme="light"] .model-name,
body.theme-tech-light .model-name {
  color: #0f172a !important;
  font-weight: 600;
}

:root[data-theme="light"] .model-rate-chip,
body.theme-tech-light .model-rate-chip {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

:root[data-theme="light"] .model-rate-chip .chip-val,
body.theme-tech-light .model-rate-chip .chip-val {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

:root[data-theme="light"] .model-rank-badge,
body.theme-tech-light .model-rank-badge {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

:root[data-theme="light"] .model-rank-badge.top-rank,
body.theme-tech-light .model-rank-badge.top-rank {
  color: #b45309 !important;
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.1) !important;
}

:root[data-theme="light"] .model-action-chip,
body.theme-tech-light .model-action-chip {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

:root[data-theme="light"] .model-row-item[aria-pressed="true"] .model-action-chip,
body.theme-tech-light .model-row-item[aria-pressed="true"] .model-action-chip {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

/* Light Theme: Answers & Evidence */
:root[data-theme="light"] .exposure-status-line,
body.theme-tech-light .exposure-status-line {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

:root[data-theme="light"] .exposure-analysis-error,
body.theme-tech-light .exposure-analysis-error {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #be123c !important;
}

:root[data-theme="light"] .exposure-details-heading,
body.theme-tech-light .exposure-details-heading {
  color: #0f172a !important;
}

:root[data-theme="light"] .exposure-empty-state,
body.theme-tech-light .exposure-empty-state {
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

:root[data-theme="light"] .exposure-detail-accordion,
body.theme-tech-light .exposure-detail-accordion {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

:root[data-theme="light"] .exposure-detail-accordion:hover,
body.theme-tech-light .exposure-detail-accordion:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

:root[data-theme="light"] .exposure-detail-accordion[open],
body.theme-tech-light .exposure-detail-accordion[open] {
  border-color: #93c5fd !important;
  background: #f8fafc !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06) !important;
}

:root[data-theme="light"] .exposure-summary-row,
body.theme-tech-light .exposure-summary-row {
  color: #0f172a !important;
}

:root[data-theme="light"] .exposure-summary-row::after,
body.theme-tech-light .exposure-summary-row::after {
  border-right-color: #0284c7 !important;
  border-bottom-color: #0284c7 !important;
}

:root[data-theme="light"] .exposure-detail-accordion[open] .exposure-summary-row,
body.theme-tech-light .exposure-detail-accordion[open] .exposure-summary-row {
  border-bottom-color: #e2e8f0 !important;
}

:root[data-theme="light"] .exposure-answer,
body.theme-tech-light .exposure-answer {
  color: #334155 !important;
}

:root[data-theme="light"] .exposure-answer.exposure-markdown h1,
:root[data-theme="light"] .exposure-answer.exposure-markdown h2,
:root[data-theme="light"] .exposure-answer.exposure-markdown h3,
body.theme-tech-light .exposure-answer.exposure-markdown h1,
body.theme-tech-light .exposure-answer.exposure-markdown h2,
body.theme-tech-light .exposure-answer.exposure-markdown h3 {
  color: #0f172a !important;
}

:root[data-theme="light"] .exposure-entity-badge,
body.theme-tech-light .exposure-entity-badge {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

:root[data-theme="light"] .exposure-entity-badge.is-target,
body.theme-tech-light .exposure-entity-badge.is-target {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

:root[data-theme="light"] blockquote.exposure-quote,
body.theme-tech-light blockquote.exposure-quote {
  background: #f1f5f9 !important;
  border-left-color: #0284c7 !important;
  color: #334155 !important;
}

:root[data-theme="light"] pre.exposure-search-evidence,
body.theme-tech-light pre.exposure-search-evidence {
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #38bdf8 !important;
}

:root[data-theme="light"] .brand-yuanbao,
body.theme-tech-light .brand-yuanbao {
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

:root[data-theme="light"] .brand-wenxin,
body.theme-tech-light .brand-wenxin {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

:root[data-theme="light"] .brand-gemini,
body.theme-tech-light .brand-gemini {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

:root[data-theme="light"] .brand-grok,
body.theme-tech-light .brand-grok {
  color: #334155 !important;
  background: rgba(100, 116, 139, 0.1) !important;
  border-color: rgba(100, 116, 139, 0.25) !important;
}

:root[data-theme="light"] .brand-claude,
body.theme-tech-light .brand-claude {
  color: #c2410c !important;
  background: rgba(234, 88, 12, 0.1) !important;
  border-color: rgba(234, 88, 12, 0.25) !important;
}

:root[data-theme="light"] .brand-gpt,
body.theme-tech-light .brand-gpt {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

:root[data-theme="light"] .mentioned-entities-card-heading h4,
body.theme-tech-light .mentioned-entities-card-heading h4 {
  color: #0f172a !important;
}

:root[data-theme="light"] .entity-disclaimer,
body.theme-tech-light .entity-disclaimer {
  color: #64748b !important;
}

:root[data-theme="light"] .entity-item,
body.theme-tech-light .entity-item {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

:root[data-theme="light"] .entity-name,
body.theme-tech-light .entity-name {
  color: #191c21 !important;
}

:root[data-theme="light"] .entity-source,
body.theme-tech-light .entity-source,
:root[data-theme="light"] .entity-frequency,
body.theme-tech-light .entity-frequency {
  color: #64748b !important;
}

:root[data-theme="light"] .issues-title,
body.theme-tech-light .issues-title {
  color: #0f172a !important;
}

:root[data-theme="light"] .issues-title-icon,
body.theme-tech-light .issues-title-icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.14), rgba(14, 165, 233, 0.05)) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.15) !important;
}

:root[data-theme="light"] .issue-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .issue-card.p0 {
  background: #fff5f5;
  border-color: #fecaca;
}

:root[data-theme="light"] .issue-card.p1 {
  background: #fffbeb;
  border-color: #fde68a;
}

:root[data-theme="light"] .issue-card.p2 {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

:root[data-theme="light"] .p0 .issue-pri {
  background: #fee2e2;
  color: #b91c1c;
}

:root[data-theme="light"] .p1 .issue-pri {
  background: #fef3c7;
  color: #b45309;
}

:root[data-theme="light"] .p2 .issue-pri {
  background: #dcfce7;
  color: #15803d;
}

:root[data-theme="light"] .expert-cta-card {
  background: linear-gradient(78deg, rgba(116, 70, 255, 0.05) 0%, rgba(19, 102, 236, 0.06) 50%, rgba(44, 178, 255, 0.05) 100%);
  border: 1px solid rgba(19, 102, 236, 0.18);
  box-shadow: 0 4px 16px rgba(19, 102, 236, 0.05);
}

:root[data-theme="light"] .scenario-btn,
:root[data-theme="light"] .model-pill {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #2d3238;
}

:root[data-theme="light"] .scenario-btn.active {
  background: rgba(19, 102, 236, 0.08);
  border-color: #1366ec;
  color: #1366ec;
}

:root[data-theme="light"] .model-pill.active {
  background: rgba(116, 70, 255, 0.08);
  border-color: #7446ff;
  color: #7446ff;
}

:root[data-theme="light"] .panel-before {
  background: #fff5f5;
  border-color: #fca5a5;
}

:root[data-theme="light"] .panel-after {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-color: rgba(19, 102, 236, 0.25);
  box-shadow: 0 8px 25px rgba(19, 102, 236, 0.06);
}

:root[data-theme="light"] .panel-chat-bubble {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #2d3238 !important;
}

:root[data-theme="light"] .panel-after .panel-chat-bubble {
  background: #ffffff;
  border-color: rgba(19, 102, 236, 0.22);
  color: #191c21 !important;
}

:root[data-theme="light"] .panel-after .panel-chat-bubble strong {
  color: #1366ec !important;
  text-decoration: none !important;
  background: rgba(19, 102, 236, 0.08) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

:root[data-theme="light"] .calc-result-panel {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .tech-slider {
  background: #cbd5e1;
}

:root[data-theme="light"] .res-kpi-grid {
  border-color: #e2e8f0;
}

:root[data-theme="light"] .compare-seo {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .compare-geo {
  background: #ffffff;
  border-color: rgba(19, 102, 236, 0.25);
  box-shadow: 0 12px 35px rgba(19, 102, 236, 0.08);
}

:root[data-theme="light"] .compare-tag.highlight {
  background: rgba(19, 102, 236, 0.08);
  border-color: rgba(19, 102, 236, 0.22);
  color: #1366ec;
}

:root[data-theme="light"] .faq-card[open] {
  border-color: rgba(19, 102, 236, 0.25);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(19, 102, 236, 0.05);
}

:root[data-theme="light"] .ticker-section {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .ticker-item {
  color: #2d3238;
}

:root[data-theme="light"] .final-cta-box {
  background: linear-gradient(78deg, rgba(116, 70, 255, 0.05) 0%, rgba(19, 102, 236, 0.06) 50%, rgba(44, 178, 255, 0.05) 100%);
  border-color: rgba(19, 102, 236, 0.2);
  box-shadow: 0 16px 40px rgba(19, 102, 236, 0.08);
}

:root[data-theme="light"] .tech-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

:root[data-theme="light"] .footer-wrap {
  border-bottom-color: #e2e8f0;
}

:root[data-theme="light"] .footer-col-title {
  color: #191c21 !important;
}

:root[data-theme="light"] .footer-col-title::before {
  background: #1366ec !important;
}

:root[data-theme="light"] .footer-col a {
  color: #4e5969;
  transition: color 0.2s ease, transform 0.2s ease;
}

:root[data-theme="light"] .footer-col a:hover {
  color: #0284c7;
  transform: translateX(2px);
}

:root[data-theme="light"] .footer-bottom {
  color: #94a3b8;
}

:root[data-theme="light"] .mobile-toggle {
  background: #ffffff;
  border-color: #cbd5e1;
}

:root[data-theme="light"] .mobile-toggle .bar {
  background: #0f172a;
}

.back-to-top-btn {
  position: static;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 242, 254, 0.2);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.45);
  transform: translateY(-3px) scale(1.05);
  color: #ffffff;
}

.back-to-top-btn .top-arrow-svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.back-to-top-btn:hover .top-arrow-svg {
  transform: translateY(-2px);
}

:root[data-theme="light"] .back-to-top-btn {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1), 0 0 12px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .back-to-top-btn:hover {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

.diagnose-scanner-hero {
  padding-top: calc(var(--header-h) + 36px) !important;
  padding-bottom: 90px !important;
}

.diagnose-page-hero {
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 24px;
  text-align: center;
  position: relative;
}

.diagnose-page-hero .section-badge {
  margin: 0 auto 16px;
}

.diagnose-page-hero .diagnose-page-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}

.diagnose-page-hero .diagnose-page-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-regular);
  max-width: 820px;
  margin: 0 auto 24px;
}

.diagnose-feature-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.diagnose-feature-tags .feature-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-regular);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.diagnose-feature-tags .feature-tag-item i {
  color: var(--cyan);
  font-size: 16px;
}

.diagnose-feature-tags .feature-tag-item:hover {
  background: rgba(19, 102, 236, 0.08);
  border-color: var(--line-cyber);
  color: var(--text-primary);
  transform: translateY(-2px);
}

:root[data-theme="light"] .diagnose-feature-tags .feature-tag-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(226, 232, 240, 0.8);
  color: #2d3238;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] .diagnose-feature-tags .feature-tag-item i {
  color: #1366ec;
}

:root[data-theme="light"] .diagnose-feature-tags .feature-tag-item:hover {
  background: #ffffff;
  border-color: rgba(19, 102, 236, 0.35);
  box-shadow: 0 6px 18px rgba(19, 102, 236, 0.1);
  color: #1366ec;
}

.promo-section {
  padding: 64px 0;
  position: relative;
}

.promo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.promo-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyber);
  box-shadow: var(--shadow-card);
}

.promo-card .promo-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(19, 102, 236, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(19, 102, 236, 0.25);
}

.promo-card h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.promo-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-regular);
}

.promo-card .promo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.tag-red {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.tag-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

:root[data-theme="light"] .promo-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .promo-card:hover {
  border-color: rgba(19, 102, 236, 0.35);
  box-shadow: 0 12px 32px rgba(19, 102, 236, 0.1);
}

:root[data-theme="light"] .promo-card .promo-card-icon {
  background: rgba(19, 102, 236, 0.08);
  color: #1366ec;
  border-color: rgba(19, 102, 236, 0.2);
}

:root[data-theme="light"] .promo-card h4 {
  color: #191c21;
}

:root[data-theme="light"] .promo-card p {
  color: #2d3238;
}

.promo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.deliverable-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  transition: all 0.25s ease;
}

.deliverable-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-cyber);
  background: var(--bg-surface-elevated);
}

.deliverable-icon {
  font-size: 26px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.deliverable-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.deliverable-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

:root[data-theme="light"] .deliverable-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] .deliverable-card:hover {
  background: #ffffff;
  border-color: rgba(19, 102, 236, 0.3);
  box-shadow: 0 8px 24px rgba(19, 102, 236, 0.08);
}

:root[data-theme="light"] .deliverable-icon {
  color: #1366ec;
}

:root[data-theme="light"] .deliverable-card h5 {
  color: #191c21;
}

:root[data-theme="light"] .deliverable-card p {
  color: #555b63;
}

.nav-badge-new {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #1366ec, #7446ff);
  color: #ffffff;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.2;
}

.scanner-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.scanner-ext-link:hover {
  color: #38bdf8;
}

:root[data-theme="light"] .scanner-ext-link {
  color: #1366ec;
}

:root[data-theme="light"] .scanner-ext-link:hover {
  color: #0950c4;
}

@media (max-width: 1024px) {
  .promo-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .promo-grid-3,
  .promo-grid-4 {
    grid-template-columns: 1fr;
  }

  .diagnose-page-hero .diagnose-page-title {
    font-size: 26px;
  }

  .diagnose-page-hero .diagnose-page-desc {
    font-size: 14.5px;
  }

  .diagnose-feature-tags {
    gap: 8px;
  }

  .diagnose-feature-tags .feature-tag-item {
    font-size: 12.5px;
    padding: 6px 14px;
  }

  .diagnose-scanner-hero {
    padding-top: calc(var(--header-h) + 28px) !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 480px) {
  .diagnose-scanner-hero {
    padding-top: calc(var(--header-h) + 24px) !important;
    padding-bottom: 32px !important;
  }
}

/* ==========================================================
   Modern Exposure Confirmation Card (V2 High-Aesthetic)
   ========================================================== */

.exposure-confirm {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exposure-confirm[hidden] {
  display: none !important;
}

/* Header Section */
.confirm-header-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 20px;
}

.confirm-header-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.confirm-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--primary, #00f2fe);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.confirm-step-badge svg {
  width: 14px;
  height: 14px;
}

.confirm-main-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 4px 0 2px 0;
}

.confirm-main-subtitle {
  font-size: 13.5px;
  color: var(--text-muted, #94a3b8);
  margin: 0;
  line-height: 1.5;
}

.confirm-step-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
  flex-shrink: 0;
}

.confirm-step-counter .step-circle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #030712;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

/* Notice Card (Ambiguity / Clarification info) */
.confirm-notice-card {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 18, 10, 0.9), rgba(30, 20, 10, 0.7));
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5), 0 0 16px -2px rgba(245, 158, 11, 0.15);
}

.notice-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  margin-top: 2px;
  flex-shrink: 0;
}

.notice-icon-box svg {
  width: 18px;
  height: 18px;
}

.notice-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.identity-msg {
  font-size: 14px;
  font-weight: 600;
  color: #fde68a;
  margin: 0;
  line-height: 1.45;
}

.identity-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.id-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #cbd5e1;
}

.id-meta-chip .chip-k {
  color: #fbbf24;
  font-weight: 600;
}

.id-meta-chip .chip-sub {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
}

/* Form Body & Grid */
.confirm-form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.confirm-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.confirm-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.confirm-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-label-tip {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  font-weight: 400;
}

.confirm-neutral-tag {
  font-size: 11px;
  font-weight: 600;
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.confirm-queries-counter {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
}

.confirm-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.confirm-field-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted, #64748b);
  pointer-events: none;
}

.confirm-input {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  padding: 0 16px 0 44px;
  font-size: 14.5px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.confirm-input:focus {
  outline: none;
  border-color: #00f2fe;
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18);
}

.confirm-input[readonly] {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.08);
}

.confirm-locked-pill {
  position: absolute;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
  pointer-events: none;
}

.confirm-locked-pill svg {
  width: 12px;
  height: 12px;
}

.confirm-textarea-wrap {
  width: 100%;
}

.confirm-textarea {
  width: 100%;
  min-height: 120px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", monospace;
  transition: all 0.2s ease;
  box-sizing: border-box;
  resize: vertical;
}

.confirm-textarea:focus {
  outline: none;
  border-color: #00f2fe;
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18);
}

.confirm-queries-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  margin-top: 4px;
  line-height: 1.5;
}

.confirm-queries-tip svg {
  width: 14px;
  height: 14px;
  color: #00f2fe;
  margin-top: 2px;
  flex-shrink: 0;
}

.confirm-error-alert {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #f43f5e;
  line-height: 1.4;
}

/* Actions Footer */
.confirm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
}

.confirm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.confirm-back-btn svg {
  width: 14px;
  height: 14px;
}

.confirm-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px rgba(0, 242, 254, 0.45);
}

.confirm-start-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================
   Light Mode Overrides for Exposure Confirm
   ========================================================== */
:root[data-theme="light"] .confirm-header-block {
  border-bottom-color: #f1f5f9;
}

:root[data-theme="light"] .confirm-step-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

:root[data-theme="light"] .confirm-main-title {
  color: #0f172a;
}

:root[data-theme="light"] .confirm-main-subtitle {
  color: #64748b;
}

:root[data-theme="light"] .confirm-step-counter {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

:root[data-theme="light"] .confirm-step-counter .step-circle {
  background: #0284c7;
  color: #ffffff;
}

:root[data-theme="light"] .confirm-notice-card {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45), rgba(255, 251, 235, 0.7));
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.06);
}

:root[data-theme="light"] .notice-icon-box {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.32);
  color: #d97706;
}

:root[data-theme="light"] .identity-msg {
  color: #92400e;
}

:root[data-theme="light"] .id-meta-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(245, 158, 11, 0.2);
  color: #78350f;
}

:root[data-theme="light"] .id-meta-chip .chip-k {
  color: #b45309;
}

:root[data-theme="light"] .id-meta-chip .chip-sub {
  color: #a16207;
}

:root[data-theme="light"] .confirm-label {
  color: #1e293b;
}

:root[data-theme="light"] .confirm-label-tip {
  color: #64748b;
}

:root[data-theme="light"] .confirm-neutral-tag {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
}

:root[data-theme="light"] .confirm-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

:root[data-theme="light"] .confirm-input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .confirm-input[readonly] {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

:root[data-theme="light"] .confirm-locked-pill {
  background: #e2e8f0;
  color: #64748b;
}

:root[data-theme="light"] .confirm-textarea {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

:root[data-theme="light"] .confirm-textarea:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .confirm-queries-tip {
  color: #64748b;
}

:root[data-theme="light"] .confirm-queries-tip svg {
  color: #0284c7;
}

:root[data-theme="light"] .confirm-actions {
  border-top-color: #f1f5f9;
}

:root[data-theme="light"] .confirm-start-btn {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.4);
}

:root[data-theme="light"] .confirm-start-btn:hover {
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.5);
}

/* Responsive (Mobile <= 640px) */
@media (max-width: 640px) {
  .confirm-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .confirm-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .confirm-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 10px;
  }
  .confirm-actions button {
    width: 100%;
    justify-content: center;
  }
  .confirm-main-title {
    font-size: 19px;
  }
}

.model-filter {
  width: 100%;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.model-filter[aria-pressed="true"],
.model-filter-all[aria-pressed="true"] {
  outline: 2px solid #5c79ff;
  outline-offset: -2px;
}

.model-filter:focus-visible,
.exposure-confirm :focus-visible {
  outline: 2px solid #5c79ff;
}

.exposure-details {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.exposure-details details {
  border-top: 1px solid #718096;
  padding: 12px 0;
}

.exposure-details summary {
  cursor: pointer;
  overflow-wrap: anywhere;
}

.exposure-answer,
#identityDetails {
  overflow-wrap: anywhere;
  max-width: 100%;
}

.exposure-answer {
  font: inherit;
  margin: 12px 0;
}

.exposure-details .analysis-retry-button {
  width: fit-content;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid #94a3b8;
  cursor: pointer;
}

.exposure-details .analysis-retry-button:hover {
  color: #075985 !important;
  background: #f0f9ff !important;
  border-color: #0284c7;
}

.exposure-details .analysis-retry-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.exposure-analysis-error {
  margin: 0;
  padding: 10px 12px;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.exposure-markdown p {
  margin: 0 0 10px;
  line-height: 1.75;
}

.exposure-markdown p:last-child {
  margin-bottom: 0;
}

.exposure-markdown h1,
.exposure-markdown h2,
.exposure-markdown h3,
.exposure-markdown h4,
.exposure-markdown h5,
.exposure-markdown h6 {
  margin: 14px 0 8px;
  color: var(--text-primary);
  line-height: 1.45;
}

.exposure-markdown h3 {
  font-size: 15px;
}

.exposure-markdown ul,
.exposure-markdown ol {
  margin: 8px 0 12px 22px;
  padding: 0;
}

.exposure-markdown li {
  margin: 5px 0;
  line-height: 1.7;
}

.exposure-markdown hr {
  border: 0;
  border-top: 1px solid var(--line-subtle);
  margin: 14px 0;
}

.exposure-markdown code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
}

.score-unavailable {
  font-size: 20px !important;
}

@media (max-width: 640px) {
  .exposure-confirm {
    padding: 16px;
  }

  .model-filter {
    flex-wrap: wrap;
    gap: 12px;
  }
}

.footer-compliance {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-subtle);
}

.footer-compliance a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-compliance a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.compliance-sep {
  opacity: 0.5;
}

:root[data-theme="light"] .footer-compliance a {
  color: #64748b;
}

:root[data-theme="light"] .footer-compliance a:hover {
  color: #0284c7;
}

.floating-dock {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 99;
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 242, 254, 0.2);
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.45);
  transform: translateY(-3px) scale(1.05);
  color: #ffffff;
}

:root[data-theme="light"] .dock-btn {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1), 0 0 12px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .dock-btn:hover {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

.dock-popover {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.2);
  padding: 14px 16px;
  text-align: center;
  white-space: nowrap;
  z-index: 100;
}

.dock-popover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(15, 23, 42, 0.96);
}

.dock-item:hover .dock-popover,
.dock-item.active .dock-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.dock-phone-popover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 170px;
}

.dock-popover-title {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.dock-phone-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.dock-phone-num:hover {
  text-decoration: underline;
}

.dock-popover-hint {
  font-size: 10px;
  color: var(--text-subtle);
}

.dock-qr-popover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px;
}

.dock-qr-img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

:root[data-theme="light"] .dock-popover {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15), 0 0 20px rgba(2, 132, 199, 0.15);
}

:root[data-theme="light"] .dock-popover::after {
  border-left-color: rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .dock-popover-title {
  color: #64748b;
}

:root[data-theme="light"] .dock-phone-num {
  color: #0284c7;
}

:root[data-theme="light"] .dock-popover-hint {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .samples-hint {
    display: none !important;
  }

  .floating-dock {
    right: 14px;
    bottom: 20px;
    gap: 8px;
  }

  .dock-btn,
  .back-to-top-btn {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .dock-qr-img {
    width: 108px;
    height: 108px;
  }
}

/* ==========================================================
   Modern Frosted Toast Notification System (V2 High-Aesthetic)
   ========================================================== */

.tech-toast-container {
  position: fixed;
  top: calc(var(--header-h, 76px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  pointer-events: none;
  padding: 0 16px;
  box-sizing: border-box;
}

.tech-toast {
  position: relative;
  width: 100%;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 13px;
  border-radius: 14px;
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(13, 19, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.tech-toast.toast-leaving {
  animation: toastSlideUp 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes toastSlideUp {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-14px) scale(0.95);
    filter: blur(4px);
  }
}

/* Icon badge - Squircle design */
.toast-icon-wrap {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.toast-icon-svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

/* Content & Typography */
.toast-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toast-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Backward-compatible title for any legacy usage */
.toast-title {
  display: none;
}

/* Refined micro tag */
.toast-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.toast-msg {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #f1f5f9;
  word-break: break-word;
}

/* Minimalist close button */
.toast-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
  margin-left: 2px;
}

.toast-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.toast-close-btn svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

/* Integrated progress bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.04);
}

.progress-inner,
.toast-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: toastProgress linear forwards;
}

.tech-toast:hover .progress-inner,
.tech-toast:hover .toast-bar {
  animation-play-state: paused;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Dark Mode Types (Glowing accents) */
.tech-toast.toast-error {
  border-color: rgba(244, 63, 94, 0.25);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.75), 0 0 20px -4px rgba(244, 63, 94, 0.22);
}
.tech-toast.toast-error .toast-icon-wrap {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.08));
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.32);
}
.tech-toast.toast-error .toast-tag {
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.28);
}
.tech-toast.toast-error .progress-inner,
.tech-toast.toast-error .toast-bar {
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.tech-toast.toast-warning {
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.75), 0 0 20px -4px rgba(245, 158, 11, 0.22);
}
.tech-toast.toast-warning .toast-icon-wrap {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.32);
}
.tech-toast.toast-warning .toast-tag {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.tech-toast.toast-warning .progress-inner,
.tech-toast.toast-warning .toast-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.tech-toast.toast-success {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.75), 0 0 20px -4px rgba(16, 185, 129, 0.22);
}
.tech-toast.toast-success .toast-icon-wrap {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.32);
}
.tech-toast.toast-success .toast-tag {
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.tech-toast.toast-success .progress-inner,
.tech-toast.toast-success .toast-bar {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.tech-toast.toast-info {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.75), 0 0 20px -4px rgba(59, 130, 246, 0.22);
}
.tech-toast.toast-info .toast-icon-wrap {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.08));
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.32);
}
.tech-toast.toast-info .toast-tag {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.tech-toast.toast-info .progress-inner,
.tech-toast.toast-info .toast-bar {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* ==========================================================
   Light Mode (Apple / Linear Aesthetic - Pure Glass Card)
   ========================================================== */
:root[data-theme="light"] .tech-toast {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] .toast-msg {
  color: #1e293b;
}

:root[data-theme="light"] .toast-close-btn {
  color: rgba(15, 23, 42, 0.38);
}

:root[data-theme="light"] .toast-close-btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .toast-progress {
  background: rgba(15, 23, 42, 0.03);
}

/* Light Mode Warning */
:root[data-theme="light"] .tech-toast.toast-warning {
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 20px 40px -8px rgba(245, 158, 11, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(245, 158, 11, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-warning .toast-icon-wrap {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.32);
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-warning .toast-tag {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.28);
}
:root[data-theme="light"] .tech-toast.toast-warning .progress-inner,
:root[data-theme="light"] .tech-toast.toast-warning .toast-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Light Mode Error */
:root[data-theme="light"] .tech-toast.toast-error {
  border-color: rgba(239, 68, 68, 0.32);
  box-shadow: 0 20px 40px -8px rgba(239, 68, 68, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(239, 68, 68, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-error .toast-icon-wrap {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.32);
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-error .toast-tag {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.28);
}
:root[data-theme="light"] .tech-toast.toast-error .progress-inner,
:root[data-theme="light"] .tech-toast.toast-error .toast-bar {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Light Mode Success */
:root[data-theme="light"] .tech-toast.toast-success {
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 20px 40px -8px rgba(16, 185, 129, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(16, 185, 129, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-success .toast-icon-wrap {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-success .toast-tag {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
:root[data-theme="light"] .tech-toast.toast-success .progress-inner,
:root[data-theme="light"] .tech-toast.toast-success .toast-bar {
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* Light Mode Info */
:root[data-theme="light"] .tech-toast.toast-info {
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 20px 40px -8px rgba(59, 130, 246, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(59, 130, 246, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-info .toast-icon-wrap {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.08);
}
:root[data-theme="light"] .tech-toast.toast-info .toast-tag {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.28);
}
:root[data-theme="light"] .tech-toast.toast-info .progress-inner,
:root[data-theme="light"] .tech-toast.toast-info .toast-bar {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* ==========================================================
   Responsive / Mobile Optimization
   ========================================================== */
@media (max-width: 640px) {
  .tech-toast-container {
    top: calc(var(--header-h, 76px) + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }
  .tech-toast {
    padding: 9px 12px 9px 11px;
    gap: 10px;
    border-radius: 12px;
  }
  .toast-progress {
    border-radius: 0 0 12px 12px;
  }
  .toast-icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
  }
  .toast-icon-svg {
    width: 15px;
    height: 15px;
  }
  .toast-tag {
    font-size: 10.5px;
    padding: 2px 6px;
    border-radius: 5px;
  }
  .toast-msg {
    font-size: 13px;
  }
  .toast-close-btn {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
}

/* ===== Performance tuning: 2026-09 latest build =====
   Keeps the existing visual language while reducing continuous GPU/paint cost. */
.tech-header {
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
}
.tech-header.scrolled {
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
}

.cursor-light-glow {
  width: 340px;
  height: 340px;
  margin-left: -170px;
  margin-top: -170px;
  filter: blur(28px);
  transition: opacity .18s ease-out;
}

.ambient-glow-primary {
  width: 580px;
  height: 580px;
  filter: blur(60px);
  animation-duration: 24s;
}
.ambient-glow-secondary {
  width: 540px;
  height: 540px;
  filter: blur(68px);
  animation-duration: 28s;
}

:root[data-theme="light"] .tech-header {
  backdrop-filter: blur(18px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
}
:root[data-theme="light"] .tech-header.scrolled {
  backdrop-filter: blur(20px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(175%) !important;
}
:root[data-theme="light"] .cursor-light-glow {
  width: 360px !important;
  height: 360px !important;
  margin-left: -180px !important;
  margin-top: -180px !important;
  filter: blur(28px) !important;
}
:root[data-theme="light"] .ambient-glow-primary { filter: blur(56px); }
:root[data-theme="light"] .ambient-glow-secondary { filter: blur(64px); }

/* Skip layout/paint work for content far below the fold until it approaches the viewport. */
.ecosystem-section,
.scanner-section,
.dimensions-section,
.battle-section,
.pipeline-section,
.inspector-section,
.calculator-section,
.paradigm-section,
.faq-section,
.final-cta-section,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media (max-width: 768px) {
  .cursor-light-glow { display: none !important; }
  .ambient-glow-primary,
  .ambient-glow-secondary {
    animation: none !important;
    filter: blur(42px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow-primary,
  .ambient-glow-secondary {
    animation: none !important;
  }
}
