/* ============================================
   米传科技官网 v2 — Precision Luxury Aesthetic
   Inspired by automotive luxury × precision engineering
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --navy: #071A2F;
  --navy-mid: #0C2D4E;
  --blue: #1565C0;
  --blue-vivid: #2979FF;
  --blue-glow: rgba(41, 121, 255, 0.25);
  --crimson: #B71C1C;
  --crimson-vivid: #E53935;
  --crimson-glow: rgba(229, 57, 53, 0.25);
  --champagne: #C9A96E;
  --champagne-dim: rgba(201, 169, 110, 0.15);
  --dark: #040E1A;
  --dark-card: #0B1929;
  --surface: #F3F5F8;
  --surface-alt: #E8EDF3;
  --border: #D1DAE5;
  --border-light: rgba(255, 255, 255, 0.08);
  --text-primary: #0D1B2A;
  --text-secondary: #5A6B7F;
  --text-muted: #8A99AB;
  --white: #FFFFFF;
  --font-display: 'Sora', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Sora', sans-serif;
  --font-mono: 'SFMono-Display', 'Cascadia Code', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
::selection { background: var(--crimson-vivid); color: white; }

.container { width: 88%; max-width: 1240px; margin: 0 auto; }

/* ---------- Noise Texture Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Page Enter ---------- */
.page-enter { animation: pageIn 0.7s var(--ease-out) forwards; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  padding: 0 6%;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(4, 14, 26, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo .logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-vivid));
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 16px var(--crimson-glow);
}

.nav-logo .logo-sub {
  font-size: 0.6rem;
  color: var(--champagne);
  display: block;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-display);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--crimson-vivid);
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-lang {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 3px;
}

.nav-lang button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s;
}

.nav-lang button.active {
  background: white;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.nav-toggle span {
  width: 22px; height: 1.5px;
  background: white;
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 36px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-vivid));
  color: white;
  box-shadow: 0 6px 24px var(--crimson-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--crimson-glow);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-vivid));
  color: white;
  box-shadow: 0 6px 24px var(--blue-glow);
}
.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--blue-glow);
}

.btn-outline-blue {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-3px);
}

/* ========== SECTIONS ========== */
.section { padding: 120px 0; position: relative; }

.section-dark {
  background: var(--dark);
  color: white;
}

.section-gray { background: var(--surface); }

/* Diagonal divider */
.section-diagonal {
  position: relative;
}
.section-diagonal::before {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 120px;
  background: inherit;
  transform: skewY(-2deg);
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--crimson-vivid);
  margin-bottom: 16px;
  padding: 6px 18px;
  background: rgba(229, 57, 53, 0.06);
  border: 1px solid rgba(229, 57, 53, 0.12);
  border-radius: 100px;
}

.section-dark .section-tag {
  color: var(--crimson-vivid);
  background: rgba(229, 57, 53, 0.1);
  border-color: rgba(229, 57, 53, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-dark .section-title { color: white; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-dark .section-desc { color: rgba(255,255,255,0.5); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: all 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-64px);
  transition: all 0.9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(64px);
  transition: all 0.9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.9s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.7s var(--ease-out);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.16s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.24s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.32s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.40s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.48s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.56s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.64s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.72s; opacity: 1; transform: none; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.80s; opacity: 1; transform: none; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

/* Geometric grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(21, 101, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 192, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

/* Gradient orb */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -10%; right: -5%;
  background: radial-gradient(circle, rgba(41,121,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 6%;
  gap: 48px;
}

.hero-content {
  flex: 1;
  max-width: 620px;
  min-width: 0;
}

.hero-video {
  flex: 1;
  max-width: 560px;
  min-width: 0;
  animation: fadeInUp 0.8s 0.5s both;
}

.hero-video video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(41,121,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s 0.2s both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--crimson-vivid);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--crimson-glow);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.35s both;
}

.hero-title .highlight-red {
  background: linear-gradient(135deg, var(--crimson-vivid), #FF6B6B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .highlight-blue {
  background: linear-gradient(135deg, var(--blue-vivid), #64B5F6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeInUp 0.8s 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.65s both;
}

/* Radar sweep decoration */
.hero-radar {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  z-index: 2;
  opacity: 0.6;
}

.hero-radar .radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(41,121,255,0.12);
}

.hero-radar .radar-ring:nth-child(1) { inset: 0; }
.hero-radar .radar-ring:nth-child(2) { inset: 25%; }
.hero-radar .radar-ring:nth-child(3) { inset: 45%; }

.hero-radar .radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(41,121,255,0.08) 60deg, transparent 60deg);
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-radar .radar-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--crimson-vivid);
  border-radius: 50%;
  top: 30%; left: 65%;
  box-shadow: 0 0 12px var(--crimson-glow);
  animation: radarDotPulse 2s ease infinite;
}

