/* ============================================================
   IQGAME Design System — Professional Authority Style
   Deep Sea Blue (#002B5C) × Lab White × Warning Orange
   Minimalism · Precision · Undeniable
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --color-primary: #002B5C;
  --color-primary-light: #003D7A;
  --color-primary-dark: #001A38;
  --color-primary-rgb: 0, 43, 92;

  /* Neutral Palette — Lab White */
  --color-bg: #FAFBFC;
  --color-bg-elevated: #FFFFFF;
  --color-bg-subtle: #F1F3F5;
  --color-bg-muted: #E9ECEF;

  /* Accent — Warning Orange */
  --color-accent: #E8652B;
  --color-accent-hover: #D4551A;
  --color-accent-light: rgba(232, 101, 43, 0.1);
  --color-accent-rgb: 232, 101, 43;

  /* Text */
  --color-text-primary: #1A1A2E;
  --color-text-secondary: #4A4A68;
  --color-text-tertiary: #8C8CA1;
  --color-text-inverse: #FFFFFF;
  --color-text-link: #002B5C;

  /* Borders */
  --color-border: #DEE2E6;
  --color-border-light: #E9ECEF;
  --color-border-focus: #002B5C;

  /* Status */
  --color-success: #2E7D32;
  --color-warning: #F9A825;
  --color-error: #C62828;
  --color-info: #0277BD;

  /* Dimension Colors */
  --dim-logic: #002B5C;
  --dim-memory: #4A148C;
  --dim-speed: #E65100;
  --dim-visual: #00695C;
  --dim-verbal: #283593;
  --dim-numerical: #1B5E20;
  --dim-creative: #880E4F;
  --dim-executive: #37474F;

  /* Typography */
  --font-primary: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Font Sizes — Modular Scale (1.25) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5625rem;  /* 25px */
  --text-3xl: 1.953rem;   /* ~31px */
  --text-4xl: 2.441rem;   /* ~39px */
  --text-5xl: 3.052rem;   /* ~49px */

  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Spacing Scale (4px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows — Soft Shadow System */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-soft: 0 2px 8px rgba(0, 43, 92, 0.08);
  --shadow-elevated: 0 8px 30px rgba(0, 43, 92, 0.12);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --nav-height: 72px;
  --sidebar-width: 280px;
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

.text-muted { color: var(--color-text-tertiary); }
.text-accent { color: var(--color-accent); }
.text-primary-color { color: var(--color-primary); }
.text-uppercase {
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
}

/* Monospace for data */
.font-mono {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-normal);
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-20) 0;
}

.section--sm {
  padding: var(--space-12) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: var(--z-fixed);
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-sm);
}

.navbar__logo span {
  color: var(--color-accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-primary);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Mobile nav toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar__link {
    font-size: var(--text-base);
  }
}


/* ============================================================
   BUTTONS — Soft Shadow System
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

/* Primary Button — Deep Sea Blue */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm), 0 2px 4px rgba(0, 43, 92, 0.2);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md), 0 4px 8px rgba(0, 43, 92, 0.25);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

/* Secondary Button — Outlined */
.btn--secondary {
  background: var(--color-bg-elevated);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Accent Button — Warning Orange */
.btn--accent {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm), 0 2px 4px rgba(232, 101, 43, 0.3);
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md), 0 4px 8px rgba(232, 101, 43, 0.35);
  transform: translateY(-1px);
}

/* Ghost Button */
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--color-bg-subtle);
  box-shadow: none;
}

/* Button Sizes */
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Full Width */
.btn--block {
  width: 100%;
}

/* Icon Button */
.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}


/* ============================================================
   CARDS — Precision Instrument Style
   ============================================================ */
.card {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.card__header {
  padding: var(--space-6) var(--space-6) 0;
}

.card__body {
  padding: var(--space-6);
}

.card__footer {
  padding: 0 var(--space-6) var(--space-6);
}

/* Dimension Card — specific for 8 dimensions */
.card--dimension {
  position: relative;
  cursor: pointer;
}

.card--dimension::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dim-color, var(--color-primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height var(--transition-base);
}

.card--dimension:hover::before {
  height: 6px;
}

.card--dimension .dim-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  background: var(--dim-color-light, rgba(0, 43, 92, 0.08));
  color: var(--dim-color, var(--color-primary));
  transition: transform var(--transition-spring);
}

