/* ============================================
   云小策科技官网 - 统一样式
   基于现有子页面设计系统
   ============================================ */

:root {
  /* 主色调 */
  --bg: #0f0f1a;
  --bg-dark: #0a0a12;
  --card: #1a1a2e;
  --card-light: #25253a;

  /* 品牌色 */
  --teal: #00bfa5;
  --teal-dark: #009688;
  --teal-light: #4dd0c1;

  /* 强调色 */
  --orange: #ff6b35;
  --orange-dark: #e65100;
  --gold: #f0a500;
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --blue: #3b82f6;
  --blue-dark: #1e40af;
  --pink: #ec4899;
  --pink-dark: #be185d;

  /* 中性色 */
  --light: #f8f9fb;
  --light-bg: #f0f2f5;
  --gray-100: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #888;
  --gray-600: #666;
  --gray-700: #444;
  --gray-800: #1f2937;
  --white: #ffffff;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 8px 40px rgba(0, 0, 0, 0.12);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* 字号 */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;
  --fs-4xl: 48px;
  --fs-5xl: 64px;
  --fs-6xl: 80px;
}

/* ============== Reset ============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============== 顶部导航栏（更高，更醒目）============== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 90px; /* 提升至 90px，更醒目 */
  display: flex;
  align-items: center;
  padding: 0 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo 区域 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.nav-logo-name {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav-logo-slogan {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* 菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-300);
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu a.active {
  color: var(--teal);
  background: rgba(0, 191, 165, 0.12);
}

/* 右侧 CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.25);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4);
}

.nav-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta-phone:hover {
  color: var(--teal);
}

/* 核心产品下拉菜单 */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-300);
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown .dropdown-trigger:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown .dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
  line-height: 1;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--teal);
}

.nav-dropdown:hover .dropdown-trigger {
  color: var(--teal);
  background: rgba(0, 191, 165, 0.12);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: rgba(20, 20, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(20, 20, 36, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  background: transparent;
}

.dropdown-menu a:hover {
  background: rgba(0, 191, 165, 0.1);
  color: var(--white);
  transform: translateX(2px);
}

.dropdown-menu .dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dropdown-menu .dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.dropdown-menu .dd-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.dropdown-menu a:hover .dd-text strong {
  color: var(--teal);
}

.dropdown-menu .dd-text small {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
}

/* 下拉菜单中当前页高亮 */
.dropdown-menu a.active {
  background: rgba(0, 191, 165, 0.12);
  border-left: 2px solid var(--teal);
}

.dropdown-menu a.active .dd-text strong {
  color: var(--teal);
}

.nav-dropdown > .dropdown-trigger.active {
  color: var(--teal);
  background: rgba(0, 191, 165, 0.12);
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--white);
}

/* ============== Hero 区（视频背景）============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 90px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 26, 0.85) 0%,
    rgba(26, 26, 46, 0.7) 50%,
    rgba(15, 15, 26, 0.85) 100%
  );
  z-index: 1;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 30% 40%,
      rgba(0, 191, 165, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 60%,
      rgba(124, 58, 237, 0.12) 0%,
      transparent 60%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  color: var(--white);
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0, 191, 165, 0.12);
  border: 1px solid rgba(0, 191, 165, 0.3);
  border-radius: 20px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 191, 165, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 191, 165, 0);
  }
}

.hero-title {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.hero-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 191, 165, 0.5);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-orange {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.5);
}

/* Hero 统计数据 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

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

.stat-num {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero 视频卡片 */
.hero-video-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
}

.hero-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 191, 165, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 191, 165, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.hero-video-card .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--teal);
}

.hero-video-card .play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-video-card .video-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.hero-video-card .video-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

/* ============== 通用 section ============== */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0, 191, 165, 0.1);
  border: 1px solid rgba(0, 191, 165, 0.25);
  border-radius: 16px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-title .gradient {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============== 数据概览 section ============== */
.stats-section {
  background: var(--bg);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 191, 165, 0.05) 0%,
    transparent 60%
  );
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--card-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 165, 0.3);
  box-shadow: 0 8px 32px rgba(0, 191, 165, 0.15);
}

.stat-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.stat-card .num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============== 核心产品 section ============== */
.products-section {
  background: var(--bg-dark);
  padding: 100px 40px;
  position: relative;
}

.products-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--card-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--teal));
  transition: height 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color, var(--teal));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.product-card:hover::before {
  height: 4px;
}

.product-card .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--card-bg, rgba(0, 191, 165, 0.1));
  border: 1px solid var(--card-border, rgba(0, 191, 165, 0.2));
}

.product-card .tag {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--tag-bg, rgba(0, 191, 165, 0.15));
  color: var(--card-color, var(--teal));
}

.product-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.product-card .subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-weight: 500;
}

.product-card .features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.product-card .features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-300);
}

.product-card .features li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--card-color, var(--teal));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.product-card .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--card-color, var(--teal));
}

.product-card .arrow-icon {
  transition: transform 0.3s ease;
}

.product-card:hover .arrow-icon {
  transform: translateX(4px);
}

/* 颜色变体 */
.product-card.teal {
  --card-color: var(--teal);
  --card-bg: rgba(0, 191, 165, 0.1);
  --card-border: rgba(0, 191, 165, 0.2);
  --tag-bg: rgba(0, 191, 165, 0.15);
}

