
:root {
  --color-primary: #3b82f6;        /* 主色：商务蓝（浅化） */
  --color-primary-dark: #4a8df8;
  --color-primary-light: #eff6ff;
  --color-navy: #2563eb;           /* banner 渐变起点：蓝 600（经靛 600 至紫 600） */
  --color-title: #1f2937;
  --color-text: #4b5563;
  --color-text-light: #78808c;
  --color-bg-soft: #f8fafc;
  --color-border: #e8edf3;
  --color-footer: #334155;         /* 页脚：浅化的蓝灰 */
  --color-danger: #ef4444;
  --color-success: #22c55e;
  --shadow-card: 0 2px 12px rgba(15, 23, 42, .04);
  --shadow-card-hover: 0 10px 28px rgba(15, 23, 42, .10);
  --radius: 8px;
  --max-width: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; vertical-align: middle; }

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

ul, ol { list-style: none; }

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

h1, h2, h3, h4 { color: var(--color-title); line-height: 1.3; }

/* ---------------- 通用 ---------------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 30px; }
.section-head p { margin-top: 12px; color: var(--color-text-light); font-size: 15px; }

.section-cta { margin-top: 44px; text-align: center; }

.about-text { max-width: 820px; margin: 0 auto; }
.about-text p { margin-bottom: 14px; }

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

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary-light); }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: var(--color-primary-light); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
/* 靛蓝实心按钮（“前往项目官网”，参照设计图） */
.btn-indigo {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
  font-weight: 600;
  min-width: 200px;
}
.btn-indigo:hover {
  background: #4338ca;
  border-color: #4338ca;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .35);
}


.cnormal-btn{
    width: 180px;
    height: 52px;
    background: #3a84fe;
    border-radius: 27px;
    display: flex;
    font-size: 17px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    text-decoration: none;margin:0 auto;
    overflow: hidden
}

.cnormal-btn:hover {
    background: #4290fe
}

/* ---------------- 顶部导航（全站共用） ---------------- */
.site-header {
  position: -webkit-sticky; /* 兼容旧版 Safari */
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--color-title); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a { font-size: 16px; color: var(--color-text); padding: 10px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 10px 9px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--color-title); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------------- 首页 banner ---------------- */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #4f46e5 50%, #9333ea 100%);
  background-size: 180% 180%;
  animation: gradientFlow 14s ease infinite;
  color: #fff;
  padding: 96px 0 80px;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 40px; }
