:root {
  --bg: #060a12;
  --panel: #0b1220;
  --line: rgba(148, 163, 184, 0.16);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --green: #4ade80;
  --amber: #fbbf24;
  --blue: #4f8cff;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(1140px, 92vw); margin: 0 auto; }
.accent {
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #04101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }

.kicker {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark { width: 34px; height: 34px; color: var(--cyan); flex: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.03em; }
.brand-name em { color: var(--cyan); font-style: normal; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 70px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.glow-a { width: 460px; height: 460px; background: rgba(34, 211, 238, 0.35); top: -160px; left: -120px; }
.glow-b { width: 420px; height: 420px; background: rgba(79, 140, 255, 0.3); bottom: -180px; right: -100px; }
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.25; margin-bottom: 18px; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.5rem; color: var(--cyan); }
.stat span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Section 通用 ---------- */
.section { padding: 84px 0; }
.section-alt { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* ---------- 流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.flow-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.5); }
.flow-num { color: rgba(34, 211, 238, 0.35); font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.flow-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.flow-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.flow-link { font-size: 0.85rem; }

/* ---------- 分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.5); }
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.cat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 0.86rem; }

/* ---------- PCBA ---------- */
.pcba-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.feature-list { display: grid; gap: 10px; margin: 18px 0 24px; color: var(--muted); font-size: 0.94rem; }
.pcba-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcba-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; }
.pcba-line span { color: var(--muted); font-size: 0.86rem; }
.pcba-line b { color: var(--cyan); font-size: 0.92rem; }
.pcba-arrow { text-align: center; color: var(--cyan); opacity: 0.7; }

/* ---------- 优势 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-card h3 { color: var(--cyan); font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.88rem; }

/* ---------- 联系 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info p { color: var(--muted); margin: 12px 0 20px; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--cyan); }
.form-tip { color: var(--green); font-size: 0.85rem; min-height: 1.2em; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 0.84rem; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { width: 100%; text-align: center; color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 12px; }
.footer-beian { color: var(--muted); text-decoration: none; }
.footer-beian:hover { color: var(--cyan); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  background: #0f1a2e;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.9rem;
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pcba-wrap, .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    background: rgba(6, 10, 18, 0.97);
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.3s;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .flow-grid, .cat-grid, .why-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}
