/* =========================================================
   虎跑科技 · 前台样式
   1. 变量 / 基础      2. 通用组件
   3. 头部 / 导航      4. 首屏
   5. 区块与卡片       6. 内容页
   7. 表单 / 页脚      8. 响应式
   ========================================================= */

/* ---------- 1. 变量 / 基础 ---------- */
:root {
  --bg: #070b12;
  --bg-2: #0b111b;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #e9eff8;
  --muted: #93a3b8;
  --dim: #6b7c92;
  --brand: #3b82f6;
  --brand-2: #22d3ee;
  --brand-soft: rgba(59, 130, 246, .12);
  --grad: linear-gradient(120deg, #60a5fa 0%, #22d3ee 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .8);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景网格 + 光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: -260px;
  left: 50%;
  width: 1000px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, .16) 0%, rgba(59, 130, 246, .12) 35%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: rgba(34, 211, 238, .3); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- 2. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .022) 20%, rgba(255, 255, 255, .022) 80%, transparent); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 999px;
  background: rgba(34, 211, 238, .06);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 8px var(--brand-2); }

.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary {
  background: var(--grad);
  color: #04121b;
  box-shadow: 0 10px 30px -12px rgba(34, 211, 238, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(34, 211, 238, .9); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .08); transform: translateY(-2px); }
.btn-block { width: 100%; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, .1), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 滚动淡入 */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 3. 头部 / 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 18, .55);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-stuck {
  background: rgba(7, 11, 18, .88);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: .02em; }
.brand-text em {
  font-style: normal; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .22em; color: var(--dim); margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 15px; color: var(--muted);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}