.card--dimension:hover .dim-icon {
  transform: scale(1.08);
}

.card--dimension .dim-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-tertiary);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
}

.card--dimension .dim-badge svg {
  width: 12px;
  height: 12px;
}


/* ============================================================
   PROGRESS BAR — Precision Instrument Style
   ============================================================ */
.progress {
  width: 100%;
  height: 6px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress--lg {
  height: 10px;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Precision Tick Marks */
.progress--precision {
  height: 20px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  position: relative;
}

.progress--precision .progress__bar {
  border-radius: var(--radius-sm);
}

.progress--precision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(10% - 1px),
    rgba(0, 0, 0, 0.06) calc(10% - 1px),
    rgba(0, 0, 0, 0.06) 10%
  );
  z-index: 1;
  pointer-events: none;
}

/* Step Progress */
.progress-steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.progress-step__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  border: 2px solid var(--color-border);
  transition: all var(--transition-base);
}

.progress-step__dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.progress-step__dot.completed {
  background: var(--color-success);
  border-color: var(--color-success);
}

.progress-step__line {
  width: 24px;
  height: 2px;
  background: var(--color-bg-muted);
  transition: background var(--transition-base);
}

.progress-step__line.completed {
  background: var(--color-success);
}


/* ============================================================
   BADGE & TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
}

.badge--primary {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.badge--accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.badge--success {
  background: rgba(46, 125, 50, 0.08);
  color: var(--color-success);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}


/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-wide);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-elevated);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.form-input::placeholder {
  color: var(--color-text-tertiary);
}

/* Radio & Checkbox — Precision Style */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-bg-elevated);
}

.form-radio:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.form-radio.selected {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.03);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.1);
}

.form-radio__dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.form-radio.selected .form-radio__dot {
  border-color: var(--color-primary);
}

.form-radio.selected .form-radio__dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}


/* ============================================================
   HERO SECTION — 全面增强版
   粒子画布 + 流动光晕 + 旋转轨道 + 脉冲光环 + 数据流连线
   维度色带 + 信任徽章 + 计数器动画 + 浮动维度图标
   ============================================================ */

/* Hero主容器 — 增加深色渐变底色，更有空间感 */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-20);
  position: relative;
  overflow: hidden;
  /* 网格背景纹理 — 增加科技实验室感 */
  background-image:
    linear-gradient(rgba(0, 43, 92, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 43, 92, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  /* 底部微妙深色渐变 — 营造空间纵深感 */
  background-color: var(--color-bg);
}

/* 多层渐变叠加 — 营造深邃空间感 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 25%, rgba(0, 43, 92, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(232, 101, 43, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 43, 92, 0.03) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ===== 粒子画布 — JS驱动的粒子系统 ===== */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* ===== 流动光晕层 — CSS驱动的彩色光斑动画 ===== */
.hero__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* 光晕球体 — 大号模糊色块，缓慢漂移 */
.hero__glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: heroGlowDrift 15s ease-in-out infinite;
}

.hero__glow-orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 43, 92, 0.2);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.hero__glow-orb--2 {
  width: 250px;
  height: 250px;
  background: rgba(232, 101, 43, 0.15);
  bottom: 20%;
  right: 10%;
  animation-delay: -5s;
  animation-duration: 18s;
}

.hero__glow-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 105, 92, 0.12);
  top: 50%;
  left: 40%;
  animation-delay: -10s;
  animation-duration: 22s;
}

/* 光晕漂移动画 — 营造流光效果 */
@keyframes heroGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.1); }
  50% { transform: translate(-20px, 15px) scale(0.95); }
  75% { transform: translate(15px, 25px) scale(1.05); }
}

