/* ============================================================
   夜梦云验证 · 产品首页
   ============================================================ */
body.landing-body {
  background:
    radial-gradient(1100px 640px at 78% -8%, rgba(79, 140, 255, 0.10), transparent 62%),
    radial-gradient(900px 600px at 10% 8%, rgba(34, 211, 238, 0.07), transparent 58%),
    #060a13;
  overflow-x: hidden;
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 26px; }
.desktop { display: inline; }

/* ---------- 导航 ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(148, 163, 184, 0.09); background: rgba(6, 10, 19, 0.72); backdrop-filter: blur(18px); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; font-weight: 750; letter-spacing: -0.01em; }
.brand-text b span { color: #6ea3ff; }
.brand-text small { margin-top: 3px; font-size: 8.5px; letter-spacing: 0.2em; color: #4f6078; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 16px; }
.nav-links a { font-size: 13px; color: #9db0ca; transition: 0.16s; }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-mobile { display: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--text-2); place-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 76px; overflow: hidden; }
#features, #workflow, #security { scroll-margin-top: 90px; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 78%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 650; letter-spacing: 0.16em; color: #8fb4ff; }
.eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: #4f8cff; box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.14); animation: pulse-ring 2.4s infinite; }
@keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12); } 50% { box-shadow: 0 0 0 8px rgba(79, 140, 255, 0.03); } }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.14; letter-spacing: -0.04em; font-weight: 760; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8db9ff 8%, #22d3ee 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 20px; max-width: 530px; font-size: 14.5px; line-height: 1.9; color: #8fa1ba; }
.hero-cta { display: flex; align-items: center; gap: 11px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 11px; color: #5f7188; letter-spacing: 0.02em; flex-wrap: wrap; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: #3e4c61; }

/* ---------- Hero 控制台 mock ---------- */
.hero-visual { position: relative; }
.glow-orb { position: absolute; width: 420px; height: 420px; right: -100px; top: -60px; background: radial-gradient(circle, rgba(79, 140, 255, 0.18), transparent 65%); filter: blur(10px); pointer-events: none; }
.console-card { position: relative; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 16px; background: linear-gradient(180deg, rgba(16, 26, 44, 0.94), rgba(9, 15, 27, 0.96)); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04); overflow: hidden; transform: perspective(1200px) rotateY(-3deg) rotateX(1.2deg); }
.console-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.1); background: rgba(8, 13, 23, 0.7); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #2c3a50; }
.dots i:nth-child(1) { background: #f87171; opacity: 0.75; }
.dots i:nth-child(2) { background: #fbbf24; opacity: 0.7; }
.dots i:nth-child(3) { background: #34d399; opacity: 0.7; }
.console-title { font-size: 10px; color: #5f7188; letter-spacing: 0.03em; }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 8.5px; letter-spacing: 0.12em; color: #5eead4; }
.console-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
.console-body { padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock-stats > div { padding: 11px 12px; border: 1px solid rgba(148, 163, 184, 0.11); border-radius: 9px; background: rgba(148, 163, 184, 0.035); }
.mock-stats span { display: block; font-size: 9px; color: #6d8099; }
.mock-stats b { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-stats small { display: block; margin-top: 2px; font-size: 8.5px; color: #55c9a7; }
.mock-chart { padding: 12px; border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 9px; background: rgba(148, 163, 184, 0.025); }
.mock-chart-head { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; color: #8ea1ba; margin-bottom: 11px; }
.mock-chart-head .legend { display: inline-flex; align-items: center; gap: 5px; color: #5f7188; font-size: 8.5px; }
.mock-chart-head .legend i { width: 5px; height: 5px; border-radius: 1px; background: #4f8cff; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.bars span { flex: 1; height: var(--h); border-radius: 2px 2px 1px 1px; background: linear-gradient(180deg, rgba(79, 140, 255, 0.85), rgba(79, 140, 255, 0.12)); position: relative; }
.bars span:nth-child(3n) { background: linear-gradient(180deg, rgba(34, 211, 238, 0.75), rgba(34, 211, 238, 0.08)); }
.mock-response { border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 9px; background: #060b14; overflow: hidden; }
.resp-head { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-bottom: 1px solid rgba(148, 163, 184, 0.08); font-size: 8.5px; }
.resp-head .method { padding: 2px 5px; border-radius: 3px; background: rgba(52, 211, 153, 0.12); color: #6ee7b7; font-weight: 700; letter-spacing: 0.04em; }
.resp-head .path { color: #8ea1ba; font-family: var(--mono); }
.resp-head .status { margin-left: auto; color: #6ee7b7; }
.mock-response pre { margin: 0; padding: 10px 12px 12px; font-size: 9px; line-height: 1.7; color: #7f93ad; overflow: hidden; }
.mock-response .k { color: #93c5fd; }
.mock-response .s { color: #7dd3fc; }
.mock-response .n { color: #fbbf24; }
.mock-response .b { color: #c4b5fd; }
.mock-response .p { color: #64748b; }

.float-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 10px; background: rgba(11, 18, 31, 0.94); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px #000; animation: float 5s ease-in-out infinite; }
.float-chip b { display: block; font-size: 10.5px; color: #dbe7f8; font-weight: 600; }
.float-chip small { display: block; font-size: 8.5px; color: #61748d; margin-top: 1px; }
.chip-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.12); color: #5eead4; font-size: 12px; font-weight: 700; }
.chip-ico.blue { background: rgba(79, 140, 255, 0.14); color: #93c5fd; }
.chip-a { left: -22px; bottom: 36px; animation-delay: -1s; }
.chip-b { right: -16px; top: 44px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 指标条 ---------- */
.stat-strip { border-top: 1px solid rgba(148, 163, 184, 0.09); border-bottom: 1px solid rgba(148, 163, 184, 0.09); background: rgba(9, 14, 25, 0.5); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 24px; padding-bottom: 24px; }
.strip-inner > div { display: flex; flex-direction: column; gap: 2px; padding: 0 26px; border-left: 1px solid rgba(148, 163, 184, 0.1); }
.strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.strip-inner b { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; color: #dbe7f8; }
.strip-inner span { font-size: 10.5px; color: #60738d; letter-spacing: 0.02em; }

/* ---------- 通用 section ---------- */
.section { padding: 106px 0; }
.section-head { max-width: 620px; margin-bottom: 46px; }
.kicker { display: inline-block; font-size: 10px; font-weight: 650; letter-spacing: 0.18em; color: #6f9cf0; }
.section-head h2, .security-copy h2, .cta-card h2 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 750; }
.section-head p { margin-top: 14px; color: #8496af; font-size: 13.5px; line-height: 1.85; }

/* ---------- 功能 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { position: relative; padding: 24px 22px; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 14px; background: linear-gradient(180deg, rgba(16, 26, 44, 0.6), rgba(9, 15, 27, 0.5)); transition: 0.2s; overflow: hidden; }
.feature:hover { border-color: rgba(148, 163, 184, 0.24); transform: translateY(-3px); background: linear-gradient(180deg, rgba(19, 30, 50, 0.75), rgba(9, 15, 27, 0.6)); }
.feature-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 15px; border: 1px solid; }
.feature-ico.blue { color: #93c5fd; background: rgba(79, 140, 255, 0.1); border-color: rgba(79, 140, 255, 0.2); }
.feature-ico.green { color: #6ee7b7; background: rgba(52, 211, 153, 0.09); border-color: rgba(52, 211, 153, 0.18); }
.feature-ico.cyan { color: #67e8f9; background: rgba(34, 211, 238, 0.09); border-color: rgba(34, 211, 238, 0.18); }
.feature-ico.purple { color: #c4b5fd; background: rgba(167, 139, 250, 0.09); border-color: rgba(167, 139, 250, 0.18); }
.feature-ico.amber { color: #fcd34d; background: rgba(251, 191, 36, 0.09); border-color: rgba(251, 191, 36, 0.18); }
.feature-ico.slate { color: #a8b6ca; background: rgba(148, 163, 184, 0.08); border-color: rgba(148, 163, 184, 0.16); }
.feature h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; font-size: 12px; line-height: 1.8; color: #7f92ab; }
.feature ul { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(148, 163, 184, 0.09); list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature li { position: relative; padding-left: 14px; font-size: 10.5px; color: #6d819b; }
.feature li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: rgba(79, 140, 255, 0.7); }

/* ---------- 流程 ---------- */
.workflow { border-top: 1px solid rgba(148, 163, 184, 0.08); border-bottom: 1px solid rgba(148, 163, 184, 0.08); background: linear-gradient(180deg, rgba(10, 16, 29, 0.6), rgba(6, 10, 19, 0)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.step { position: relative; padding: 28px 26px 8px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid rgba(148, 163, 184, 0.1); }
.step .num { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #4f8cff; }
.step h3 { margin-top: 14px; font-size: 15px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 11.5px; line-height: 1.8; color: #74879f; }

/* ---------- 安全 ---------- */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.security-copy p { margin-top: 14px; color: #8496af; font-size: 13px; line-height: 1.85; max-width: 470px; }
.check-list { margin: 26px 0 24px; display: flex; flex-direction: column; gap: 15px; }
.check-list > div { display: flex; gap: 11px; }
.check-list > div > span { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.24); color: #5eead4; font-size: 10px; margin-top: 2px; }
.check-list p { margin: 0; font-size: 11.5px; color: #74879f; line-height: 1.7; }
.check-list p b { display: block; font-size: 12.5px; color: #c7d6ea; font-weight: 650; margin-bottom: 1px; }
.security-code { border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 14px; background: #060b14; box-shadow: 0 40px 100px -40px #000; overflow: hidden; }
.code-top { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.09); font-size: 9px; color: #5d7089; font-family: var(--mono); }
.code-top .dots i { width: 6px; height: 6px; }
.security-code pre { margin: 0; padding: 20px; font-size: 11px; line-height: 1.9; color: #8da2bd; overflow-x: auto; }
.security-code .cmt { color: #52657e; }
.security-code .kw { color: #c4b5fd; }
.security-code .str { color: #7dd3fc; }
.code-foot { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-top: 1px solid rgba(148, 163, 184, 0.08); font-size: 9px; color: #53657d; letter-spacing: 0.03em; }
.code-foot .dot { width: 5px; height: 5px; border-radius: 50%; background: #34d399; }

/* ---------- CTA ---------- */
.cta-section { padding: 20px 0 110px; }
.cta-card { position: relative; overflow: hidden; text-align: center; padding: 66px 30px 58px; border: 1px solid rgba(79, 140, 255, 0.22); border-radius: 20px; background: radial-gradient(600px 300px at 50% -10%, rgba(79, 140, 255, 0.18), transparent 70%), linear-gradient(180deg, rgba(15, 25, 43, 0.9), rgba(8, 13, 23, 0.92)); }
.cta-glow { position: absolute; left: 50%; top: -160px; width: 520px; height: 320px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(34, 211, 238, 0.16), transparent 70%); pointer-events: none; }
.cta-card h2 { margin-top: 12px; }
.cta-card > p { margin: 12px auto 0; max-width: 480px; color: #8496af; font-size: 13px; line-height: 1.8; }
.cta-card .hero-cta { justify-content: center; margin-top: 26px; }
.cta-note { margin-top: 20px; font-size: 10px; color: #53657d; }
.cta-note code { color: #7f93ad; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(148, 163, 184, 0.09); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand b { display: block; font-size: 12.5px; }
.footer-brand span { display: block; font-size: 9.5px; color: #53657d; }
.footer-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { font-size: 11px; color: #6d8099; }
.footer-links a:hover { color: #c7d6ea; }
.footer-copy { width: 100%; padding-top: 18px; border-top: 1px solid rgba(148, 163, 184, 0.07); font-size: 10px; color: #44546a; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid rgba(148, 163, 184, 0.1); margin-top: 20px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 16px; background: rgba(7, 12, 21, 0.98); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; border-bottom: 1px solid rgba(148, 163, 184, 0.07); }
  .nav-actions .btn-ghost { display: none; }
  .nav-mobile { display: grid; }
  .hero { padding: 60px 0 54px; }
  .hero h1 { font-size: 40px; }
  .console-card { transform: none; }
  .float-chip { display: none; }
  .strip-inner { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .strip-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid rgba(148, 163, 184, 0.1); padding-top: 22px; }
  .step:first-child { border-top: 0; padding-top: 0; }
  .section { padding: 74px 0; }
  .section-head { margin-bottom: 32px; }
  .desktop { display: none; }
  .footer-links { margin-left: 0; }
  .cta-section { padding-bottom: 74px; }
  .cta-card { padding: 48px 20px 42px; }
}