.main-nav .nav-cta {
  margin-left: 10px;
  padding: 10px 18px;
  color: #04121b;
  background: var(--grad);
  font-weight: 600;
  border-radius: 9px;
}
.main-nav .nav-cta:hover { color: #04121b; filter: brightness(1.08); }
.main-nav .nav-cta.is-active::after { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4. 首屏 ---------- */
.hero { padding: 84px 0 76px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 22px;
}
.hero-lead { color: var(--muted); font-size: 17.5px; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.hero-trust span { font-size: 12.5px; color: var(--dim); letter-spacing: .04em; }

/* 右侧可视化：终端卡片 */
.hero-visual { position: relative; }
.term {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18, 26, 40, .96), rgba(9, 14, 22, .96));
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #33404f; }
.term-bar i:nth-child(1) { background: #f87171; }
.term-bar i:nth-child(2) { background: #fbbf24; }
.term-bar i:nth-child(3) { background: #34d399; }
.term-bar span { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.term-body { padding: 20px 20px 24px; font-family: var(--mono); font-size: 12.8px; line-height: 2.05; color: #b9c6d8; }
.term-body .c { color: var(--dim); }
.term-body .k { color: #c084fc; }
.term-body .s { color: #5eead4; }
.term-body .n { color: #fbbf24; }
.term-body .ok { color: #34d399; }
.term-line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body .caret { display: inline-block; width: 7px; height: 14px; background: var(--brand-2); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 浮动徽标 */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(11, 17, 27, .92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .9);
  font-size: 13px;
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { color: #fff; font-weight: 650; }
.float-chip small { display: block; color: var(--dim); font-size: 11px; line-height: 1.3; }
.float-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.chip-a { right: -14px; top: 40px; }
.chip-b { left: -22px; bottom: 34px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* 客户 logo 条 */
.logo-strip { padding: 28px 0 8px; }
.logo-strip p { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-family: var(--mono); margin-bottom: 18px; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; align-items: center; }
.logo-row span { color: #55677e; font-size: 15px; font-weight: 600; letter-spacing: .04em; transition: color .25s ease; }
.logo-row span:hover { color: var(--muted); }

/* ---------- 5. 区块与卡片 ---------- */
/* 服务卡 */
.svc-card { padding: 30px 26px; }
.svc-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(59, 130, 246, .22), rgba(34, 211, 238, .12));
  border: 1px solid rgba(59, 130, 246, .3);
  margin-bottom: 20px;
}
.svc-icon img { width: 24px; height: 24px; }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 14.6px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--brand-2); opacity: .85; }
.svc-card .more span { transition: transform .2s ease; }
.svc-card:hover .more span { transform: translateX(4px); }

/* 数字统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 32px 26px; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.flow-item { position: relative; padding-top: 26px; }
.flow-item::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: 12px; color: var(--brand-2);
  letter-spacing: .1em;
}
.flow-item::after {
  content: ""; position: absolute; top: 34px; left: 40px; right: -22px; height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .4), transparent);
}
.flow-item:last-child::after { display: none; }
.flow-item h3 { font-size: 16.5px; margin: 12px 0 8px; }
.flow-item p { color: var(--muted); font-size: 14px; }

/* 案例卡 */
.case-card { padding: 0; display: flex; flex-direction: column; }
.case-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1420; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 18, .85));
}
.case-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
  display: inline-block; align-self: flex-start;
  font-size: 11.5px; font-family: var(--mono); letter-spacing: .08em;
  color: var(--brand-2); background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .22);
  padding: 3px 9px; border-radius: 6px; margin-bottom: 12px;
}
.case-body h3 { font-size: 17px; margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: 14px; flex: 1; }
.case-metrics { display: flex; gap: 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-metrics div b { display: block; font-size: 17px; color: #fff; }
.case-metrics div span { font-size: 11.5px; color: var(--dim); }

/* 新闻列表 */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.news-item:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(4px); }
.news-date { font-family: var(--mono); color: var(--dim); font-size: 12.5px; }
.news-date b { display: block; font-size: 22px; color: var(--text); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.news-item h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 5px; }
.news-item p { color: var(--muted); font-size: 13.6px; }
.news-arrow { color: var(--dim); font-size: 18px; transition: transform .22s ease, color .22s ease; }
.news-item:hover .news-arrow { color: var(--brand-2); transform: translateX(4px); }

/* CTA 条 */
.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 20% 50%, rgba(59, 130, 246, .14), transparent 70%),
    radial-gradient(500px 200px at 80% 50%, rgba(34, 211, 238, .1), transparent 70%),
    var(--bg-2);
  padding: 52px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-inner p { color: var(--muted); font-size: 15px; }

/* ---------- 6. 内容页 ---------- */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); position: relative; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.025em; margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 16.5px; max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 20px; font-family: var(--mono); }
.breadcrumb a:hover { color: var(--brand-2); }

.prose { color: #cdd8e6; font-size: 16px; line-height: 1.95; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 24px; margin-top: 40px; color: #fff; }
.prose h3 { font-size: 19px; margin-top: 32px; color: #fff; }
.prose p { color: #c2cddd; }
.prose a { color: var(--brand-2); border-bottom: 1px solid rgba(34, 211, 238, .35); }
.prose ul, .prose ol { padding-left: 22px; color: #c2cddd; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--brand-2); }
.prose blockquote {
  border-left: 2px solid var(--brand-2);
  padding: 12px 0 12px 20px;
  color: var(--muted);
  font-style: normal;
  background: rgba(34, 211, 238, .04);
  border-radius: 0 8px 8px 0;
}
.prose code { font-family: var(--mono); font-size: .9em; background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 5px; }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: rgba(255, 255, 255, .04); }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.detail-side { position: sticky; top: 98px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--surface); }
.side-card h3 { font-size: 15px; margin-bottom: 16px; color: #fff; }
.side-card + .side-card { margin-top: 18px; }
.side-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--muted); transition: color .2s ease; }
.side-list a:hover { color: var(--brand-2); }

.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--dim); font-size: 13px; margin-bottom: 28px; font-family: var(--mono); }
.article-cover { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 32px; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; color: var(--muted);
  transition: all .2s ease;
}
.pager a:hover { border-color: rgba(34, 211, 238, .5); color: #fff; }
.pager .is-current { background: var(--grad); color: #04121b; border-color: transparent; font-weight: 600; }
.pager .is-disabled { opacity: .35; }

/* 空状态 */
.empty { text-align: center; padding: 70px 20px; color: var(--dim); border: 1px dashed var(--line); border-radius: 14px; }

/* 关于页 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid.is-reverse > div:first-child { order: 2; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(34, 211, 238, .5), transparent); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -25px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand-2);
  box-shadow: 0 0 10px rgba(34, 211, 238, .6);
}
.tl-item b { font-family: var(--mono); font-size: 12.5px; color: var(--brand-2); letter-spacing: .08em; }
.tl-item h3 { font-size: 16.5px; margin: 6px 0 6px; }
.tl-item p { color: var(--muted); font-size: 14px; }

.value-card { padding: 26px; }
.value-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.2px; }

.team-card { text-align: left; }
.team-card .role { font-family: var(--mono); font-size: 12px; color: var(--brand-2); letter-spacing: .06em; }

/* ---------- 7. 表单 / 页脚 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: #f87171; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, .65);
  background: rgba(34, 211, 238, .04);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .1);
}
.field input::placeholder, .field textarea::placeholder { color: #5a6a80; }
.form-note { font-size: 12.5px; color: var(--dim); margin-top: 14px; }
.form-alert { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; display: none; }
.form-alert.is-ok { display: block; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #6ee7b7; }
.form-alert.is-err { display: block; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fca5a5; }
.hp-input { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } /* 蜜罐字段 */

.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); border: 1px solid rgba(59, 130, 246, .25); font-size: 15px; }
.info-list b { display: block; font-size: 12.5px; color: var(--dim); font-weight: 500; letter-spacing: .04em; margin-bottom: 2px; }
.info-list span { font-size: 14.5px; color: var(--text); word-break: break-all; }

.site-footer { border-top: 1px solid var(--line); padding: 62px 0 0; background: rgba(5, 8, 13, .6); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-desc { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 320px; }
.footer-col h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; font-weight: 600; }
.footer-col li { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.footer-col a { color: var(--muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 22px 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--dim); font-family: var(--mono);
}
.footer-meta { display: flex; gap: 18px; }
.footer-meta a:hover { color: var(--brand-2); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(11, 17, 27, .9);
  color: var(--text); cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease;
}
.to-top:hover { background: rgba(34, 211, 238, .16); transform: translateY(-3px); }

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .chip-a { right: 0; }
  .chip-b { left: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid.is-reverse > div:first-child { order: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-item::after { display: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 22px;
    background: rgba(7, 11, 18, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 13px 14px; font-size: 15.5px; }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: rgba(34, 211, 238, .08); color: var(--brand-2); }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; }

  .section { padding: 68px 0; }
  .hero { padding: 52px 0 56px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; gap: 12px 18px; padding: 20px; }
  .news-date { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
  .news-date b { font-size: 14px; }
  .news-item p { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .page-head { padding: 48px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .float-chip { display: none; }
  .term-body { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15.5px; }
  .btn { width: 100%; }
  .hero-actions { gap: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .card { padding: 22px; }
  .case-metrics { gap: 16px; }
}

/* ---------- 9. 静态单页专用 ---------- */
section[id] { scroll-margin-top: 86px; }

.about-lead { color: var(--muted); font-size: 15.5px; margin-top: 16px; }

.about-points { display: grid; gap: 12px; }
.about-point {
  display: flex; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .22s ease, background .22s ease;
}
.about-point:hover { border-color: var(--line-strong); background: var(--surface-2); }
.about-point .num {
  flex: 0 0 22px; padding-top: 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--brand-2);
}
.about-point b { display: block; font-size: 15px; margin-bottom: 3px; }
.about-point > div > span { display: block; color: var(--muted); font-size: 13.6px; line-height: 1.65; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
a.contact-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .42); background: var(--surface-2); }
.contact-card .ico {
  width: 40px; height: 40px; margin-bottom: 12px;
  display: grid; place-items: center;
  border-radius: 11px; font-size: 16px; color: var(--brand-2);
  background: linear-gradient(150deg, rgba(59, 130, 246, .22), rgba(34, 211, 238, .1));
  border: 1px solid rgba(59, 130, 246, .28);
}
.contact-card b { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--dim); }
.contact-card > span:last-child { font-size: 15.5px; color: var(--text); word-break: break-word; }
.contact-note { margin-top: 22px; font-size: 13px; color: var(--dim); }

.news-list .news-item:not(a) { grid-template-columns: 96px 1fr; cursor: default; }
.news-list .news-item:not(a):hover { transform: none; border-color: var(--line); background: var(--surface); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .news-list .news-item:not(a) { grid-template-columns: 1fr; }
  .news-list .news-item:not(a) .news-date { display: flex; align-items: center; gap: 8px; }
  .news-list .news-item:not(a) .news-date b { font-size: 14px; }
}
