/* ==========================================================================
   深圳市泽衍科技有限责任公司 (Zeyan Tech)
   Style: Clean Modern Light Tech (明亮、高质感、商业通透、严谨专业)
   Fully Responsive for Mobile, Tablet & Desktop
   ========================================================================== */

:root {
  /* 科技品牌主色 (深邃蔚蓝 Royal Blue，兼具活力与商业信赖感) */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;
  --cyan: #0284c7;
  --emerald: #059669;

  /* 明亮通透的现代背景层次 (默认亮色) */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-badge: #eff6ff;

  /* 边框体系 (细腻浅灰) */
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #2563eb;

  /* 高清晰度文字体系 */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* 层次阴影体系 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.05);

  --glow-hero: radial-gradient(ellipse at 50% -20%, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 80%);

  /* 底部 CTA 区域 (明亮模式: 通透典雅卡片，与全站完美融合，杜绝突兀大黑块) */
  --cta-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --cta-border: #cbd5e1;
  --cta-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  --cta-title: #0f172a;
  --cta-subtitle: #475569;
  --cta-badge-bg: #eff6ff;
  --cta-badge-border: #bfdbfe;
  --cta-badge-text: #2563eb;
  --cta-badge-dot: #2563eb;
  --cta-btn-bg: #2563eb;
  --cta-btn-text: #ffffff;
  --cta-btn-border: #2563eb;
  --cta-btn-hover: #1d4ed8;
  --cta-btn-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.3);
  --cta-meta-text: #64748b;
  --cta-meta-border: #e2e8f0;
  --cta-meta-link: #2563eb;
  --cta-top-glow: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), transparent);

  /* 全站页脚 Footer (明亮模式: 纯净 Slate 浅灰体系，和谐统一) */
  --footer-bg: #f8fafc;
  --footer-border: #e2e8f0;
  --footer-brand-title: #0f172a;
  --footer-brand-desc: #64748b;
  --footer-heading: #0f172a;
  --footer-link: #64748b;
  --footer-link-hover: #2563eb;
  --footer-icon: #2563eb;
  --footer-bottom-border: #e2e8f0;
  --footer-bottom-text: #94a3b8;
  --footer-bottom-link: #64748b;
  --footer-bottom-link-hover: #2563eb;

  /* 语义化微徽章色彩体系 (明亮模式) */
  --badge-blue-bg: #eff6ff;
  --badge-blue-text: #1d4ed8;
  --badge-blue-border: #bfdbfe;

  --badge-purple-bg: #f5f3ff;
  --badge-purple-text: #6d28d9;
  --badge-purple-border: #ddd6fe;

  --badge-cyan-bg: #ecfeff;
  --badge-cyan-text: #0369a1;
  --badge-cyan-border: #bae6fd;

  --badge-amber-bg: #fffbeb;
  --badge-amber-text: #b45309;
  --badge-amber-border: #fde68a;

  --badge-emerald-bg: #ecfdf5;
  --badge-emerald-text: #047857;
  --badge-emerald-border: #a7f3d0;

  /* 表单与互动组件 */
  --input-bg: #f8fafc;
  --input-bg-focus: #ffffff;
  --input-placeholder: #94a3b8;
  --feedback-success-bg: #ecfdf5;
  --feedback-success-text: #065f46;
  --feedback-success-border: #10b981;
  --timeline-line: #e2e8f0;

  /* 布局与圆角 */
  --container-max: 1140px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* 动效过渡 */
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 高端深邃暗黑模式 (Modern Slate-Dark Theme) */
[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-subtle: rgba(59, 130, 246, 0.14);
  --primary-border: rgba(59, 130, 246, 0.3);
  --cyan: #38bdf8;
  --emerald: #10b981;

  --bg-body: #0b0f17;
  --bg-surface: #111726;
  --bg-card: #131b2e;
  --bg-card-hover: #18223a;
  --bg-glass: rgba(11, 15, 23, 0.88);
  --bg-badge: rgba(59, 130, 246, 0.15);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-focus: #3b82f6;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 14px 30px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 22px 42px rgba(0, 0, 0, 0.65);

  --glow-hero: radial-gradient(ellipse at 50% -20%, rgba(59, 130, 246, 0.18) 0%, rgba(14, 165, 233, 0.06) 50%, transparent 80%);

  /* 语义化微徽章色彩体系 (暗黑模式) */
  --badge-blue-bg: rgba(59, 130, 246, 0.15);
  --badge-blue-text: #60a5fa;
  --badge-blue-border: rgba(59, 130, 246, 0.3);

  --badge-purple-bg: rgba(168, 85, 247, 0.15);
  --badge-purple-text: #c084fc;
  --badge-purple-border: rgba(168, 85, 247, 0.3);

  --badge-cyan-bg: rgba(6, 182, 212, 0.15);
  --badge-cyan-text: #38bdf8;
  --badge-cyan-border: rgba(6, 182, 212, 0.3);

  --badge-amber-bg: rgba(245, 158, 11, 0.15);
  --badge-amber-text: #fbbf24;
  --badge-amber-border: rgba(245, 158, 11, 0.3);

  --badge-emerald-bg: rgba(16, 185, 129, 0.15);
  --badge-emerald-text: #34d399;
  --badge-emerald-border: rgba(16, 185, 129, 0.3);

  /* 表单与互动组件 (暗黑模式) */
  --input-bg: #0f1523;
  --input-bg-focus: #141c2f;
  --input-placeholder: #64748b;
  --feedback-success-bg: rgba(16, 185, 129, 0.14);
  --feedback-success-text: #34d399;
  --feedback-success-border: rgba(16, 185, 129, 0.35);
  --timeline-line: rgba(255, 255, 255, 0.12);

  /* 底部 CTA 区域 (暗黑模式: 深邃夜空蓝卡片，高端科技质感) */
  --cta-bg: linear-gradient(135deg, #131b2e 0%, #1e293b 100%);
  --cta-border: rgba(255, 255, 255, 0.12);
  --cta-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.5);
  --cta-title: #ffffff;
  --cta-subtitle: #cbd5e1;
  --cta-badge-bg: rgba(56, 189, 248, 0.12);
  --cta-badge-border: rgba(56, 189, 248, 0.25);
  --cta-badge-text: #38bdf8;
  --cta-badge-dot: #38bdf8;
  --cta-btn-bg: #38bdf8;
  --cta-btn-text: #0f172a;
  --cta-btn-border: #38bdf8;
  --cta-btn-hover: #7dd3fc;
  --cta-btn-shadow: 0 8px 24px -4px rgba(56, 189, 248, 0.4);
  --cta-meta-text: #94a3b8;
  --cta-meta-border: rgba(255, 255, 255, 0.08);
  --cta-meta-link: #38bdf8;
  --cta-top-glow: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);

  /* 全站页脚 Footer (暗黑模式: 深邃现代科技夜空) */
  --footer-bg: #070a10;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-brand-title: #ffffff;
  --footer-brand-desc: #94a3b8;
  --footer-heading: #f8fafc;
  --footer-link: #94a3b8;
  --footer-link-hover: #38bdf8;
  --footer-icon: #38bdf8;
  --footer-bottom-border: rgba(255, 255, 255, 0.08);
  --footer-bottom-text: #64748b;
  --footer-bottom-link: #94a3b8;
  --footer-bottom-link-hover: #ffffff;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

