/* 1. CSS变量与基础配置 */

/* CSS变量定义 */
:root {
  /* 主色调 */
  --primary-dark: #0B1F3A;
  --primary-blue: #1F6FFF;
  --primary-light: #2978FF;
  --primary-color: #3182CE;      /* 主色：靛蓝色 */
  --dark-color: #1E3A8A;        /* 深色辅助：标题/深背景 */

  /* 背景色 */
  --bg-color: #F5F7FA;
  --bg-white: #FFFFFF;
  --bg-light-gray: #F7F9FC;
  --bg-tech-blue: #F2F6FF;

  /* 强调色与边框 */
  --accent-color: #38BDF8;       /* 强调色：按钮/关键数字 */
  --accent-blue: #4B9AFF;
  --border-color: #E5E9F2;       /* 边框色 */

  /* 文字颜色 */
  --text-primary: #1E3A8A;     /* 主色文字 */
  --text-secondary: #4A5568;   /* 辅助文字 */
  --text-light: #64748B;         /* 浅色文字 */

  /* 间距规范 */
  --section-padding: 100px;      /* 区块上下间距 */
  --content-padding-top: 80px;   /* 内容区顶部间距（避免被导航栏遮挡） */
  --section-padding-mobile: 80px; /* 移动端区块间距 */
  --content-padding-top-mobile: 80px; /* 移动端内容区顶部间距 */
  --navbar-height: 70px;         /* 导航栏高度 */
  --section-header-mb: 60px;     /* Section标题下边距 */
  --icon-container-size: 64px;   /* 图标容器尺寸统一 */
  --icon-container-radius: 8px;  /* 图标容器圆角统一 */
  --hover-translate-y: -3px;     /* Hover位移统一 */
  --hover-shadow: 0 8px 24px rgba(49, 130, 206, 0.12); /* Hover阴影统一 */

  /* 按钮变量 */
  --btn-padding-sm: 10px 20px;
  --btn-padding-md: 12px 24px;
  --btn-padding-lg: 14px 32px;
  --btn-font-size-sm: 13px;
  --btn-font-size-md: 14px;
  --btn-font-size-lg: 15px;
  --btn-font-weight: 600;
  --btn-border-radius: 8px;
  --btn-transition: all 0.3s ease;
  --btn-shadow-sm: 0 4px 12px rgba(31, 111, 255, 0.3);
  --btn-shadow-md: 0 6px 20px rgba(31, 111, 255, 0.35);
  --btn-shadow-lg: 0 8px 30px rgba(31, 111, 255, 0.4);
}

/* 线性图标统一风格 */
.icon-linear {
  font-weight: 300;
  opacity: 0.85;
}

/* 加载状态样式 */
.loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 空状态占位样式 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--text-light);
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-text {
  font-size: 16px;
  margin-bottom: 8px;
}

.empty-state-hint {
  font-size: 14px;
  color: var(--text-light);
}

/* 2. 基础重置与全局样式 */

/* 基础重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

/* 通用容器与Section样式 */
section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

section > * {
  position: relative;
  z-index: 1;
}

