/* ============================================
   标衡科技官网 - 全局样式
   域名：biaoheng.top
   主体：杭州标衡科技有限公司
   ============================================ */

:root {
  --primary: #1668DC;
  --primary-dark: #0E4FAE;
  --primary-light: #E8F1FD;
  --text-main: #1A2433;
  --text-sub: #5B6B7F;
  --bg-light: #F5F8FC;
  --border: #E3EAF2;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 104, 220, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #1668DC, #3E9BFF);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
}
.brand-name { font-size: 19px; font-weight: 700; color: var(--text-main); }
.brand-sub { display: block; font-size: 11px; font-weight: 400; color: var(--text-sub); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-main); font-size: 15px; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-size: 14px;
}
.nav-cta:hover { background: var(--primary-dark); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0B2E5E 0%, #1668DC 55%, #3E9BFF 100%);
  color: #fff;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 42px; line-height: 1.35; font-weight: 700; max-width: 720px; }
.hero h1 .hl { color: #9FD0FF; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.92); max-width: 640px; margin: 18px 0 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: all .2s;
}
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #EAF3FF; text-decoration: none; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.hero-meta { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,0.78); }
.hero-meta b { color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-light); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .eyebrow {
  display: inline-block; font-size: 13px; color: var(--primary);
  background: var(--primary-light); padding: 4px 14px; border-radius: 20px;
  margin-bottom: 12px; font-weight: 600;
}
.sec-head h2 { font-size: 30px; font-weight: 700; }
.sec-head p { color: var(--text-sub); margin-top: 10px; font-size: 15px; }

/* ---------- 卡片网格 ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 22px; }
.card {
  flex: 1 1 250px; min-width: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin-bottom: 14px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--text-sub); }

/* ---------- 平台功能（勾选列表） ---------- */
.features { display: flex; flex-wrap: wrap; gap: 18px; }
.feature-item {
  flex: 1 1 240px; min-width: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.feature-item .ck {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: #E7F6EE; color: #1FA05A; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.feature-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.feature-item p { font-size: 12.5px; color: var(--text-sub); }

/* ---------- 公司介绍 ---------- */
.about-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.about-text { flex: 1 1 400px; min-width: 0; }
.about-text p { color: var(--text-sub); margin-bottom: 14px; font-size: 14.5px; }
.about-text p b { color: var(--text-main); }
.about-cards { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.about-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.about-card .k { color: var(--text-sub); font-size: 13.5px; }
.about-card .v { font-weight: 600; font-size: 14px; text-align: right; }

/* ---------- 数据指标（占位说明区） ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.stat {
  flex: 1 1 200px; min-width: 0; text-align: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 16px;
}
.stat .num { font-size: 30px; font-weight: 700; color: var(--primary); }
.stat .lab { font-size: 13px; color: var(--text-sub); margin-top: 6px; }

/* ---------- 联系 ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.contact-card {
  flex: 1 1 250px; min-width: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
}
.contact-card .icon {
  width: 44px; height: 44px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-card h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--text-sub); word-break: break-all; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0E1C31; color: rgba(255,255,255,0.72); padding: 44px 0 30px; font-size: 13px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-col { flex: 1 1 220px; min-width: 0; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col p, .footer-col li { color: rgba(255,255,255,0.72); line-height: 2; list-style: none; }
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #9FD0FF; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px; padding-top: 20px;
  text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- 法律页面 ---------- */
.page-hero { background: linear-gradient(135deg, #0B2E5E, #1668DC); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 30px; }
.page-hero p { color: rgba(255,255,255,0.85); margin-top: 8px; font-size: 14px; }
.legal { max-width: 860px; margin: 0 auto; padding: 44px 20px 70px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; }
.legal h3 { font-size: 15.5px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-sub); font-size: 14px; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal .muted { font-size: 12.5px; color: #8A98AB; }

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 29px; }
  .hero p { font-size: 15px; }
  .sec-head h2 { font-size: 24px; }
  .section { padding: 54px 0; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; padding: 12px 0; }
  .nav-toggle { display: block; }
  .about-wrap { gap: 24px; }
  .footer-grid { gap: 16px; }
}
