/* ========================================
   智安科技官网 - NASA风格CSS
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --bg-primary: #0A0E17;
  --bg-secondary: #111827;
  --bg-card: #1A2234;
  --bg-card-hover: #1F2937;
  
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  --accent-blue: #3B82F6;
  --accent-blue-glow: rgba(59, 130, 246, 0.4);
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --accent-green: #10B981;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 48px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: 20px; }

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-medium);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo {
  position: absolute;
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1D4ED8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: 0 auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-links li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 150px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-links li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--border-hover);
  border-radius: 6px;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(10, 14, 23, 0) 0%,
    rgba(10, 14, 23, 0) 50%,
    rgba(10, 14, 23, 0.5) 100%
  );
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-sm);
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-blue);
  color: var(--text-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: var(--space-lg);
  left: 0;
  right: 0;
  display: flex;
  gap: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 20px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  transition: var(--transition-medium);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

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

.card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: var(--space-sm);
  border-radius: 8px;
  background: var(--bg-secondary);
}

.advantage补充 {
  text-align: center;
  margin-top: var(--space-lg);
}

.advantage-text {
  font-size: 16px;
  color: var(--text-secondary);
  display: inline-block;
  padding: 12px 24px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--accent-blue);
}

/* ========================================
   Feature Cards (Large)
   ======================================== */
.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.feature-card-bg {
  position: absolute;
  inset: 0;
}

.feature-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.feature-card:hover .feature-card-bg img {
  transform: scale(1.05);
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 23, 0.95) 100%);
}

.feature-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
}

.feature-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-card-arrow {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.feature-card:hover .feature-card-arrow {
  background: var(--accent-blue);
  transform: translate(4px, 4px);
}

.feature-card-arrow svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value span {
  font-size: 28px;
  color: var(--accent-blue);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   Split Section (Image + Text)
   ======================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HUD corners */
.hud-corners {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.hud-corners::before,
.hud-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-blue);
  border-style: solid;
}

.hud-corners::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hud-corners::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.split-content {
  padding: var(--space-lg) 0;
}

.split-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.split-title {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: var(--space-md);
}

.split-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent-green);
}

.feature-list-text {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ========================================
   Process Steps
   ======================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.process-step {
  flex: 1;
  position: relative;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.process-step-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: var(--space-md);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.process-step-img:hover {
  transform: scale(1.02);
}

.img-preview-modal {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.img-preview-modal.active {
  display: flex !important;
}

.img-preview-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.process-step > * {
  position: relative;
  z-index: 1;
}

.process-step-number {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.15);
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
}

.process-step-icon {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.process-step-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.process-step-icon img {
  display: none;
}

.process-step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service Process */
.service-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-lg);
  position: relative;
  transition: all 0.3s ease;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.process-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.process-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  opacity: 0.8;
  font-family: var(--font-mono);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.process-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Service Carousel */
.service-carousel {
  position: relative;
  margin-top: var(--space-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-slides {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-slide {
  display: none;
  animation: fadeEffect 0.5s;
}

.carousel-slide.active {
  display: block;
}

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

.slide-content {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  max-width: 900px;
  height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.slide-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.slide-number {
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-mono);
  opacity: 0.6;
  margin-bottom: 8px;
}

.slide-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-desc {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 700px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #fff;
  transform: scale(1.2);
}

/* Arrow between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 2px;
  background: var(--border-subtle);
}

/* ========================================
   Cases Grid
   ======================================== */
.cases-grid {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-sm) 0;
}

.cases-grid::-webkit-scrollbar {
  display: none;
}

.cases-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.cases-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.cases-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cases-dot.active {
  background: var(--accent-blue);
  transform: scale(1.2);
}

.cases-dot:hover {
  background: var(--accent-blue);
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-medium);
  flex-shrink: 0;
  scroll-snap-align: start;
  width: calc((100% - 2 * var(--space-md)) / 3);
}

@media (max-width: 1200px) {
  .case-card {
    width: calc((100% - var(--space-md)) / 2);
  }
}

@media (max-width: 768px) {
  .case-card {
    width: calc(100% - var(--space-md));
  }
}

.case-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.case-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: var(--space-sm);
}

.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.case-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   Tabs
   ======================================== */
.tabs {
  margin-bottom: var(--space-lg);
}

.product-tabs-container {
  margin-bottom: var(--space-lg);
}

.product-tabs-list {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.product-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab-btn:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.product-tab-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1D4ED8 100%);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tab-icon {
  font-size: 18px;
}

.product-tabs-content {
  margin-top: var(--space-md);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

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

.tabs-list {
  display: flex;
  gap: var(--space-xs);
  padding: 4px;
  background: var(--bg-secondary);
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto;
}

.tab-btn {
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* ========================================
   Products Grid
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  transition: var(--transition-medium);
}

.product-card:hover {
  border-color: var(--accent-blue);
}

.product-image {
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--text-secondary);
  border-radius: 4px;
  font-weight: 500;
}

/* ========================================
   Layers Section
   ======================================== */
.layers-section {
  position: relative;
  padding: var(--space-xl) 0;
}

.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.layer-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition-medium);
}