@keyframes radarDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll-hint .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  position: relative;
}

.hero-scroll-hint .mouse::after {
  content: '';
  width: 2px; height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ========== CARDS ========== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(21,101,192,0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(7, 26, 47, 0.1);
  border-color: transparent;
}

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

.card-3d { perspective: 1200px; }
.card-3d .card-inner {
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
}
.card-3d:hover .card-inner {
  transform: rotateY(4deg) rotateX(2deg);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.card-icon.blue {
  background: rgba(21,101,192,0.08);
  color: var(--blue);
}
.card-icon.red {
  background: rgba(229,57,53,0.08);
  color: var(--crimson-vivid);
}
.card-icon.dark {
  background: rgba(7,26,47,0.06);
  color: var(--navy);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-vivid), var(--crimson-vivid));
  opacity: 0;
  transition: opacity 0.4s;
}
.card-glow:hover::before { opacity: 1; }

/* ========== GRIDS ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========== STATS ========== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
  padding: 56px 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-vivid), var(--crimson-vivid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.section-dark .stat-label { color: rgba(255,255,255,0.35); }

/* ========== TABLE ========== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(7,26,47,0.06);
  font-size: 0.88rem;
}

.compare-table thead th {
  background: var(--navy);
  color: white;
  padding: 18px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.compare-table tbody td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text-secondary);
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(21,101,192,0.02); }

.compare-table .highlight-row {
  background: linear-gradient(135deg, rgba(21,101,192,0.04), rgba(229,57,53,0.04));
}
.compare-table .highlight-row td {
  font-weight: 600;
  color: var(--navy);
}
.compare-table .best-val {
  color: var(--blue);
  font-weight: 700;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--blue-vivid), var(--crimson-vivid));
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 36px);
  text-align: right;
}
.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 36px);
}

.timeline-dot {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--crimson-vivid);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 4px var(--crimson-glow);
  z-index: 1;
}

.timeline-content {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(7,26,47,0.06);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}
.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7,26,47,0.1);
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ========== SPEC GRID ========== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.spec-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--blue-vivid), var(--crimson-vivid));
  transition: height 0.4s var(--ease-out);
}

.spec-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(21,101,192,0.1);
}
.spec-card:hover::before { height: 100%; }

.spec-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  background: var(--crimson-vivid);
  border-radius: 50%;
}

/* ========== FLOW STEPS ========== */
.flow-steps {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  width: 150px;
}

.flow-step .step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-vivid));
  color: white;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px var(--crimson-glow);
  transform: rotate(-3deg);
  transition: transform 0.3s var(--ease-spring);
}

.flow-step:hover .step-num {
  transform: rotate(0deg) scale(1.1);
}

.flow-step .step-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.flow-arrow {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0 6px;
  color: var(--border);
  font-size: 1.2rem;
}

