﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* ===== 网站首页样式（与登录页同色系 #02040c） ===== */
body { background: #02040c; overflow-y: auto; overflow-x: hidden;
  background-image:
    radial-gradient(1200px 620px at 12% -12%, rgba(47,129,247,.12), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(0,212,255,.07), transparent 60%);
  background-attachment: fixed; }

/* ---------- Hero：整体单层底色 + 单层星空（跨左右，无分界） ---------- */
/* Hero：VR 全幅背景 + 左侧文案叠于最上层（单列布局） */
.hero { min-height: 660px; position: relative; background: #02040c; }
.hero > .starfield { position: absolute; inset: 0; z-index: 0; }
.hero-vr { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-vr #vrCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; min-height: 660px; padding: 60px 24px 60px 7vw; }
.hero-copy::before { content: ''; position: absolute; inset: 0 -180px 0 -7vw; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2,4,12,.96) 0%, rgba(2,4,12,.82) 42%, rgba(2,4,12,.28) 74%, transparent 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,4,12,0), #02040c 92%); }
.hero-copy .btn { pointer-events: auto; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.28; color: #f2f7ff; letter-spacing: 1px; margin: 0 0 18px; word-break: keep-all; }
.hero-copy h1 em { font-style: normal; color: #4da3ff; }
.hero-sub { font-size: 15.5px; color: #a9c2e6; line-height: 1.9; max-width: 480px; margin: 0 0 8px; }
.hero-sub2 { font-size: 14.5px; color: #7fa6d8; letter-spacing: .5px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 26px;
  border-radius: 10px; font-size: 14.5px; letter-spacing: 1px; text-decoration: none; transition: .2s; }
.btn.primary { color: #fff; background: linear-gradient(135deg, #2f81f7, #1b5fd9); box-shadow: 0 8px 26px rgba(47,129,247,.35); }
.btn.primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn.ghost { color: #eaf4ff; border: 1px solid rgba(96,165,250,.45); background: rgba(13,22,40,.6); }
.btn.ghost:hover { border-color: #60a5fa; background: rgba(30,58,110,.72); }

/* 向下滚动提示 */
.hero-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 4; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: #8fb6e8; font-size: 12px; letter-spacing: 2px;
  opacity: .9; transition: opacity .35s, transform .35s; }
.hero-hint .mouse { position: relative; width: 20px; height: 32px; border: 1.5px solid rgba(143,182,232,.7); border-radius: 11px; }
.hero-hint .mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: #9cc2f5; animation: wheelDrop 1.7s infinite; }
@keyframes wheelDrop { 0% { transform: translateY(0); opacity: .9; } 62% { transform: translateY(9px); opacity: 0; } 63% { transform: translateY(0); opacity: 0; } 100% { opacity: .9; } }
.hero-hint.hide { opacity: 0; transform: translateX(-50%) translateY(-10px); }
:root.light .hero-hint { color: #64748b; }
:root.light .hero-hint .mouse { border-color: rgba(100,116,139,.55); }
:root.light .hero-hint .mouse::after { background: #64748b; }

/* ---------- 区块 ---------- */
.sect { max-width: 1180px; margin: 0 auto; padding: 96px 24px 34px; position: relative; }
.sect-hd { text-align: center; margin: 0 0 48px; }
.sect-hd .kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 5px; color: #4da3ff;
  margin-bottom: 10px; text-transform: uppercase; }
.sect h2 { font-size: clamp(24px, 2.6vw, 30px); color: #eef6ff; text-align: center; letter-spacing: 2px; margin: 0; }
.sect-hd h2::after { content: ''; display: block; width: 46px; height: 3px; margin: 14px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, #2f81f7, #00d4ff); }

/* 功能九宫格 */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-grid { counter-reset: fc; }
.feat-card { position: relative; overflow: hidden; counter-increment: fc; border: 1px solid rgba(110,170,255,.22); border-radius: 14px; padding: 24px 22px;
  background: linear-gradient(160deg, rgba(19,34,60,.78), rgba(10,18,34,.62));
  box-shadow: 0 10px 26px rgba(2,8,20,.45), inset 0 1px 0 rgba(255,255,255,.05); transition: .22s; }
.feat-card::before { content: counter(fc, decimal-leading-zero); position: absolute; top: 10px; right: 16px;
  font: 800 40px Consolas, monospace; color: rgba(90,150,255,.16); line-height: 1; transition: .2s; }
.feat-card::after { content: ''; position: absolute; right: 18px; bottom: 16px; width: 46px; height: 8px;
  background: radial-gradient(circle 2.6px at 4px 4px, rgba(90,150,255,.5) 98%, transparent),
              radial-gradient(circle 2.6px at 22px 4px, rgba(90,150,255,.36) 98%, transparent),
              radial-gradient(circle 2.6px at 40px 4px, rgba(90,150,255,.22) 98%, transparent); transition: .2s; }
.feat-card:hover { transform: translateY(-4px); border-color: #00d4ff;
  box-shadow: 0 18px 40px rgba(2,8,20,.55), 0 0 26px rgba(0,212,255,.14); }
.feat-card:hover::before { color: rgba(0,212,255,.30); }
.feat-card:hover::after { background: radial-gradient(circle 3px at 4px 4px, rgba(0,212,255,.9) 98%, transparent),
              radial-gradient(circle 3px at 22px 4px, rgba(0,212,255,.62) 98%, transparent),
              radial-gradient(circle 3px at 40px 4px, rgba(0,212,255,.34) 98%, transparent); }
.feat-card .ep-i { color: #4da3ff; }
.feat-card h3 { font-size: 16.5px; color: #eaf4ff; margin: 12px 0 8px; letter-spacing: 1px; }
.feat-card h3::after { content: ''; display: block; width: 64px; height: 2px; margin-top: 8px;
  background: linear-gradient(90deg, rgba(64,130,255,.85), rgba(64,130,255,0)); transition: .2s; }
.feat-card:hover h3::after { background: linear-gradient(90deg, rgba(0,212,255,.95), rgba(0,212,255,0)); }
.feat-card p { font-size: 13px; color: #8ba7cf; line-height: 1.8; margin: 0; }

/* 架构亮点 */
.arch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; counter-reset: fa; }
.arch-card { position: relative; overflow: hidden; counter-increment: fa; display: flex; gap: 13px; align-items: flex-start;
  border: 1px solid rgba(110,170,255,.22); border-radius: 14px; padding: 20px;
  background: linear-gradient(160deg, rgba(19,34,60,.78), rgba(10,18,34,.62));
  box-shadow: 0 10px 26px rgba(2,8,20,.45), inset 0 1px 0 rgba(255,255,255,.05); transition: .22s; }
.arch-card::before { content: counter(fa, decimal-leading-zero); position: absolute; top: 8px; right: 14px;
  font: 800 34px Consolas, monospace; color: rgba(90,150,255,.16); line-height: 1; transition: .2s; }
.arch-card:hover { transform: translateY(-3px); border-color: #00d4ff;
  box-shadow: 0 18px 40px rgba(2,8,20,.55), 0 0 26px rgba(0,212,255,.14); }
.arch-card:hover::before { color: rgba(0,212,255,.30); }
.arch-card .ep-i { color: #00d4ff; margin-top: 2px; }
.arch-card h3 { font-size: 15px; color: #eaf4ff; margin: 0 0 6px; }
.arch-card h3::after { content: ''; display: block; width: 52px; height: 2px; margin-top: 7px;
  background: linear-gradient(90deg, rgba(0,212,255,.8), rgba(0,212,255,0)); }
.arch-card p { font-size: 12.5px; color: #8ba7cf; line-height: 1.7; margin: 0; }

/* 快速开始 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.step { border: 1px solid rgba(110,170,255,.22); border-radius: 14px; padding: 24px 22px;
  background: linear-gradient(160deg, rgba(19,34,60,.78), rgba(10,18,34,.62));
  box-shadow: 0 10px 26px rgba(2,8,20,.45), inset 0 1px 0 rgba(255,255,255,.05); transition: .22s; }
.step:hover { transform: translateY(-3px); border-color: #00d4ff;
  box-shadow: 0 18px 40px rgba(2,8,20,.55), 0 0 26px rgba(0,212,255,.14); }
.step b { font-size: 26px; color: rgba(77,163,255,.5); font-weight: 800; }
.step h3 { font-size: 16px; color: #eaf4ff; margin: 8px 0 8px; }
.step p { font-size: 13px; color: #8ba7cf; line-height: 1.8; margin: 0; }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 10px 0 44px; }
.dl-row .btn { height: 40px; padding: 0 20px; font-size: 13.5px; }

/* 页脚 */
.home-footer { padding: 56px 7vw 38px; border-top: 1px solid rgba(110,170,255,.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: #5d7db8; font-size: 13px; }
.home-footer a { color: #9cc2f5; text-decoration: none; margin-right: 4px; }
.home-footer a:hover { color: #fff; }
.ft-info div + div { margin-top: 6px; }
.ft-links a { margin-left: 16px; }

/* ===== 明亮模式（柔和护眼） ===== */
:root.light body { background: #f4f6fa; }
:root.light .hero { background: radial-gradient(ellipse at 50% 42%, #e9f1fc, #f4f6fa 72%); }
:root.light .hero-copy::before { background: linear-gradient(90deg, rgba(244,246,250,.97) 0%, rgba(244,246,250,.88) 45%, rgba(244,246,250,.38) 76%, rgba(244,246,250,0) 100%); }
:root.light .hero::after { background: linear-gradient(180deg, rgba(244,246,250,0), #f4f6fa 92%); }
:root.light .sect-hd .kicker { color: #2563eb; }
:root.light .sect-hd h2::after { background: linear-gradient(90deg, #2563eb, #0ea5e9); }
:root.light .hero-copy h1 { color: #16233b; }
:root.light .hero-copy h1 em { color: #2563eb; }
:root.light .hero-sub { color: #41546f; }
:root.light .hero-sub2 { color: #64748b; }
:root.light .btn.ghost { color: #29415f; border-color: rgba(37,99,235,.35); background: rgba(255,255,255,.86); }
:root.light .btn.ghost:hover { background: #fff; border-color: #93b4f0; color: #1d4ed8; }
:root.light .sect h2 { color: #16233b; }
:root.light .feat-card { border-color: #e2e8f3; background: #fff; box-shadow: 0 2px 6px rgba(16,32,64,.05), 0 14px 30px rgba(16,32,64,.06); }
:root.light .feat-card:hover { border-color: #2563eb; box-shadow: 0 6px 14px rgba(37,99,235,.10), 0 20px 40px rgba(37,99,235,.14); }
:root.light .feat-card::before { color: rgba(47,110,220,.15); }
:root.light .feat-card:hover::before { color: rgba(27,127,212,.30); }
:root.light .feat-card::after { background: radial-gradient(circle 2.6px at 4px 4px, rgba(47,110,220,.55) 98%, transparent),
              radial-gradient(circle 2.6px at 22px 4px, rgba(47,110,220,.4) 98%, transparent),
              radial-gradient(circle 2.6px at 40px 4px, rgba(47,110,220,.25) 98%, transparent); }
:root.light .feat-card:hover::after { background: radial-gradient(circle 3px at 4px 4px, rgba(27,127,212,.9) 98%, transparent),
              radial-gradient(circle 3px at 22px 4px, rgba(27,127,212,.62) 98%, transparent),
              radial-gradient(circle 3px at 40px 4px, rgba(27,127,212,.34) 98%, transparent); }
:root.light .feat-card h3 { color: #1b2a44; }
:root.light .feat-card h3::after { background: linear-gradient(90deg, rgba(47,110,220,.8), rgba(47,110,220,0)); }
:root.light .feat-card:hover h3::after { background: linear-gradient(90deg, rgba(27,127,212,.95), rgba(27,127,212,0)); }
:root.light .feat-card p { color: #5b6b82; }
:root.light .feat-card .ep-i { color: #2563eb; }
:root.light .arch-card { border-color: #e2e8f3; background: #fff; box-shadow: 0 2px 6px rgba(16,32,64,.05), 0 14px 30px rgba(16,32,64,.06); }
:root.light .arch-card:hover { border-color: #2563eb; box-shadow: 0 6px 14px rgba(37,99,235,.10), 0 20px 40px rgba(37,99,235,.14); }
:root.light .arch-card::before { color: rgba(47,110,220,.15); }
:root.light .arch-card:hover::before { color: rgba(27,127,212,.30); }
:root.light .arch-card h3 { color: #1b2a44; }
:root.light .arch-card h3::after { background: linear-gradient(90deg, rgba(27,127,212,.8), rgba(27,127,212,0)); }
:root.light .arch-card p { color: #5b6b82; }
:root.light .arch-card .ep-i { color: #149fc4; }
:root.light .step { border-color: #e2e8f3; background: #fff; box-shadow: 0 2px 6px rgba(16,32,64,.05), 0 14px 30px rgba(16,32,64,.06); }
:root.light .step:hover { border-color: #2563eb; box-shadow: 0 6px 14px rgba(37,99,235,.10), 0 20px 40px rgba(37,99,235,.14); }
:root.light .step b { color: rgba(37,99,235,.35); }
:root.light .step h3 { color: #1b2a44; }
:root.light .step p { color: #5b6b82; }
:root.light .home-footer { color: #64748b; border-top-color: #e2e8f3; }
:root.light .home-footer a { color: #2563eb; }

@media (min-width: 1024px) {
  .hero, .hero-copy { min-height: calc(100vh - 66px); }
  .sect { min-height: 100vh; display: flex; flex-direction: column; justify-content: safe center;
    padding-top: 64px; padding-bottom: 64px; }
}
@supports (height: 100svh) {
  @media (min-width: 1024px) {
    .hero, .hero-copy { min-height: calc(100svh - 66px); }
    .sect { min-height: 100svh; }
  }
}
@media (max-width: 1023px) {
  .hero-copy { min-height: 0; padding: 72px 6vw 44px; }
  .hero-vr { inset: 0; }  .feat-grid, .steps { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 26px; letter-spacing: .5px; }
}
