/* ========================================
   本源物联网官网 - 完全重构版
   深色科技风 + 玻璃拟态 + 图片完整展示
   ======================================== */

:root {
  --primary: #0ea5e9;
  --primary-light: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #f59e0b;
  --accent-light: #fbbf24;

  --bg-deep: #0f172a;
  --bg-dark: #1e293b;
  --bg-card: rgba(15, 23, 42, 0.15);
  --bg-card-hover: rgba(15, 23, 42, 0.25);
  --bg-glass: rgba(15, 23, 42, 0.7);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(148, 163, 184, 0.1);
  --border-light: rgba(148, 163, 184, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   Welcome Screen
   ======================================== */
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.welcome-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.welcome-content {
  text-align: center;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.enter-btn {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.enter-btn.visible {
  opacity: 1;
  animation: btnFadeIn 0.5s ease;
}
@keyframes btnFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
  position: relative;
  min-width: 160px;
  min-height: 60px;
}
.enter-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}
.enter-btn.loaded:hover {
  transform: translateY(-2px) scale(1.05);
}
.enter-btn svg {
  transition: transform 0.3s ease;
}
.enter-btn.loaded:hover svg {
  transform: translateX(4px);
}

/* 粒子加载进度指示器 */
.enter-btn-text,
.enter-btn-arrow {
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.enter-btn.loaded .enter-btn-text,
.enter-btn.loaded .enter-btn-arrow {
  opacity: 1;
}

.enter-btn-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.enter-btn.loaded .enter-btn-loader {
  opacity: 0;
  pointer-events: none;
}

.enter-btn-loader .loader-ring {
  width: 32px;
  height: 32px;
  animation: loaderSpin 1.2s linear infinite;
}

.enter-btn-loader .loader-ring circle {
  transition: stroke-dashoffset 0.3s ease;
}

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

@keyframes shakeBtn {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.enter-btn.shake {
  animation: shakeBtn 0.4s ease-in-out;
}

.enter-btn-progress {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.enter-btn.loaded .enter-btn-progress {
  opacity: 0;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
  opacity: 1;
  transition: opacity 0.8s ease;
}
.main-content.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ========================================
   Header / Nav
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
}
.header.visible {
  opacity: 1;
  visibility: visible;
}
.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* 导航下拉菜单 */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 1001;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover { background: rgba(14, 165, 233, 0.2); }

.lang-dropdown {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1002;
}
.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-option:hover { background: rgba(14, 165, 233, 0.1); color: var(--text-primary); }
.lang-option.active { color: var(--primary-light); font-weight: 600; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-phone:hover { color: var(--primary-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

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

/* 全局粒子背景 */
.particle-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
#particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: transparent;
  pointer-events: auto;
}
#particle-iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.02) 0%, transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: -20px; top: 10%;
  height: 80%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.stat-item:last-child::after { display: none; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-unit {
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 1;
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ========================================
   Clients
   ======================================== */
.clients {
  padding: 40px 0;
  background: rgba(30, 41, 59, 0.85);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.clients-title {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.clients-slider {
  position: relative;
  overflow: hidden;
}
.clients-track {
  display: flex;
  gap: 32px;
  animation: scroll 30s linear infinite;
}
.client-logo {
  flex-shrink: 0;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 130px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.client-logo:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   Section Common
   ======================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.08));
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.15);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ========================================
   Services
   ======================================== */
.services {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ========================================
   Liquid Glass Effect (macOS Style)
   ======================================== */
.liquidGlass-wrapper {
  position: relative;
  overflow: visible;
  display: block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.liquidGlass-wrapper:hover {
  transform: scale(1.05);
  z-index: 10;
}

/* 滚动动画类 - 不干扰hover效果 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animated-in {
  opacity: 1;
  transform: translateY(0);
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;
  backdrop-filter: blur(3px) saturate(180%);
  -webkit-backdrop-filter: blur(3px) saturate(180%);
  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
  border-radius: inherit;
  pointer-events: none;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: inherit;
  pointer-events: none;
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
              inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.service-card {
  padding: 36px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.service-card:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  z-index: 10;
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(245, 158, 11, 0.03) 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.08));
  border-radius: var(--radius-md);
  color: var(--primary-light);
  margin-bottom: 24px;
  border: 1px solid rgba(14, 165, 233, 0.1);
}
.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-desc {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.9375rem;
}
.service-features { margin-bottom: 20px; }
.service-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.service-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-weight: 500;
  font-size: 0.875rem;
}
.service-link:hover { gap: 10px; color: var(--accent-light); }

/* ========================================
   Products - Bento Grid (图片完整展示)
   ======================================== */
.products {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.product-category { margin-bottom: 64px; }
.product-category:last-child { margin-bottom: 0; }

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.category-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.08));
  border-radius: var(--radius-md);
  color: var(--primary-light);
}

/* 统一产品网格布局 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}
.product-card:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.product-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 图片区域 - 关键：固定高度，图片contain完整展示 */
.product-image-wrapper {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(245, 158, 11, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  flex-shrink: 0;
  height: 200px;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-image-wrapper img {
  transform: scale(1.03);
}

/* 内容区域 */
.product-card-content {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-tag {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), var(--primary-dark));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 50px;
}
.product-tag.device {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), #d97706);
}
.product-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 50px;
}
.product-badge.hot {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), #dc2626);
  color: #fff;
}
.product-badge.new {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), #16a34a);
  color: #fff;
}

.product-card-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.product-card-content p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}
.product-card-specs {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.view-detail-arrow {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  color: var(--primary-light);
  transition: all var(--transition);
}
.product-card:hover .view-detail-arrow {
  background: var(--primary);
  color: #fff;
  transform: translateX(2px);
}

/* 响应式 */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image-wrapper {
    height: 180px;
  }
}

/* ========================================
   Dev Boards
   ======================================== */
.devboards {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.devboards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.devboard-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.devboard-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.15);
  transform: scale(1.02);
}

.devboard-image {
  width: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(245, 158, 11, 0.02) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 200px;
  padding: 20px;
}
.devboard-image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

/* 开发板视频展示 - 适配白色底色视频 */
.devboard-video {
  width: 100%;
  background: #f8f9fa;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  min-height: 220px;
  position: relative;
}
.devboard-video video,
.devboard-video .devboard-fallback-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
}
.devboard-video .devboard-fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.devboard-video::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
  pointer-events: none;
}

.devboard-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  z-index: 2;
}