.layer-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.layer-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1D4ED8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.layer-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.layer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.layer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Scenarios Grid
   ======================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
  transition: var(--transition-medium);
}

.scenario-card:hover {
  border-color: var(--accent-blue);
}

.scenario-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-blue);
}

.scenario-name {
  font-size: 15px;
  font-weight: 600;
}

/* ========================================
   Application Scenarios
   ======================================== */
.app-scenarios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  border-radius: 16px;
  overflow: hidden;
}

.app-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  border-radius: 16px;
  overflow: hidden;
}

.app-scenarios-expanded {
  display: flex;
  margin-top: var(--space-xl);
  margin-left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  border-radius: 0;
  overflow: hidden;
  height: 400px;
  max-width: none;
}

@media (max-width: 1400px) {
  .app-scenarios-expanded {
    width: 100%;
    margin-left: 0;
    transform: none;
    border-radius: 16px;
  }
}

.app-scenario-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: flex 0.5s ease;
  background-color: var(--bg-secondary);
}

.app-scenario-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  transition: all 0.4s ease;
  z-index: 1;
}

.app-scenario-card:hover {
  flex: 2.5;
}

.app-scenario-card:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.app-scenario-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(calc(100% - 60px));
  transition: transform 0.5s ease;
}

.app-scenario-card:hover .app-scenario-content {
  transform: translateY(0);
}

.app-scenario-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
  margin-bottom: 8px;
}

.app-scenario-desc {
  font-size: 0.875rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.2s;
  max-height: 0;
  overflow: hidden;
}

.app-scenario-card:hover .app-scenario-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

@media (max-width: 1024px) {
  .app-scenarios-expanded {
    flex-wrap: wrap;
    height: auto;
  }
  
  .app-scenario-card {
    flex: 1 1 50%;
    height: 250px;
  }
  
  .app-scenario-card:hover {
    flex: 1 1 50%;
  }
  
  .app-scenario-content {
    transform: translateY(0);
  }
  
  .app-scenario-desc {
    opacity: 1;
    max-height: 200px;
  }
}

@media (max-width: 640px) {
  .app-scenarios-expanded {
    flex-direction: column;
  }
  
  .app-scenario-card {
    flex: 1 1 100%;
    height: 200px;
  }
}

.app-scenario-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.app-scenario-item > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.app-scenario-item > div > div:first-child {
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  z-index: 2;
}

.app-scenario-item > div > div:last-child {
  font-size: 0.875rem;
  color: white;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.3s ease 0.3s;
  z-index: 2;
}

.app-scenario-item:hover > div > div:first-child {
  font-size: 2rem;
}

.app-scenario-item:hover > div > div:last-child {
  opacity: 1;
  transform: translateY(0);
}

