/* ============================================================
   山东金舟数联科技发展有限公司 - 企业官网
   样式系统 v1.0
   ============================================================
   目录:
   1. CSS变量
   2. 全局重置与基础排版
   3. 工具类
   4. 导航栏
   5. Banner/Hero
   6. 按钮
   7. 卡片
   8. 玻璃拟态
   9. 动画
   10. 公司介绍
   11. 产品展示
   12. 平台优势
   13. 解决方案
   14. 数据展示
   15. 客户案例
   16. 新闻资讯
   17. 关于我们
   18. 联系我们
   19. 页脚
   20. 返回顶部 & 滚动进度条
   21. 响应式
   ============================================================ */

/* ============================================================
   1. CSS变量
   ============================================================ */
:root {
  /* 主色调 */
  --primary: #4f638f;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;

  /* 强调色 */
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --accent-light: #22D3EE;

  /* 中性色 */
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-dark: #0F172A;
  --text: #1E293B;
  --text-secondary: #808080;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --black: #000000;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #2563EB 100%);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --gradient-section: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);

  /* 字体 */
  --font-primary: 'HarmonyOS Sans', 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* 间距 */
  --section-padding: 50px 0 100px 0;
  --container-max: 1200px;

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

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 20px rgba(37, 99, 235, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* 过渡 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* ============================================================
   2. 全局重置与基础排版
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

/* ============================================================
   3. 工具类
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-bg {
  background: var(--gradient-section);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 50%;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* 渐变条纹装饰线 */
.gradient-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 4px;
  margin-bottom: 24px;
}

.gradient-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* 圆点装饰 */
.dot-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.dot-pattern::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, var(--primary-100) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* ============================================================
   4. 导航栏
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: #fff;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

/* 导航容器 - 使用flex布局替换bootstrap的container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-base);
  z-index: var(--z-fixed);
}
.nav_logo {
  display: inline-block;
}
.nav_logo_scroll {
  display: none;
}
.navbar.scrolled .nav_logo {
  display: none;
}
.navbar.scrolled .nav_logo_scroll{
  display: inline-block;
}
.navbar.scrolled .navbar-brand {
  color: var(--text);
}

.navbar-brand img {
  height: 40px;
  width: auto;
  transition: all var(--transition-base);
}

.navbar-brand span {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.nav-link:focus, .nav-link:hover {
  color: #fff;
}
a.nav-btn.nav-btn-outline:hover {
  color: #fff;
}
a.nav-btn.nav-btn-primary:hover {
  color: #fff;
}
.navbar.scrolled .nav-link:focus,.navbar.scrolled .nav-link:hover,.navbar.scrolled a:hover {
  color: #333;
}
.navbar.scrolled a.nav-btn.nav-btn-outline:hover {
  color: #4f638f;
}
.navbar.scrolled a.nav-btn.nav-btn-primary:hover {
  color: #fff;
}
/* 导航链接容器 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-link {
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 0;
  text-decoration: none;
  white-space: nowrap;
}

.navbar.scrolled .nav-link {
  color:#333;
}

.nav-link.active {
  color: #fff;
  font-weight: bold;
}

.navbar.scrolled .nav-link.active {
  color: #4f638f;
  font-weight: bold;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background: #ffffff;
  transition: width var(--transition-base);
  border-radius: 2px;
}
.navbar.scrolled .nav-link.active {
   color: #4f638f !important;
}
.navbar.scrolled .nav-link.active::after {
   background: #4f638f;
}
.nav-link.active::after {
  width: 100%;
}

/* 导航右侧按钮组 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-left: 50px;
}

.nav-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  height: 36px;
  line-height: 34px;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
}

.navbar.scrolled .nav-btn-outline {
  color: #4f638f;
  border: solid 1px #4f638f;
}


.nav-btn-primary {
  background: #4f638f;
  color: #fff;
  height: 36px;
  line-height: 36px;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
}
/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: var(--z-fixed);
  border: none;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  position: relative;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.navbar.scrolled .nav-toggle.active span {
  background: var(--text);
}

/* 移动端菜单面板 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-fixed) - 1);
  padding: 100px 24px 40px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: 1.25rem;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--white);
}

.mobile-menu .nav-btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.mobile-menu .nav-btn-primary {
  margin-top: 8px;
}

/* ============================================================
   5. Banner/Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* 粒子背景容器 */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 网格装饰 */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* 渐变光晕 */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  top: -200px;
  right: -100px;
  background: rgba(37, 99, 235, 0.15);
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: -200px;
  left: -100px;
  background: rgba(6, 182, 212, 0.1);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* 特性标签 */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-base);
}

