/* ============================================================
   星澜科技 · 企业官网模板
   换肤指南:改动 :root 中的变量即可整体调整配色与圆角
   ============================================================ */

:root {
  /* 底色 */
  --bg: #070b15;
  --bg-soft: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 170, 220, 0.14);
  --line-strong: rgba(148, 170, 220, 0.28);

  /* 文字 */
  --ink: #eef2fb;
  --ink-soft: #b9c3d8;
  --muted: #8a94ac;

  /* 品牌色:靛蓝 → 青,改这两个即可换主题色 */
  --brand-a: #5b8cff;
  --brand-b: #2dd4bf;
  --brand-grad: linear-gradient(120deg, var(--brand-a), var(--brand-b));
  --glow-a: rgba(91, 140, 255, 0.16);
  --glow-b: rgba(45, 212, 191, 0.12);
  --glow-v: rgba(139, 92, 246, 0.1);

  /* 版式 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC",
    "Microsoft YaHei", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1120px;
  --nav-h: 68px;

  --shadow-card: 0 12px 32px rgba(2, 6, 16, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--brand-a);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(91, 140, 255, 0.35); }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ============ 背景装饰 ============ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.orb-a {
  width: 52vmax; height: 52vmax;
  left: -14vmax; top: -20vmax;
  background: radial-gradient(circle, var(--glow-a) 0%, transparent 62%);
  animation: orb-drift-a 30s ease-in-out infinite alternate;
}

.orb-b {
  width: 44vmax; height: 44vmax;
  right: -16vmax; top: 4vmax;
  background: radial-gradient(circle, var(--glow-b) 0%, transparent 62%);
  animation: orb-drift-b 36s ease-in-out infinite alternate;
}

.orb-c {
  width: 38vmax; height: 38vmax;
  left: 24vmax; bottom: -18vmax;
  background: radial-gradient(circle, var(--glow-v) 0%, transparent 60%);
  animation: orb-drift-c 42s ease-in-out infinite alternate;
}

@keyframes orb-drift-a { to { transform: translate3d(7vmax, 5vmax, 0) scale(1.1); } }
@keyframes orb-drift-b { to { transform: translate3d(-6vmax, 6vmax, 0) scale(0.94); } }
@keyframes orb-drift-c { to { transform: translate3d(5vmax, -6vmax, 0) scale(1.08); } }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 170, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.35s ease, border-color 0.35s ease,
    backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 11, 21, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-mark { width: 30px; height: 30px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--ink-soft);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
  transition: right 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 0.25s ease, background-color 0.25s ease,
    transform 0.25s var(--ease-out);
}

.nav-cta:hover {
  border-color: var(--brand-a);
  background: rgba(91, 140, 255, 0.12);
  transform: translateY(-1px);
}

/* 汉堡按钮(仅移动端显示) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease,
    border-color 0.25s ease, background-color 0.25s ease;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--brand-grad);
  color: #06101c;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(91, 140, 255, 0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--brand-a);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 72px;
  overflow: hidden;
}

.hero-inner { max-width: 880px; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-b);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  line-height: 1.9;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-chips {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-chips li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-grad);
}

/* 浮动几何装饰 */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }

.geo { position: absolute; opacity: 0.5; }

.geo-ring {
  width: 130px; height: 130px;
  left: 9%; top: 24%;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  animation: float-slow 11s ease-in-out infinite alternate;
}

.geo-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1.5px dashed rgba(148, 170, 220, 0.22);
  border-radius: 50%;
}

.geo-tri {
  width: 56px; height: 56px;
  right: 11%; top: 30%;
  border: 1.5px solid rgba(45, 212, 191, 0.4);
  border-radius: 10px;
  transform: rotate(24deg);
  animation: float-spin 16s linear infinite;
}

.geo-plus {
  right: 20%; bottom: 22%;
  font-size: 28px;
  font-weight: 300;
  color: rgba(91, 140, 255, 0.55);
  animation: float-slow 9s ease-in-out infinite alternate;
}

.geo-dot { border-radius: 50%; }
.geo-dot.d1 { width: 8px; height: 8px; left: 20%; bottom: 26%; background: rgba(91, 140, 255, 0.5); animation: float-slow 8s ease-in-out infinite alternate; }
.geo-dot.d2 { width: 5px; height: 5px; left: 32%; top: 18%; background: rgba(45, 212, 191, 0.55); animation: float-slow 12s ease-in-out infinite alternate-reverse; }
.geo-dot.d3 { width: 6px; height: 6px; right: 28%; top: 14%; background: rgba(139, 92, 246, 0.5); animation: float-slow 10s ease-in-out infinite alternate; }

@keyframes float-slow {
  from { transform: translateY(-10px); }
  to { transform: translateY(12px); }
}

@keyframes float-spin {
  from { transform: rotate(24deg) translateY(-8px); }
  50% { transform: rotate(204deg) translateY(8px); }
  to { transform: rotate(384deg) translateY(-8px); }
}

/* ============ 通用 Section ============ */
.section { padding: 108px 0; position: relative; }

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-b);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
}

/* ============ 服务卡片 ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 30px 26px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    background-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-a);
  background: rgba(91, 140, 255, 0.1);
  border: 1px solid rgba(91, 140, 255, 0.22);
  margin-bottom: 22px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--brand-b);
  background: rgba(45, 212, 191, 0.1);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.14rem; margin-bottom: 12px; }

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-num {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(148, 170, 220, 0.08);
  letter-spacing: 0.02em;
}

/* ============ 数据带 ============ */
.stats {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(60% 130% at 50% 0%, rgba(91, 140, 255, 0.07), transparent 70%),
    var(--bg-soft);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-suffix { font-size: 0.6em; margin-left: 2px; }

.stat-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

/* ============ 案例 ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

/* —— CSS 手绘「截图」:浏览器窗口 + 抽象 UI —— */
.shot {
  aspect-ratio: 16 / 10.5;
  margin: 14px 14px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out);
}