.app-scenario-item:hover > div {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.app-scenario-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  transition: all 0.4s ease;
  z-index: 1;
}

.app-scenario-item:hover::before {
  background: linear-gradient(to top, rgba(59, 130, 246, 0.95) 0%, rgba(59, 130, 246, 0.7) 100%);
}

.app-scenario-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}

.app-scenario-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.app-scenario-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.app-scenario-item:hover .app-scenario-title {
  transform: translateY(-8px);
}

.app-scenario-item:hover .app-scenario-desc {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 640px) {
  .app-scenarios,
  .app-scenarios-grid {
    grid-template-columns: 1fr;
  }
  
  .app-scenario-item {
    height: 240px;
  }
}

/* ========================================
   WeChat Card Flip Animation
   ======================================== */
.wechat-card-wrapper {
  perspective: 1000px;
  background: var(--bg-secondary);
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.wechat-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.wechat-card:hover {
  transform: rotateY(180deg);
}

.wechat-card-front,
.wechat-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 200px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2rem;
}

.wechat-card-front {
  background: var(--bg-secondary);
}

.wechat-card-back {
  background: var(--bg-secondary);
  transform: rotateY(180deg);
}

.wechat-card-back img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
}

/* ========================================
   Honors Carousel
   ======================================== */
.honors-carousel-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}

.honors-carousel-wrapper {
  overflow: hidden;
  flex: 1;
}

.honors-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  transition: opacity 0.5s ease;
}

.honors-carousel-page {
  display: contents;
}

.honor-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.honor-card-inner {
  position: relative;
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.honor-card-inner img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.honor-card-stack {
  flex-direction: row;
  gap: 0;
  position: relative;
}

.honor-card-stack img {
  max-height: 160px;
  max-width: 45%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.honor-card-stack img:first-child {
  position: relative;
  z-index: 2;
  margin-right: -20px;
}

.honor-card-stack img:last-child {
  position: relative;
  z-index: 1;
}

.honor-card-sidebyside {
  flex-direction: row;
  gap: 0.5rem;
}

.honor-card-sidebyside img {
  max-width: 48%;
  max-height: 160px;
}

.honor-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.honor-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.honors-carousel-btn {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.honors-carousel-btn:hover {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.honors-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.honors-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s ease;
}

.honors-carousel-dot.active {
  background: var(--accent-blue);
  width: 30px;
  border-radius: 5px;
}

.honors-card-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .honors-carousel-track {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}

@media (max-width: 640px) {
  .honors-carousel-container {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .honors-carousel-wrapper {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .honors-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.75rem;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .honors-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .honors-carousel-page {
    flex: 0 0 calc(100vw - 2rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-sizing: border-box;
  }

  .honors-carousel-btn {
    display: none;
  }

  .honors-carousel-dots {
    display: none;
  }

  .honor-card {
    padding: 1rem;
    box-sizing: border-box;
  }

  .honor-card-inner {
    min-height: 120px;
    margin-bottom: 0.75rem;
  }

  .honor-card-inner img {
    max-height: 120px;
  }

  .honor-card-title {
    font-size: 0.85rem;
  }

  .honor-card-subtitle {
    font-size: 0.75rem;
  }

  .honors-card-hidden {
    display: none !important;
  }

  .service-layer {
    height: auto !important;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .service-layer img {
    position: relative;
    height: 50vh !important;
    width: 100%;
    order: 1;
  }

  .service-overlay {
    position: relative;
    height: 0 !important;
    order: 2;
  }

  .service-layer-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: 100% !important;
    text-align: left !important;
    padding: 1.5rem;
    background: rgba(10, 14, 23, 0.95);
    order: 3;
  }

  .service-layer-content .layer-tag {
    font-size: 14px;
    padding: 6px 12px;
    margin-bottom: 0.75rem;
  }

  .service-layer-content h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem;
  }

  .service-layer-content p {
    font-size: 0.9rem !important;
    line-height: 1.5;
  }

  .sky-layer,
  .air-layer,
  .ground-layer {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: normal !important;
  }

  .sky-layer img,
  .air-layer img,
  .ground-layer img {
    position: relative !important;
    inset: auto !important;
    height: 50vh !important;
    width: 100% !important;
    order: 1 !important;
  }

  .sky-layer::before,
  .air-layer::before,
  .ground-layer::before {
    display: none !important;
  }

  .sky-layer-content,
  .air-layer-content,
  .ground-layer-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem !important;
    background: rgba(10, 14, 23, 0.95) !important;
    order: 3 !important;
  }

  .sky-layer-content .layer-tag,
  .air-layer-content .layer-tag,
  .ground-layer-content .layer-tag {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 0.5rem;
  }

  .sky-layer-content h3,
  .air-layer-content h3,
  .ground-layer-content h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem;
  }

  .sky-layer-content p,
  .air-layer-content p,
  .ground-layer-content p {
    font-size: 0.9rem !important;
    margin-bottom: 0.75rem;
  }

  .layer-products {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .ground-layer-left {
    margin-bottom: 1rem;
  }

  .ground-layer-products {
    flex-direction: column;
    gap: 1rem;
  }

  .ground-product-item {
    width: 100% !important;
  }
}

/* ========================================
   Test Cases
   ======================================== */
.test-cases {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-xl);
}

.test-case-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.test-case-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.test-case-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.test-case-hero {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.test-case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.test-case-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.test-case-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: none;
}

.test-case-block.reverse .test-case-details {
  border-left: 1px solid var(--border-subtle);
  border-right: none;
}

.test-case-mini-card {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.test-case-images-row {
  display: block;
  width: 100%;
  margin-bottom: var(--space-md);
}

.test-case-images-row .test-case-mini-card {
  width: 100%;
  display: block;
}

.test-case-mini-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  min-height: 200px;
}

.test-case-mini-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: white;
  font-size: 13px;
  font-weight: 500;
}

.test-case-info {
  grid-column: span 2;
  padding: 20px;
  border-top: 1px solid var(--border-subtle);
}

.test-case-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.test-case-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.test-case-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  gap: 16px;
}

.test-case-divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
}

