/* ==========================================================================
   鲸米云 JINGMI CLOUD — 企业官网样式
   海口龙华鲸米网络科技工作室
   ========================================================================== */

:root {
  --ink: #0a1b33;
  --text: #24344d;
  --muted: #5d6e88;
  --line: #e3eaf4;
  --bg: #f5f9ff;
  --card: #ffffff;
  --primary: #1e6de8;
  --primary-2: #3e8bff;
  --cyan: #22c3e6;
  --teal: #2ed3b7;
  --grad: linear-gradient(135deg, #1e6de8 0%, #22c3e6 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 109, 232, 0.08), rgba(34, 195, 230, 0.08));
  --shadow-sm: 0 2px 10px rgba(12, 34, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 34, 71, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 24, 48, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --font: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", Consolas, "Courier New", monospace;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-2); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(30, 109, 232, 0.2); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(12, 34, 71, 0.06);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand .logo { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 14px rgba(30, 109, 232, 0.35); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.brand-name span { font-size: 10.5px; color: var(--muted); letter-spacing: 2.6px; }
.site-header.on-dark .brand-name b { color: #fff; }
.site-header.on-dark .brand-name span { color: rgba(255, 255, 255, 0.65); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.nav a:hover { color: var(--primary); background: rgba(30, 109, 232, 0.07); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.site-header.on-dark .nav a { color: rgba(255, 255, 255, 0.85); }
.site-header.on-dark .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-header.on-dark .nav a.active { color: #fff; }
.site-header.scrolled.on-dark .nav a,
.site-header.scrolled.on-dark .brand-name b { color: var(--text); }
.site-header.scrolled.on-dark .nav a.active { color: var(--primary); }
.site-header.scrolled.on-dark .brand-name span { color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 109, 232, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(30, 109, 232, 0.45); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-line { border-color: var(--line); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn .ext { font-size: 12px; opacity: 0.75; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: 10px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s, top 0.25s, background 0.25s;
}
.site-header.on-dark .nav-toggle span { background: #fff; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero（首页）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(34, 195, 230, 0.28), transparent 60%),
    radial-gradient(900px 520px at -10% 108%, rgba(30, 109, 232, 0.32), transparent 62%),
    linear-gradient(158deg, #07142b 0%, #0a1f42 55%, #0c2a55 100%);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 140px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 50% 32%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 480px at 50% 32%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 211, 183, 0.22);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 211, 183, 0.28); }
  50% { box-shadow: 0 0 0 7px rgba(46, 211, 183, 0.08); }
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #6db4ff 5%, #38e0ff 60%, #45f0cf 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  max-width: 540px;
  color: rgba(224, 236, 255, 0.82);
  font-size: clamp(15px, 1.3vw, 17px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 13.5px;
  color: rgba(210, 226, 250, 0.65);
}
.hero-meta li { display: flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; flex: none; }

/* Hero 插画 */
.hero-art { position: relative; }
.hero-art > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(2, 12, 30, 0.5)); }
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(3, 14, 34, 0.35);
  backdrop-filter: blur(8px);
  animation: floaty 5.2s ease-in-out infinite;
}
.float-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.float-chip .ic {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
}
.float-chip .ic svg { width: 16px; height: 16px; }
.chip-1 { top: 6%; left: -3%; animation-delay: 0s; }
.chip-2 { bottom: 16%; left: -6%; animation-delay: 1.2s; }
.chip-3 { top: 30%; right: -4%; animation-delay: 2.1s; }
.chip-4 { bottom: 2%; right: 2%; animation-delay: 0.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 波浪分隔 */
.wave { display: block; width: 100%; height: 90px; margin-top: -89px; position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   统计带
   -------------------------------------------------------------------------- */
.stats-band { padding: 30px 0 10px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat {
  padding: 30px 18px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--line);
}
.stat b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat b .unit { font-size: 0.55em; font-weight: 700; color: var(--primary); margin-left: 2px; }
.stat span { color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   通用 Section
   -------------------------------------------------------------------------- */
.section { padding: 86px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(25px, 3vw, 36px);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.section-head p { margin-top: 12px; color: var(--muted); }

/* 能力卡片 */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.card .icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 18.5px; color: var(--ink); margin-bottom: 9px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.card .tags i {
  font-style: normal;
  font-size: 12px;
  color: var(--primary);
  background: rgba(30, 109, 232, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 两列卡片变体 & 关于页布局 */
.cards-grid.cards-2 { grid-template-columns: repeat(2, 1fr); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

/* 鲸米AI 产品聚焦 */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.product-split .lead { color: var(--muted); margin: 14px 0 22px; }
.feature-list { display: grid; gap: 13px; margin: 0 0 28px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15px; }
.feature-list .ck {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(46, 211, 183, 0.14);
  color: #0da586;
  display: grid;
  place-items: center;
}
.feature-list .ck svg { width: 11px; height: 11px; }
.code-window {
  background: #0c1a33;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(94, 148, 255, 0.16);
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.code-bar .dots { display: flex; gap: 6px; }
.code-bar .dots i { width: 11px; height: 11px; border-radius: 50%; }
.code-bar .dots i:nth-child(1) { background: #ff5f57; }
.code-bar .dots i:nth-child(2) { background: #febc2e; }
.code-bar .dots i:nth-child(3) { background: #28c840; }
.code-bar em {
  font-style: normal;
  color: rgba(196, 214, 240, 0.6);
  font-size: 12.5px;
  font-family: var(--mono);
  margin-left: 8px;
}
.code-window pre {
  padding: 22px 22px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.2px;
  line-height: 1.85;
  color: #c9d7ee;
}
.code-window .c-key { color: #7fb3ff; }
.code-window .c-str { color: #8ce6c0; }
.code-window .c-flag { color: #ffc46b; }
.code-window .c-mut { color: #5f7396; }

/* 服务流程 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .no {
  counter-increment: step;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
  margin-bottom: 15px;
  box-shadow: 0 6px 16px rgba(30, 109, 232, 0.3);
}
.step .no::before { content: "0" counter(step); }
.step h4 { color: var(--ink); font-size: 16px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .cover { height: 150px; position: relative; overflow: hidden; }
.news-card .cover svg { width: 100%; height: 100%; }
.news-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-card .meta .tag { color: var(--primary); background: rgba(30, 109, 232, 0.08); padding: 2px 10px; border-radius: 999px; }
.news-card h3 { font-size: 16.5px; color: var(--ink); line-height: 1.5; }
.news-card p { font-size: 13.8px; color: var(--muted); flex: 1; }
.news-card .more { font-size: 13.5px; font-weight: 600; }

/* CTA 横幅 */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 58px 48px;
  overflow: hidden;
  background:
    radial-gradient(600px 240px at 88% -20%, rgba(56, 224, 255, 0.35), transparent 60%),
    linear-gradient(120deg, #0a1f42 0%, #114a92 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: 0.5px; }
.cta-band p { margin-top: 10px; color: rgba(214, 231, 255, 0.8); max-width: 560px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.cta-band .btn-primary:hover { color: #114a92; }

/* --------------------------------------------------------------------------
   内页 Hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 62px;
  background:
    radial-gradient(800px 300px at 90% -30%, rgba(34, 195, 230, 0.16), transparent 60%),
    radial-gradient(700px 300px at -8% 120%, rgba(30, 109, 232, 0.14), transparent 60%),
    linear-gradient(160deg, #f2f7ff 0%, #e9f1fd 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .cloud-deco { position: absolute; right: 4%; top: 24%; width: 220px; opacity: 0.5; pointer-events: none; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); color: var(--ink); font-weight: 800; letter-spacing: 1px; }
.page-hero .sub { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 15.5px; }

/* 服务详情块 */
.service-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
  padding: 58px 0;
}
.service-block + .service-block { border-top: 1px dashed var(--line); }
.service-block.flip .svc-copy { order: 2; }
.service-block.flip .svc-media { order: 1; }
.svc-kicker {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.svc-copy h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); font-weight: 800; }
.svc-copy > p { margin: 14px 0 20px; color: var(--muted); }
.svc-media {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.svc-media ul { display: grid; gap: 14px; }
.svc-media li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text); }
.svc-media li b { color: var(--ink); }
.svc-media li .ck { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; }
.svc-media li .ck svg { width: 12px; height: 12px; }

/* 信息表 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
}
.info-table th, .info-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 168px; color: var(--muted); font-weight: 600; background: #f8fbff; white-space: nowrap; }
.info-table td { color: var(--ink); }
.info-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.info-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* 品牌释义 */
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.brand-card .zi {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(30, 109, 232, 0.3);
}
.brand-card:nth-child(2) .zi { background: linear-gradient(135deg, #22c3e6, #2ed3b7); box-shadow: 0 10px 24px rgba(34, 195, 230, 0.3); }
.brand-card:nth-child(3) .zi { background: linear-gradient(135deg, #114a92, #1e6de8); box-shadow: 0 10px 24px rgba(17, 74, 146, 0.3); }
.brand-card h3 { color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.brand-card p { font-size: 14px; color: var(--muted); }

/* 时间线 */
.timeline { position: relative; margin-left: 10px; padding-left: 30px; border-left: 2px solid var(--line); display: grid; gap: 34px; }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 109, 232, 0.12);
}
.tl-item h4 { color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.tl-item h4 .phase { color: var(--primary); margin-right: 10px; font-size: 13px; letter-spacing: 2px; }
.tl-item p { color: var(--muted); font-size: 14.5px; max-width: 640px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: rgba(30, 109, 232, 0.4); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   联系页
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.contact-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 36px;
}
.contact-panel h3 { color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.contact-panel .tip { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label i { color: #e5484d; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 109, 232, 0.12);
  background: #fff;
}
.field .err { font-size: 12px; color: #e5484d; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5484d; }
.field.invalid .err { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.form-foot small { color: var(--muted); font-size: 12.5px; }
.contact-side { display: grid; gap: 18px; }
.contact-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-item .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.contact-item .ic svg { width: 21px; height: 21px; }
.contact-item h4 { color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.contact-item p { font-size: 13.5px; color: var(--muted); }
.contact-item a { font-weight: 600; }

/* --------------------------------------------------------------------------
   新闻文章
   -------------------------------------------------------------------------- */
.article-list { max-width: 860px; margin: 0 auto; display: grid; gap: 26px; }
.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article .meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.article .meta .tag { color: var(--primary); background: rgba(30, 109, 232, 0.08); padding: 2px 12px; border-radius: 999px; }
.article h2 { font-size: 21px; color: var(--ink); margin-bottom: 14px; line-height: 1.45; }
.article p { color: var(--muted); font-size: 14.8px; margin-bottom: 12px; }
.article ul { margin: 0 0 12px 2px; display: grid; gap: 8px; }
.article ul li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.8px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.article code {
  font-family: var(--mono);
  font-size: 13px;
  background: #eef4fd;
  color: #114a92;
  padding: 2px 7px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.nf-wrap { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden; }
.nf-wrap .bg { position: absolute; inset: 0; z-index: -1; }
.nf-code { font-size: clamp(84px, 16vw, 160px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.nf-wrap h1 { font-size: 24px; color: var(--ink); margin: 18px 0 10px; }
.nf-wrap p { color: var(--muted); margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: #081428; color: rgba(214, 228, 248, 0.75); margin-top: 90px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding: 64px 0 46px;
}
.footer-brand .brand-name b { color: #fff; }
.footer-brand .brand-name span { color: rgba(214, 228, 248, 0.5); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14.5px; letter-spacing: 1px; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: rgba(214, 228, 248, 0.66); }
.footer-col a:hover { color: #fff; }
.footer-col .f-item { display: flex; gap: 9px; align-items: flex-start; }
.footer-col .f-item svg { width: 15px; height: 15px; flex: none; margin-top: 4px; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 26px;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(214, 228, 248, 0.5); }
.footer-bottom a { color: rgba(214, 228, 248, 0.72); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   浮动元素 & 动效
   -------------------------------------------------------------------------- */
#toTop {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(30, 109, 232, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 90;
}
#toTop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#toTop svg { width: 18px; height: 18px; }

#toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  background: #0c1a33;
  color: #fff;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
  max-width: min(90vw, 480px);
  text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.ok { background: linear-gradient(120deg, #0da586, #2ed3b7); }
#toast.bad { background: linear-gradient(120deg, #d33b3b, #e5654f); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .chip-1 { left: 0; } .chip-2 { left: 0; } .chip-3 { right: 0; }
  .cards-grid, .news-grid, .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .product-split, .contact-grid, .service-block { grid-template-columns: 1fr; gap: 34px; }
  .service-block.flip .svc-copy { order: 1; }
  .service-block.flip .svc-media { order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 5vw 22px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(8, 24, 48, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { color: var(--text) !important; padding: 13px 16px; border-radius: 12px; font-size: 15.5px; }
  .nav a.active { background: var(--grad-soft); }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .hero { padding-bottom: 110px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .float-chip { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 30px 22px; }
  .article { padding: 26px 22px; }
}

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

@media (max-width: 520px) {
  .cards-grid, .news-grid, .brand-cards, .steps, .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .stat + .stat::before { display: none; }
  .info-table th { width: 116px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
