/* ============================================================
   欧辰跨境官网 · 深空指挥舱风格
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/JetBrainsMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- 变量 ---------- */
:root {
  --bg-deep: #05070f;
  --bg-panel: #0a0f1e;
  --bg-card: rgba(14, 22, 40, 0.55);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.35);
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --text-main: #e2e8f0;
  --text-sub: #94a3b8;
  --text-faint: #64748b;
  --line: rgba(148, 163, 184, 0.14);
  --glow-cyan: 0 0 18px rgba(0, 229, 255, 0.45);
  --radius: 10px;
  --mono: "JetBrains Mono", "Consolas", monospace;
  --sans: "Outfit", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-main);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(0, 229, 255, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-panel) 50%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.mono { font-family: var(--mono); letter-spacing: 0.04em; }

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

.text-glow {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.55), 0 0 40px rgba(0, 229, 255, 0.25);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, #00b8d4, #00e5ff);
  color: #041018;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.6);
}
.btn-ghost {
  border-color: var(--cyan-dim);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan);
}
.btn-sm { padding: 8px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  display: inline-flex;
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text small {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.22em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-size: 14.5px;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--cyan); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--cyan-dim);
  border-radius: 8px;
  cursor: pointer;
  width: 44px; height: 38px;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  margin: 5px 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px var(--cyan-dim);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 130px 4% 0;
  overflow: hidden;
}
#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: auto 0 -20% 0;
  height: 60%;
  background:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(55deg);
  transform-origin: top;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 229, 255, 0.05);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-sub);
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 双产品卡片 */
.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: min(960px, 100%);
  margin-top: 64px;
}
.p-card {
  position: relative;
  padding: 28px 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.p-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.p-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-dim);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}
.p-card:hover::before { opacity: 1; }
.p-card-tag {
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.p-card-head h3 {
  font-size: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.p-card-head em {
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
  color: var(--cyan);
}
.p-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-sub);
}
.p-card-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
}