.test-case-divider-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.test-case-divider-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .test-case-block,
  .test-case-block.reverse {
    grid-template-columns: 1fr;
  }
  
  .test-case-hero {
    min-height: 300px;
  }
  
  .test-case-details {
    border-left: 1px solid var(--border-subtle);
  }
  
  .test-case-block.reverse .test-case-details {
    border-right: none;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-links {
  display: flex;
  gap: 48px;
  margin-bottom: var(--space-lg);
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-links-column a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-column a:hover {
  color: var(--accent-blue);
}

/* Civil Aviation Solution */
.civil-aviation-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.civil-aviation-hero {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}

.civil-aviation-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.civil-aviation-hero img:hover {
  transform: scale(1.02);
}

.civil-aviation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-content: start;
}

.civil-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.civil-feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.civil-feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.civil-feature-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.civil-aviation-devices {
  margin-top: var(--space-xl);
}

.civil-aviation-devices-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.civil-devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.civil-device-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-sm);
  text-align: center;
}

.civil-device-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: var(--space-xs);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.civil-device-item img:hover {
  transform: scale(1.05);
}

.civil-device-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Civil Aviation Masonry Grid */
.civil-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.civil-masonry-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.civil-masonry-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.civil-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-card);
  transition: transform 0.4s ease;
}

.civil-masonry-item:hover img {
  transform: scale(1.03);
}

.civil-masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.civil-masonry-item:hover .civil-masonry-overlay {
  opacity: 1;
}

.civil-masonry-overlay span {
  font-size: 14px;
  font-weight: 500;
}

.civil-features {
  margin-top: var(--space-lg);
}

.civil-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.civil-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-lg);
  text-align: center;
}

