/* ============================================
   style.css —— 川沛科技官网首页样式
   设计语言：现代科技蓝 + 深色 Hero + 卡片化
   ============================================ */

/* ---------- 基础变量与重置 ---------- */
:root {
  --primary: #0a66ff;
  --primary-dark: #0846b8;
  --accent: #00d4ff;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f5f8ff;
  --border: #e5eaf3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 102, 255, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 102, 255, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 102, 255, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-block { width: 100%; text-align: center; border: none; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

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

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

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 9px;
  color: #fff;
  font-size: 18px;
}

.logo-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: #9db3d8; letter-spacing: 1px; }

/* Logo 图片（后台"公司信息"可换，空则显示默认 ✦） */
.logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-menu { display: flex; gap: 26px; }
.nav-menu a { color: #c9d6ea; font-size: 15px; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }

.nav-cta { padding: 9px 22px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, #12337a 0%, var(--dark) 55%);
  color: #fff;
  padding: 170px 0 120px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-copy { flex: 1.15; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #a5d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  color: #b9c8e2;
  max-width: 520px;
  margin-bottom: 34px;
}

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

/* Hero 装饰图形 */
.hero-visual { flex: 1; position: relative; height: 380px; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.9;
}
.orb-1 {
  width: 260px; height: 260px;
  top: 30px; left: 60px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.55), rgba(10, 102, 255, 0.15));
}
.orb-2 {
  width: 120px; height: 120px;
  top: 180px; left: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
}
.orb-3 {
  width: 70px; height: 70px;
  top: 60px; left: 330px;
  background: radial-gradient(circle, rgba(10, 102, 255, 0.8), transparent 70%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 60% 45%, #000 0%, transparent 70%);
}

/* ---------- 数据统计条 ---------- */
.stats {
  background: #fff;
  margin-top: -1px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

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

.stat-item { text-align: center; padding: 10px 0; }

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 56px; }

.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 10px 0 12px;
}

.section-head p { color: var(--text-light); font-size: 16px; }

.section-head.light h2 { color: #fff; }
.section-head.light p { color: #9db3d8; }
.section-head.light .section-kicker { color: var(--accent); }

/* ---------- 产品服务卡片 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 255, 0.3);
}

/* v6.12：设置了跳转链接的产品卡片——可点击提示 */
.card.card-link {
  cursor: pointer;
}
.card.card-link:hover h3 {
  color: var(--primary);
}

.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: var(--bg-light);
  border-radius: 14px;
  margin-bottom: 18px;
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14px; }

/* 产品卡片图片（后台"产品管理"可换，有图显示图片，无图显示图标） */
.card-img {
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light);
}
.card-img img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.card-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 核心优势（深色区） ---------- */
.why {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all 0.3s;
}

.why-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }

