/* ===== 基础与变量 ===== */
:root {
  --bg: #070b16;
  --bg-alt: #0a1020;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #e8edf7;
  --text-dim: #93a0b8;
  --accent: #4f8cff;
  --accent-2: #38e0c8;
  --gradient: linear-gradient(120deg, #4f8cff, #38e0c8);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

a { color: inherit; text-decoration: none; }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-text strong { font-size: 18px; letter-spacing: 2px; }

.brand-text small {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-dim);
}

.site-nav { display: flex; gap: 36px; }

.site-nav a {
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.25s ease;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }

/* ===== 首屏 ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 0 80px;
}

.hero-inner { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent-2);
  border: 1px solid rgba(56, 224, 200, 0.35);
  background: rgba(56, 224, 200, 0.08);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: 10px;
  background: linear-gradient(180deg, #ffffff 20%, #8fb4ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-dim);
  margin-bottom: 44px;
}

.hero-progress {
  width: min(420px, 80%);
  height: 6px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: var(--gradient);
  animation: loading 2.6s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 12%; margin-left: 0; }
  50% { width: 46%; margin-left: 27%; }
  100% { width: 12%; margin-left: 88%; }
}

.hero-progress-text {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #061018;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(79, 140, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(79, 140, 255, 0.5); }

.btn-ghost {
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }

.hero-glow {
  position: absolute;
  left: 50%; top: 38%;
  width: 720px; height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79, 140, 255, 0.16) 0%, rgba(56, 224, 200, 0.06) 40%, transparent 68%);
  pointer-events: none;
}

/* ===== 通用区块 ===== */
.section { padding: 110px 0; }

.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4.5vw, 38px);
  letter-spacing: 4px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 46px; height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--gradient);
}

.section-desc { margin-top: 16px; color: var(--text-dim); font-size: 15px; }

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text p { color: var(--text-dim); margin-bottom: 18px; font-size: 16px; }
.about-text strong { color: var(--text); }

.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stats li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-stats li:hover { transform: translateY(-4px); border-color: rgba(79, 140, 255, 0.45); }

.about-stats strong {
  display: block;
  font-size: 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.about-stats span { font-size: 13px; color: var(--text-dim); }

/* ===== 业务卡片 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 140, 255, 0.5);
  box-shadow: 0 18px 40px rgba(4, 10, 26, 0.55);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 140, 255, 0.12);
  color: var(--accent);
  margin-bottom: 20px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: 1px; }

.card p { font-size: 14px; color: var(--text-dim); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-item {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 40px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover { transform: translateY(-4px); border-color: rgba(56, 224, 200, 0.45); }

.contact-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 224, 200, 0.1);
  color: var(--accent-2);
}

.contact-icon svg { width: 26px; height: 26px; }

.contact-item h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: 1px; }

.contact-item p { font-size: 14px; color: var(--text-dim); }

.contact-item a { color: var(--accent-2); border-bottom: 1px dashed rgba(56, 224, 200, 0.4); }
.contact-item a:hover { color: #6ff0dc; }

/* ===== 页脚（合规信息） ===== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 16, 0.9);
  padding: 36px 0 30px;
  text-align: center;
}

.footer-company { font-size: 15px; letter-spacing: 1px; margin-bottom: 10px; }

.footer-icp {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-sep { color: rgba(255, 255, 255, 0.2); }

.footer-icp a { transition: color 0.25s ease; }

.footer-icp a:hover { color: var(--accent-2); }

.footer-copy { font-size: 12px; color: rgba(147, 160, 184, 0.7); }

/* ===== 滚动显现动画 ===== */
.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) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 13px; }
  .brand-text small { display: none; }
  .hero-title { letter-spacing: 6px; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; }
  .section { padding: 80px 0; }
  .only-desktop { display: none; }
}

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