.product-card.purple {
  --card-color: var(--purple);
  --card-bg: rgba(124, 58, 237, 0.1);
  --card-border: rgba(124, 58, 237, 0.2);
  --tag-bg: rgba(124, 58, 237, 0.15);
}

.product-card.orange {
  --card-color: var(--orange);
  --card-bg: rgba(255, 107, 53, 0.1);
  --card-border: rgba(255, 107, 53, 0.2);
  --tag-bg: rgba(255, 107, 53, 0.15);
}

.product-card.blue {
  --card-color: var(--blue);
  --card-bg: rgba(59, 130, 246, 0.1);
  --card-border: rgba(59, 130, 246, 0.2);
  --tag-bg: rgba(59, 130, 246, 0.15);
}

/* ============== 诊断系统 section ============== */
.diagnostic-section {
  background: var(--bg);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.diagnostic-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 191, 165, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.diagnostic-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.diagnostic-info .section-tag,
.diagnostic-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.diagnostic-info .section-title {
  font-size: 40px;
  margin-bottom: 24px;
}

.diagnostic-info .section-desc {
  text-align: left;
  margin: 0 0 32px 0;
  max-width: 540px;
}

.diagnostic-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.diag-feat {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.diag-feat:hover {
  border-color: rgba(0, 191, 165, 0.3);
  transform: translateX(4px);
}

.diag-feat .num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diag-feat h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.diag-feat p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 诊断流程图 */
.diagnostic-flow {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.diagnostic-flow h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  position: relative;
}

.flow-step::after {
  content: "↓";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
}

.flow-step:last-child::after {
  display: none;
}

.flow-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--teal),
    var(--teal-dark)
  );
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.flow-step .step-content {
  flex: 1;
}

.flow-step .step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.flow-step .step-desc {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============== 为什么选我们 ============== */
.why-section {
  background: var(--bg-dark);
  padding: 100px 40px;
}

.why-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 191, 165, 0.06) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 165, 0.3);
  box-shadow: 0 12px 40px rgba(0, 191, 165, 0.1);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 191, 165, 0.15),
    rgba(0, 191, 165, 0.05)
  );
  border: 1px solid rgba(0, 191, 165, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============== CTA section ============== */
.cta-section {
  background: var(--bg);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 30% 50%,
      rgba(0, 191, 165, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(255, 107, 53, 0.08) 0%,
      transparent 50%
    );
}

.cta-wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--card) 0%, var(--card-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange), var(--gold));
}

.cta-wrap h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-wrap h2 .gradient {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-wrap p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
}

.cta-contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 191, 165, 0.1);
  border: 1px solid rgba(0, 191, 165, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

.cta-contact-item .label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.cta-contact-item .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* ============== Footer ============== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 40px 24px;
}

.footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .name {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-brand .slogan {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ============== 响应式 ============== */
@media (max-width: 1024px) {
  .nav-bar {
    height: 72px;
    padding: 0 24px;
  }

  .nav-menu a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 40px 24px 40px;
    gap: 40px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-video-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .section {
    padding: 80px 24px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-logo-slogan {
    display: none;
  }

  .nav-menu {
    display: none;
  }

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

  .nav-cta-phone {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-slogan {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-num {
    font-size: 24px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card .num {
    font-size: 36px;
  }

  .cta-wrap {
    padding: 32px 20px;
  }

  .cta-wrap h2 {
    font-size: 28px;
  }

  .cta-contact {
    flex-direction: column;
    gap: 20px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   诊断浮窗 Modal
   ============================================ */

.diag-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.diag-overlay.active {
  opacity: 1;
  visibility: visible;
}

.diag-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 9999;
  background: linear-gradient(160deg, #14142e 0%, #1a1a35 50%, #0f0f23 100%);
  border: 1px solid rgba(0, 191, 165, 0.2);
  border-radius: 20px;
  padding: 36px 40px 28px;
  width: 90%;
  max-width: 680px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 191, 165, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.diag-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* 关闭按钮 */
.diag-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  z-index: 10;
  line-height: 1;
}
.diag-close:hover {
  background: rgba(255, 80, 80, 0.15);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
  transform: rotate(90deg);
}

/* 头部 */
.diag-header {
  text-align: center;
  margin-bottom: 28px;
}
.diag-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.diag-header p {
  font-size: 14px;
  color: var(--gray-500);
}

/* 二维码区域 */
.diag-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.diag-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px 18px 18px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.diag-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.diag-card-teal::before { background: linear-gradient(90deg, #00bfa5, #00d4aa); }
.diag-card-purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.diag-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.diag-card-teal:hover { box-shadow: 0 12px 32px rgba(0, 191, 165, 0.12); }
.diag-card-purple:hover { box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12); }

.diag-card img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.diag-card:hover img {
  transform: scale(1.04);
}

.diag-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.diag-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.diag-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.diag-card-teal .diag-tag {
  background: rgba(0, 191, 165, 0.12);
  color: #00d4aa;
}
.diag-card-purple .diag-tag {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
}

/* 底部提示 */
.diag-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.diag-footer span {
  font-size: 13px;
  color: var(--gray-500);
}

/* 响应式 */
@media (max-width: 600px) {
  .diag-modal {
    width: 94%;
    padding: 28px 20px 22px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
  }
  .diag-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .diag-header h3 { font-size: 20px; }
  .diag-card img { width: 200px; height: 200px; }
}