.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.why-card p { color: #9db3d8; font-size: 14px; }

/* ---------- 新闻动态 ---------- */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.news-item:hover { box-shadow: var(--shadow); border-color: rgba(10, 102, 255, 0.3); }

.news-date {
  flex-shrink: 0;
  width: 86px;
  text-align: center;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 10px 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.news-body h3 { font-size: 17px; margin-bottom: 6px; }
.news-body p { color: var(--text-light); font-size: 14px; }

/* ---------- 联系我们 ---------- */
.contact {
  background: var(--bg-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: 32px; margin: 10px 0 14px; }
.contact-info p { color: var(--text-light); margin-bottom: 26px; }

.contact-meta li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  font-size: 15px;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  background: #fbfdff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.form-actions { margin-top: 4px; }

.form-tip {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
  text-align: center;
}
.form-tip.ok { color: #0a9e5f; }
.form-tip.err { color: #e5484d; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--dark);
  color: #9db3d8;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand p { font-size: 14px; margin-top: 6px; }

.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 13px; width: 100%; text-align: center; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; }

/* ========== v6.7 外观主题变量（后台「外观样式」页签可覆盖；未设置时与默认设计完全一致） ========== */
:root {
  --t-title: inherit;                 /* 标题文字色（默认继承） */
  --t-body: var(--text);              /* 正文文字色 */
  --t-nav: #c9d6ea;                   /* 导航文字色 */
  --t-footer: #9db3d8;                /* 页脚文字色 */
  --t-btn-text: #ffffff;              /* 按钮文字色 */
  --bg-body: #ffffff;                 /* 页面背景 */
  --bg-header: rgba(11, 18, 32, 0.85); /* 页头/导航背景 */
  --bg-footer: var(--dark);           /* 页脚背景 */
  --card-bg: #ffffff;                 /* 卡片背景 */
  --img-bg-opacity: 1;                /* 背景/头图透明度（hero/sub-hero 背景图） */
  --img-content-opacity: 1;           /* 内容图透明度 */
  --space-block: 96px;                /* 区块间距 */
  --page-max: 1160px;                 /* 页面最大宽度 */
  --primary-rgb: 10, 102, 255;        /* 主题色 RGB（供透明阴影/浅色背景使用） */
}
body { color: var(--t-body, var(--text)); background: var(--bg-body, #ffffff); }
img { opacity: var(--img-content-opacity, 1); }
.navbar { background: var(--bg-header, rgba(11, 18, 32, 0.85)); }
.nav-menu a { color: var(--t-nav, #c9d6ea); }
.btn-primary { color: var(--t-btn-text, #ffffff); }
.card { background: var(--card-bg, #ffffff); }
.footer { background: var(--bg-footer, var(--dark)); color: var(--t-footer, #9db3d8); }
.footer-brand p, .footer-links a, .footer-copy { color: var(--t-footer, #9db3d8); }
.container { max-width: var(--page-max, 1160px); }
.section { padding: var(--space-block, 96px) 0; }
.section-head h2, .card h3, .news-body h3, .contact-info h2, .hub-card h3, .service-card h3, .support-head h3, .adv-card h3, .news-page-main h3, .contact-card h3, .contact-page-form h2 { color: var(--t-title, inherit); }

/* 背景/头图承载层：JS 把背景图写入 --hero-bg-image，透明度由 --img-bg-opacity 控制（文字不受影响） */
.hero::before, .sub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--img-bg-opacity, 1);
  pointer-events: none;
}
.hero .container, .sub-hero .container { position: relative; z-index: 1; }

/* 按钮风格（html.btn-outline / html.btn-soft，由主题脚本按后台配置切换） */
html.btn-outline .btn-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}
html.btn-outline .btn-primary:hover { background: rgba(var(--primary-rgb), 0.08); }
html.btn-soft .btn-primary {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  box-shadow: none;
}
html.btn-soft .btn-primary:hover { background: rgba(var(--primary-rgb), 0.2); }

/* 卡片悬浮效果（html.hover-scale / html.hover-shadow） */
html.hover-scale .card:hover, html.hover-scale .news-item:hover, html.hover-scale .hub-card:hover, html.hover-scale .service-card:hover, html.hover-scale .adv-card:hover, html.hover-scale .support-item:hover { transform: translateY(-6px) scale(1.02); }
html.hover-shadow .card:hover, html.hover-shadow .news-item:hover, html.hover-shadow .hub-card:hover, html.hover-shadow .service-card:hover, html.hover-shadow .adv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(var(--primary-rgb), 0.2); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 38px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .nav-menu {
    position: fixed;
    top: 68px; right: 0;
    flex-direction: column;
    background: var(--dark-2);
    padding: 20px 30px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 560px) {
  .cards-grid, .why-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .news-item { flex-direction: column; }
  .section { padding: 70px 0; }
}

/* ============================================
   产品中心子页样式
   ============================================ */

/* 导航当前页高亮 */
.nav-menu a.active { color: #fff; font-weight: 600; }
.nav-menu a.active::after { content: ""; display: block; height: 2px; background: var(--accent); border-radius: 2px; margin-top: 2px; }

/* 子页 Hero */
.sub-hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #12337a 0%, var(--dark) 60%);
  color: #fff;
  text-align: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.sub-hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin: 14px 0 16px;
  background: linear-gradient(90deg, #fff, #a5d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-hero p { color: #b9c8e2; font-size: 17px; }

/* 软件下载提示条 */
.prod-note {
  max-width: 860px;
  margin: -30px auto 40px;
  text-align: center;
  background: var(--bg-light);
  border: 1px dashed rgba(10, 102, 255, 0.35);
  border-radius: 10px;
  padding: 12px 18px;
  color: var(--text-light);
  font-size: 14px;
}

/* 软件卡片 */
.card-software {
  border-color: rgba(0, 212, 255, 0.4);
  display: flex;
  flex-direction: column;
}

.card-software .card-icon {
  background: linear-gradient(135deg, rgba(10, 102, 255, 0.12), rgba(0, 212, 255, 0.12));
}

/* 软件元信息（版本/大小/平台） */
.prod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 18px;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

.prod-meta b { color: var(--text); font-weight: 600; }

/* 下载按钮 */
.btn-download {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(10, 102, 255, 0.3);
}

.btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 102, 255, 0.4); }

/* 底部 CTA 条 */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}

.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }

@media (max-width: 560px) {
  .sub-hero h1 { font-size: 34px; }
  .prod-note { margin-top: -16px; }
}

/* ============================================
   首页板块入口
   ============================================ */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.hub-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 255, 0.35);
}

.hub-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(10, 102, 255, 0.1), rgba(0, 212, 255, 0.12));
  border-radius: 14px;
  margin-bottom: 18px;
}

.hub-card h3 { font-size: 19px; margin-bottom: 10px; }
.hub-card p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }

.hub-more {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

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

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

/* ============================================
   服务支持独立页
   ============================================ */

.service-page { background: #fff; }

.service-intro {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 255, 0.3);
}

.service-img { margin: -28px -24px 22px; }
.service-img img { width: 100%; height: 150px; object-fit: cover; }

.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: var(--bg-light);
  border-radius: 16px;
}

.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 14px; }

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

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

/* ============================================
   服务支持页：文档 / 软件更新包（搜索 + 分类 + 下载列表）
   ============================================ */

.support-toolbar { max-width: 640px; margin: 0 auto 26px; }

.support-search {
  width: 100%;
  padding: 14px 22px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.support-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 102, 255, 0.12); }

.support-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.support-tab {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.support-tab span { color: var(--text-light); font-weight: 400; font-size: 13px; }
.support-tab:hover { border-color: rgba(10, 102, 255, 0.4); }
.support-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
}
.support-tab.active span { color: rgba(255, 255, 255, 0.85); }

.support-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: all 0.25s;
}
.support-item:hover { box-shadow: var(--shadow); border-color: rgba(10, 102, 255, 0.3); }

.support-main { flex: 1; min-width: 0; }

.support-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

.support-icon { font-size: 24px; line-height: 1; }

.support-head h3 { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.support-badge {
  flex-shrink: 0;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.badge-doc { background: #e8f0ff; color: #0a66ff; }
.badge-pc { background: #eafaf1; color: #0a9e5f; }
.badge-app { background: #fff3e6; color: #e07b00; }

.support-desc { color: var(--text-light); font-size: 14px; margin-bottom: 10px; }

.support-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--text-light); }
.support-meta span::before { content: "· "; color: var(--primary); font-weight: 700; }

.support-btn { width: auto; padding: 11px 30px; margin-top: 0; flex-shrink: 0; }

.support-nofile {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-light);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}

@media (max-width: 640px) {
  .support-item { flex-direction: column; align-items: stretch; }
  .support-btn { width: 100%; }
  .support-head h3 { white-space: normal; }
}

/* ============================================
   核心优势独立页
   ============================================ */

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

.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 255, 0.3);
}

.adv-img { margin: -28px -24px 22px; }
.adv-img img { width: 100%; height: 150px; object-fit: cover; }

.adv-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: var(--bg-light);
  border-radius: 16px;
}

.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--text-light); font-size: 14px; }

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

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