/* Hero内容区 — 双列布局（左文字 + 右装饰） */
.hero__content {
  position: relative;
  max-width: 720px;
}

/* Hero整体布局 — 左右分栏 */
.hero__layout {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  position: relative;
  z-index: 2;
}

.hero__layout-left {
  flex: 1;
  min-width: 0;
}

/* 右侧脑神经网络装饰区域 — 增强版 */
.hero__visual {
  flex: 0 0 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

/* 脑部轮廓 — 中心装饰，加大尺寸 */
.hero__brain {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 旋转轨道环 — 持续旋转，增加动感 ===== */
.hero__brain-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 43, 92, 0.1);
  animation: heroOrbitSpin 20s linear infinite;
}

.hero__brain-orbit--2 {
  width: 130%;
  height: 130%;
  border-style: dotted;
  border-color: rgba(232, 101, 43, 0.08);
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero__brain-orbit--3 {
  width: 160%;
  height: 160%;
  border-style: solid;
  border-color: rgba(0, 43, 92, 0.05);
  animation-duration: 40s;
}

/* 轨道上的运动小点 — 像卫星一样绕行 */
.hero__orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 43, 92, 0.4);
}

.hero__brain-orbit--2 .hero__orbit-dot {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(232, 101, 43, 0.4);
  width: 5px;
  height: 5px;
  top: -2.5px;
}

.hero__brain-orbit--3 .hero__orbit-dot {
  background: rgba(0, 105, 92, 0.8);
  box-shadow: 0 0 8px rgba(0, 105, 92, 0.3);
  width: 4px;
  height: 4px;
  top: -2px;
}

/* 轨道旋转动画 — 不同速度不同方向 */
@keyframes heroOrbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 脉冲光环 — 保留呼吸效果 */
.hero__brain-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 43, 92, 0.08);
  animation: heroRingPulse 4s ease-in-out infinite;
}

.hero__brain-ring:nth-child(4) {
  width: 110%;
  height: 110%;
  border-color: rgba(232, 101, 43, 0.06);
  animation-delay: 1s;
  animation-duration: 5s;
}

.hero__brain-ring:nth-child(5) {
  width: 130%;
  height: 130%;
  border-color: rgba(0, 43, 92, 0.04);
  animation-delay: 2s;
  animation-duration: 6s;
}

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

/* 中心图标容器 — 增加发光呼吸效果 */
.hero__brain-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 0 40px rgba(0, 43, 92, 0.15), 0 0 80px rgba(0, 43, 92, 0.08);
  z-index: 2;
  animation: heroBrainBreath 3s ease-in-out infinite;
}

/* 中心图标发光层 — 外发光脉冲 */
.hero__brain-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 43, 92, 0.15) 0%, transparent 70%);
  animation: heroGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* 大脑呼吸动画 — 微微放大缩小 */
@keyframes heroBrainBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 发光脉冲动画 — 光环扩散效果 */
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* 浮动维度图标 — 带维度专属色边框 */
.hero__float-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  animation: heroFloat 6s ease-in-out infinite;
  z-index: 3;
  /* 维度专属色底部边框 */
  border: 1px solid var(--color-border-light);
  border-bottom: 3px solid var(--float-color, var(--color-primary));
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* 浮动图标悬停效果 — 放大 + 发光 */
.hero__float-icon:hover {
  transform: translateY(-8px) scale(1.15) !important;
  box-shadow: 0 8px 24px rgba(0, 43, 92, 0.15);
  z-index: 10;
}