.hero-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-tag i {
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.35s both;
}

/* 右侧设备展示区域 */
.hero-devices {
  flex: 1;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

/* MacBook 设备模型 */
.device-macbook {
  position: relative;
  width: 560px;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.4));
  animation: deviceFloat 6s ease-in-out infinite;
}

.device-macbook .macbook-body {
  position: relative;
  background: #1a1a2e;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 0;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.device-macbook .macbook-notch {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 10px;
  gap: 8px;
}

.device-macbook .notch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.device-macbook .notch-dot:nth-child(1) { background: #FF5F56; }
.device-macbook .notch-dot:nth-child(2) { background: #FFBD2E; }
.device-macbook .notch-dot:nth-child(3) { background: #27C93F; }

.device-macbook .macbook-screen {
  background: #0f0f23;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.device-macbook .macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.device-macbook .macbook-screen:hover img {
  opacity: 1;
}

.device-macbook .macbook-base {
  height: 18px;
  background: linear-gradient(180deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
}

.device-macbook .macbook-base::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* iPhone 设备模型 */
.device-iphone {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: deviceFloat 6s ease-in-out infinite 1s;
  z-index: 3;
}

.device-iphone .iphone-body {
  background: #1a1a2e;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    0 10px 40px rgba(0, 0, 0, 0.4);
}

.device-iphone .iphone-notch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px;
}

.device-iphone .iphone-time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.625rem;
  font-weight: 600;
}

.device-iphone .iphone-icons {
  display: flex;
  gap: 4px;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.device-iphone .iphone-screen {
  background: #0f0f23;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.device-iphone .iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.device-iphone .iphone-screen:hover img {
  opacity: 1;
}

.device-iphone .iphone-home {
  display: flex;
  justify-content: center;
  padding: 6px 0 8px;
}

.device-iphone .home-indicator {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

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

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

/* 波浪分割 */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   6. 按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.938rem;
  font-weight: 500;
  font-family: var(--font-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #4f638f;
  color: var(--white);
  /* box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3); */
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.813rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

.btn .icon-arrow {
  transition: transform var(--transition-base);
}

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

/* ============================================================
   7. 卡片
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-body {
  padding: 32px;
}

.card-image {
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  transition: transform var(--transition-slow);
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.938rem;
}

/* ============================================================
   8. 玻璃拟态
   ============================================================ */
.glass {
  background: var(--gradient-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glass);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glass);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   9. 动画
   ============================================================ */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ============================================================
   10. 公司介绍
   ============================================================ */
.about-section {
  background: var(--white);
  position: relative;
}

.about-text .company-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-text .about-desc {
  color: #ffffff;
  line-height: 1.8;
  font-size: 22px;
  margin-bottom: 32px;
  text-align: center;
}

/* 能力网格 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.about-grid-item {
  display: flex;align-items: center;
  padding:0 20px;
  height: 60px;
  background: rgba(79,99,143,0.5);
  border-radius: 10px;
  text-align: center;
  transition: all var(--transition-base);
}

.about-grid-item i {
  font-size: 1.5rem;
  color: #fff;
}

.about-grid-item:hover i {
  color: var(--white);
}

.about-grid-item span {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-left: 15px;
}

.about-grid-item:hover span {
  color: var(--white);
}

/* 右侧装饰图 */
.about-visual {
  position: relative;
}

.about-visual .about-image-wrap {
  position: relative;
  border-radius:50px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-visual .about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
  height: 550px;
  object-position: center 60%;
}

.about-visual .about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
}

/* 浮动卡片装饰 */
.about-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: deviceFloat 5s ease-in-out infinite;
}

.about-float-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.about-float-card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.about-float-card .float-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
}

.about-float-card .float-text {
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text);
}

.about-float-card .float-text small {
  display: block;
  font-size: 0.688rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}

/* ============================================================
   11. 产品展示
   ============================================================ */
.products-section {
  background: var(--bg);
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-block.reverse {
  direction: rtl;
}

.product-block.reverse > * {
  direction: ltr;
}

.product-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slow);
}