/* 区块视觉区分 */
section:nth-child(odd) {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

section:nth-child(even) {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

/* 滚动出现动效 - 禁用避免闪烁 */
section {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式Section调整 */
@media (max-width: 768px) {
  section {
    padding: var(--section-padding-mobile) 0;
  }

  /* Hero响应式 */
  .hero {
    padding: 80px 30px 40px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 32px !important;
    line-height: 1.4;
  }

  .hero h2 {
    font-size: 18px !important;
    white-space: normal;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .tech-3d-container {
    width: 300px;
    height: 300px;
  }

  /* Section响应式 */
  .section-inner {
    padding: 0 30px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .challenge-card {
    padding: 36px 24px;
  }

  .challenge-icon {
    width: 72px;
    height: 72px;
  }

  .challenge-icon i {
    font-size: 28px;
  }

  .challenge-card h3 {
    font-size: 16px;
  }

  .card-number {
    width: 24px;
    height: 24px;
    font-size: 11px;
    top: 12px;
    right: 12px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .delivery-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .delivery-visual {
    order: -1;
  }

  .delivery-diagram {
    width: 280px;
    height: 280px;
  }

  .security-certificates {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reasons-grid {
    gap: 20px;
  }

  .cert-item {
    padding: 20px 16px;
  }

  .cert-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .security-card {
    padding: 32px 24px;
  }

  .security-card-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .security-card h3 {
    font-size: 20px;
  }

  .security-certificates-flat {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cert-flat-item {
    padding: 12px 16px;
  }

  .cert-flat-icon {
    font-size: 18px;
  }

  .cert-flat-content h4 {
    font-size: 14px;
  }

  .cert-flat-content p {
    font-size: 12px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .company-data {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .scenario-card {
    padding: 24px 20px;
  }

  .scenario-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .scenario-icon i {
    font-size: 20px;
  }

  .scenario-card h4 {
    font-size: 16px;
  }

  .scenario-card p {
    font-size: 13px;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2,
  h2.section-title {
    font-size: 32px !important;
  }

  .section-header h2 {
    font-size: 28px !important;
  }
}

/* 3. 导航栏样式 */

/* 导航栏主体 */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

.navbar-inner {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 70px;
}

/* Logo样式 */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-image {
  width: 100px;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #1A3A5C;
  letter-spacing: 2px;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #1A1A1A;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #0D1B2A;
  background: rgba(26, 58, 92, 0.06);
}

/* 导航链接底部线条动画 */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #1A3A5C, #2E7DB4);
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* 导航栏激活状态 */
.nav-menu a.active {
  color: #fff !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #0F3460, #1E3A8A) !important;
  padding: 8px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.35);
}

.nav-menu a.active::after {
  display: none;
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #1A1A1A;
  padding: 8px;
  background: none;
  border: none;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 15px 20px;
    border-bottom: 1px solid #E8EDF5;
    text-align: center;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .mobile-menu {
    display: block;
  }

  .navbar-inner {
    padding: 0 30px;
  }
}

/* 4. 表单样式 */

/* 表单组件 */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group .required {
  color: #EF4444;
}

.form-group input,
.form-group textarea {
  border: 2px solid #E5E9F2;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3182CE;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
}

.form-submit {
  padding: 14px 32px;
  background: #3182CE;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: #2563EB;
  box-shadow: var(--btn-shadow-sm);
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

/* 5. Hero区域样式 */

/* Hero主体 */
.hero {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  padding: 100px 60px 60px;
  background: linear-gradient(135deg, #071225 0%, #0D1F3A 50%, #122945 100%) !important;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {
  color: white;
}

/* Hero文字样式 */
.hero h1 {
  color: #ffffff !important;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.hero h2 {
  color: rgba(255, 255, 255, 0.98) !important;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  white-space: nowrap;
}

.hero .description {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Hero SVG可视化元素 */
.tech-3d circle,
.tech-3d line {
  stroke: rgba(255, 255, 255, 0.5) !important;
}

.tech-3d path {
  stroke: rgba(255, 255, 255, 0.5) !important;
}

.tech-3d circle[fill="#2E7DB4"],
.tech-3d circle[fill="#0F3460"] {
  fill: rgba(255, 255, 255, 0.15) !important;
}

.tech-3d stop[style*="#2E7DB4"],
.tech-3d stop[style*="#0F3460"] {
  stop-color: rgba(255, 255, 255, 0.2) !important;
}

/* 挑战卡片布局 */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.challenge-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fc 50%, #f8fbff 100%);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 16px;
  padding: 44px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
}

/* 背景装饰网格 */
.challenge-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(circle at center, rgba(239, 68, 68, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* 顶部渐变装饰条 */
.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EF4444, transparent);
  opacity: 0.6;
  transition: all 0.4s ease;
}

/* 底部光泽效果 */
.challenge-card .card-shine {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(0deg, rgba(239, 68, 68, 0.03), transparent);
  pointer-events: none;
}

.challenge-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.2),
              0 8px 16px rgba(239, 68, 68, 0.12),
              0 0 0 1px rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
}

.challenge-card:hover::before {
  opacity: 1;
  height: 4px;
  background: linear-gradient(90deg, #EF4444, #f97316, #EF4444);
}

.challenge-card:hover::after {
  opacity: 1;
}

.challenge-card:hover .challenge-icon {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.12) 50%, rgba(249, 115, 22, 0.15) 100%);
  color: #EF4444 !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4),
              0 0 0 4px rgba(239, 68, 68, 0.15);
}

.challenge-card:hover .challenge-icon i {
  animation: iconPulse 0.6s ease;
}

.challenge-card:hover h3 {
  color: #EF4444;
  text-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.challenge-icon {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.03)) !important;
  color: #EF4444 !important;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

.challenge-icon i {
  font-size: 32px;
  transition: transform 0.4s ease;
}

/* 图标外圈光晕 */
.challenge-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 24px;
  border: 2px solid rgba(239, 68, 68, 0.12);
  opacity: 0;
  transition: all 0.3s ease;
}

.challenge-card:hover .challenge-icon::before {
  opacity: 1;
  border-color: rgba(239, 68, 68, 0.4);
}

.challenge-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0;
  line-height: 1.5;
  transition: all 0.3s ease;
  padding: 0 4px;
  position: relative;
  z-index: 2;
}

/* 卡片编号装饰 */
.challenge-card .card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.06));
  color: #EF4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.challenge-card:hover .card-number {
  opacity: 1;
  background: linear-gradient(135deg, #EF4444, #f97316);
  color: #fff;
  transform: scale(1.1);
}

/* 模块卡片优化 - 2x2方正布局 */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.module-card {
  position: relative;
  padding: 40px 36px;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-translate-y));
}

/* 核心产品卡片（文字校对 + 舆情服务） */
.module-card.core-product {
  border-width: 3px;
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(15, 29, 37, 0.04) 0%, rgba(13, 31, 58, 0.06) 50%, rgba(18, 41, 69, 0.04) 100%);
  box-shadow: 0 4px 20px rgba(49, 130, 206, 0.15);
}

.module-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-color);
}