.civil-feature-box .civil-feature-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.civil-feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.civil-feature-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .civil-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .civil-masonry-item.large {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }
  
  .civil-feature-row {
    grid-template-columns: 1fr;
  }
}

/* Civil Aviation Split Layout */
.civil-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.civil-split-left img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.civil-split-left img:hover {
  transform: scale(1.02);
}

.civil-split-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.civil-overview h3,
.civil-systems h3,
.civil-highlights h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.civil-overview p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.civil-systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.civil-system-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.civil-system-item img:hover {
  transform: scale(1.03);
}

.civil-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.civil-highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  font-size: 14px;
}

.civil-highlight-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.civil-highlight-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .civil-split-layout {
    grid-template-columns: 1fr;
  }
  
  .civil-systems-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .civil-highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Rail Transit Solution */
.transit-levels {
  margin-bottom: var(--space-xl);
}

.transit-level-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.transit-level-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.transit-level-img {
  position: relative;
  overflow: hidden;
}

.transit-level-img img {
  width: 100%;
  height: auto;
  display: block;
}

.transit-level-content {
  padding: 20px;
  font-size: 14px;
}

.transit-level-num {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.3;
  margin-bottom: 8px;
}

.transit-level-content h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.transit-level-desc {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.transit-level-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.transit-level-tags span {
  font-size: 0.85em;
  color: var(--text-secondary);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.transit-flow {
  margin-bottom: var(--space-xl);
}

.transit-flow-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.transit-overview {
  margin-bottom: var(--space-sm);
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.transit-overview-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.transit-overview-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.transit-flow-img {
  border-radius: 12px;
  overflow: hidden;
}

.transit-flow-img img {
  width: 100%;
  height: auto;
  display: block;
}

.transit-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.transit-capability {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  font-size: 14px;
}

.transit-capability-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.transit-capability-icon {
  font-size: 28px;
}

.transit-capability-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.transit-capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 8px;
}

.transit-capability-list span {
  font-size: 0.9em;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.transit-capability-list span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.capability-tag {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px;
  font-size: 0.85em;
  color: var(--accent-blue);
  background: rgba(0, 102, 204, 0.08);
  border-radius: 16px;
  white-space: nowrap;
}

.capability-tag::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .transit-level-row {
    grid-template-columns: 1fr;
  }
  
  .transit-capabilities {
    grid-template-columns: 1fr;
  }
}

/* Mobile Timeline - Hidden on Desktop */
.timeline-mobile-slider {
  display: none;
}

/* Footer */

@media (max-width: 576px) {
  .civil-aviation-features {
    grid-template-columns: 1fr;
  }
  
  .civil-devices-grid {
    grid-template-columns: 1fr;
  }
  
  /* Rail Transit Solution */
  .rail-transit-grid {
    grid-template-columns: 1fr;
  }
  
  .rail-transit-hero {
    height: 250px;
  }
  
  .rail-levels-grid {
    grid-template-columns: 1fr;
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 48px;
  align-items: flex-start;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1D4ED8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 0;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-column h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-links-column a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links-column a:hover {
  color: var(--accent-blue);
}

.footer-info {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 24px;
}

.footer-info p {
  margin-bottom: 4px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  margin-left: auto;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    margin: 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 1rem 0.5rem;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0;
    padding-left: 1rem;
  }

  .nav-links li:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.75rem 0.5rem;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .process-step-img {
    height: 200px;
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .layers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 32px;
  }
  
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero-content {
    position: absolute !important;
    left: 1.5rem !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    max-width: none;
    text-align: left;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .grid-3,
  .grid-2,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }
  
  .footer-info {
    text-align: center;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Sky-Earth Full Width Layers
   ======================================== */
.sky-layer,
.air-layer,
.ground-layer {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sky-layer img,
.air-layer img,
.ground-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay on images */
.sky-layer::before,
.air-layer::before,
.ground-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 14, 23, 0.3) 0%, 
    rgba(10, 14, 23, 0.5) 50%,
    rgba(10, 14, 23, 0.8) 100%);
  z-index: 1;
}

/* Service Layer Overlay */
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 14, 23, 0.3) 0%, 
    rgba(10, 14, 23, 0.6) 50%,
    rgba(10, 14, 23, 0.9) 100%);
  z-index: 1;
}