.case-card:hover .shot { transform: scale(1.02); }

.shot-retail { background: linear-gradient(155deg, #101a30, #0b1424); color: #5b8cff; }
.shot-fin    { background: linear-gradient(155deg, #0d1f2b, #0a1622); color: #2dd4bf; }
.shot-mfg    { background: linear-gradient(155deg, #171429, #0f0e1e); color: #8b5cf6; }

.shot-bar {
  flex: none;
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.shot-bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.shot-bar i:first-child { background: rgba(255, 120, 110, 0.55); }
.shot-bar i:nth-child(2) { background: rgba(255, 200, 90, 0.5); }
.shot-bar i:nth-child(3) { background: rgba(110, 220, 130, 0.5); }

.shot-body { flex: 1; display: flex; padding: 10px; gap: 8px; min-height: 0; }

.shot-side {
  flex: none;
  width: 22%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shot-side b {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.shot-side b:first-child { background: currentColor; opacity: 0.65; }

.shot-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.shot-kpis { display: flex; gap: 6px; }

.shot-kpis s {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.shot-kpis s:first-child {
  background: linear-gradient(120deg, currentColor, transparent 180%);
  opacity: 0.5;
}

.shot-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.shot-chart em {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, currentColor, transparent 160%);
  opacity: 0.55;
}

.shot-chart em:nth-child(6) { opacity: 0.95; }

.shot-wave {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.shot-wave svg { width: 100%; height: 100%; }

.shot-rows { display: flex; flex-direction: column; gap: 6px; }

.shot-rows u {
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
}

.shot-rows u:nth-child(2) { width: 72%; }
.shot-rows u:nth-child(3) { width: 85%; }
.shot-rows u:nth-child(4) { width: 60%; }

.shot-main-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.shot-panel {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  display: grid;
  place-items: center;
}

.shot-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: conic-gradient(currentColor 0 68%, rgba(255, 255, 255, 0.1) 68% 100%);
  display: grid;
  place-items: center;
  opacity: 0.8;
}

.shot-ring span {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #14112a;
}

.shot-strip {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
}

.shot-strip s {
  flex: 1;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
}

.shot-strip s:nth-child(2) { background: linear-gradient(120deg, currentColor, transparent 200%); opacity: 0.4; }

/* —— 案例文字 —— */
.case-body { padding: 22px 24px 26px; }

.case-tags { display: flex; gap: 8px; margin-bottom: 14px; }

.case-tags span {
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.case-card h3 { font-size: 1.12rem; margin-bottom: 10px; }

.case-card .case-body > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.case-metric {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.case-metric strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 客户评价 ============ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  margin: 0;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.015));
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.voice-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.quote-mark {
  width: 30px; height: 30px;
  color: var(--brand-a);
  opacity: 0.75;
  margin-bottom: 16px;
}

.voice-card blockquote {
  margin: 0;
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.85;
}

.voice-card figcaption {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: #06101c;
}

.av-a { background: linear-gradient(135deg, #5b8cff, #7ba6ff); }
.av-b { background: linear-gradient(135deg, #2dd4bf, #6ee7d4); }
.av-c { background: linear-gradient(135deg, #8b5cf6, #b294fb); }

.voice-who { display: flex; flex-direction: column; line-height: 1.4; }
.voice-who strong { font-size: 0.95rem; }
.voice-who small { color: var(--muted); font-size: 0.8rem; margin-top: 3px; }

/* ============ 联系表单 ============ */
.contact {
  background:
    radial-gradient(50% 90% at 80% 20%, rgba(45, 212, 191, 0.06), transparent 70%),
    radial-gradient(50% 90% at 10% 90%, rgba(91, 140, 255, 0.07), transparent 70%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.contact-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
}

.contact-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-points li { display: flex; align-items: center; gap: 10px; }

.contact-points svg {
  width: 18px; height: 18px;
  flex: none;
  color: var(--brand-b);
}

.contact-form {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 11, 21, 0.55);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(138, 148, 172, 0.65); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-a);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}

.field.is-invalid input,
.field.is-invalid textarea { border-color: #f0716f; }

.field-err {
  min-height: 1.2em;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #f0918f;
}

.form-success {
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.4);
  background: rgba(45, 212, 191, 0.1);
  color: #7fe8d8;
  font-size: 0.92rem;
  text-align: center;
}

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h4 {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-col a,
.footer-col p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  transition: color 0.25s ease;
  width: fit-content;
}

.footer-col a:hover { color: var(--brand-b); }

.footer-bar {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bar a { color: var(--muted); }
.footer-bar a:hover { color: var(--brand-b); }

/* ============ 滚动渐显 ============
   仅在 JS 就绪(html.js)后才隐藏元素,JS 失效时内容天然可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ 响应式:平板 ============ */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .voice-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
}

/* ============ 响应式:手机 ============ */
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 11, 21, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease,
      visibility 0.3s;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 15px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-top: 16px;
    border: 1px solid var(--line-strong);
    text-align: center;
    border-radius: 999px;
    padding: 13px;
  }

  .hero { padding-bottom: 56px; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .br-wide { display: none; }
  .geo-ring { width: 90px; height: 90px; left: -5%; }
  .geo-tri { right: 4%; }

  .service-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-label { font-size: 0.85rem; }

  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bar { flex-direction: column; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 44px; }
}

/* ============ 降级:reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .orb, .geo { animation: none; }
}
