/* =============================================================
   天津元代码科技有限公司 — 官网设计系统
   配色：科技蓝（主）+ 青紫（辅）｜明暗双主题自适应
   视觉符号：< > 尖括号 + 六边形网格（贯穿全站）
   ============================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --bg-3: #f3f7ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(245, 248, 255, 0.62);
  --tex: rgba(27, 92, 255, 0.07);
  --tex-gold: rgba(124, 92, 255, 0.07);
  --dot: rgba(13, 21, 38, 0.045);
  --text: #0d1526;
  --text-2: #5a6478;
  --text-3: #8a94a6;
  --line: rgba(13, 21, 38, 0.1);
  --line-2: rgba(13, 21, 38, 0.06);
  --brand: #1b5cff;
  --brand-2: #4d8dff;
  --brand-soft: rgba(27, 92, 255, 0.1);
  --gold: #8b5cf6;
  --gold-2: #a78bfa;
  --gold-soft: rgba(139, 92, 246, 0.12);
  --glow: rgba(27, 92, 255, 0.16);
  --nav-bg: rgba(244, 246, 251, 0.72);
  --shadow: 0 18px 50px -20px rgba(13, 21, 38, 0.22);
  --hex-stroke: rgba(27, 92, 255, 0.16);
  --grid: rgba(13, 21, 38, 0.05);
  --ok: #0f9d58;

  --maxw: 1280px;
  --nav-h: 76px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #070b14; /* 深蓝黑，非纯黑 */
  --bg-2: #0b1220;
  --bg-3: #0e1626;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.025);
  --text: #e9eff9;
  --text-2: #93a1b8;
  --text-3: #6b7a92;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.06);
  --brand: #4d8dff;
  --brand-2: #7fb0ff;
  --brand-soft: rgba(77, 141, 255, 0.14);
  --gold: #a98bff;
  --gold-2: #c4b1ff;
  --gold-soft: rgba(169, 139, 255, 0.16);
  --glow: rgba(77, 141, 255, 0.3);
  --nav-bg: rgba(7, 11, 20, 0.66);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --hex-stroke: rgba(125, 176, 255, 0.16);
  --grid: rgba(255, 255, 255, 0.045);
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 86% -10%, rgba(27, 92, 255, 0.06), transparent 60%),
    radial-gradient(820px 460px at -8% 4%, rgba(124, 92, 255, 0.05), transparent 55%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--brand);
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ---------- 3. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  position: relative;
  padding: 120px 0;
}
.section--tight {
  padding: 88px 0;
}
.section--alt {
  background-color: var(--bg-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
}
.section--alt2 {
  background-color: var(--bg-3);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
}
.sec-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 视觉符号：尖括号小标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--bracket {
  text-transform: none;
  letter-spacing: 0.16em;
  font-size: 14px;
  color: var(--gold);
}
.eyebrow--bracket::before {
  content: "「";
  width: auto;
  height: auto;
  background: none;
  opacity: 1;
}
.eyebrow--bracket::after {
  content: "」";
  width: auto;
  height: auto;
  background: none;
  opacity: 1;
}

h2.title {
  font-size: clamp(30px, 4vw, 48px);
}
h3.sub {
  font-size: clamp(20px, 2.4vw, 26px);
}
.lead {
  margin-top: 22px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 640px;
}
.sec-head--center .lead {
  margin-left: auto;
  margin-right: auto;
}
.mono {
  font-family: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 导航 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 110;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
}
.nav.stuck {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line-2), 0 12px 40px -30px rgba(0, 0, 0, 0.5);
  height: 66px;
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px -6px var(--glow);
}
.logo__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
  align-self: flex-end;
  padding-bottom: 2px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav__links a.active {
  color: var(--brand);
}
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--brand);
}
.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: 0.25s var(--ease);
}
.icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.burger {
  display: none;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 34px -12px var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px var(--glow);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #1a1405;
}
.btn__arw {
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arw {
  transform: translateX(4px);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 78%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.hero__orb--1 {
  width: 560px;
  height: 560px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--glow), transparent 68%);
}
.hero__orb--2 {
  width: 460px;
  height: 460px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--gold-soft), transparent 68%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 30px;
}
.hero__tag b {
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 88px);
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 .grad,
.hero h1 .grad .char {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 45%, var(--gold) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .thin {
  font-weight: 300;
  color: var(--text-3);
}
.hero__desc {
  margin-top: 26px;
  max-width: 620px;
  font-size: 18px;
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--brand), transparent);
  animation: scrollLine 1.9s infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* 逐字入场 */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: charIn 0.85s var(--ease) forwards;
}
@keyframes charIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 7. 卡片 ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.g-2 {
  grid-template-columns: repeat(2, 1fr);
}
.g-3 {
  grid-template-columns: repeat(3, 1fr);
}
.g-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: 0.45s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    var(--brand-soft),
    transparent 62%
  );
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: var(--shadow);
}
.card:hover::after {
  opacity: 1;
}
.card__ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 22px;
}
.card h3,
.card h2 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--text-2);
}
.card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-2);
}