.service-layer-content {
  z-index: 2;
}

.sky-layer-content,
.air-layer-content,
.ground-layer-content {
  z-index: 2;
  width: 100%;
  max-width: 1400px;
}

/* Sky Layer - 天基 */
.sky-layer-content {
  /* display: flex; removed */
  /* flex-direction: column; */
  /* justify-content: flex-end; */
  /* height: 100%; removed */
  /* min-height: 70vh; removed */
}

.sky-layer .layer-tag {
  display: inline-block;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.sky-layer-content h3 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.sky-layer-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  max-width: 500px;
}

.layer-products {
  
  align-items: center;
  gap: 16px;
}

.product-badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.product-badge-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Air Layer - 空基 */
.air-layer {
  margin-top: 0;
}

.air-layer-content {
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

.air-layer .layer-tag {
  display: inline-block;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #F97316, #C2410C);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.air-layer-content h3 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.air-layer-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
}

/* Ground Layer - 地基 */
.ground-layer-content {
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.ground-layer-left {
  flex: 1;
}

.ground-layer-products {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ground-layer .layer-tag {
  display: inline-block;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ground-layer-content h3 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.ground-layer-content > .ground-layer-left > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  max-width: 500px;
}

.ground-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-tag {
  display: inline-flex !important;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: white;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
  .sky-layer-content h3,
  .air-layer-content h3,
  .ground-layer-content h3 {
    font-size: 36px;
  }
  
  .sky-layer-content,
  .air-layer-content,
  .ground-layer-content {
    padding: 32px 24px;
  }
  
  .ground-layer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ground-layer-products {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .layer-tag {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  
  .sky-layer-content h3,
  .air-layer-content h3,
  .ground-layer-content h3 {
    font-size: 28px;
  }
  
  .layer-products {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sky-layer-content,
  .air-layer-content,
  .ground-layer-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem !important;
    background: rgba(10, 14, 23, 0.95) !important;
  }

  .sky-layer,
  .air-layer,
  .ground-layer {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .sky-layer img,
  .air-layer img,
  .ground-layer img {
    position: relative !important;
    inset: auto !important;
    height: 50vh !important;
    width: 100% !important;
  }

  .sky-layer::before,
  .air-layer::before,
  .ground-layer::before {
    display: none !important;
  }

  .ground-layer-left {
    width: 100%;
  }

  .ground-layer-products {
    width: 100% !important;
    flex-direction: column;
  }

  .ground-product-item {
    width: 100% !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ground-layer-content {
    flex-direction: column !important;
  }

  .transit-capability-list {
    justify-content: center;
  }

  .capability-tag {
    white-space: normal;
    text-align: center;
  }

  .service-value-card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .app-scenarios-expanded {
    width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
    height: auto !important;
    flex-wrap: wrap;
  }

  .app-scenario-card {
    flex: 1 1 100% !important;
    min-height: 180px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .app-scenario-content {
    transform: none !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem;
  }

  .app-scenario-desc {
    opacity: 1 !important;
    transform: none !important;
    max-height: none !important;
    display: block;
  }

  .app-scenario-title {
    font-size: 1.25rem;
  }

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

  .stat-item {
    padding: 1rem 0;
  }

  .stat-value {
    font-size: 2rem !important;
  }

  .hero-bg::after {
    background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.3) 50%, rgba(10, 14, 23, 0.1) 100%) !important;
  }

  /* Mobile hero background image - detection.html only */
  body.detection-page .hero-bg img {
    visibility: hidden;
  }

  body.detection-page .hero.has-mobile-bg .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('image/智慧安检mob.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
  }

  /* Mobile hero background image - monitoring.html only */
  body.monitoring-page .service-layer > img[src="image/智能评估.png"] {
    visibility: hidden;
  }

  body.monitoring-page .service-layer:has(> img[src="image/智能评估.png"])::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh !important;
    background-image: url('image/智能评估mob.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: -1;
  }

  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .about-card {
    grid-column: auto !important;
  }

  .timeline-wrapper,
  .timeline-container,
  .timeline-content-area,
  .timeline-nav {
    display: none !important;
  }

  .timeline-mobile-slider {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
  }

  .timeline-mobile-track {
    width: 100%;
    height: 320px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .timeline-mobile-track::-webkit-scrollbar {
    display: none;
  }

  .timeline-mobile-item {
    scroll-snap-align: center;
    width: 100%;
    min-height: 300px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .timeline-mobile-item.active {
    opacity: 1;
    transform: scale(1);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .timeline-mobile-year {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
  }

  .timeline-mobile-content {
    width: 100%;
  }

  .timeline-mobile-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .timeline-mobile-content li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .timeline-mobile-content li:last-child {
    border-bottom: none;
  }

  .timeline-mobile-dots {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
  }

  .timeline-mobile-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .timeline-mobile-dots .dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 4px;
  }

  .timeline-mobile-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.75rem;
  }
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none; }

/* ========================================
   Partners Grid
   ======================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
}

.partner-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.partner-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 576px) {
  * {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  *::-webkit-scrollbar {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem !important;
  }

  [style*="grid-template-columns: repeat(6, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}

/* ========================================
   Product Series Card
   ======================================== */
.product-series-card {
  text-align: center;
}

.series-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

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

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

/* ========================================
   Sky-Earth Integration - 天空地一体化
   ======================================== */
.sky-earth-layers {
  position: relative;
}

.layer-row {
  position: relative;
  padding: 80px 0;
}

.layer-space {
  background: linear-gradient(180deg, #0A0E17 0%, #0D1220 100%);
}

.layer-air {
  background: linear-gradient(180deg, #0D1220 0%, #101828 100%);
}

.layer-ground {
  background: linear-gradient(180deg, #101828 0%, #0A0E17 100%);
}

.layer-container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.layer-info {
  flex: 1;
}

.layer-info-left {
  order: -1;
}

.layer-visual {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.layer-visual img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--accent-blue-glow) 0%, transparent 70%);
  opacity: 0.3;
  z-index: -1;
  border-radius: 24px;
}

.layer-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.layer-title-text {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.layer-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.layer-desc-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.layer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.layer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* Xuanwu Section - 玄武算法平台 */
.xuanwu-section {
  position: relative;
  padding: 60px 0 96px;
  background: var(--bg-secondary);
}

.xuanwu-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 48px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.xuanwu-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xuanwu-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.xuanwu-content {
  text-align: left;
}

.xuanwu-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 4px;
}

.xuanwu-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

.xuanwu-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Data Flow Lines */
.data-flow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  z-index: 10;
}

.flow-line {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, #0EA5E9, #10B981);
  animation: flowDown 2s ease-in-out infinite;
}

.flow-line-1 {
  left: calc(50% - 100px);
  height: 40px;
  animation-delay: 0s;
}

.flow-line-2 {
  left: 50%;
  height: 50px;
  animation-delay: 0.3s;
}

.flow-line-3 {
  left: calc(50% + 100px);
  height: 35px;
  animation-delay: 0.6s;
}

@keyframes flowDown {
  0% { 
    opacity: 0; 
    transform: translateY(-20px);
  }
  50% { 
    opacity: 1; 
  }
  100% { 
    opacity: 0; 
    transform: translateY(20px);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .layer-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .layer-info-left {
    order: 0;
  }
  
  .layer-visual {
    max-width: 100%;
  }
  
  .layer-title-text {
    font-size: 28px;
  }
  
  .xuanwu-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .xuanwu-content {
    text-align: center;
  }
  
  .xuanwu-desc {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 16px;
  }
}

/* ========================================
   Cases Section Title
   ======================================== */
.cases-section-title {
  margin-bottom: 20px;
}

.cases-section-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 16px;
  border-left: 3px solid var(--accent-blue);
}

/* ========================================
   Partner Logo Grid
   ======================================== */
.partner-category {
  margin-bottom: 32px;
}

.partner-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.partner-category-header svg {
  color: var(--accent-blue);
}

.partner-category-header span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* Corporate Culture Section */
.culture-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.culture-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: var(--transition-medium);
}

.culture-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blue);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

.culture-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
  border-radius: 50%;
}

.culture-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent-blue);
}

.culture-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.culture-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .culture-grid {
    grid-template-columns: 1fr;
  }
  
  .culture-card {
    padding: var(--space-lg);
  }
}

/* ========================================
   Timeline Carousel Styles
   ======================================== */
.timeline-wrapper {
  position: relative;
  margin: 3rem auto 0;
  max-width: 1200px;
  z-index: 10;
}

.timeline-container {
  display: flex;
  align-items: stretch;
  height: 547px;
  justify-content: center;
  position: relative;
}

.timeline-content-area {
  flex: 1;
  padding: 0 20px;
}

.timeline-items-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.timeline-row {
  display: flex;
  min-width: 100%;
  gap: 2rem;
  padding: 1rem 0;
}

.timeline-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 1rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.timeline-item:nth-child(1) {
  height: 520px;
}

.timeline-item:nth-child(2) {
  height: 460px;
}

.timeline-item:nth-child(3) {
  height: 400px;
}

.timeline-item:nth-child(4) {
  height: 340px;
}

.timeline-item:nth-child(5) {
  height: 280px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, white, rgba(255,255,255,0.3));
  border-radius: 1px;
}