/* 8个浮动图标的位置 — 围绕中心均匀分布 */
.hero__float-icon:nth-child(7)  { top: -12px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hero__float-icon:nth-child(8)  { top: 12%; right: -14px; animation-delay: 0.8s; }
.hero__float-icon:nth-child(9)  { bottom: 12%; right: -14px; animation-delay: 1.6s; }
.hero__float-icon:nth-child(10) { bottom: -12px; left: 50%; transform: translateX(-50%); animation-delay: 2.4s; }
.hero__float-icon:nth-child(11) { bottom: 12%; left: -14px; animation-delay: 3.2s; }
.hero__float-icon:nth-child(12) { top: 12%; left: -14px; animation-delay: 4.0s; }
.hero__float-icon:nth-child(13) { top: -18px; right: 8%; animation-delay: 4.8s; }
.hero__float-icon:nth-child(14) { bottom: -18px; left: 8%; animation-delay: 5.6s; }

/* 浮动上下动画 — 各维度图标错位运动 */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* ===== 数据流连接线 — 带脉冲动画的虚线 ===== */
.hero__dataflow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 90px;
  background: linear-gradient(to bottom, rgba(0, 43, 92, 0.15), transparent);
  transform-origin: top center;
  z-index: 1;
  /* 脉冲光点动画 — 模拟数据传输 */
  overflow: hidden;
}

/* 数据流脉冲效果 — 用伪元素实现流动光点 */
.hero__dataflow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 43, 92, 0.3);
  animation: heroDataPulse 3s ease-in-out infinite;
}

/* 6条数据流线 — 均匀辐射分布 */
.hero__dataflow:nth-child(15) { transform: rotate(0deg); }
.hero__dataflow:nth-child(15)::after { animation-delay: 0s; }
.hero__dataflow:nth-child(16) { transform: rotate(60deg); }
.hero__dataflow:nth-child(16)::after { animation-delay: 0.5s; }
.hero__dataflow:nth-child(17) { transform: rotate(120deg); }
.hero__dataflow:nth-child(17)::after { animation-delay: 1s; }
.hero__dataflow:nth-child(18) { transform: rotate(180deg); }
.hero__dataflow:nth-child(18)::after { animation-delay: 1.5s; }
.hero__dataflow:nth-child(19) { transform: rotate(240deg); }
.hero__dataflow:nth-child(19)::after { animation-delay: 2s; }
.hero__dataflow:nth-child(20) { transform: rotate(300deg); }
.hero__dataflow:nth-child(20)::after { animation-delay: 2.5s; }

/* 数据流脉冲动画 — 光点沿连接线流动 */
@keyframes heroDataPulse {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===== 维度色带 — 8色渐变条 ===== */
.hero__spectrum {
  display: flex;
  gap: 3px;
  width: 100%;
  max-width: 320px;
  height: 4px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.hero__spectrum-bar {
  flex: 1;
  height: 100%;
  background: var(--bar-color);
  border-radius: var(--radius-full);
  /* 每根色条有微妙的脉冲动画 */
  animation: heroBarPulse 2s ease-in-out infinite;
  opacity: 0.6;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero__spectrum-bar:hover {
  opacity: 1;
  transform: scaleY(2.5);
}

.hero__spectrum-bar:nth-child(1) { animation-delay: 0s; }
.hero__spectrum-bar:nth-child(2) { animation-delay: 0.25s; }
.hero__spectrum-bar:nth-child(3) { animation-delay: 0.5s; }
.hero__spectrum-bar:nth-child(4) { animation-delay: 0.75s; }
.hero__spectrum-bar:nth-child(5) { animation-delay: 1s; }
.hero__spectrum-bar:nth-child(6) { animation-delay: 1.25s; }
.hero__spectrum-bar:nth-child(7) { animation-delay: 1.5s; }
.hero__spectrum-bar:nth-child(8) { animation-delay: 1.75s; }

@keyframes heroBarPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ===== 信任徽章行 ===== */
.hero__trust {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-tertiary);
  letter-spacing: var(--tracking-wide);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(0, 43, 92, 0.03);
  border: 1px solid rgba(0, 43, 92, 0.06);
  transition: all var(--transition-fast);
}

.hero__trust-badge:hover {
  color: var(--color-primary);
  background: rgba(0, 43, 92, 0.06);
  border-color: rgba(0, 43, 92, 0.12);
}

.hero__trust-badge svg {
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.hero__trust-badge:hover svg {
  opacity: 1;
}

/* 统计卡片 — 升级为带图标的卡片样式 + 渐变边框效果 */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-light);
  position: relative;
  z-index: 2;
}

.hero__stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* 统计卡片悬停效果 — 渐变边框 + 上浮 */
.hero__stat-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 43, 92, 0.08);
  transform: translateY(-3px);
}