.module-card:hover h3 {
  color: var(--text-primary);
}

.module-card .desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 48px;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
}

.module-features li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.module-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

.module-features li:last-child {
  margin-bottom: 0;
}

.module-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e0e6ed;
}

.module-actions .btn-module,
.module-actions .btn-demo {
  flex: 1;
}

/* 为什么选择汉智 - 优势卡片 */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.reason-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.reason-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-translate-y));
}

.reason-icon {
  background: var(--bg-light);
  color: var(--primary-color);
  width: var(--icon-container-size);
  height: var(--icon-container-size);
  border-radius: var(--icon-container-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.reason-icon i.icon-linear {
  font-weight: 300;
  opacity: 0.85;
}

.reason-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.reason-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* 为什么选择汉智 - 三点式布局 */
.delivery-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.delivery-text {
  padding: 20px 0;
}

.delivery-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.delivery-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.delivery-list li:last-child {
  margin-bottom: 0;
}

.delivery-list .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.delivery-list .content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.delivery-list .content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.delivery-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.delivery-visual h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  text-align: center;
}

.delivery-diagram {
  width: 320px;
  height: 320px;
}

.cycle-diagram {
  width: 100%;
  height: 100%;
}

/* 高可靠安全保障体系 */
.security-overview {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.security-certificates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-item {
  background: #10B981;
  color: white;
  padding: 24px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-item:hover {
  background: #059669;
  transform: translateY(var(--hover-translate-y));
}

.cert-icon {
  font-size: 40px;
  margin-bottom: 8px;
  opacity: 0.95;
}

.cert-item h4 {
  display: none;
}

.cert-item p {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
  opacity: 0.9;
}

.cert-highlight {
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.security-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-translate-y));
}

.security-card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.security-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.security-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.security-features li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.security-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
}

.security-features li:last-child {
  margin-bottom: 0;
}