/* ============================================
   新闻动态独立页
   ============================================ */

.news-page-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-page-item {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s;
}

.news-page-item:hover { box-shadow: var(--shadow); border-color: rgba(10, 102, 255, 0.3); }

.news-page-img {
  flex-shrink: 0;
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light);
}

.news-page-img img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.news-page-main { flex: 1; }

.news-page-date {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.news-page-main h3 { font-size: 18px; margin-bottom: 8px; }

.news-page-summary { color: var(--text-light); font-size: 14px; }

.news-page-full {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.news-page-toggle {
  margin-top: 12px;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 640px) {
  .news-page-item { flex-direction: column; }
  .news-page-img { width: 100%; }
  .news-page-img img { height: 160px; }
}

/* ============================================
   联系我们独立页
   ============================================ */

.contact-page { background: #fff; }

.contact-intro {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.contact-card {
  text-align: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  transition: all 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 102, 255, 0.3);
}

.contact-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card p { color: var(--primary); font-weight: 600; font-size: 14px; word-break: break-all; }

.contact-page-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-page-form h2 { text-align: center; font-size: 26px; margin-bottom: 8px; }
.contact-page-form > p { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 28px; }

/* 留言表单字段提示（"请描述您的需要"独立一行，与标题/输入框分行不重叠） */
.contact-page-form .field-label {
  display: block;
  margin: 2px 0 6px;
  font-size: 13px;
  color: var(--text-light);
}
.contact-page-form .field-label em { color: #e5484d; font-style: normal; }

/* 留言输入框：宽度较上一版（1100px）缩小一半，卡片内居中 */
.contact-page-form #formMessage {
  display: block;
  width: 550px;
  max-width: 100%;
  margin: 0 auto;
  resize: vertical;
}
@media (max-width: 760px) {
  .contact-page-form #formMessage {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

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

@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-page-form { padding: 26px 20px; }
}

/* 空状态提示 */
.empty-tip {
  text-align: center;
  color: var(--text-light);
  padding: 40px 0;
}

/* v5.0：前台语言切换按钮 */
.lang-switch {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  cursor: pointer; margin-left: 10px; white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.lang-switch:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.45); }

/* ===== v5.4 滚动浮现动画（reveal.js 配合使用） ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ========== v6.8 科技感增强（跟随后台主题变量，不影响默认配色） ========== */
/* 首页首屏：光晕 + 机理网格 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(10, 102, 255, 0.18), transparent 52%);
}
.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(10, 102, 255, 0.2), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 52px 52px, 52px 52px;
}

/* 标题发光（渐变文字用 drop-shadow 跟随字形） */
.hero h1, .sub-hero h1 {
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.35)) drop-shadow(0 4px 30px rgba(10, 102, 255, 0.25));
}

