/* ===== 设计变量（Nudge 可调） ===== */
:root {
  --site-bg: #070b16;
  --site-fg: #e9eefb;
  --site-accent: #ff8a1e;
  --site-on-accent: #120a02;
  --site-surface: #0e1626;
  --site-muted: #93a1bd;
  --site-border: rgba(148, 170, 210, 0.16);
  --site-font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --site-radius: 18px;

  --accent-soft: rgba(255, 138, 30, 0.14);
  --accent-line: rgba(255, 138, 30, 0.45);
  --header-h: calc(64px + 8px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--site-font);
  background: var(--site-bg);
  color: var(--site-fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, 100% - calc(24px * var(--site-space, 1) * 2.6));
  margin-inline: auto;
}

/* ===== 头部 ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--site-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color calc(180ms * var(--site-motion, 1)) ease;
}
.site-header.scrolled { border-bottom-color: var(--site-border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24px * var(--site-space, 1));
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  color: var(--site-accent);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: calc(var(--site-radius) * 0.55);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: 2px; }
.brand-text small { font-size: 10px; letter-spacing: 3px; color: var(--site-muted); }

.site-nav { display: flex; gap: calc(24px * var(--site-space, 1) * 1.1); }
.site-nav a {
  font-size: 15px;
  color: var(--site-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color calc(180ms * var(--site-motion, 1)) ease, border-color calc(180ms * var(--site-motion, 1)) ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--site-fg); border-bottom-color: var(--site-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--site-fg);
  transition: transform calc(180ms * var(--site-motion, 1)) ease, opacity calc(180ms * var(--site-motion, 1)) ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(24px * var(--site-space, 1) * 6.5) 0 calc(24px * var(--site-space, 1) * 5);
  border-bottom: 1px solid var(--site-border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--site-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--site-border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
.hero-glow {
  position: absolute;
  top: -18%;
  right: -8%;
  width: min(60vw, 640px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: calc(24px * var(--site-space, 1) * 2.5);
}
.hero-copy { max-width: 640px; }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px var(--accent-soft);
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--site-accent);
  margin-bottom: calc(24px * var(--site-space, 1) * 0.8);
}
.hero-title {
  font-size: calc(48px * var(--site-type, 1));
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: calc(24px * var(--site-space, 1));
}
.hero-title em {
  font-style: normal;
  color: var(--site-accent);
  text-shadow: 0 0 32px var(--accent-soft);
}
.hero-desc {
  font-size: calc(17px * var(--site-type, 1) * 0.97);
  color: var(--site-muted);
  max-width: 640px;
  margin-bottom: calc(24px * var(--site-space, 1) * 1.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: calc(24px * var(--site-space, 1) * 0.75); margin-bottom: calc(24px * var(--site-space, 1) * 1.8); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  font-size: 13px;
  color: var(--site-muted);
  border: 1px solid var(--site-border);
  border-radius: 999px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--site-surface) 70%, transparent);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--site-radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform calc(180ms * var(--site-motion, 1)) ease, box-shadow calc(180ms * var(--site-motion, 1)) ease, background calc(180ms * var(--site-motion, 1)) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--site-accent);
  color: var(--site-on-accent);
  box-shadow: 0 8px 28px rgba(255, 138, 30, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(255, 138, 30, 0.4); }
.btn-ghost {
  color: var(--site-fg);
  border-color: var(--site-border);
  background: color-mix(in srgb, var(--site-surface) 60%, transparent);
}
.btn-ghost:hover { border-color: var(--accent-line); }

/* ===== 通用 Section ===== */
.section { padding: calc(24px * var(--site-space, 1) * 4.5) 0; }
.section-alt {
  background:
    radial-gradient(1000px 400px at 85% 0%, var(--accent-soft), transparent 60%),
    var(--site-surface);
  border-block: 1px solid var(--site-border);
}

.section-head { max-width: 720px; margin-bottom: calc(24px * var(--site-space, 1) * 2.2); }
.section-kicker {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--site-accent);
  margin-bottom: 10px;
}
.section-head h2, .about-text h2 {
  font-size: calc(34px * var(--site-type, 1));
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: calc(24px * var(--site-space, 1) * 0.6);
}
.section-desc { color: var(--site-muted); font-size: calc(16px * var(--site-type, 1) * 0.97); }

/* ===== 优势条 ===== */
.features { padding-block: calc(24px * var(--site-space, 1) * 2.4); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(24px * var(--site-space, 1));
}
.feature-card { padding: calc(24px * var(--site-space, 1)); }
.feature-icon {
  font-size: 30px;
  font-weight: 800;
  color: var(--site-accent);
  opacity: 0.85;
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--site-muted); font-size: 14.5px; }