/* 扁平细长条认证样式 */
.security-certificates-flat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.cert-flat-item {
  background: #059669;
  color: white;
  padding: 16px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.cert-flat-item:hover {
  background: #047857;
}

.cert-flat-icon {
  font-size: 20px;
  opacity: 0.95;
}

.cert-flat-content {
  flex: 1;
}

.cert-flat-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.cert-flat-content p {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* 应用场景样式 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.scenario-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scenario-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
  transform: translateY(var(--hover-translate-y));
}

.scenario-icon {
  width: var(--icon-container-size);
  height: var(--icon-container-size);
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.08), rgba(49, 130, 206, 0.12));
  border-radius: var(--icon-container-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.scenario-card:hover .scenario-icon {
  background: var(--primary-color);
}

.scenario-icon i {
  font-size: 24px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.scenario-icon i.icon-linear {
  font-weight: 300;
  opacity: 0.85;
}

.scenario-card:hover .scenario-icon i {
  color: #ffffff;
}

.scenario-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* 9. Section标题与布局样式 */

/* Section通用样式增强 */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--section-header-mb);
}

.section-header h2 {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 16px !important;
}

.section-header .subtitle {
  font-size: 16px !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
}

/* Section 内容级联动效 - 禁用避免闪烁 */
.section-inner > * {
  opacity: 1;
  transform: translateY(0);
}

/* Section-title修复 - 确保h2和p标签继承正确样式 */
.section-title {
  text-align: center !important;
  margin-bottom: var(--section-header-mb) !important;
  position: relative !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  line-height: 1.4 !important;
}

.section-title h2 {
  font-size: 38px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 12px !important;
}

.section-title p {
  font-size: 16px !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Section-title下划线装饰 */
.section-title::after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  background: var(--primary-color) !important;
  margin: 24px auto 0 !important;
}

/* 6. 按钮组件样式 */
.btn,
button,
input[type="submit"],
input[type="button"] {
  padding: var(--btn-padding-md);
  font-size: var(--btn-font-size-md);
  font-weight: var(--btn-font-weight);
  border: none;
  border-radius: var(--btn-border-radius);
  cursor: pointer;
  transition: var(--btn-transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
  font-family: inherit;
}

/* a标签按钮需要特殊处理，保留边框 */
a.btn-module,
a.btn-demo {
  padding: var(--btn-padding-md);
  font-size: var(--btn-font-size-md);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-border-radius);
  cursor: pointer;
  transition: var(--btn-transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
  font-family: inherit;
}

a.btn-module {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn:focus,
button:focus,
input[type="submit"]:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* 按钮尺寸变体 */
.btn-sm {
  padding: var(--btn-padding-sm);
  font-size: var(--btn-font-size-sm);
}

.btn-lg {
  padding: var(--btn-padding-lg);
  font-size: var(--btn-font-size-lg);
  font-weight: 700;
}

/* 主要按钮 - 蓝色渐变 */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: var(--btn-shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-lg);
  background: linear-gradient(135deg, #0d5be6 0%, #1a5acc 100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--btn-shadow-sm);
}

/* 轮廓按钮 - 透明背景带边框 */
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 深色背景轮廓按钮变体 */
.btn-outline-dark {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline-dark:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

/* 模块按钮 - 用于模块卡片（详情按钮） */
.btn-module {
  padding: 10px 28px;
  font-size: var(--btn-font-size-sm);
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
}

.btn-module:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: var(--btn-shadow-sm);
  transform: translateY(-1px);
}

/* 演示按钮 - 实心蓝色 */
.btn-demo {
  padding: 10px 28px;
  font-size: var(--btn-font-size-sm);
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: var(--btn-shadow-sm);
  border-radius: 50px;
}

.btn-demo:hover {
  background: var(--dark-color);
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-md);
}

/* 表单提交按钮 */
.form-submit {
  background: linear-gradient(135deg, #1e3a8a 0%, #1F6FFF 50%, #2978FF 100%);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  box-shadow: var(--btn-shadow-md);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: linear-gradient(135deg, #0f286e 0%, #1e3a8a 50%, #1F6FFF 100%);
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-lg);
}

.form-submit:active {
  transform: translateY(0);
}

/* 按钮禁用状态 */
.btn:disabled,
button:disabled,
input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* 首页按钮容器 */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* 10. Footer与UI组件样式 */

/* Hero视觉区域 */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-3d-container {
  width: 400px;
  height: 400px;
}

.tech-3d {
  width: 100%;
  height: 100%;
}

/* 7. 通用组件样式 */

/* 通用容器 */
.section-container,
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 链接样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 8. 区域Section样式 */

.challenge-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  line-height: 1.6;
}