.hero-text { max-width: 680px; margin: 18px auto 0; font-size: 17px; opacity: .92; }
.hero-actions { margin-top: 34px; }
.hero-actions .btn { margin: 0 8px; }
.hero-tags { margin-top: 46px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-tags li { font-size: 14px; }
/* banner 标签链接：胶囊按钮样式 + hover 效果 */
.hero-tags li a {
  display: block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-tags li a:hover,
.hero-tags li a:focus-visible {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .2);
}

/* ---------------- 内页 banner ---------------- */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #4f46e5 50%, #9333ea 100%);
  background-size: 180% 180%;
  animation: gradientFlow 14s ease infinite;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
/* 三行文字三级层次：标题纯白最醒目 → 副说明半透明白 → 面包屑最弱 */
.page-hero h1 { color: #fff; font-size: 32px; line-height: 1.3; }
.page-hero p { margin-top: 16px; color: rgba(255, 255, 255, .82); line-height: 1.8; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
 box-shadow:0 0 .8px rgba(38,45,61,.08),0 .8px 3.2px rgba(38,45,61,.04),0 4.8px 9.6px rgba(38,45,61,.14);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-icon {
  display: flex;
  align-items: center;   /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 12px;
  /* 蓝色渐变底 + 白色图标 */
 
  color: #fff;
}
.t1{ background: linear-gradient(135deg, #2563eb, #60a5fa);}
.t2{ background: linear-gradient(135deg, #4f46e5, #818cf8);}
.t3{ background: linear-gradient(135deg, #9333ea, #c084fc);}
.t4{ background: linear-gradient(135deg, #16a34a, #4ade80);}
.t01{ background: linear-gradient(135deg, #0891b2, #22d3ee);border-radius: 50%;}
.t02{ background: linear-gradient(135deg, #db2777, #f472b6);border-radius: 50%;}
.t03{ background: linear-gradient(135deg, #16a34a, #4ade80);border-radius: 50%;}
.card-icon svg { width: 36px; height: 36px; } /* 图标约占背景的 60% */
.card h3 { font-size: 19px; margin-bottom: 10px; text-align: center; /* 水平居中 */}
.card p { font-size: 14px; color: var(--color-text-light); margin-bottom: 18px; text-align: center;  /* 水平居中 */}

/* 产品卡片（简介 + 小程序码 + 前往项目官网按钮） */
/* 卡片内容纵向弹性排列：按钮贴底对齐，三张等高卡片中按钮处于同一水平线 */
.product-card { display: flex; flex-direction: column; }
.product-card .btn-indigo { margin-top: auto; }
/* 悬停时边框与阴影变为主题蓝 */
.product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(59, 130, 246, .45);
}
.product-card .qr {
  width: 132px; height: 132px;
  margin: 0 auto 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}


.btn-gradient1 {border:none;
  background: linear-gradient(135deg, #2563eb, #60a5fa);  /* 与 .card-icon 一致 */
  color: #fff; font-weight: 600; min-width: 200px;
}
.btn-gradient1:hover {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);  /* 悬停整段加深一档 */
  box-shadow: 0 6px 16px rgba(37, 99, 235, .4);
}

.btn-gradient2 {border:none;
  background: linear-gradient(135deg, #4f46e5, #818cf8);  /* 与 .card-icon 一致 */
  color: #fff; font-weight: 600; min-width: 200px;
}
.btn-gradient2:hover {
  background: linear-gradient(135deg, #818cf8,#4f46e5);  /* 悬停整段加深一档 */
  box-shadow: 0 6px 16px rgba(37, 99, 235, .4);
}

.btn-gradient3 {border:none;
  background: linear-gradient(135deg, #9333ea, #c084fc);  /* 与 .card-icon 一致 */
  color: #fff; font-weight: 600; min-width: 200px;
}
.btn-gradient3:hover {
  background: linear-gradient(135deg, #c084fc, #9333ea);  /* 悬停整段加深一档 */
  box-shadow: 0 6px 16px rgba(37, 99, 235, .4);
}
.qr-caption { font-size: 13px !important; margin-bottom: 18px !important; }

/* 特色列表（产品子页） */
.feature-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; color: var(--color-text); text-align: left; }
.feature-list .check { color: var(--color-primary); font-weight: 700; flex: none; }

/* ---------------- 体验入口（产品子页 CTA） ---------------- */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 48px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.cta-info h2 { font-size: 26px; margin-bottom: 12px; }
.cta-info p { color: var(--color-text-light); margin-bottom: 24px; }
.cta-qr { text-align: center; }
.cta-qr .qr {
  width: 150px; height: 150px;
  margin: 0 auto 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

/* ---------------- 资质（关于页） ---------------- */
.cert-item { text-align: center; }
.cert-item figure { margin: 0; }
.cert-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: #9ca3af;
  font-size: 14px;
}
.cert-item figcaption { margin-top: 10px; font-size: 14px; color: var(--color-text); }

/* ---------------- 表单（合作招商 / 联系我们） ---------------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-item-full { grid-column: 1 / -1; }
.form-item label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--color-title); }
.form-item .required { color: var(--color-danger); margin-left: 2px; }
.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #999; /* 清晰可见的输入框边框 */
  border-radius: 6px;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-item input::placeholder,
.form-item textarea::placeholder { color: #9ca3af; }
.form-item input:hover,
.form-item select:hover,
.form-item textarea:hover { border-color: #94a3b8; }
/* select 与 input 外观统一：去掉原生样式，自绘下拉箭头 */
.form-item select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.form-item select::-ms-expand { display: none; } /* 旧版 IE/Edge 移除原生箭头 */
/* 所在地区：省 / 市 / 区三级一行排列 */
.region-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.form-item textarea { min-height: 110px; resize: vertical; }
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}
.form-error { display: none; margin-top: 5px; font-size: 12px; color: var(--color-danger); }
.form-error.show { display: block; }
.form-actions { margin-top: 26px; text-align: center; }
.form-success {
  display: none;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--color-success);
  border-radius: 6px;
  background: #f0fdf4;
  color: var(--color-success);
  font-size: 14px;
}
.form-success.show { display: block; }
.form-tip { margin-top: 14px; font-size: 12px; color: #9ca3af; text-align: center; }

/* ---------------- 分区分隔线（板块过渡装饰） ---------------- */
.section-divider {
  position: relative;
  width: 70%;               /* 自适应屏幕宽度的 70% */
  height: 4px;
  border-radius: 4px;
  margin: 0 auto;           /* 水平居中；上下由两板块等距间距形成垂直居中 */
  background: linear-gradient(135deg, var(--color-navy) 0%, #4f46e5 50%, #9333ea 100%);
  background-size: 180% 180%;
  animation: gradientFlow 14s ease infinite;
}
/* 中央菱形：相对渐变条垂直 + 水平居中 */
.section-divider i {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;    /* 自身尺寸一半的负偏移实现精确居中 */
  background: #fff;
  border: 3px solid #4f46e5;
  border-radius: 2px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ---------------- 联系我们 ---------------- */
.contact-card { text-align: center; }
.contact-card .card-icon { margin-bottom: 14px; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { margin: 0; }

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f2f6fa 0%, #e8eef6 100%);
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
}

/* ---------------- 隐私政策 ---------------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose .update-time { margin-bottom: 8px; font-size: 14px; color: var(--color-text-light); }
.prose h2 { margin: 34px 0 12px; font-size: 20px; }
.prose p { margin-bottom: 10px; font-size: 15px; }
.prose ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; font-size: 15px; }

/* ---------------- 页脚（全站共用） ---------------- */
.site-footer { background: var(--color-footer); color: #cbd5e1; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding: 56px 0 44px;
}
.footer-col h4 { margin-bottom: 16px; color: #fff; font-size: 16px; }
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom .divider { margin: 0 10px; color: #64748b; }

/* ---------------- 动效（进入动画 / 悬停 / 滚动显现） ---------------- */

/* 导航链接下划线展开 */
.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* 按钮悬停轻浮 */
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(59, 130, 246, .35); }
.btn-outline:hover, .btn-white:hover { box-shadow: 0 6px 16px rgba(59, 130, 246, .18); }

/* 卡片图标 / 小程序码悬停微动 */
.card-icon { transition: transform .3s ease; }
.card:hover .card-icon { transform: translateY(-4px) scale(1.06); }
.qr { transition: transform .3s ease; }
.product-card:hover .qr, .cta-qr:hover .qr { transform: scale(1.03); }

/* banner 浮动圆球装饰 */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 5%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  animation: floatY 7s ease-in-out infinite;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: 7%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  animation: floatY 8s ease-in-out 1.2s infinite;
}
.hero .container, .page-hero .container { position: relative; z-index: 1; }

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

/* banner 渐变缓慢流动 */
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* banner 文案进入动画（页面加载时依次淡入上移） */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero h1 { animation: fadeUp .8s ease both; }
.hero-text { animation: fadeUp .8s ease .15s both; }
.hero-actions { animation: fadeUp .8s ease .3s both; }
.hero-tags { animation: fadeUp .8s ease .45s both; }
.page-hero .container > * { animation: fadeUp .7s ease both; }
.page-hero .container > :nth-child(2) { animation-delay: .12s; }
.page-hero .container > :nth-child(3) { animation-delay: .24s; }

/* 滚动显现：由 main.js 为元素添加 reveal 类，进入视口时淡入上移（渐进增强，无 JS 时正常显示） */
.has-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.has-js .reveal.in { opacity: 1; transform: none; }

/* 尊重系统"减弱动态效果"偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-js .reveal { opacity: 1; transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 25px; }

  /* 移动端导航（头部恢复紧凑高度） */
  .nav-toggle { display: flex; }
  .header-inner { height: 64px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px 20px 14px; }
  .main-nav li { border-bottom: 1px solid var(--color-bg-soft); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 13px 0; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 29px; }
  .hero-text { font-size: 15px; }
  .hero-actions .btn { margin: 6px 8px; }

  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: 26px; }

  .cta-panel { flex-direction: column; padding: 32px 24px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