/* ---------- 8. 数据速览 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  padding: 30px 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ---------- 9. 业务能力（大卡片） ---------- */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--line-2);
}
.svc:first-of-type {
  border-top: 0;
}
.svc__idx {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.svc__list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.svc__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-2);
}
.svc__list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}
.svc__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.svc__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 34px 34px;
}
.svc__visual svg {
  position: relative;
  width: 62%;
  height: auto;
  opacity: 0.92;
}
.section--alt .svc .svc__text {
  order: 2;
}

/* ---------- 10. 案例 ---------- */
.case {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  transition: 0.45s var(--ease);
}
.case:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case__thumb {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-soft), var(--gold-soft));
  border-right: 1px solid var(--line);
}
.case__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 30px 30px;
}
.case__thumb svg {
  position: relative;
  width: 46%;
  color: var(--brand);
}
.case__body {
  padding: 34px 38px;
}
.case__body h3 {
  font-size: 22px;
  margin: 10px 0 14px;
}
.case__body p {
  color: var(--text-2);
  font-size: 15px;
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.case__meta div {
  font-size: 13px;
  color: var(--text-3);
}
.case__meta div b {
  display: block;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin-top: 2px;
}

/* ---------- 11. 优势 / 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--brand), var(--gold), transparent);
}
.tl-item {
  position: relative;
  padding-bottom: 38px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.tl-item time {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}
.tl-item h4 {
  font-size: 19px;
  margin-bottom: 8px;
}
.tl-item p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 620px;
}

/* ---------- 12. 表单 / 联系 ---------- */
.form {
  display: grid;
  gap: 18px;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: 0.25s var(--ease);
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  background: var(--surface);
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: 0.35s var(--ease);
}
.contact-card:hover {
  border-color: var(--brand);
  transform: translateX(4px);
}
.contact-card .card__ico {
  margin: 0;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.contact-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}
.contact-card small {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ---------- 13. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  text-align: center;
}
[data-theme="dark"] .cta {
  background: linear-gradient(120deg, #0d1730, #101b33);
}
.cta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(60px);
}
.cta__inner {
  position: relative;
}

/* ---------- 14. 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 68px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h5 {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.footer li {
  margin-bottom: 11px;
  font-size: 15px;
  color: var(--text-2);
}
.footer li a:hover {
  color: var(--brand);
}
.footer__bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.footer__bottom a {
  color: var(--text-3);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ---------- 15. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.09s;
}
.reveal-d2 {
  transition-delay: 0.18s;
}
.reveal-d3 {
  transition-delay: 0.27s;
}
.reveal-d4 {
  transition-delay: 0.36s;
}

.float {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ---------- 15.5 内页页首 & 提示条 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 84px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(34px, 5.6vw, 66px);
  letter-spacing: -0.035em;
}
.page-hero h1 .grad,
.page-hero h1 .grad .char {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 45%, var(--gold) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lead {
  font-size: 17px;
  max-width: 660px;
}

.notice {
  padding: 16px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}
.notice strong {
  color: var(--text);
}

/* ---------- 16. 科技纹理装饰（纯白底 + 科技感） ---------- */
/* 全站极淡点阵底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
  opacity: 0.7;
}
[data-theme="dark"] body {
  background-image: none;
}
[data-theme="dark"] body::before {
  opacity: 0;
}
/* 卡片科技角标 */
.card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--hex-stroke);
  border-left: 2px solid var(--hex-stroke);
  border-top-left-radius: 7px;
  opacity: 0.9;
}
.case::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--hex-stroke);
  border-left: 2px solid var(--hex-stroke);
  border-top-left-radius: 7px;
  opacity: 0.9;
  z-index: 3;
}
/* 六边形 / 线条装饰插画 */
.deco-svg {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.hero .deco-svg {
  right: 4%;
  top: 15%;
  width: 360px;
}
.page-hero .deco-svg {
  right: 1%;
  top: 16%;
  width: 300px;
}
@media (max-width: 820px) {
  .deco-svg {
    opacity: 0.35;
    width: 220px;
  }
  .hero .deco-svg {
    right: -6%;
    top: 8%;
  }
}

/* ---------- 16.5 小标题（案例分组） ---------- */
.sub-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 18px;
  padding-left: 14px;
  position: relative;
}
.sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--brand), var(--gold));
}