/* 首屏徽标粉包：增加背景与发光 */
.hero-badge {
  background: rgba(0, 212, 255, 0.07);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.18), inset 0 0 12px rgba(0, 212, 255, 0.08);
}

/* 导航头部光条 */
.navbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.75), transparent);
  pointer-events: none;
}

/* 按钮：渐变 + 发光（主题的描边/浅填风格优先级更高，不受影响） */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), 0.5);
}

/* 卡片：悬停扫光 + 发光边框 */
.card, .hub-card, .service-card, .adv-card { overflow: hidden; }
.card::before, .hub-card::before, .service-card::before, .adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.card:hover::before, .hub-card:hover::before, .service-card:hover::before, .adv-card:hover::before { left: 130%; }
.card:hover, .hub-card:hover, .service-card:hover, .adv-card:hover {
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.2), 0 18px 46px rgba(var(--primary-rgb), 0.16);
}

/* 图标容器轻微发光 */
.card-icon, .hub-icon {
  box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.15);
}

/* 分区引导标语发光 */
.section-kicker { text-shadow: 0 0 14px rgba(var(--primary-rgb), 0.45); }

/* 统计数字发光 */
.stat-value { text-shadow: 0 0 18px rgba(var(--primary-rgb), 0.3); }

/* 光球加强 */
.orb-1 { box-shadow: 0 0 60px rgba(0, 212, 255, 0.35); }
.orb-3 { box-shadow: 0 0 34px rgba(10, 102, 255, 0.6); }

/* CTA 横幅光晕 */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.18), transparent 50%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }

/* 全局细节：选中文字 + 滚动条 */
::selection { background: rgba(var(--primary-rgb), 0.28); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d1424; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 8px;
  border: 2px solid #0d1424;
}

/* ========== v6.9 动态效果增强（图片轮换过渡 + 动效动画，兼容后台主题） ========== */
/* 首屏背景图轮换淡入（配合 lang.js 轮换脚本） */
.hero::before, .sub-hero::before { transition: opacity .6s ease; }
.hero.bg-fade::before, .sub-hero.bg-fade::before { opacity: .5; }

/* 标题渐变色流动 */
.hero h1, .sub-hero h1 {
  background-size: 200% 100%;
  animation: heroGradFlow 9s ease-in-out infinite alternate;
}
@keyframes heroGradFlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* 首屏光晕呼吸 */
.hero::after, .sub-hero::after { animation: heroGlowBreathe 6s ease-in-out infinite; }
@keyframes heroGlowBreathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