.challenge-icon {
  background: var(--bg-light) !important;
  color: var(--primary-color) !important;
  width: var(--icon-container-size);
  height: var(--icon-container-size);
  border-radius: var(--icon-container-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.challenge-icon i {
  font-size: 24px;
}

.challenge-icon i.icon-linear {
  font-weight: 300;
  opacity: 0.85;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -40px;
  margin-bottom: 40px;
  font-size: 16px;
}



/* 11. Modal弹窗样式 */

/* Modal弹窗样式 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #E8EEF2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8F9FA;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A3A5C;
}

.modal-close {
  background: #fff;
  border: none;
  font-size: 24px;
  color: #5A6C7D;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: #EF4444;
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A3A5C;
  margin-bottom: 8px;
}

.modal-form .form-group label .required {
  color: #EF4444;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E8EEF2;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
  outline: none;
  border-color: #2E7DB4;
  box-shadow: 0 0 0 3px rgba(46, 125, 180, 0.1);
}

.modal-form .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.modal-form .form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #1e3a8a 0%, #1F6FFF 50%, #2978FF 100%);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--btn-shadow-md);
  position: relative;
  overflow: hidden;
}

.modal-form .form-submit:hover {
  background: linear-gradient(135deg, #0f286e 0%, #1e3a8a 50%, #1F6FFF 100%);
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-lg);
}

/* 12. CTA Section与Toast通知 */

/* CTA Section */
.cta-section {
  background: var(--bg-light-gray);
  text-align: center;
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none;
}

.cta-section .section-title,
.cta-section .section-subtitle {
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  margin-bottom: 10px;
}

.cta-section .section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.cta-form-container {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-form {
  background: #fff;
  padding: 24px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.form-group {
  margin-bottom: 12px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--bg-light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.required {
  color: #EF4444;
  margin-left: 4px;
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #1e3a8a 0%, #1F6FFF 50%, #2978FF 100%);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--btn-shadow-md);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: linear-gradient(135deg, #0f286e 0%, #1e3a8a 50%, #1F6FFF 100%);
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-lg);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f2c5c, #1b3a8a);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 8% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-contact-item i {
  font-size: 18px;
  color: #4fc3f7;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* 13. 浮窗样式 */

/* 浮窗 */
.float {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.float-item {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0F3460, #1E3A8A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.35);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  padding: 8px;
}

.float-item.consult-item {
  background: linear-gradient(135deg, #1E3A8A, #2B5DA3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

.float-item i {
  font-size: 18px;
}

.float-item:hover i {
  transform: scale(1.1);
}

.float-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.5);
  background: linear-gradient(135deg, #1E3A8A, #2B5DA3);
}

/* 售前咨询弹窗 */
.consult-popup {
  display: none;
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 1001;
  min-width: 200px;
}

.consult-popup h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: #0D1B2A;
  text-align: center;
}

.consult-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.consult-item:last-child {
  margin-bottom: 0;
}

.consult-item i {
  font-size: 20px;
  color: #3182CE;
}

.consult-info {
  font-size: 14px;
  color: #333;
}

.consult-info strong {
  display: block;
  font-weight: 600;
  color: #0D1B2A;
}

.float-item:hover .consult-popup {
  display: block;
}

.consult-popup img {
  display: block;
  border-radius: 4px;
  margin: 0 auto;
}

/* Toast通知 */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #fff;
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast.success {
  border-left: 4px solid #10B981;
}

.toast.success i {
  color: #10B981;
}

.toast.error {
  border-left: 4px solid #EF4444;
}

.toast.error i {
  color: #EF4444;
}

.toast span {
  white-space: pre-line;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-section ul {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .float {
    right: 15px;
    gap: 10px;
    z-index: 999;
  }

  .float-item {
    width: 42px;
    height: 42px;
  }

  .float-item i {
    font-size: 16px;
  }

  .toast {
    top: 80px;
    left: 50%;
    right: 20px;
    transform: translateX(-50%) translateY(-20px);
    font-size: 14px;
    padding: 14px 20px;
  }
}