/* ---------- 16.6 FAQ（SEO / AI 搜索优化） ---------- */
.faq { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r, 16px);
  background: var(--surface);
  padding: 18px 22px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq details[open] { border-color: var(--brand); box-shadow: 0 8px 30px rgba(27,92,255,.10); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: var(--brand);
  font-weight: 500;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin: 12px 0 2px;
  color: var(--text-2);
  line-height: 1.75;
  font-size: 15px;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  .g-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .g-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  .case {
    grid-template-columns: 1fr;
  }
  .case__thumb {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section--alt .svc .svc__text {
    order: 0;
  }
}
@media (max-width: 820px) {
  .wrap {
    padding: 0 20px;
  }
  .section {
    padding: 80px 0;
  }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s var(--ease);
  }
  .nav__links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 15px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 16px;
  }
  .nav__links a.active::after {
    display: none;
  }
  .burger {
    display: grid;
  }
  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .f-row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero__scroll {
    display: none;
  }
  .card {
    padding: 26px;
  }
  .case__body {
    padding: 26px 22px;
  }
  .page-hero {
    padding: calc(var(--nav-h) + 56px) 0 56px;
  }
  .page-hero h1 {
    font-size: clamp(30px, 8.4vw, 42px);
  }
  .hero h1 {
    font-size: clamp(32px, 9vw, 52px);
  }
  .hero__desc,
  .page-hero .lead {
    font-size: 16px;
  }
  .card__ico {
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 18. 资讯 / 文章页（News） ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-2);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb span {
  color: var(--text-3);
}
.article-meta {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* 文章正文排版 */
.prose {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
}
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 52px 0 18px;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  margin: 38px 0 14px;
}
.prose h4 {
  font-size: 18px;
  margin: 28px 0 12px;
}
.prose p {
  margin: 18px 0;
  color: var(--text-2);
}
.prose ul,
.prose ol {
  margin: 18px 0;
  padding-left: 24px;
}
.prose li {
  margin: 10px 0;
  color: var(--text-2);
}
.prose ul li {
  list-style: disc;
}
.prose ol li {
  list-style: decimal;
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.prose a {
  color: var(--brand);
  border-bottom: 1px solid var(--brand-soft);
}
.prose a:hover {
  border-bottom-color: var(--brand);
}
.prose code {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
}
.prose blockquote {
  margin: 26px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-2);
  font-size: 16px;
}
.prose hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line-2);
}

/* 资讯卡片元信息 */
.post-card__meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