/* 光球浮动 */
.orb-1 { animation: orbFloat 7s ease-in-out infinite; }
.orb-2 { animation: orbFloat 9s ease-in-out 1.2s infinite; }
.orb-3 { animation: orbFloat 5.5s ease-in-out .6s infinite; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* 默认主按钮发光呼吸（描边/浅填主题不触发） */
html:not(.btn-outline):not(.btn-soft) .btn-primary { animation: btnGlowPulse 3s ease-in-out infinite; }
@keyframes btnGlowPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(var(--primary-rgb), .35); }
  50% { box-shadow: 0 8px 34px rgba(var(--primary-rgb), .55); }
}

/* 系统开启“减弱动态效果”时关闭以上动画 */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .sub-hero h1, .hero::after, .sub-hero::after,
  .orb-1, .orb-2, .orb-3,
  html:not(.btn-outline):not(.btn-soft) .btn-primary {
    animation: none !important;
  }
}

/* ============================================
   v6.13 手机端适配优化（覆盖全部手机型号）
   ============================================ */

/* iOS Safari：输入框/下拉字号 <16px 时聚焦会自动放大页面 —— 统一提为 16px */
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px; }
}

/* 首页首屏 / 子页头图：手机减小顶部留白、标题按屏宽梯度缩小 */
@media (max-width: 640px) {
  .hero { padding: 116px 0 72px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; margin-bottom: 26px; }
  .hero-inner { gap: 0; }
  .sub-hero { padding: 112px 0 56px; }
  .sub-hero h1 { font-size: 30px; }
  .sub-hero p { font-size: 15px; }
  .section { padding: 56px 0; }
  .cta-band { padding: 46px 20px; }
  .cta-band h2 { font-size: 24px; }
  .btn { padding: 11px 22px; font-size: 15px; }
  .container { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 27px; }
  .sub-hero h1 { font-size: 26px; }
  .stats-grid { gap: 12px; }
  .hub-card, .card, .adv-card, .service-card { padding: 24px 18px; }
  .card-tag { top: 14px; right: 14px; }
}

/* 手机端导航菜单：全屏覆盖 + 可滚动 + 点击区加大 */
@media (max-width: 900px) {
  .nav-menu {
    top: 0;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    padding: 88px 32px 40px;
    overflow-y: auto;
    background: rgba(11, 18, 32, 0.98);
  }
  .nav-menu a { font-size: 17px; padding: 10px 0; }
  .nav-toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* 服务支持页：分类按钮手机加大、可换行（点击目标更易触达） */
@media (max-width: 560px) {
  .support-tabs { flex-wrap: wrap; gap: 8px; }
  .support-tab { flex: 1 1 45%; padding: 11px 8px; font-size: 14px; }
  .support-search { font-size: 16px; }
  .service-intro { font-size: 15px; }
}

/* 联系表单：手机全宽输入 + 缩小内边距 */
@media (max-width: 640px) {
  .contact-page-form { padding: 24px 16px; }
  .contact-page-form input,
  .contact-page-form textarea,
  .contact-page-form button[type="submit"] { width: 100%; }
  .form-row { gap: 12px; }
  .contact-intro { font-size: 15px; }
}

/* 刘海屏安全区（iPhone 等）：导航与页脚避免被遮挡 */
@supports (padding: env(safe-area-inset-bottom)) {
  .navbar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ============================================
   v6.14 设备识别结果（html.is-mobile / is-tablet / is-desktop）
   ============================================ */

/* 手机端识别后：关闭重型动效（悬浮光球/光晕呼吸/标题流光/按钮脉冲），省电并保证流畅 */
html.is-mobile .orb-1,
html.is-mobile .orb-2,
html.is-mobile .orb-3,
html.is-mobile .hero::after,
html.is-mobile .sub-hero::after,
html.is-mobile .hero h1,
html.is-mobile .sub-hero h1,
html.is-mobile:not(.btn-outline):not(.btn-soft) .btn-primary {
  animation: none !important;
}

/* 手机端触摸反馈：点击瞬间给出按压效果（替代 hover，提升交互手感） */
html.is-mobile .card:active,
html.is-mobile .hub-card:active,
html.is-mobile .service-card:active,
html.is-mobile .adv-card:active,
html.is-mobile .news-item:active,
html.is-mobile .support-item:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 4px 12px rgba(10, 102, 255, 0.18);
}

/* 平板端（iPad/大屏触屏）：保留动效但缩小光球体积，避免遮挡内容 */
html.is-tablet .orb-1, html.is-tablet .orb-2, html.is-tablet .orb-3 { opacity: 0.5; }