/* 顶部环境光晕 */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 480px;
  background: var(--glow-hero);
  pointer-events: none;
  z-index: 0;
  transition: background var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 容器规范 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

/* 辅助排版类 */
.text-white { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }

/* 现代标准按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--border-hover);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}

/* 顶部导航 (纯白磨砂玻璃，晶莹通透) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-badge-icon {
  width: 30px;
  height: 30px;
  fill: #2563eb; /* 亮色模式：品牌科技蓝 */
  display: block;
  transition: fill var(--transition);
}

[data-theme="dark"] .brand-badge-icon {
  fill: #ffffff; /* 暗黑模式：纯白高穿透 */
}

/* 页脚完全统一，不再有独立的方块背景与颜色冲突 */
.footer-brand .brand-badge {
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-brand .brand-badge-icon {
  fill: #2563eb;
  transition: fill var(--transition);
}

[data-theme="dark"] .footer-brand .brand-badge-icon {
  fill: #ffffff;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-left: 6px;
}

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

.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--transition);
  position: relative;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* 明暗模式切换按钮 */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color var(--transition);
}

.theme-toggle:hover svg {
  transform: rotate(20deg) scale(1.08);
}

/* 亮色模式下显示月亮图标，隐藏太阳图标 */
:root .theme-toggle .sun-icon,
[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}
:root .theme-toggle .moon-icon,
[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

/* 暗黑模式下显示太阳图标，隐藏月亮图标 */
[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
  color: #fbbf24;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-toggle:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* 移动端抽屉菜单 */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  max-width: 82vw;
  height: 100vh;
  background: var(--bg-card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.mobile-theme-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.mobile-theme-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav-links .nav-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.mobile-nav-links .nav-link.active {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 首页 Hero 区域 (通透、大气、商务尊贵) */
.hero-section {
  padding-top: calc(var(--header-height) + 55px);
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-tag span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
  box-shadow: 0 0 6px var(--emerald);
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.6px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px auto;
  line-height: 1.75;
}

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

/* 核心原则条 (立体卡片条) */
.principles-bar {
  margin-top: 55px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.principle-item {
  text-align: center;
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.principle-item:hover {
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.principle-item:last-child {
  border-right: none;
}

.principle-stat {
  font-size: 1.7rem;
  font-weight: 850;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  font-feature-settings: "tnum";
}

.principle-title {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 4px;
}

.principle-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 章节规范 */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.section-description {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 业务卡片 (Clean Modern Card Grid) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 26px;
}

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

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

.card-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* 语义化微徽章系统 (双模式自适应) */
.card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border: 1px solid var(--badge-blue-border);
  margin-bottom: 18px;
  width: fit-content;
  transition: all var(--transition);
}

.card-badge.badge-blue {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border-color: var(--badge-blue-border);
}

.card-badge.badge-purple {
  background: var(--badge-purple-bg);
  color: var(--badge-purple-text);
  border-color: var(--badge-purple-border);
}

.card-badge.badge-cyan {
  background: var(--badge-cyan-bg);
  color: var(--badge-cyan-text);
  border-color: var(--badge-cyan-border);
}

.card-badge.badge-amber {
  background: var(--badge-amber-bg);
  color: var(--badge-amber-text);
  border-color: var(--badge-amber-border);
}

.card-badge.badge-emerald {
  background: var(--badge-emerald-bg);
  color: var(--badge-emerald-text);
  border-color: var(--badge-emerald-border);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* 业务卡片技术栈标签 */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.card-item:hover .tag-pill {
  border-color: var(--primary-border);
  color: var(--text-secondary);
}

.card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--primary);
  margin-top: 16px;
  transition: gap var(--transition);
}

.card-footer-link:hover {
  color: var(--primary-hover);
  gap: 9px;
}

.card-footer-link svg {
  width: 15px;
  height: 15px;
}

.card-list {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: auto;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.card-list li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* 合作流程 (4步敏捷) */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.flow-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.flow-step {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.flow-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
}

.flow-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 常见问题手风琴 */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 24px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* 底部 CTA 区域 (双模式适配：亮色通透优雅高质感，暗黑深邃夜空科技感) */
.cta-box {
  position: relative;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  box-shadow: var(--cta-shadow);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--cta-title);
  transition: all var(--transition);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--cta-top-glow);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--cta-badge-bg);
  border: 1px solid var(--cta-badge-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cta-badge-text);
  margin-bottom: 22px;
  transition: all var(--transition);
}

.cta-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta-badge-dot);
  box-shadow: 0 0 8px var(--cta-badge-dot);
}

.cta-title {
  font-size: clamp(1.7rem, 2.9vw, 2.3rem);
  font-weight: 800;
  color: var(--cta-title);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.3;
  transition: color var(--transition);
}

.cta-subtitle {
  font-size: 1.02rem;
  color: var(--cta-subtitle);
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
  transition: color var(--transition);
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  font-size: 1rem;
  font-weight: 650;
  background: var(--cta-btn-bg);
  color: var(--cta-btn-text);
  border-color: var(--cta-btn-border);
  border-radius: var(--radius-md);
  box-shadow: var(--cta-btn-shadow);
  transition: all var(--transition);
}

.cta-btn:hover {
  background: var(--cta-btn-hover);
  border-color: var(--cta-btn-hover);
  color: var(--cta-btn-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn svg {
  transition: transform 0.2s ease;
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

.cta-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--cta-meta-text);
  padding-top: 18px;
  border-top: 1px solid var(--cta-meta-border);
  transition: all var(--transition);
}

.cta-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--cta-badge-dot);
}