.product-image:hover {
  transform: perspective(1000px) rotateY(-2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.product-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  background: var(--bg-alt);
}

/* 手机mockup */
.product-mockup-phone {
  position: relative;
  width: 240px;
  margin: 0 auto;
}

.product-mockup-phone .phone-frame {
  background: #1a1a2e;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-mockup-phone .phone-screen {
  background: #0f0f23;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.product-mockup-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px 0;
}

.product-info .product-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}

.product-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition-base);
}

.product-feature:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

.product-feature i {
  color: var(--primary);
  font-size: 0.813rem;
  transition: color var(--transition-base);
}

.product-feature:hover i {
  color: var(--white);
}

.product-block.reverse .product-feature:hover {
  transform: translateX(-4px);
}

/* ============================================================
   12. 平台优势
   ============================================================ */
.advantages-section {
  background: #f7f7f7;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  position: relative;
  padding: 36px 28px;
  background: #FFFFFF;
  border-radius: 10px;
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
  cursor: default;
  box-shadow: 3px 3px 4px 4px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.advantage-card:hover {
  background: #4f638f;
  color: #fff !important;
}
.advantage-card:hover .advantage-icon {
  display: none;
}
.advantage-card:hover .advantage-card h4{
  margin-bottom: 16px;
}
.advantage-card:hover p {
  display: block;
  color: #fff !important;
}
.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-base);
  position: relative;
}

/* SVG图标样式 */
.advantage-icon img {
  width: 40px;
  height: 40px;
}

.advantage-card h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  transition: color var(--transition-base);
  font-weight: normal;
}

.advantage-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
  display: none;
}

/* ============================================================
   13. 解决方案
   ============================================================ */
.solutions-section {
  background: #fff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.solution-card .solution-image {
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card .solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-image img {
  transform: scale(1.08);
}

/* SVG占位图标 */
.solution-image .placeholder-icon {
  font-size: 3rem;
  color: var(--text-light);
  opacity: 0.5;
}

.solution-card .solution-body {
  padding: 24px;
  white-space: nowrap;
}

.solution-card .solution-body h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.solution-card .solution-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-card .solution-body .btn {
  font-size: 0.813rem;
  padding: 8px 20px;
}

/* ============================================================
   14. 数据展示
   ============================================================ */
.stats-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 60px 0;
}