/* ===== 核心业务 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24px * var(--site-space, 1));
}
.service-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: calc(24px * var(--site-space, 1) * 1.25);
  transition: border-color calc(180ms * var(--site-motion, 1)) ease, transform calc(180ms * var(--site-motion, 1)) ease;
}
.service-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card > p { color: var(--site-muted); font-size: 14.5px; margin-bottom: calc(24px * var(--site-space, 1) * 0.8); }
.service-card ul { display: grid; gap: 8px; }
.service-card li {
  font-size: 13.5px;
  color: var(--site-fg);
  padding-left: 18px;
  position: relative;
  opacity: 0.85;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--site-accent);
}

/* ===== 解决方案 ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(24px * var(--site-space, 1));
}
.solution-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  overflow: hidden;
  transition: border-color calc(180ms * var(--site-motion, 1)) ease, transform calc(180ms * var(--site-motion, 1)) ease;
}
.solution-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.solution-media { aspect-ratio: 4 / 3; overflow: hidden; }
.solution-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform calc(180ms * var(--site-motion, 1) * 2.5) ease;
}
.solution-card:hover .solution-media img { transform: scale(1.06); }
.solution-body { padding: calc(24px * var(--site-space, 1)); }
.solution-body h3 { font-size: 18px; margin-bottom: 8px; }
.solution-body p { color: var(--site-muted); font-size: 14px; }

/* ===== 服务流程 ===== */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(24px * var(--site-space, 1));
  counter-reset: step;
}
.process-list li {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: calc(24px * var(--site-space, 1));
}
.process-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--site-accent);
  font-weight: 800;
  margin-bottom: 14px;
}
.process-list h3 { font-size: 17px; margin-bottom: 6px; }
.process-list p { font-size: 13.5px; color: var(--site-muted); }

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: calc(24px * var(--site-space, 1) * 2.5);
  align-items: start;
}
.about-text > p { color: var(--site-muted); margin-bottom: calc(24px * var(--site-space, 1) * 0.9); }
.about-text .btn { margin-top: calc(24px * var(--site-space, 1) * 0.5); }
.about-aside { display: grid; gap: calc(24px * var(--site-space, 1)); }
.about-media { margin: 0; }
.about-media img {
  width: 100%;
  height: auto;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-border);
}
.about-panel {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: calc(24px * var(--site-space, 1) * 1.4);
}
.about-panel h3 { font-size: 20px; margin-bottom: calc(24px * var(--site-space, 1) * 0.8); }
.about-panel ul { display: grid; gap: 14px; }
.about-panel li { font-size: 15px; color: var(--site-muted); padding-left: 24px; position: relative; }
.about-panel li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--site-accent);
  font-size: 12px;
  top: 4px;
}
.about-panel strong { color: var(--site-fg); }

/* ===== 联系我们 ===== */
.contact-section { position: relative; overflow: hidden; }
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-head { margin-inline: auto; text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24px * var(--site-space, 1));
}
.contact-card {
  text-align: center;
  border: 1px dashed var(--site-border);
  border-radius: var(--site-radius);
  padding: calc(24px * var(--site-space, 1) * 1.3);
  background: color-mix(in srgb, var(--site-surface) 55%, transparent);
}
.contact-card h3 { font-size: 15px; color: var(--site-accent); margin-bottom: 10px; letter-spacing: 1px; }
.contact-card p { font-size: 15.5px; }

/* ===== 页脚 ===== */
.site-footer {
  border-top: 1px solid var(--site-border);
  background: color-mix(in srgb, var(--site-bg) 75%, black);
  padding: calc(24px * var(--site-space, 1) * 1.8) 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: calc(24px * var(--site-space, 1));
}
.footer-brand strong { font-size: 17px; }
.footer-brand p { color: var(--site-muted); font-size: 13.5px; margin-top: 6px; }
.footer-info { text-align: right; color: var(--site-muted); font-size: 13.5px; display: grid; gap: 4px; }
.beian-link { color: var(--site-muted); transition: color calc(180ms * var(--site-motion, 1)) ease; }
.beian-link:hover { color: var(--site-accent); }

/* ===== 动效 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity calc(180ms * var(--site-motion, 1) * 2.4) ease, transform calc(180ms * var(--site-motion, 1) * 2.4) ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .hero-copy { max-width: none; }
  .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: var(--site-bg);
    border-bottom: 1px solid var(--site-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height calc(180ms * var(--site-motion, 1) * 2) ease;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav a { padding: 14px calc(24px * var(--site-space, 1) * 1.3); border-bottom: 1px solid var(--site-border); }
  .nav-toggle { display: flex; }
  .hero { padding-top: calc(24px * var(--site-space, 1) * 5.5); }
  .hero-title { font-size: calc(48px * var(--site-type, 1) * 0.78); }
  .features-grid, .services-grid, .solutions-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { text-align: left; }
}