.devboard-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.devboard-subtitle {
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.devboard-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.devboard-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.devboard-spec {
  padding: 12px;
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}
.devboard-spec strong {
  color: var(--primary-light);
  display: block;
  margin-bottom: 2px;
}
.devboard-spec span {
  color: var(--text-secondary);
}

/* ========================================
   Solutions
   ======================================== */
.solutions {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.solution-card {
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}
.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.solution-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.solution-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.solution-content {
  padding: 24px;
}
.solution-content h3 {
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.solution-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.solution-link {
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 500;
}
.solution-link:hover { color: var(--accent-light); }

/* ========================================
   Capabilities
   ======================================== */
.capabilities {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.capability-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  color: var(--primary-light);
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.capability-item {
  text-align: center;
  padding: 36px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}
.capability-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.capability-item:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: none;
  transform: translateY(-4px);
}
.capability-item h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.capability-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.process-step {
  text-align: center;
  padding: 28px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  min-width: 150px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}
.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.process-step:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: none;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.process-step p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.process-arrow {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.quality-system {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.quality-item {
  padding: 28px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}
.quality-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.quality-item:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: none;
}
.quality-item h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.quality-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.cert-item {
  padding: 28px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.cert-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.cert-item:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  box-shadow: none;
}

/* ========================================
   Cases
   ======================================== */
.cases {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  padding: 36px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}
.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  opacity: 0.4;
}
.case-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.case-industry {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(245, 158, 11, 0.08));
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(14, 165, 233, 0.12);
}
.case-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.case-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.case-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.case-stats div {
  display: flex;
  flex-direction: column;
}
.case-stats strong {
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   About
   ======================================== */
.about {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.about-stat {
  padding: 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.about-stat strong {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 6px;
}
.about-stat span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 24px;
}

/* 关于我们 - 公司视觉 */
.about-company {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(245, 158, 11, 0.03) 100%);
}
.about-company-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
}
.about-company-label {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}
.about-company-sublabel {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ========================================
   Contact
   ======================================== */
.contact {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-method::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  opacity: 0.5;
}
.contact-method:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.contact-method-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(245, 158, 11, 0.08));
  border-radius: var(--radius-md);
  color: var(--primary-light);
  flex-shrink: 0;
}
.contact-method h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.contact-method p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0b4c8;
  font-size: 0.9375rem;
  font-weight: 400;
  opacity: 1;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  color: #7a94ad;
  opacity: 0.7;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 验证码 */
.captcha-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.captcha-group input {
  flex: 1;
}
.captcha-code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 4px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}
.captcha-code:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
}

/* 提交按钮美化 */
.contact-form .btn-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}
.contact-form .btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}
.contact-form .btn-submit:hover::before {
  left: 100%;
}
.contact-form .btn-submit:active {
  transform: translateY(0);
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.92) 100%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 32px;
  background: var(--bg-deep);
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.footer-links h4, .footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a {
  font-size: 0.875rem;
  transition: color var(--transition);
  color: var(--text-secondary);
}
.footer-links ul li a:hover { color: var(--primary-light); }

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-contact ul li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal .separator {
  opacity: 0.4;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--primary);
}

/* ========================================
   Float Contact
   ======================================== */
.float-contact {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: all var(--transition);
}
.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}
.float-btn.back-to-top {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.float-btn.back-to-top:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: right var(--transition);
    z-index: 999;
    border-left: 1px solid var(--border);
  }
  .nav-menu.active { right: 0; }
  .nav-link {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 4px;
    display: none;
  }
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-actions .btn { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }

  .products-bento { grid-template-columns: repeat(6, 1fr); }
  .bento-large { grid-column: span 6; }
  .bento-medium { grid-column: span 3; }
  .bento-small { grid-column: span 3; }

  .devboards-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-item::after { display: none; }
  .hero-actions { flex-direction: column; }

  .products-bento { grid-template-columns: 1fr; }
  .bento-large, .bento-medium, .bento-small { grid-column: span 1; }

  .solutions-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .quality-system { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .float-contact { bottom: 16px; right: 16px; }

  /* 联系表单手机端优化 */
  .contact-form-wrapper {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-grid {
    gap: 32px;
  }
  .captcha-group {
    flex-direction: column;
    gap: 8px;
  }
  .captcha-code {
    min-width: auto;
    width: 100%;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .clients-track { animation: none; }
}
