/* 首页 2026 SaaS 版式 —— 深藏青Hero + 悬浮统计卡 + 选项卡产品方案 + 定价卡 */

:root {
  --h-primary: #3b6cff;
  --h-primary-d: #2f5ae0;
  --h-navy: #16294d;
  --h-navy-2: #1d3560;
  --h-text: #1f2329;
  --h-text-2: #4e5969;
  --h-text-3: #86909c;
  --h-bg: #f5f7fa;
  --h-border: #e8ecf1;
  --h-font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--h-font) !important; background: #fff; color: var(--h-text); }

/* ---------- Hero ---------- */
.hero2 {
  background: linear-gradient(160deg, #14263f 0%, #1b3358 55%, #22447e 100%);
  min-height: 460px;
  position: relative;
}
.hero2 .swiper-slide { min-height: 460px; display: flex; align-items: center; justify-content: center; }
.hero2-in { text-align: center; padding: 90px 20px 80px; max-width: 900px; margin: 0 auto; }
.hero2-in h1 {
  font-size: 46px; font-weight: 700; color: #fff; letter-spacing: 4px;
  margin: 0 0 22px; font-family: var(--h-font);
}
.hero2-in p { font-size: 16px; color: rgba(255, 255, 255, .75); letter-spacing: 1px; margin: 0 0 36px; }
.hero2-btns { display: flex; gap: 16px; justify-content: center; }
.hbtn {
  display: inline-block; min-width: 132px; height: 44px; line-height: 44px;
  border-radius: 6px; font-size: 15px; font-weight: 600; padding: 0 26px;
  transition: all .2s; text-decoration: none !important;
}
.hbtn-primary {
  background: var(--h-primary); color: #fff !important;
  box-shadow: 0 6px 18px rgba(59, 108, 255, .45);
}
.hbtn-primary:hover { background: var(--h-primary-d); transform: translateY(-2px); }
.hbtn-ghost {
  background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .55);
}
.hbtn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.hero2 .swiper-pagination { bottom: 46px !important; }
.hero2 .swiper-pagination-bullet {
  width: 26px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .35); opacity: 1; margin: 0 5px !important;
}
.hero2 .swiper-pagination-bullet-active { background: #fff; }

/* ---------- 统计条 ---------- */
.stat-strip { background: var(--h-bg); padding: 40px 20px 64px; }
.stat-row {
  max-width: 1160px; margin: 0 auto; position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat-card {
  background: linear-gradient(160deg, var(--h-navy) 0%, var(--h-navy-2) 100%);
  border-radius: 10px; padding: 26px 10px 22px; text-align: center;
  box-shadow: 0 10px 26px rgba(22, 41, 77, .28);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .s-label { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 0 0 8px; }
.stat-card .s-num { font-size: 28px; font-weight: 700; color: #fff; margin: 0; font-family: var(--h-font); }

/* ---------- 通用区块 ---------- */
.sec { padding: 120px 20px 80px; max-width: 1160px; margin: 0 auto; }
.sec-gray { background: var(--h-bg); max-width: none; }
.sec-gray > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.sec-title {
  font-size: 30px; font-weight: 700; text-align: center; color: var(--h-text);
  margin: 0 0 12px; font-family: var(--h-font);
}
.sec-sub { text-align: center; color: var(--h-text-3); font-size: 14px; margin: 0 0 36px; }

/* ---------- 选项卡 ---------- */
.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--h-border); margin-bottom: 34px; }
.tabs .tab {
  padding: 10px 2px; font-size: 15px; color: var(--h-text-2); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .2s; user-select: none;
}
.tabs .tab:hover { color: var(--h-primary); }
.tabs .tab.on { color: var(--h-primary); font-weight: 600; border-bottom-color: var(--h-primary); }
.tab-panes .pane { display: none; }
.tab-panes .pane.on { display: block; }
.pane-desc { text-align: center; color: var(--h-text-3); font-size: 14px; margin: 0 0 30px; }

/* ---------- 功能卡片 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: #fff; border: 1px solid var(--h-border); border-radius: 12px;
  padding: 30px 24px 26px; text-align: center; transition: all .2s;
}
.feat-card:hover { box-shadow: 0 10px 28px rgba(31, 35, 41, .1); transform: translateY(-3px); border-color: var(--h-primary); }
.f-ico {
  width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 16px;
  background: #eaf1ff; display: flex; align-items: center; justify-content: center;
}
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--h-text); margin: 0 0 10px; font-family: var(--h-font); }
.feat-card p { font-size: 13px; color: var(--h-text-3); line-height: 1.9; margin: 0; }

/* ---------- 定价卡 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 10px; }
.price-card {
  background: #fff; border: 1px solid var(--h-border); border-radius: 12px;
  padding: 30px 28px 28px; text-align: center; position: relative; transition: all .2s;
}
.price-card:hover { box-shadow: 0 12px 30px rgba(31, 35, 41, .1); transform: translateY(-3px); }
.price-card.hot { border: 2px solid var(--h-primary); box-shadow: 0 12px 30px rgba(59, 108, 255, .18); }
.p-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--h-primary); color: #fff; font-size: 12px; padding: 3px 14px;
  border-radius: 999px; font-weight: 600;
}
.price-card h3 { font-size: 17px; font-weight: 700; color: var(--h-text); margin: 4px 0 14px; font-family: var(--h-font); }
.p-num { font-size: 34px; font-weight: 800; color: var(--h-text); margin: 0 0 18px; font-family: var(--h-font); }
.p-num i { font-style: normal; font-size: 16px; margin-right: 2px; }
.p-num em { font-style: normal; font-size: 14px; color: var(--h-text-3); font-weight: 400; }
.price-card ul {
  list-style: none; padding: 20px 0 24px; margin: 0 0 22px; text-align: left;
  border-top: 1px solid var(--h-border);
}
.price-card ul li { font-size: 14px; color: var(--h-text-2); padding: 6px 0 6px 24px; position: relative; }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 50%; margin-top: -5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #eaf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b6cff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/9px no-repeat;
}
.p-btn, .p-btn-fill {
  display: block; height: 44px; line-height: 44px; border-radius: 8px;
  font-size: 15px; font-weight: 600; transition: all .2s; text-decoration: none !important;
}
.p-btn { border: 1px solid var(--h-primary); color: var(--h-primary) !important; background: #fff; }
.p-btn:hover { background: #f0f5ff; }
.p-btn-fill { background: var(--h-primary); color: #fff !important; box-shadow: 0 6px 16px rgba(59, 108, 255, .35); }
.p-btn-fill:hover { background: var(--h-primary-d); }

/* ---------- 关于我们 ---------- */
.about-box {
  max-width: 860px; margin: 0 auto; background: var(--h-bg); border-radius: 12px;
  padding: 30px 36px; font-size: 14px; line-height: 2.1; color: var(--h-text-2); text-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero2, .hero2 .swiper-slide { min-height: 380px; }
  .hero2-in h1 { font-size: 30px; letter-spacing: 2px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .sec { padding: 50px 16px 60px; }
}
