/* ============================================================
   上海私云 - 全局样式（对齐参考站：青蓝科技风）
   配色：主蓝 #007cc2 / 深蓝 #005b8f / 青亮 #00d4ff
   ============================================================ */
:root {
  --primary: #007cc2;
  --primary-dark: #005b8f;
  --primary-light: #4db8e6;
  --accent: #00d4ff;
  --dark: #062338;
  --dark-2: #0a3a5c;
  --text: #1f2d45;
  --text-light: #5a6b87;
  --bg-light: #f1f8fc;
  --white: #ffffff;
  --border: #dde9f2;
  --shadow: 0 10px 30px rgba(0, 124, 194, 0.10);
  --shadow-lg: 0 16px 48px rgba(6, 35, 56, 0.18);
  --radius: 14px;
  --maxw: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { letter-spacing: -.02em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #dbe7ff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 12px;
}
.section-dark .section-head .eyebrow { color: var(--accent); }
.section-head h2 { font-size: 34px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { margin-top: 14px; color: var(--text-light); font-size: 16px; }
.section-dark .section-head p { color: #9fb4d8; }

.btn {
  display: inline-block; padding: 13px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all .3s ease; text-align: center; letter-spacing: .01em;
}
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 8px 22px rgba(0,124,194,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,124,194,.42); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.tag {
  display: inline-block; padding: 4px 14px; border-radius: 30px; font-size: 12.5px;
  background: rgba(0,124,194,.08); color: var(--primary); font-weight: 500; margin: 4px 6px 0 0;
}

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(7,26,62,.08);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; transition: color .3s; }
.logo .logo-mark {
  height: 56px; width: auto; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent; padding: 0; border-radius: 0;
}
.logo .logo-mark img { height: 100%; width: auto; object-fit: contain; display: block; }
.logo small { display: block; font-size: 11px; font-weight: 400; opacity: .75; letter-spacing: 1px; line-height: 1.2; }
.site-header.scrolled .logo, .site-header.solid .logo { color: var(--dark); }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; list-style: none; }
.main-nav a {
  padding: 8px 14px; font-size: 15px; color: rgba(255,255,255,.88);
  border-radius: 8px; transition: all .25s; position: relative; white-space: nowrap;
}
.site-header.scrolled .main-nav a, .site-header.solid .main-nav a { color: var(--text); }
.main-nav a:hover { color: var(--accent); }
.site-header.scrolled .main-nav a:hover, .site-header.solid .main-nav a:hover { color: var(--primary); background: rgba(0,124,194,.06); }
.main-nav a.active { color: #fff; font-weight: 600; }
.site-header.scrolled .main-nav a.active, .site-header.solid .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--accent));
}
.nav-cta { margin-left: 14px; padding: 9px 24px !important; border-radius: 12px !important;
  background: linear-gradient(90deg, var(--primary), var(--primary-light)); color: #fff !important; font-weight: 600; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: .9; }

/* ---------- 下拉子菜单 ---------- */
.main-nav .has-dropdown { position: relative; display: flex; align-items: center; }
.main-nav .has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .85; transition: transform .25s; margin-left: 1px; }
.main-nav .has-dropdown:hover > a .caret { transform: rotate(180deg); }

.main-nav .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 188px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(7,26,62,.16);
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1100;
}
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown a {
  display: block; padding: 11px 14px; font-size: 14.5px; color: var(--text);
  border-radius: 9px; white-space: nowrap;
}
.main-nav .dropdown a:hover { background: rgba(0,124,194,.08); color: var(--primary); }

/* ---------- 移动端导航 ---------- */

.nav-toggle { display: none; width: 42px; height: 42px; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: #fff; transition: all .3s; }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero 轮播 ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #052a4a 0%, #006b9e 55%, #007cc2 120%);
  overflow: hidden; color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,212,255,.16), transparent),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(0,124,194,.28), transparent);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 80px; width: 100%; }