.timeline-item:nth-child(1)::after {
  top: 290px;
}

.timeline-item:nth-child(2)::after {
  top: 250px;
}

.timeline-item:nth-child(3)::after {
  top: 210px;
}

.timeline-item:nth-child(4)::after {
  top: 170px;
}

.timeline-item:nth-child(5)::after {
  top: 130px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.timeline-item:hover .timeline-year {
  transform: scale(1.15);
}

.timeline-item:hover .timeline-list li {
  transform: scale(1.05);
  transform-origin: left center;
}

.timeline-year {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.timeline-list {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
  text-align: left;
}

.timeline-list li {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.25rem 0;
  transition: transform 0.3s ease;
}

.timeline-items-wrapper {
  position: relative;
}

.timeline-row {
  animation: fadeIn 0.5s ease;
}

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

.timeline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.timeline-nav:hover {
  background: var(--accent-blue);
  transform: translateY(-50%) scale(1.1);
}

.timeline-nav:hover svg {
  stroke: white;
}

.timeline-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-blue);
  stroke-width: 2;
}

.timeline-prev {
  left: -50px;
}

.timeline-next {
  right: -50px;
}

@media (max-width: 1200px) {
  .timeline-prev {
    left: 10px;
  }
  
  .timeline-next {
    right: 10px;
  }
  
  .timeline-nav {
    position: relative;
    top: auto;
    transform: none;
  }
  
  .timeline-container {
    flex-direction: column;
    padding: 0 50px;
  }
  
  .timeline-row {
    flex-wrap: wrap;
  }
  
  .timeline-item {
    flex: 0 0 calc(33.33% - 1.5rem);
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .timeline-item::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .timeline-wrapper {
    padding: 0 50px;
  }
  
  .timeline-item {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .timeline-year {
    font-size: 1.4rem;
  }
  
  .timeline-list li {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    flex: 0 0 100%;
  }
}

@media (max-width: 1024px) {
  .culture-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .culture-card {
    padding: var(--space-lg);
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: var(--transition-medium);
}

.partner-logo-item:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
}

.partner-logo-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 1200px) {
  .partner-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
