:root {
  --bg: #070d1a;
  --bg-soft: #0b1426;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e8eefb;
  --text-dim: #93a1bd;
  --text-faint: #5d6b88;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #22d3ee, #3b82f6 55%, #818cf8);
  --radius: 20px;
  --radius-sm: 12px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
svg { display: block; }

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

/* ---------- 背景光晕 ---------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.bg-glow-1 {
  width: 640px; height: 640px;
  top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 65%);
}
.bg-glow-2 {
  width: 520px; height: 520px;
  bottom: -200px; left: -180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.13), transparent 65%);
}

section, header, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7, 13, 26, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--panel-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo-mark { width: 36px; height: 36px; }
.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav a {
  font-size: 0.94rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav-cta { flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-primary {
  background: var(--grad);
  color: #04101f;
  box-shadow: 0 8px 28px rgba(45, 143, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(45, 143, 235, 0.5);
}
.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: #0b1a33;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* ---------- Hero ---------- */
.hero { padding: 168px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 26px;
}
.stat strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
}
.stat span { font-size: 0.82rem; color: var(--text-faint); }
.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--panel-border);
}

/* ---------- 手机模型 ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  border-radius: 12px;
  background: #04080f;
  z-index: 2;
}
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0d1626;
  min-height: 560px;
}
.app-header {
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
  padding: 56px 18px 16px;
}
.app-team {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.app-crest {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.app-team h3 { font-size: 1.02rem; }
.app-team p { font-size: 0.74rem; opacity: 0.8; }
.app-chips { display: flex; gap: 8px; }
.chip {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}
.chip-active { background: #fff; color: #1d4ed8; font-weight: 600; }

.app-body { padding: 14px 14px 20px; }
.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  padding: 13px 14px;
  margin-bottom: 11px;
}
.app-card-match { display: block; }
.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.match-team { font-weight: 700; font-size: 0.92rem; }
.match-vs {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.match-meta { font-size: 0.73rem; color: var(--text-faint); margin-bottom: 10px; }
.match-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 6px;
}
.match-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
}
.match-meta2 { font-size: 0.72rem; color: var(--cyan); }

.row-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.row-icon svg { width: 21px; height: 21px; }
.row-icon.blue { background: rgba(59, 130, 246, 0.16); color: #7eb3ff; }
.row-icon.green { background: rgba(52, 211, 153, 0.14); color: var(--green); }
.row-icon.violet { background: rgba(167, 139, 250, 0.15); color: var(--violet); }
.row-info { flex: 1; }
.row-info h4 { font-size: 0.87rem; }
.row-info p { font-size: 0.72rem; color: var(--text-faint); }
.row-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
}
.row-val.good { color: var(--green); }

/* 浮动卡片 */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border-radius: 15px;
  background: rgba(13, 22, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card svg { width: 26px; height: 26px; flex-shrink: 0; }
.float-card strong { display: block; font-size: 0.86rem; }
.float-card span { font-size: 0.73rem; color: var(--text-faint); }
.float-card-1 { top: 84px; left: -34px; }
.float-card-2 { bottom: 68px; right: -30px; animation-delay: 2.7s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.022) 18%, rgba(255, 255, 255, 0.022) 82%, transparent);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 58px;
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-head h2 .grad-text { margin-left: 0.35em; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; }

/* ---------- 卡片网格 ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 50% -20%, rgba(59, 130, 246, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
}
.card:hover::before { opacity: 1; }
.card-icon {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 25px; height: 25px; }
.i-cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.i-blue { background: rgba(59, 130, 246, 0.14); color: #7eb3ff; }
.i-violet { background: rgba(167, 139, 250, 0.13); color: var(--violet); }
.i-green { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.i-amber { background: rgba(251, 191, 36, 0.12); color: var(--amber); }
.card h3 {
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 9px;
}
.card p {
  position: relative;
  font-size: 0.91rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- 流程 ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline-track {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.45) 12%, rgba(34, 211, 238, 0.45) 88%, transparent);
}
.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  position: relative;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--bg-soft);
  border: 1px solid var(--panel-border);
  color: var(--cyan);
  box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.05), 0 10px 28px rgba(0, 0, 0, 0.35);
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: 0.89rem; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: 68px 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.32), rgba(8, 145, 178, 0.22));
  border: 1px solid rgba(99, 155, 255, 0.22);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 320px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.2), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta > p {
  position: relative;
  color: var(--text-dim);
  font-size: 1.03rem;
  margin-bottom: 30px;
}
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cta-hint {
  position: relative;
  font-size: 0.86rem;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 38px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-brand .logo-mark { width: 40px; height: 40px; }
.footer-brand strong { font-size: 1rem; }
.footer-brand p { font-size: 0.82rem; color: var(--text-faint); }
.footer-meta {
  display: flex;
  gap: 26px;
  font-size: 0.86rem;
  color: var(--text-faint);
}
.footer-meta a { transition: color 0.2s; }
.footer-meta a:hover { color: var(--text-dim); }

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
}

@media (max-width: 880px) {
  .hero { padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 64px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .nav { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline-track { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .grid-4, .timeline { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero-stats { gap: 16px; }
  .float-card-1 { top: 40px; }
  .float-card-2 { bottom: 30px; }
  .nav-cta { display: none; }
  .header-inner { justify-content: space-between; }
}