.stat-number {
  font-size: 45px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.stat-number .suffix {
  font-size: 24px;
  font-weight: 600;
  background:#4f638f;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}
.stat-number .suffixOr {
  font-size: 24px;
  font-weight: 600;
  background:#ff9829;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}
.stat-label {
  font-size: 0.938rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.stat-divider {
  position: relative;
}

.stat-divider::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child .stat-divider::after {
  display: none;
}

.stats-white {
  background: #f7f7f7;
}

.stats-white::before {
  display: none;
}

.stats-white .stat-number {
  color: #4f638f;
}

.stats-white .stat-label {
  color: #808080;
}

/* ============================================================
   15. 客户案例
   ============================================================ */
.clients-section {
  background: var(--white);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  filter: grayscale(1);
  opacity: 0.5;
}

.client-logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.client-logo-item img {
  max-height: 48px;
  width: auto;
}

.client-logo-item .logo-placeholder {
  width: 120px;
  height: 40px;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Swiper自定义样式 */
.swiper-clients {
  padding: 20px 0;
}

.swiper-clients .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   16. 新闻资讯
   ============================================================ */
.news-section {
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.news-image {
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-content {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.813rem;
  color: var(--text-light);
}

.news-meta .news-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-meta .news-category {
  padding: 2px 10px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.news-content h4 {
  font-size: 1.063rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base);
}

.news-card:hover .news-content h4 {
  color: var(--primary);
}

.news-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-content .news-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-content .news-link i {
  font-size: 0.75rem;
  transition: transform var(--transition-base);
}

.news-content .news-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   17. 关于我们
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 60px;
}

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

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  font-size: 0.75rem;
}

/* 关于页 - 公司详情 */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-detail-text h2 {
  margin-bottom: 20px;
}

.about-detail-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-milestones {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--primary-100);
}

.milestone-item {
  position: relative;
  padding: 0 0 32px 20px;
}

.milestone-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.milestone-item .milestone-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.milestone-item .milestone-desc {
  font-size: 0.938rem;
  color: var(--text-secondary);
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-100), var(--bg-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: all var(--transition-base);
}

.team-card:hover .team-avatar {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
}

.team-card h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.813rem;
  color: var(--text-light);
}

/* ============================================================
   18. 联系我们
   ============================================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
}

.contact-item .contact-detail h5 {
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.contact-item .contact-detail span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* 联系表单 */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--text-light);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 地图占位 */
.map-placeholder {
  width: 100%;
  height: 250px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.938rem;
  margin-top: 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.4;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* ============================================================
   19. 页脚
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item i {
  color: var(--primary-light);
  margin-top: 3px;
  min-width: 16px;
}

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

.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================================
   20. 返回顶部 & 滚动进度条
   ============================================================ */

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: var(--z-toast);
  transition: width 0.1s linear;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  z-index: var(--z-sticky);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* ============================================================
   21. 富文本内容样式
   ============================================================ */

.rich-content {
  font-size: 1.063rem;
  line-height: 2;
  color: var(--text-secondary);
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rich-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-100);
}

.rich-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.rich-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 10px;
}

.rich-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 14px 0 8px;
}

.rich-content h5,
.rich-content h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 6px;
}

.rich-content p {
  margin: 12px 0;
  text-align: justify;
}

.rich-content strong,
.rich-content b {
  font-weight: 600;
  color: var(--text);
}

.rich-content em,
.rich-content i {
  font-style: italic;
}

.rich-content u {
  text-decoration: underline;
}

.rich-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.rich-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.rich-content ul,
.rich-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.rich-content ul {
  list-style-type: disc;
}

.rich-content ol {
  list-style-type: decimal;
}

.rich-content li {
  margin: 6px 0;
}

.rich-content ul ul,
.rich-content ol ol {
  margin: 6px 0;
  padding-left: 20px;
}

.rich-content ul ul {
  list-style-type: circle;
}