/* 统计卡片底部装饰线 */
.hero__stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.hero__stat-card:hover::after {
  opacity: 1;
}

.hero__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.hero__stat-info {
  display: flex;
  flex-direction: column;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.hero__title .accent {
  color: var(--color-accent);
  position: relative;
  /* 标题强调文字下方装饰线 */
  background-image: linear-gradient(transparent 60%, rgba(232, 101, 43, 0.15) 60%);
  background-size: 100% 100%;
  padding: 0 4px;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-tight);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
  letter-spacing: var(--tracking-wide);
}

/* ===== Hero响应式适配 ===== */
@media (max-width: 1024px) {
  .hero__layout {
    flex-direction: column;
    text-align: center;
  }
  .hero__layout-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__subtitle {
    max-width: 480px;
  }
  .hero__visual {
    flex: none;
    width: 100%;
    max-width: 320px;
  }
  .hero__brain {
    width: 240px;
    height: 240px;
  }
  .hero__trust {
    justify-content: center;
  }
  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__brain {
    width: 200px;
    height: 200px;
  }
  .hero__brain-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }
  .hero__float-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }
}


/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-header__title {
  margin-bottom: var(--space-4);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}


/* ============================================================
   TEST INTERFACE — Precision UI
   ============================================================ */
.test-container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-6) var(--space-8);
}

.test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

.test-header__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.test-header__dimension {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--dim-color, var(--color-primary));
}

.test-header__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.test-header__counter {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  letter-spacing: var(--tracking-wide);
}

.test-timer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}

.test-timer__icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.test-question {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  padding: var(--space-8);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-6);
}

.test-question__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-text-tertiary);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.test-question__text {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.test-question__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.test-question__option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-bg-elevated);
}

.test-question__option:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.02);
  box-shadow: var(--shadow-sm);
}

.test-question__option.selected {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.05);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.1);
}

.test-question__option-marker {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-text-tertiary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.test-question__option.selected .test-question__option-marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.test-question__option-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.test-question__option.selected .test-question__option-text {
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

.test-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  max-width: 600px;
  text-align: right;
}

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__disclaimer {
    text-align: center;
  }
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* Stagger children */
.stagger > * {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.4s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat-value {
    font-size: var(--text-2xl);
  }

  /* 右侧装饰区缩小 */
  .hero__visual {
    flex: 0 0 280px;
  }

  .hero__brain {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  /* 移动端隐藏右侧装饰，只显示左侧文案 */
  .hero__layout {
    flex-direction: column;
  }

  .hero__visual {
    display: none; /* 移动端隐藏右侧装饰图 */
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .test-question {
    padding: var(--space-5);
  }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }

  .container {
    padding: 0 var(--space-4);
  }
}


/* ============================================================
   DIMENSION DETAIL PAGE
   ============================================================ */
.dim-hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.dim-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.dim-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-6);
}

.dim-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.dim-hero__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.dim-hero__breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.dim-hero__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dim-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.dim-hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.dim-hero__meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.dim-hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.dim-hero__meta-item strong {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-mono);
}

/* T-Tests List */
.t-test-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.t-test-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.t-test-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.t-test-item__left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.t-test-item__code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: var(--tracking-wide);
}

.t-test-item__name {
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.t-test-item__ability {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

.t-test-item__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.t-test-item__badge {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  color: var(--color-text-tertiary);
}

.t-test-item__arrow {
  color: var(--color-text-tertiary);
  transition: transform var(--transition-fast);
}

.t-test-item:hover .t-test-item__arrow {
  transform: translateX(4px);
  color: var(--color-primary);
}

/* T测试"Start"按钮 — 带播放图标的启动按钮 */
.t-test-item__start-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: white;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.t-test-item__start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 43, 92, 0.3);
}

.t-test-item__start-btn:active {
  transform: scale(0.98);
}