.cta-meta-item a {
  color: var(--cta-meta-link);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.cta-meta-item a:hover {
  text-decoration: underline;
}

.cta-meta-divider {
  color: var(--cta-meta-border);
}

/* 全站规范页脚 (双模式自适应：亮色为通透清爽浅灰，暗黑为深邃现代夜空) */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 64px 0 28px 0;
  font-size: 0.9rem;
  color: var(--footer-link);
  transition: background var(--transition), border-color var(--transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand-name {
  color: var(--footer-brand-title);
  transition: color var(--transition);
}

.footer-brand p {
  color: var(--footer-brand-desc);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 320px;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--footer-heading);
  margin-bottom: 16px;
  transition: color var(--transition);
}

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

.footer-col ul li a {
  color: var(--footer-link);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--footer-link-hover);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--footer-link);
  margin-bottom: 10px;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--footer-icon);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--footer-bottom-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--footer-bottom-text);
  font-size: 0.84rem;
  transition: border-color var(--transition), color var(--transition);
}

.footer-bottom a {
  color: var(--footer-bottom-link);
  transition: color var(--transition);
}

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

/* 回到顶部按钮 */
.back-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 999;
}

.back-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.back-top-btn svg {
  width: 18px;
  height: 18px;
}

/* 内页头部 */
.page-header {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 44px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.breadcrumb-separator {
  color: #94a3b8;
  font-weight: 500;
  user-select: none;
}

.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}