.rich-content blockquote {
  margin: 16px 0;
  padding: 16px 20px;
  background: var(--primary-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.rich-content blockquote p {
  margin: 0;
}

.rich-content code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
}

.rich-content pre {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.rich-content pre code {
  padding: 0;
  background: none;
  color: #E2E8F0;
}

.rich-content hr {
  margin: 24px 0;
  border: none;
  height: 1px;
  background: var(--border);
}

.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 12px 0;
  box-shadow: var(--shadow-md);
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rich-content th,
.rich-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rich-content th {
  background: var(--primary-50);
  font-weight: 600;
  color: var(--text);
}

.rich-content tr:last-child td {
  border-bottom: none;
}

.rich-content tr:hover {
  background: var(--bg-alt);
}

.rich-content .align-center {
  text-align: center;
}

.rich-content .align-right {
  text-align: right;
}

.rich-content .text-primary {
  color: var(--primary);
}

.rich-content .text-accent {
  color: var(--accent);
}

.rich-content .bg-primary {
  background: var(--primary-50);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   22. 响应式设计
   ============================================================ */

/* 平板 - 大 */
@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-block {
    gap: 40px;
  }

  .device-macbook {
    width: 440px;
  }

  .device-iphone {
    width: 150px;
    right: -10px;
    bottom: -10px;
  }
}

/* 平板 */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .nav-actions .nav-btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-devices {
    min-height: auto;
    width: 100%;
  }

  .device-macbook {
    width: 400px;
  }

  .device-iphone {
    width: 130px;
    right: 20px;
    bottom: -10px;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Products */
  .product-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-block.reverse {
    direction: ltr;
  }

  .product-block.reverse > * {
    direction: ltr;
  }

  .product-image {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* About detail */
  .about-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .stat-divider::after {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* 手机 */
@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .hero-desc {
    font-size: 0.938rem;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-devices {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .about-grid-item {
    padding: 16px 12px;
  }

  .about-grid-item i {
    font-size: 1.25rem;
  }

  .about-grid-item span {
    font-size: 0.75rem;
  }

  .about-float-card {
    display: none;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

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

  .product-features {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size:18px;
  }

  /* Clients */
  .client-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .client-logo-item {
    padding: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Contact */
  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }

  /* Page Hero */
  .page-hero {
    min-height: 30vh;
    padding: 100px 0 40px;
  }

  .page-hero-title {
    font-size: 1.75rem;
  }

  .breadcrumb {
    font-size: 0.75rem;
  }
}

/* 小手机 */
@media (max-width: 480px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .device-macbook {
    width: 280px;
  }

  .device-iphone {
    width: 100px;
  }
}

/* ============================================================
   附加: 占位图片样式 (无需真实图片)
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  min-height: 200px;
}

.img-placeholder i {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ============================================================
   方案页 - 详情样式
   ============================================================ */
.solution-detail-section {
  padding: 80px 0;
}

.solution-detail-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.solution-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.solution-detail-content.reverse {
  direction: rtl;
}

.solution-detail-content.reverse > * {
  direction: ltr;
}

.solution-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-detail-text h3 {
  margin-bottom: 16px;
}

.solution-detail-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.solution-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  color: var(--text);
}

.solution-features-list li i {
  color: var(--primary);
  font-size: 0.875rem;
}

/* ============================================================
   案例详情页
   ============================================================ */
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  margin-bottom: 30px;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.case-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.case-card-body {
  padding: 28px;
}

.case-card-body .case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.case-card-body h4 {
  margin-bottom: 10px;
}

.case-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================================
   新闻详情页
   ============================================================ */
.news-detail-section {
  padding: 60px 0;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-header h1 {
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.875rem;
}

.news-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-content p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.063rem;
}

.news-detail-content img {
  border-radius: var(--radius-lg);
  margin: 32px 0;
  width: 100%;
}

/* ============================================================
   Page Loader
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   工具提示 & 浮动元素
   ============================================================ */
/* 浮动咨询按钮（移动端固定） */
.float-consult {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: var(--z-sticky);
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

@media (max-width: 767px) {
  .float-consult {
    display: flex;
  }
}

.float-consult:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

/* Toast 通知 */
.toast {
  position: fixed;
  top: 100px;
  right: 24px;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  z-index: var(--z-toast);
  transform: translateX(120%);
  transition: transform var(--transition-bounce);
}

.toast.show {
  transform: translateX(0);
}

.toast .toast-title {
  font-size: 0.938rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.toast .toast-text {
  font-size: 0.813rem;
  color: var(--text-secondary);
}

.toast .toast-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ============================================================
   Swiper 覆盖样式
   ============================================================ */
.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
}

/* ============================================================
   AOS 自定义
   ============================================================ */
[data-aos="fade-up"] {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

/* 页面额外样式 */
.page-wrapper {
  padding-top: 0;
}
.about-content {position: relative;overflow: hidden;}
.about-text.aos-init.aos-animate {
  position: absolute;z-index: 1;
  bottom: -60px;
  left: 7.5%;
  width: 85%;
}

.about-content:hover .about-text.aos-init.aos-animate{
  transform: translate3d(0, -100px, 0);
  transition: all 1s;
}
.stats-grid.aos-init.aos-animate {
  background: #fff;
  border-radius: 20px;
  padding: 0 50px;
}