:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1424;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #eaf0fb;
  --text-dim: #9aa6bd;
  --brand: #5b8cff;
  --brand-2: #8b5cf6;
  --accent: #38e1c4;
  --radius: 16px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--panel-border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 17px;
  box-shadow: 0 6px 18px rgba(91, 140, 255, 0.35);
}
.brand__text i { font-style: normal; color: var(--text-dim); font-weight: 500; margin-left: 4px; font-size: 14px; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__link { color: var(--text-dim); font-size: 15px; transition: color 0.2s; }
.nav__link:hover { color: var(--text); }
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(91, 140, 255, 0.3);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero__glow--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.7), transparent 70%);
  top: -120px; left: -80px;
  animation: float 14s ease-in-out infinite;
}
.hero__glow--b {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent 70%);
  bottom: -140px; right: -60px;
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero__eyebrow {
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff, #c5d2ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 26px auto 36px;
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(15px, 2vw, 18px);
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  margin-top: 64px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span {
  width: 22px; height: 36px;
  border: 1.5px solid var(--panel-border);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(91, 140, 255, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(91, 140, 255, 0.45); }
.btn--ghost {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--brand); color: #fff; }
.btn--block { width: 100%; }

/* ---------- 通用区块 ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__tag {
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--accent); font-weight: 600;
}
.section__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; margin: 14px 0 12px;
  letter-spacing: -0.3px;
}
.section__desc { color: var(--text-dim); font-size: 16px; }

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 业务卡片 ---------- */
.grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(91, 140, 255, 0.5); background: rgba(91, 140, 255, 0.06); }
.card__icon {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.2), rgba(139, 92, 246, 0.2));
  color: #cdd9ff;
  margin: 0 auto 20px;
  box-shadow: 0 10px 26px rgba(91, 140, 255, 0.18);
}
.card__icon svg { width: 40px; height: 40px; }
.card__title { font-size: 18px; margin-bottom: 10px; }
.card__text { color: var(--text-dim); font-size: 14.5px; }

/* ---------- 关于 ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about__text p { color: var(--text-dim); margin: 16px 0; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li { color: var(--text); font-size: 15px; }
.about__panel { position: relative; min-height: 320px; border-radius: 24px; overflow: hidden; border: 1px solid var(--panel-border); background: linear-gradient(160deg, #121a30, #0c1120); display: grid; place-items: center; }
.about__blob {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 225, 196, 0.35), transparent 70%);
  filter: blur(40px); animation: float 12s ease-in-out infinite;
}
.about__quote { position: relative; z-index: 1; font-size: clamp(22px, 3vw, 30px); font-weight: 700; text-align: center; line-height: 1.4; padding: 0 30px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
}
.step__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.16), rgba(139, 92, 246, 0.16));
  color: #cdd9ff;
  margin-bottom: 14px;
}
.step__icon svg { width: 24px; height: 24px; }
.step__no {
  font-size: 40px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px;
}
.step__title { font-size: 18px; margin-bottom: 8px; }
.step__text { color: var(--text-dim); font-size: 14.5px; }

/* ---------- 数据 ---------- */
.stats { max-width: var(--maxw); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center;
  padding: 38px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.08), rgba(139, 92, 246, 0.05));
  border: 1px solid var(--panel-border);
}
.stat__num {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #aebfe6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--text-dim); margin-top: 8px; font-size: 15px; }

/* ---------- 联系 ---------- */
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 48px;
}
.contact__info { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.contact__info li { display: flex; align-items: center; gap: 12px; color: var(--text-dim); }
.contact__info svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; }
.contact__info a { color: var(--text); border-bottom: 1px dashed transparent; transition: border-color 0.2s, color 0.2s; }
.contact__info a:hover { color: #fff; border-bottom-color: var(--brand); }
.contact__form { display: grid; gap: 14px; align-content: center; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: #5e6a82; }
.contact__hint { font-size: 13px; color: var(--accent); min-height: 18px; margin: 0; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--panel-border); margin-top: 40px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 30px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__meta { text-align: right; display: grid; gap: 6px; }
.footer__copy { color: var(--text-dim); font-size: 13px; }
.footer__beian a { color: var(--text-dim); font-size: 13px; border-bottom: 1px dashed transparent; transition: color 0.2s, border-color 0.2s; }
.footer__beian a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid--4, .steps, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 26, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--panel-border);
    padding: 12px 0 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav__menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 24px; width: 100%; text-align: center; }
  .nav__cta { margin: 10px 24px 0; text-align: center; }
  .section { padding: 72px 20px; }
  .hero { padding: 110px 20px 70px; }
  .grid--4, .steps, .stats__grid { grid-template-columns: 1fr; }
  .contact__card { padding: 28px 22px; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__meta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow, .about__blob, .hero__scroll span::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