/* 404 错误页 */
.error-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: clamp(5.5rem, 13vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

/* 价值观 4 宫格自适应系统 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* 信任背书卡片 */
.trust-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

/* 表单组件 */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.94rem;
  transition: all var(--transition);
  outline: none;
}

.form-control::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

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

[data-theme="dark"] .form-control:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-main);
}

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

/* 表单反馈卡片 (自适应双模式) */
.form-feedback-msg {
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--feedback-success-bg);
  border: 1px solid var(--feedback-success-border);
  border-radius: var(--radius-md);
  color: var(--feedback-success-text);
  font-size: 0.92rem;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
  transition: all var(--transition);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-text h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 4px;
}

.info-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 团队历程时间轴 (精致卡片化，完美适配暗黑/亮色) */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0 10px 32px;
  border-left: 2px solid var(--timeline-line);
  transition: border-color var(--transition);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-body);
  box-shadow: 0 0 0 2px var(--primary);
  transition: border-color var(--transition);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 8px;
}

/* 响应式断点适配 */
@media (max-width: 992px) {
  .principles-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .principle-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .principle-item:nth-child(3),
  .principle-item:nth-child(4) {
    border-bottom: none;
  }
  
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .section {
    padding: 55px 0;
  }
  
  .principles-bar {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  
  .principle-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 6px;
  }
  
  .principle-item:last-child {
    border-bottom: none;
  }
  
  .flow-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-box {
    padding: 38px 22px;
  }
}
