/* ===== 基础变量 ===== */
:root {
  --bg: #07090f;
  --bg-soft: #0b0e17;
  --bg-card: #10141f;
  --bg-card-hover: #151a28;
  --border: #1e2434;
  --border-soft: #171c29;
  --text: #e8ecf4;
  --text-dim: #9aa3b5;
  --text-faint: #6b7385;
  --primary: #4f7cff;
  --primary-strong: #3a63e0;
  --primary-glow: rgba(79, 124, 255, 0.35);
  --cyan: #22d3ee;
  --green: #34d399;
  --grad: linear-gradient(135deg, #4f7cff 0%, #22d3ee 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --maxw: 1160px;
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--primary-glow);
  filter: brightness(1.06);
}

.btn-outline {
  background: rgba(79, 124, 255, 0.08);
  border-color: rgba(79, 124, 255, 0.4);
  color: #b8ccff;
}
.btn-outline:hover {
  background: rgba(79, 124, 255, 0.16);
  border-color: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}
.btn-ghost:hover { color: #fff; border-color: #34405a; }

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }
.arrow { font-weight: 800; }

/* ===== 顶部导航 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: 0.5px; }
.brand-text small { font-size: 11px; color: var(--text-faint); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* 抽屉菜单 */
.drawer {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: rgba(7, 9, 15, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.drawer.open { display: flex; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  padding: 12px 8px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
}
.drawer-links a.active { color: #fff; }
.drawer-links .btn { margin-top: 12px; width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 60px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,124,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,124,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}
.orb-a { width: 480px; height: 480px; background: var(--primary); top: -120px; left: -120px; }
.orb-b { width: 420px; height: 420px; background: var(--cyan); bottom: -120px; right: -100px; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.08), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0% { top: -20%; }
  100% { top: 120%; }
}

.data-stream {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  left: 50%;
  animation: drift 8s linear infinite;
  opacity: 0.5;
}
@keyframes drift {
  0% { transform: translateX(-40vw); }
  100% { transform: translateX(40vw); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.1);
  border: 1px solid rgba(79, 124, 255, 0.3);
  font-size: 13px;
  color: #b8ccff;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* 流程节点动画 */
.flow-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.flow-item { display: flex; align-items: center; }
.flow-icon {
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  transition: all 0.3s;
}
.flow-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 10px;
  border: 1px solid var(--primary);
  opacity: 0;
}
.flow-item:hover .flow-icon { border-color: var(--primary); color: #fff; }
.flow-line {
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--border), var(--primary));
  position: relative;
  overflow: hidden;
}
.flow-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--cyan);
  animation: flow 2.4s linear infinite;
}
@keyframes flow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== 信任信息 ===== */
.trust-bar {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dim);
}
.check { color: var(--green); font-weight: 700; margin-right: 4px; }

/* ===== 通用 section ===== */
.section { padding: 96px 24px; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.3px;
}
.section-sub { margin-top: 16px; font-size: 17px; color: var(--text-dim); }

/* ===== 问题卡片 ===== */
.cards-3 {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prob-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.prob-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.card-num {
  font-size: 44px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  display: block;
  line-height: 1;
  margin-bottom: 18px;
}
.prob-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.prob-card p { font-size: 15px; color: var(--text-dim); }

.highlight-line {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
}

/* ===== 功能卡片 ===== */
.cards-5 {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.feat-icon { font-size: 32px; margin-bottom: 18px; }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--text-dim); flex: 1; margin-bottom: 20px; }
.more-link {
  font-size: 14px;
  color: #b8ccff;
  font-weight: 600;
  transition: color 0.2s;
}
.more-link:hover { color: #fff; }

/* ===== 体检区域 ===== */
.assessment-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.assessment-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--primary-glow), transparent);
  opacity: 0.25;
  pointer-events: none;
}
.assessment-block .section-head { margin-bottom: 28px; position: relative; z-index: 1; }
.assessment-block .section-head h2 { font-size: clamp(24px, 3.2vw, 34px); }

.assessment-desc { font-size: 16px; color: var(--text-dim); margin-bottom: 28px; position: relative; z-index: 1; }

.assessment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.assessment-list li {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.08);
  border: 1px solid rgba(79, 124, 255, 0.25);
  font-size: 14px;
  color: #c3d2ff;
}

.assessment-conclusion { font-size: 16px; margin-bottom: 32px; position: relative; z-index: 1; }
.assessment-conclusion strong { color: #fff; }

.assessment-block .btn { position: relative; z-index: 1; }

/* ===== 体检结果示意 ===== */
.report-demo {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.report-left, .report-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.report-label { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }

.report-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.score-num {
  font-size: 64px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.score-total { font-size: 20px; color: var(--text-faint); font-weight: 600; }

.score-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 28px;
}
.score-bar span {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 6px;
  animation: grow 1.2s ease forwards;
  transform-origin: left;
  transform: scaleX(0);
}
@keyframes grow { to { transform: scaleX(1); } }

.metric-list { display: flex; flex-direction: column; gap: 14px; }
.metric-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.m-name { width: 72px; color: var(--text-dim); flex-shrink: 0; }
.m-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.m-bar i {
  display: block; height: 100%;
  background: var(--grad);
  border-radius: 4px;
  animation: grow 1.2s ease forwards;
  transform: scaleX(0); transform-origin: left;
}
.m-val { width: 24px; text-align: right; color: #fff; font-weight: 700; }

.opp-count { color: var(--cyan); font-size: 20px; }
.opp-list { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.opp-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.opp-num { font-weight: 800; color: var(--cyan); font-size: 15px; }
.opp-name { flex: 1; font-weight: 600; font-size: 15px; }
.opp-stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; }

.report-note { margin-top: 20px; font-size: 12px; color: var(--text-faint); }

/* ===== 时间轴 ===== */
.timeline {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.t-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.t-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  margin: 8px 0;
  z-index: 1;
}
.t-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  text-align: center;
  transition: all 0.3s;
}
.t-card:hover { border-color: var(--primary); }
.t-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.t-card h3 em {
  font-style: normal;
  color: var(--cyan);
  margin-left: 4px;
  font-size: 15px;
}
.t-card p { font-size: 14px; color: var(--text-dim); }
.t-arrow {
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
  margin: 10px 0;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}

.center-cta { text-align: center; margin-top: 48px; }

/* ===== 最终CTA ===== */
.final-cta {
  padding: 96px 24px;
  background: var(--bg-soft);
}
.final-cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(79,124,255,0.14), rgba(34,211,238,0.1));
  border: 1px solid rgba(79, 124, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
}
.final-cta h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
}
.final-cta p { font-size: 17px; color: var(--text-dim); margin-bottom: 32px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { font-size: 18px; font-weight: 800; }
.footer-brand span { font-size: 12px; color: var(--text-faint); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 13px; color: var(--text-faint); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a2030;
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .cards-3 { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: 1fr; }
  .report-demo { grid-template-columns: 1fr; }
  .flow-nodes { gap: 6px; }
  .flow-line { width: 16px; }

  .hero { padding-top: 100px; }
  .section { padding: 64px 20px; }
  .assessment-block { padding: 40px 24px; }
  .final-cta-inner { padding: 48px 24px; }

  .trust-inner { gap: 18px; }
}

/* ===== 滚动进入动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