.hero-slides { position: relative; min-height: 340px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.hero-slide .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 40px;
  background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.35);
  color: var(--accent); font-size: 13.5px; margin-bottom: 22px;
}
.hero-slide h1 { font-size: 48px; line-height: 1.25; font-weight: 800; max-width: 720px; }
.hero-slide h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--primary-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-slide p { margin: 20px 0 34px; font-size: 17.5px; color: #b8c9e8; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots { display: flex; gap: 10px; margin-top: 56px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s; }
.hero-dots button.active { background: var(--accent); width: 52px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .stat b { font-size: 34px; font-weight: 800; color: #fff; }
.hero-stats .stat b span.unit { font-size: 18px; color: var(--accent); margin-left: 2px; }
.hero-stats .stat i { display: block; font-style: normal; font-size: 14px; color: #93a8cf; margin-top: 4px; }

/* ---------- 页面头（内页 Banner） ---------- */
.page-hero {
  position: relative; padding: 170px 0 90px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #052a4a 0%, #006b9e 60%, #007cc2 140%);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 75% 30%, rgba(0,212,255,.16), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 40px; font-weight: 800; }
.page-hero p { margin-top: 14px; color: #aec2e8; font-size: 16.5px; max-width: 680px; margin-left: auto; margin-right: auto; }
.breadcrumb { margin-top: 20px; font-size: 13.5px; color: #7f97c4; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(0,124,194,.3); }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0,124,194,.12), rgba(0,212,255,.12));
}
.card h3 { font-size: 19px; color: var(--dark); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--text-light); }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--primary); font-size: 14px; font-weight: 600; }
.card .card-link:hover { gap: 10px; }
.card .card-link::after { content: "→"; transition: transform .3s; }

/* 业务概览大卡 */
.biz-card {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 40px 32px;
  background: #fff; border: 1px solid var(--border);
  transition: all .35s ease;
}
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card .num { font-size: 42px; font-weight: 800; color: rgba(0,124,194,.14); font-family: Arial; line-height: 1; }
.biz-card h3 { font-size: 21px; color: var(--dark); margin: 12px 0 10px; }
.biz-card p { color: var(--text-light); font-size: 14.5px; }
.biz-card ul { margin-top: 16px; }
.biz-card ul li { font-size: 14px; color: var(--text); padding: 5px 0 5px 24px; position: relative; }
.biz-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------- 优势区 ---------- */
.adv-item { display: flex; gap: 20px; align-items: flex-start; }
.adv-item .adv-icon {
  flex: none; width: 54px; height: 54px; border-radius: 12px; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff;
  box-shadow: 0 8px 20px rgba(0,124,194,.3);
}
.adv-item h3 { font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.section-dark .adv-item h3 { color: #fff; }
.adv-item p { font-size: 14.5px; color: var(--text-light); }
.section-dark .adv-item p { color: #9fb4d8; }

/* ---------- 数字滚动 ---------- */
.counter-band { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: #fff; padding: 56px 0; }
.counter-band .grid-4 { text-align: center; }
.counter-band b { font-size: 42px; font-weight: 800; font-family: Arial; }
.counter-band .unit { font-size: 20px; margin-left: 2px; }
.counter-band i { display: block; font-style: normal; margin-top: 6px; font-size: 14.5px; opacity: .85; }

/* ---------- 客户/资质 logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.logo-wall .logo-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 18px; text-align: center; transition: all .3s;
}
.logo-wall .logo-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.logo-wall .logo-item .cert-icon { font-size: 30px; margin-bottom: 10px; }
.logo-wall .logo-item b { display: block; font-size: 15px; color: var(--dark); }
.logo-wall .logo-item span { font-size: 12.5px; color: var(--text-light); }

/* ---------- 行业客户 ---------- */
.industry-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.industry-strip .ind {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 22px 10px; text-align: center; transition: all .3s;
}
.industry-strip .ind:hover { background: rgba(0,212,255,.1); border-color: var(--accent); transform: translateY(-4px); }
.industry-strip .ind .ind-icon { width: 50px; height: 50px; margin: 0 auto; display: flex; align-items: center; justify-content: center; color: var(--accent); transition: transform .3s, color .3s; }
.industry-strip .ind .ind-icon svg { width: 50px; height: 50px; stroke-width: 1.5; }
.industry-strip .ind:hover .ind-icon { transform: scale(1.12); color: #fff; }
.industry-strip .ind b { display: block; margin-top: 12px; font-size: 15px; color: #fff; font-weight: 600; }

/* ---------- 案例卡 ---------- */
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all .35s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-card .case-top { padding: 28px 26px 0; }
.case-card .case-industry { display: inline-block; padding: 4px 14px; border-radius: 30px; font-size: 12.5px; font-weight: 600; background: rgba(0,124,194,.08); color: var(--primary); }
.case-card h3 { font-size: 18.5px; color: var(--dark); margin: 14px 0 8px; }
.case-card .case-body { padding: 0 26px 26px; flex: 1; }
.case-card p { font-size: 14px; color: var(--text-light); }
.case-card .case-metric { border-top: 1px dashed var(--border); padding: 16px 26px; display: flex; gap: 26px; }
.case-card .case-metric b { font-size: 22px; color: var(--primary); font-family: Arial; }
.case-card .case-metric i { display: block; font-style: normal; font-size: 12.5px; color: var(--text-light); }

/* ---------- CTA 区 ---------- */
.cta-band {
  position: relative; padding: 80px 0; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 110%);
}
.cta-band h2 { font-size: 32px; font-weight: 800; }
.cta-band p { margin: 14px auto 30px; color: #b8c9e8; max-width: 560px; }

/* ---------- 产品页 ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.tabs button {
  padding: 11px 26px; border-radius: 50px; border: 1.5px solid var(--border); background: #fff;
  font-size: 15px; color: var(--text); cursor: pointer; transition: all .3s; font-weight: 500;
}
.tabs button:hover { border-color: var(--primary); color: var(--primary); }
.tabs button.active { background: linear-gradient(90deg, var(--primary), var(--primary-light)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(0,124,194,.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.product-hero-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff;
  border-radius: var(--radius); padding: 48px; margin-bottom: 30px;
}
.product-hero-card h3 { font-size: 26px; margin-bottom: 14px; }
.product-hero-card h3 small { display: block; font-size: 13px; color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; font-weight: 500; }
.product-hero-card p { color: #a9bde2; font-size: 15px; }
.product-hero-card .ph-visual {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 26px;
}
.product-hero-card .ph-visual .row { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 14px; }
.product-hero-card .ph-visual .row:last-child { border-bottom: none; }
.product-hero-card .ph-visual .row b { color: var(--accent); font-weight: 600; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-list .feat {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  display: flex; gap: 14px; transition: all .3s;
}
.feature-list .feat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feature-list .feat .fi { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(0,124,194,.1); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.feature-list .feat b { display: block; font-size: 15.5px; color: var(--dark); margin-bottom: 4px; }
.feature-list .feat span { font-size: 13.5px; color: var(--text-light); }

.scene-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.scene-chips .chip {
  padding: 9px 20px; border-radius: 40px; background: var(--bg-light);
  border: 1px solid var(--border); font-size: 14px; color: var(--text); transition: all .3s;
}
.scene-chips .chip:hover { background: rgba(0,124,194,.08); border-color: var(--primary); color: var(--primary); }

.sub-block { margin-top: 46px; }
.sub-block > h4 { font-size: 20px; color: var(--dark); margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--primary); line-height: 1.4; }

/* ---------- 解决方案页 ---------- */
.solution-block { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.solution-block.rev .sol-text { order: 2; }
.solution-block.rev .sol-visual { order: 1; }
.sol-text h3 { font-size: 26px; color: var(--dark); margin-bottom: 8px; }
.sol-text .sol-sub { color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.sol-text p { color: var(--text-light); font-size: 15px; margin-bottom: 18px; }
.sol-points li { padding: 9px 0 9px 30px; position: relative; font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.sol-points li:last-child { border-bottom: none; }
.sol-points li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.sol-points li b { color: var(--dark); }

.sol-visual {
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); border-radius: var(--radius);
  padding: 34px; color: #fff; box-shadow: var(--shadow-lg);
}
.sol-visual .sv-title { font-size: 13px; letter-spacing: 2px; color: var(--accent); text-align: center; margin-bottom: 20px; }
.arch-layer {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 13px 18px; margin-bottom: 12px; font-size: 14px; display: flex; justify-content: space-between; align-items: center;
  transition: all .3s;
}
.arch-layer:hover { background: rgba(0,212,255,.12); border-color: var(--accent); transform: translateX(6px); }
.arch-layer b { font-weight: 600; }
.arch-layer span { font-size: 12px; color: #8fa7d4; }
.arch-arrow { text-align: center; color: var(--accent); font-size: 15px; margin: 2px 0 12px; opacity: .7; }

/* ---------- 关于我们 - 时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent)); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::before {
  content: ""; position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3.5px solid var(--primary); z-index: 2; box-shadow: 0 0 0 5px rgba(0,124,194,.15);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-item .tl-year { font-size: 22px; font-weight: 800; color: var(--primary); font-family: Arial; }
.tl-item .tl-card {
  margin-top: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; box-shadow: var(--shadow); font-size: 14px; color: var(--text-light);
  transition: all .3s;
}
.tl-item .tl-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.tl-item .tl-card b { color: var(--dark); display: block; margin-bottom: 4px; font-size: 15px; }

/* ---------- 团队 / 文化 ---------- */
.culture-card { text-align: center; padding: 40px 26px; }
.culture-card .icon { margin: 0 auto 20px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff;
  border-radius: var(--radius); padding: 40px 34px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-info-card > p { color: #9fb4d8; font-size: 14px; margin-bottom: 28px; }
.ci-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ci-item:last-child { border-bottom: none; }
.ci-item .ci-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgba(0,212,255,.14); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.ci-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.ci-item span { font-size: 13.5px; color: #9fb4d8; }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; color: var(--dark); margin-bottom: 6px; }
.contact-form > p { color: var(--text-light); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-group label em { color: #f43f5e; font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--text); background: var(--bg-light);
  transition: all .3s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0,124,194,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg { display: none; margin-top: 16px; padding: 13px 18px; border-radius: 10px; font-size: 14px; }
.form-msg.ok { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.map-box {
  margin: 46px auto 0; max-width: 704px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-light); box-shadow: var(--shadow);
}
.map-box img { display: block; width: 100%; height: auto; }
.map-box figcaption {
  padding: 14px 18px; font-size: 14px; color: var(--text-light);
  border-top: 1px solid var(--border); background: #fff; text-align: center;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #8fa3c9; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo { color: #fff; margin-bottom: 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand .logo .logo-mark { height: 96px; padding: 0; background: transparent; border-radius: 0; }
.footer-brand .logo .logo-mark img { height: 96px; width: auto; }
.footer-brand .logo span { font-size: 19px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: #6b80a8; }

/* ---------- 返回顶部 ---------- */
#back-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border: none;
  font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: all .3s; z-index: 900;
  box-shadow: 0 8px 20px rgba(0,124,194,.4);
}
#back-top.show { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-4px); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .industry-strip { grid-template-columns: repeat(4, 1fr); }
  .hero-slide h1 { font-size: 38px; }
  .product-hero-card { grid-template-columns: 1fr; padding: 34px 26px; }
  .solution-block { grid-template-columns: 1fr; }
  .solution-block.rev .sol-text { order: 1; }
  .solution-block.rev .sol-visual { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* 移动端导航 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; box-shadow: 0 16px 30px rgba(7,26,62,.12);
    transform: translateY(-130%); transition: transform .35s ease; z-index: 999;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { color: var(--text) !important; padding: 14px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--primary) !important; }
  /* 移动端：下拉子菜单改为常驻展开 */
  .main-nav .has-dropdown { flex-direction: column; align-items: stretch; }
  .main-nav .has-dropdown > a { justify-content: space-between; border-bottom: 1px solid var(--border); }
  .main-nav .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: rgba(0,124,194,.04);
    padding: 4px 0 8px; min-width: 0;
  }
  .main-nav .dropdown a { padding: 11px 18px; font-size: 14px; border-bottom: none; color: var(--text-light) !important; }
  .main-nav .dropdown a:hover { background: rgba(0,124,194,.08); color: var(--primary) !important; }
  .main-nav .has-dropdown:not(.open) .dropdown { display: none; }
  .nav-cta { margin: 16px 0 0; text-align: center; border-radius: 12px !important; color: #fff !important; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 120px 20px 60px; }
  .hero-slide h1 { font-size: 30px; }
  .hero-slide p { font-size: 15.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .hero-stats .stat b { font-size: 26px; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 28px; }
  .industry-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 10px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 36px 40px; }
  .tl-item::before { left: 3px !important; right: auto !important; }
  .counter-band b { font-size: 30px; }
}


/* ============================================================
   v2 清理新增：内联样式归类 + 表单与深色区块
   ============================================================ */

/* 深色区块内的卡片（原为内联 style） */
.section-dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #9fb4d8; }
.section-dark .card:hover { background: rgba(255, 255, 255, .09); border-color: var(--accent); }

/* 间距工具类（原为内联 style） */
.tag-row { margin-top: 18px; }
.tag-list { margin-top: 8px; }
.chips-row { margin-top: 16px; }
.sol-cta { margin-top: 18px; }
.tag-flag { margin-left: 8px; }
.btn-block { width: 100%; }

/* 表单蜜罐：对真人不可见（用 clip 方式，避免 left:-9999px 撑出横向滚动条） */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 表单下方的备用联系方式 */
.form-alt { margin-top: 14px; font-size: 13.5px; color: var(--text-light); text-align: center; }
.form-alt a { color: var(--primary); }
.form-alt a:hover { text-decoration: underline; }

/* 提交中状态 */
.btn:disabled { opacity: .65; cursor: not-allowed; }

/* 联系方式卡片内的链接 */
.ci-item a { color: var(--primary-light); }
.ci-item a:hover { text-decoration: underline; }

/* ---------- 首页「合作伙伴」Logo 卡片排版（Peter 2026-11-09 前端规范） ----------
   固定高度 Logo 容器 + Flex 绝对居中；统一 max 缩放规则；卡片 space-between + 等高。
   独立类名，不影响 about 页的 .logo-wall。 */
/* minmax(0,1fr) 防止 img 的固有宽度把网格列撑开（窄屏会撑出横向滚动） */
/* 2026-11-09 Peter：8 个图标以当前尺寸为基准按同一比例小幅等比放大。
   单一变量保证 8 图严格同比例、彼此相对大小关系不变；transform 为纯视觉、不参与文档流，
   故 64px 容器、卡片高度、文字基线、内距/间距、颜色、文字、交互与其它区域完全不受影响。
   不用「改 max-width/max-height 数值」是因为窄屏 img 由 max-width:100% 决定实际宽度，
   改上限不生效，会造成桌面放大而手机不变；transform 在所有视口都严格等比。 */
.partner-wall { --partner-zoom: 1.16; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partner-wall .partner-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 20px; text-align: center; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  transition: all .3s;
}
.partner-wall .partner-item:hover {
  border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px);
}
/* 固定 64px 高 Logo 容器：绝对水平 + 垂直居中，消除各图高度差造成的蓝色文字基线漂移 */
.partner-wall .partner-logo {
  width: 100%; height: 64px; min-width: 0;
  display: flex; align-items: center; justify-content: center;
}
/* 8 个标识统一缩放：HTML 不再写死 width/height，全部由 CSS 等比 contain 约束 */
.partner-wall .partner-item img {
  max-height: 44px; max-width: 155px;
  width: auto; height: auto;
  object-fit: contain; object-position: center; display: block;
  transform: scale(var(--partner-zoom)); transform-origin: center center;
}
/* 锐捷 / 中兴：宽幅大字号标识，单独压低视觉体量，与深信服、ZStack 保持均衡 */
.partner-wall .partner-item:nth-child(2) img,
.partner-wall .partner-item:nth-child(3) img { max-height: 34px; max-width: 140px; }
/* Veeam：实心绿底色块。8 张源图均为 900×200 统一画布，155px 宽时高度只有 34.4px，
   单靠 max-height:40px 不会命中，故同时限 max-width:140px 让「压低实心面积」真正生效 */
.partner-wall .partner-item:nth-child(8) img { max-height: 40px; max-width: 140px; }
/* 资质文字：固定最小高度 + column flex 垂直居中，保证同行文字严格同一水平基线；
   与 Logo 容器保持固定 16px 间距 */
.partner-wall .partner-item span {
  margin-top: 16px; min-height: 40px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--primary); line-height: 1.5;
}
@media (max-width: 992px) {
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-wall .partner-item { padding: 18px 10px; }
  /* 极窄屏卡片内容宽不足 155px：Logo 等比收敛到容器宽，避免有效图形越界被裁；
     桌面端仍严格执行 155px / 140px 上限，不受此响应式规则影响。 */
  .partner-wall .partner-item img,
  .partner-wall .partner-item:nth-child(2) img,
  .partner-wall .partner-item:nth-child(3) img,
  .partner-wall .partner-item:nth-child(8) img { max-width: 100%; }
  .partner-wall .partner-item span { font-size: 11.5px; }
}

/* 2026-11-09 Peter：仅放大首页「合作伙伴」板块第 4 个标识（云轴科技 ZStack）。
   transform 为纯视觉等比缩放：不参与文档流，不改变卡片、网格、整段或其余 7 个标识的几何；
   object-fit: contain 保持不变，宽高比与清晰度不变、不裁剪、不拉伸。
   作用域 .partner-wall 仅存在于 index.html，故不会触及产品页 vendor-c-zstack.png、
   关于页 cert-zstack.jpg 等其它位置的云轴标识。 */
/* 云轴保留上一轮额外 1.3 倍：与统一放大串联相乘（1.16 × 1.3 = 1.508），
   8 图之间以及云轴相对其它图的视觉关系均保持不变。 */
.partner-wall .partner-item:nth-child(4) { overflow: hidden; }
.partner-wall .partner-item:nth-child(4) img {
  transform: scale(var(--partner-zoom)) scale(1.3);
  transform-origin: center center;
  pointer-events: none;
}

/* ---------- 产品页「产品矩阵与厂商定位」视觉重设计（Peter 2026-10-26，v1.8） ----------
   2×2 等宽等高网格；卡片统一圆角/描边/内距；Logo 统一数值规则约束，不靠目测微调。 */
.sub-block > h4.pm-title {
  font-size: 24px; font-weight: 700; color: var(--dark);
  line-height: 1.4; margin-bottom: 22px;
  padding-left: 14px; border-left: 4px solid var(--primary);
}
.pm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pm-card {
  background: #fff;
  border: 1px solid #E8ECF2;
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column;
}
.pm-logo {
  height: 56px;
  display: flex; align-items: center;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.pm-logo img {
  max-height: 40px; max-width: 200px;
  object-fit: contain;
  width: auto; height: auto;
  display: block;
}
/* ZStack：显示高 44px（Peter 2026-10-27：48px 偏大，缩小一点；位置不动）。
   源图「AI生态」徽标已在 make_vendors_cloud.py 预裁，三角标左缘=画布左缘，
   logo 左缘与下方 h3「ZStack」的 Z 天然左对齐，无需 margin 位移。 */
.pm-logo img[src*="vendor-c-zstack"] {
  max-height: 44px;
}
/* 深信服/SmartX（业务云）：Peter 2026-10-31 再稍微放大一点（墨迹 38.5→42px，+9%），
   紧凑画布（make_vendors_cloud.py TIGHT_CANVAS）+ 专属 max-height；
   键在 vendor-c-* 前缀，桌面云 vendor-sangfor.png 不受影响 */
.pm-logo img[src*="vendor-c-sangfor"],
.pm-logo img[src*="vendor-c-smartx"] {
  max-height: 42px;
}
/* 云宏/浪潮 组合标：Peter 2026-10-28 两枚缩小一点（winhong 墨迹 44→38px），
   顶锚定不变（winhong 墨迹顶仍与 ZStack 同线，向下收）；浪潮 logo 与「云宏」
   文字水平对齐，inspur p 降部拖尾伸出画布底，故 img 高 51px（画布 736×102 半尺寸）；
   组合较宽放宽 max-width */
.pm-logo img[src*="vendor-c-winhong-inspur"] {
  max-height: 51px;
  max-width: 480px;
}
.pm-card h3 {
  font-size: 20px; font-weight: 600; color: #16233B;
  line-height: 1.4;
  min-height: calc(20px * 1.4 * 2);
  margin-bottom: 12px;
}
.pm-card p {
  font-size: 15px; line-height: 1.8; color: #66748B;
  text-align: left;
  /* 固定三行正文高度：让四卡正文起始位一致、卡片整体等高 */
  min-height: calc(15px * 1.8 * 3);
  flex: 1;
}
@media (max-width: 768px) {
  .pm-grid { grid-template-columns: 1fr; }
  /* 组合标较宽（桌面 455px），移动端收缩到容器宽，避免横向溢出 */
  .pm-logo img[src*="vendor-c-winhong-inspur"] { max-width: 100%; }
}
/* ---------- about 页合作资质证书无缝滚动（2026-11-05） ---------- */
.cert-marquee {
  overflow: hidden;
  width: 100%;
  padding: 24px 0;
  cursor: pointer;
}
.cert-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: cert-scroll 40s linear infinite;
}
.cert-marquee:hover .cert-track {
  animation-play-state: paused;
}
@keyframes cert-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cert-item {
  flex-shrink: 0;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .3s;
  background: #fff;
}
.cert-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.cert-item img {
  height: 220px;
  width: auto;
  display: block;
  object-fit: contain;
  background: #fff;
}
/* 弹窗大图 */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}
.cert-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}
.cert-lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.cert-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-lightbox-close:hover { background: rgba(255,255,255,.4); }
/* ---------- 语言切换器（2026-11-05） ---------- */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  margin-left: 16px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 2px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
  line-height: 1.4;
}
.lang-switch button.active { background: #fff; color: var(--primary, #007cc2); }
.lang-switch button:hover:not(.active) { color: #fff; background: rgba(255,255,255,.15); }
.site-header.scrolled .lang-switch, .site-header.solid .lang-switch { background: rgba(0,0,0,.06); }
.site-header.scrolled .lang-switch button, .site-header.solid .lang-switch button { color: #666; }
.site-header.scrolled .lang-switch button.active, .site-header.solid .lang-switch button.active { background: var(--primary, #007cc2); color: #fff; }
@media (max-width: 992px) {
  .lang-switch { margin-left: 0; margin-top: 12px; justify-content: center; }
}
/* H5：通知未送达时的警示态（不冒充「提交成功」） */
.form-msg.warn { display: block; background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }

/* ============================================================
   2026-11-05 中优先级修复 M3 / M4 / M5
   ============================================================ */

/* M4：键盘聚焦时下拉菜单必须可见（原先只有 :hover 才 visible） */
.main-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* M4：全站可见焦点环，键盘用户能看清当前落点 */
:focus-visible { outline: 2px solid #007cc2; outline-offset: 2px; }
.cert-item:focus-visible { outline-offset: 4px; }

/* M3：证书项改为 <button> 后清掉浏览器默认按钮外观 */
.cert-item { border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }

/* M5：轮播暂停/播放按钮（样式与指示点同排，视觉保持轻量） */
.hero-dots .carousel-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 11px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 2px; padding: 0;
}
.hero-dots .carousel-toggle:hover { background: rgba(255,255,255,.34); }
.hero-dots .carousel-toggle[aria-pressed="true"] { background: rgba(255,255,255,.34); }

/* 2026-11-06 跨浏览器一致性：移除按系统「减少动态效果」降级的整块规则。
   实测（交付件/跨浏览器诊断报告_v1.0.json）：Edge 未命中该媒体查询，而
   Chrome / Firefox 命中，导致证书墙 animation:none + overflow-x:auto（变成
   手动横向滚动条）、首页轮播/粒子背景/滚动淡入同时被停掉，弹窗图高也从
   85vh 变 80vh。Peter 明确要求「所有浏览器效果与 Edge 一致」，故本站点
   不再读取 OS 动效偏好，所有浏览器、所有系统设置下渲染同一套动效。
   无障碍能力改由站点内显式控件承担（所有浏览器一致可用）：
     - 证书墙 hover 暂停（.cert-marquee:hover .cert-track）
     - Hero 轮播显式暂停/播放按钮（.carousel-toggle，WCAG 2.2.2）
     - 页面隐藏时轮播与粒子动画自动暂停
   注意：不要再在 CSS 或 JS 中引入 OS 动效偏好媒体查询分支，否则跨浏览器
   差异会回归；main() 末尾有构建硬校验。 */

/* ============================================================
   2026-11-06 低优先级 L1 / L2 / L4 / L5 / L6
   ============================================================ */

/* L1：轮播第 2/3 屏标题改用 div.hero-title，样式与 h1 完全一致。
       全站已有 * { margin:0; padding:0 }，因此换标签不改变任何几何。 */
/* 注意：全局 h1,h2,h3,h4 带 letter-spacing:-.02em，div 必须显式补上才能做到像素级一致 */
.hero-slide .hero-title { font-size: 48px; line-height: 1.25; font-weight: 800; max-width: 720px; letter-spacing: -.02em; }
.hero-slide .hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (max-width: 992px) { .hero-slide .hero-title { font-size: 38px; } }
@media (max-width: 640px) { .hero-slide .hero-title { font-size: 30px; } }

/* L2：13px eyebrow 在 #f1f8fc 上原 #007cc2 仅 4.2:1；#006fae 实测 5.04:1（达到 WCAG AA 4.5）。
       只覆盖浅色场景；.section-dark 下的 accent 规则特异性更高，不受影响。 */
.section-head .eyebrow { color: #006fae; }

/* L4：空 src 的弹窗占位图不显示，避免潜在破图标 */
.cert-lightbox-content img:not([src]) { display: none; }
/* L4：位移由 main.js 按「单组实测宽度 + gap」写入 --cert-shift，
       消除 translateX(-50%) 与 32px gap 之间的半 gap 回卷跳动。 */
@keyframes cert-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--cert-shift, 50%))); }
}

/* L5：蜜罐被自动填充时给出可辨识提示，不再静默丢弃用户提交 */
.form-msg.hp-warn { display: block; background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; }

/* L6：JS 不可用时隐藏在线表单、显示兜底说明；JS 可用时 main.js 立即移除 no-js */
.noscript-note {
  display: none; margin: 0 0 18px; padding: 16px 18px; border-radius: 10px;
  background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; line-height: 1.7;
}
.noscript-note a { color: #92400e; text-decoration: underline; }
html.no-js .noscript-note { display: block; }
html.no-js #contact-form { display: none !important; }

/* ===== 2026-11-09 A2：《隐私政策》《个人信息告知》三语页面 =====
   三份完整正文同页存放，按 <html lang> 切换显示；其余页面不受影响。
   正文容器带 data-i18n-lock，不参与字典逐节点翻译，故不存在中文残留或漏译。 */
.legal-doc { max-width: 920px; margin: 0 auto; }
.legal-block { display: none; }
html[lang="zh-CN"] .legal-block[data-lang="zh"],
html[lang="ja"] .legal-block[data-lang="ja"],
html[lang="en"] .legal-block[data-lang="en"] { display: block; }
.legal-sec { margin: 0 0 30px; }
.legal-sec h2 {
  font-size: 20px; color: var(--dark); border-left: 4px solid var(--primary);
  padding-left: 12px; margin: 0 0 14px;
}
.legal-sec h3 { font-size: 16px; color: var(--primary); margin: 22px 0 10px; }
.legal-doc p, .legal-doc li, .legal-doc dt, .legal-doc dd {
  font-size: 14px; line-height: 1.95; color: var(--text);
}
.legal-doc p { margin: 0 0 10px; }
.legal-list { margin: 0 0 12px; padding-left: 22px; }
.legal-list li { margin: 0 0 6px; }
ul.legal-list { list-style: disc; }
ol.legal-list { list-style: decimal; }
.legal-meta { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 0 0 24px; background: #fff; }
.legal-kv { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--border); }
.legal-kv:last-child { border-bottom: none; }
.legal-kv dt { background: #f4f9fc; color: #004d73; font-weight: 600; padding: 9px 14px; }
.legal-kv dd { padding: 9px 14px; }
.legal-todo { background: #fff7ed; color: #9a3412; border-radius: 3px; padding: 0 4px; }
.legal-note { background: #f4f9fc; border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.legal-doc a { color: var(--primary); text-decoration: underline; }
.form-legal-links { margin: -4px 0 16px; font-size: 13px; color: var(--text-light); }
.form-legal-links a { color: var(--primary); }
.form-legal-links a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .legal-kv { grid-template-columns: 1fr; }
  .legal-kv dt { padding-bottom: 2px; }
  .legal-sec h2 { font-size: 18px; }
}