/* 数据滚动条 */
.hero-ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.5);
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-track span {
  font-size: 13px;
  color: var(--text-sub);
}
.ticker-track span b { color: var(--cyan); }
.ticker-track i {
  width: 5px; height: 5px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 6px var(--cyan);
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 区块通用 ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt {
  background: rgba(10, 15, 30, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 56px; }
.section-code {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}
.section-sub {
  margin-top: 14px;
  color: var(--text-sub);
  font-size: 16px;
}

/* ---------- HUD 卡片（四角框） ---------- */
.hud-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hud-corners i {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--cyan);
  opacity: 0.85;
  box-shadow: 0 0 8px var(--cyan-dim);
}
.hud-corners i:nth-child(1) { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-corners i:nth-child(2) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hud-corners i:nth-child(3) { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.hud-corners i:nth-child(4) { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hud-title {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.hud-scanline {
  position: absolute;
  left: 0; right: 0;
  top: -30%;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.06), transparent);
  animation: scan 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { top: -60%; }
  100% { top: 120%; }
}

/* ---------- 关于 ---------- */
.about-text { max-width: 780px; }
.about-text p { color: var(--text-sub); margin-bottom: 18px; font-size: 15.5px; }
.about-coord {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 12px;
  color: var(--text-faint);
}
.about-coord .ok { color: #34d399; }

/* ---------- 概念图 ---------- */
.concept {
  margin: 0 0 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.concept img { width: 100%; transition: transform 0.6s ease; }
.concept:hover img { transform: scale(1.03); }
.concept figcaption {
  position: absolute;
  left: 18px; bottom: 14px;
  font-size: 10.5px;
  color: var(--cyan);
  background: rgba(5, 7, 15, 0.75);
  border: 1px solid var(--cyan-dim);
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.14em;
}

/* ---------- 四层闭环架构 ---------- */
.arch-stack {
  max-width: 860px;
  margin: 0 auto 64px;
}
.arch-layer {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  margin-bottom: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.arch-layer:hover {
  border-left-color: var(--amber);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.12);
}
.arch-layer[data-layer="04"] { border-left-color: var(--purple); }
.arch-layer[data-layer="02"] { border-left-color: var(--blue); }
.arch-layer[data-layer="01"] { border-left-color: var(--amber); }
.arch-name {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  flex-direction: column;
}
.arch-name b { font-size: 17px; }
.arch-name .mono {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
}
.arch-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.arch-items span {
  font-size: 12.5px;
  color: var(--text-sub);
  border: 1px solid var(--line);
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.03);
}
.arch-arrow {
  text-align: center;
  font-size: 10.5px;
  color: var(--cyan);
  opacity: 0.65;
  padding: 8px 0;
  letter-spacing: 0.12em;
}

/* ---------- 效率对比 ---------- */
.compare { margin-bottom: 64px; }
.compare-title {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.compare-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
}
.compare-row > span {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  border-right: 1px solid rgba(148, 163, 184, 0.08);
}
.compare-row > span:last-child { border-right: none; }
.compare-row:last-child > span { border-bottom: none; }
.compare-row > span:first-child { color: var(--text-sub); background: rgba(5, 7, 15, 0.35); }
.compare-head > span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  background: rgba(5, 7, 15, 0.5) !important;
}
.compare-head .hi {
  color: var(--cyan) !important;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.compare-row > span.hi {
  color: var(--cyan);
  font-weight: 700;
  background: rgba(0, 229, 255, 0.045);
}

/* ---------- 功能网格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-dim);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), var(--glow-cyan);
}
.f-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan-dim);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  margin-bottom: 18px;
}
.f-icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature-card h4 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--text-sub); }

/* ---------- 锻造厂 ---------- */
.forge-flow {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 56px;
}
.forge-step {
  flex: 1;
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  transition: border-color 0.28s, box-shadow 0.28s;
}
.forge-step:hover { border-color: var(--cyan-dim); box-shadow: var(--glow-cyan); }
.forge-no {
  font-size: 26px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
  margin-bottom: 12px;
}
.forge-step h4 { font-size: 17px; margin-bottom: 8px; }
.forge-step p { font-size: 13px; color: var(--text-sub); }
.forge-line {
  align-self: center;
  width: 36px;
  flex-shrink: 0;
}
.forge-line i {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 8px var(--cyan-dim);
  position: relative;
  overflow: visible;
}
.forge-line i::after {
  content: "";
  position: absolute;
  right: -1px; top: -2px;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: flow-dot 1.6s ease-in-out infinite;
}
@keyframes flow-dot {
  0% { transform: translateX(-26px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

.forge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.credit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.credit-card {
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 15, 0.4);
}
.credit-hot {
  border-color: var(--cyan-dim);
  box-shadow: inset 0 0 26px rgba(0, 229, 255, 0.06);
}
.credit-val {
  font-size: 34px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}
.credit-val small { font-size: 14px; margin-left: 4px; color: var(--text-sub); }
.credit-card p { margin-top: 8px; font-size: 12.5px; color: var(--text-sub); }
.credit-note { font-size: 11px; color: var(--text-faint); text-align: center; }

.forge-caps h3 {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.cap-list li {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.cap-list li:last-child { border-bottom: none; }
.cap-list b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 6px;
  color: var(--text-main);
}
.cap-list b::before {
  content: "▸ ";
  color: var(--cyan);
}
.cap-list li { color: var(--text-sub); font-size: 13.5px; }

/* ---------- 技术底座 · 多智能体网络 ---------- */
.agent-net {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  margin-bottom: 44px;
  overflow-x: auto;
}
.agent-net svg { width: 100%; min-width: 640px; height: auto; }
.svg-label {
  font-family: var(--sans);
  font-size: 14px;
  fill: var(--text-main);
}
.net-core .svg-label { font-size: 15px; font-weight: 700; fill: var(--cyan); }
.net-node rect {
  fill: rgba(10, 15, 30, 0.9);
  stroke: var(--cyan-dim);
}
.net-node text { fill: var(--text-main); }
.node-term rect { stroke: var(--blue); stroke-dasharray: 5 4; }
.node-fb rect { fill: rgba(139, 92, 246, 0.12); stroke: var(--purple); }
.node-fb text { fill: #c4b5fd; }
.net-lines { opacity: 0.8; }
.net-lines .flow { stroke-dasharray: 6 8; animation: dashmove 1.6s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -28; } }
.core-ring { animation: spin 14s linear infinite; transform-origin: 450px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }

.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.deploy-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.28s, box-shadow 0.28s;
}
.deploy-card:hover { border-color: var(--cyan-dim); box-shadow: var(--glow-cyan); }
.deploy-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 17px;
  margin-bottom: 12px;
}
.deploy-card .tag {
  font-size: 10.5px;
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.12em;
}
.deploy-card p { font-size: 14px; color: var(--text-sub); }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.form-row input, .form-row select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 7, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.form-row input::placeholder { color: var(--text-faint); }
.form-row select option { background: var(--bg-panel); }
.form-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-faint);
  text-align: center;
}
.form-note.ok { color: #34d399; }

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list span { color: var(--text-faint); flex-shrink: 0; width: 72px; }
.contact-list b { color: var(--text-sub); font-weight: 400; }
.qr-slot { margin-top: 24px; text-align: center; }
.qr-box {
  width: 150px; height: 150px;
  margin: 0 auto;
  border: 1px dashed var(--cyan-dim);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 11px;
  background: rgba(0, 229, 255, 0.02);
}
.qr-box svg { width: 34px; height: 34px; fill: var(--cyan-dim); }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  background: rgba(5, 7, 15, 0.7);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  flex-direction: column;
}
.footer-brand small {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.22em;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-copy {
  font-size: 11px;
  color: var(--text-faint);
}
.footer-copy a { color: var(--text-sub); }
.footer-copy a:hover { color: var(--cyan); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .forge-grid, .contact-grid, .deploy-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { grid-template-columns: 1fr; width: min(560px, 100%); }
  /* 窄窗口下收紧导航间距，隐藏次要链接，保持横向菜单可见 */
  .nav-links { gap: 16px; }
  .nav-link { font-size: 13px; }
  .nav-opt { display: none; }
  .nav-cta { padding: 7px 16px; font-size: 13px; margin-left: 0; }
  .logo-text { font-size: 16px; }
}
@media (max-width: 560px) {
  .nav-opt { display: block; }
  .section { padding: 72px 0; }
  .hero { padding-top: 110px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(300px, 78vw);
    background: rgba(5, 7, 15, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: none; }
  .compare-row { grid-template-columns: 90px 1fr 1fr; }
  .compare-row > span { padding: 11px 12px; font-size: 12.5px; }
  .forge-flow { flex-direction: column; }
  .forge-line { width: 2px; height: 30px; margin: 0 auto; }
  .forge-line i { width: 2px; height: 100%; background: linear-gradient(180deg, var(--cyan-dim), var(--cyan)); }
  .forge-line i::after { animation: none; }
  .arch-layer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .arch-name { width: auto; flex-direction: row; align-items: baseline; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .credit-cards { grid-template-columns: 1fr; }
  .hud-card { padding: 24px 20px; }
  .btn { padding: 12px 26px; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .hud-scanline, .net-lines .flow, .core-ring,
  .forge-line i::after, .hero-badge .dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .concept:hover img { transform: none; }
}