/* ========== SCENE CARDS ========== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.scene-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-end;
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
}

.scene-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  z-index: 0;
}

.scene-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: inherit;
  z-index: 1;
  transition: border-color 0.3s;
}

.scene-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(7,26,47,0.2);
}
.scene-card:hover::after {
  border-color: rgba(255,255,255,0.15);
}

.scene-card .scene-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: 3.2rem;
  opacity: 0.6;
  z-index: 1;
  transition: all 0.4s;
}

.scene-card:hover .scene-icon {
  opacity: 0.9;
  transform: translate(-50%, -65%) scale(1.1);
}

.scene-card .scene-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  background: linear-gradient(transparent, rgba(4,14,26,0.95));
}

.scene-card h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.scene-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

/* ========== CERT CARDS ========== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.cert-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-vivid), var(--crimson-vivid));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(21,101,192,0.1);
}
.cert-card:hover::before { transform: scaleX(1); }

.cert-card .cert-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 24px var(--blue-glow);
}

.cert-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 700;
}
.cert-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 12px 48px rgba(7,26,47,0.06);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.25s;
  background: var(--surface);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
  background: white;
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: white;
  padding: 72px 6% 36px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto 48px;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .footer-logo .logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-brand .footer-logo .logo-icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-vivid));
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--champagne);
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: all 0.25s;
}

.footer-col a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-display);
}

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  position: relative;
  padding-top: 76px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(21,101,192,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

.page-hero .hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== SCROLL TRACK ========== */
.scroll-track {
  display: flex;
  gap: 48px;
  animation: scrollX 35s linear infinite;
  width: max-content;
}
.scroll-track:hover { animation-play-state: paused; }

@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  white-space: nowrap;
  transition: color 0.3s;
}
.scroll-item:hover { color: rgba(255,255,255,0.5); }

/* ========== PARALLAX ========== */
.parallax-bg {
  position: absolute;
  width: 100%;
  height: 120%;
  top: -10%; left: 0;
  z-index: 0;
  pointer-events: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.8rem; }
  .hero-layout { gap: 32px; }
  .hero-video { max-width: 420px; }
  .hero-radar { width: 300px; height: 300px; opacity: 0.4; }
  .page-hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    z-index: 10000;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-lang { display: none; }

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

  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-video { max-width: 100%; }

  .hero-title { font-size: 2.1rem; letter-spacing: -1px; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-radar { display: none; }
  .page-hero h1 { font-size: 1.9rem; }
  .section { padding: 72px 0; }
  .section-title { font-size: 1.75rem; }
  .stats-bar { gap: 36px; }
  .stat-number { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { padding: 28px; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); height: auto; margin: 4px 0; }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }
  .timeline-dot { left: 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .section-title { font-size: 1.4rem; }
  .stat-number { font-size: 2rem; }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-red { color: var(--crimson-vivid); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ========== Backward-Compatible Aliases ========== */
:root {
  --blue-deep: var(--navy);
  --blue-light: var(--blue-vivid);
  --red: var(--crimson-vivid);
  --red-light: var(--crimson-vivid);
  --red-glow: var(--crimson-glow);
  --dark-soft: var(--dark-card);
  --gray-100: var(--surface);
  --gray-200: var(--border);
  --gray-300: var(--text-muted);
  --gray-500: var(--text-secondary);
  --gray-700: var(--text-secondary);
  --gray-900: var(--text-primary);
  --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--blue) 100%);
  --gradient-red: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-vivid) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  --shadow-sm: 0 2px 8px rgba(7,26,47,0.06);
  --shadow-md: 0 8px 24px rgba(7,26,47,0.08);
  --shadow-lg: 0 16px 48px rgba(7,26,47,0.12);
  --shadow-blue: 0 8px 32px rgba(21,101,192,0.2);
  --shadow-red: 0 8px 32px rgba(229,57,53,0.2);
  --radius-sm: 8px;
  --radius-md: var(--radius);
  --font-en: var(--font-display);
  --font-cn: var(--font-body);
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== Image Styles ========== */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.3) saturate(0.8);
}

.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,14,26,0.85) 0%, rgba(7,26,47,0.7) 50%, rgba(21,101,192,0.4) 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.25) saturate(0.7);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,14,26,0.6) 0%, rgba(4,14,26,0.9) 100%);
}

.img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(4,14,26,0.85) 100%);
  transition: all 0.4s;
}

.img-card:hover::after {
  background: linear-gradient(transparent 30%, rgba(4,14,26,0.9) 100%);
}

.img-card .img-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
}

.img-card h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.img-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}

.cta-bg-img {
  position: relative;
  overflow: hidden;
}

.cta-bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.6);
}

.product-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.spec-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -32px 20px -32px;
  width: calc(100% + 64px);
}

