/* ============================================================
   LXD Cloud - 前台（首页 / 帮助 / 登录注册）统一样式
   页眉 .h-nav、页脚 .h-footer 由 js/site.js 注入，所有前台页面共用
   ============================================================ */
:root {
  --h-max: 1200px;
  --h-bg: #060a14;
  --h-line: rgba(var(--w-rgb), .08);
  --h-glass: rgba(var(--d-rgb), .62);
  --h-card: linear-gradient(180deg, rgba(var(--w-rgb), .055), rgba(var(--w-rgb), .02));
  --h-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
html[data-theme="light"] {
  --h-bg: #f5f7fc;
  --h-line: rgba(15, 23, 42, .08);
  --h-glass: rgba(255, 255, 255, .78);
  --h-card: linear-gradient(180deg, #ffffff, #fbfcff);
  --h-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.home, body.site { background: var(--h-bg); color: var(--text-1); min-height: 100vh; display: flex; flex-direction: column; }
body.home main, body.site main { flex: 1; }
.h-container { width: 100%; max-width: var(--h-max); margin: 0 auto; padding: 0 24px; }
.h-narrow { max-width: 860px; }

/* ---------- 背景 ---------- */
.h-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.h-grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(var(--w-rgb), .045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--w-rgb), .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.h-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.h-orb.o1 { width: 560px; height: 560px; left: -140px; top: -160px; background: #2563eb; }
.h-orb.o2 { width: 520px; height: 520px; right: -160px; top: 80px; background: #7c3aed; opacity: .38; }
.h-orb.o3 { width: 420px; height: 420px; left: 40%; top: 620px; background: #0ea5e9; opacity: .22; }
html[data-theme="light"] .h-orb { opacity: .16; }

/* ---------- 按钮 ---------- */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 11px; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.h-btn:hover { transform: translateY(-1px); }
.h-btn-lg { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.h-btn-block { width: 100%; }
.h-btn-primary { color: #fff; background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 10px 28px rgba(79, 70, 229, .35); }
.h-btn-primary:hover { box-shadow: 0 14px 34px rgba(79, 70, 229, .5); }
.h-btn-ghost { color: var(--text-1); background: rgba(var(--w-rgb), .04); border-color: var(--border-strong); }
.h-btn-ghost:hover { background: rgba(var(--w-rgb), .08); }
.h-btn-soft { color: var(--text-1); background: rgba(56, 189, 248, .10); border-color: rgba(56, 189, 248, .28); }
.h-btn-soft:hover { background: rgba(56, 189, 248, .18); }
.h-btn-white { color: #1e1b4b; background: #fff; }
.h-btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.h-btn-disabled { color: var(--text-3); background: rgba(var(--w-rgb), .04); border-color: var(--border); cursor: not-allowed; transform: none !important; }

/* ---------- 页眉 ---------- */
.h-nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.h-nav.scrolled, .h-nav.open, body.site .h-nav { background: var(--h-glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--h-line); }
.h-nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.h-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-1); flex-shrink: 0; }
.h-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .35);
}
.h-logo img { width: 100%; height: 100%; object-fit: cover; }
.h-logo.sm { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
.h-brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.h-links { display: flex; gap: 4px; flex: 1; }
.h-links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.h-links a:hover, .h-links a.on { color: var(--text-1); background: rgba(var(--w-rgb), .06); }
.h-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.h-actions .theme-toggle { position: static; }
.h-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.h-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--text-1); transition: transform .2s, opacity .2s; }
.h-nav.open .h-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.h-nav.open .h-burger span:nth-child(2) { opacity: 0; }
.h-nav.open .h-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.h-mobile { display: none; }

/* ---------- Hero ---------- */
.h-hero { padding: 64px 0 40px; }
.h-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.h-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 13px; color: var(--text-2); text-decoration: none; border: 1px solid var(--border-strong); background: rgba(var(--w-rgb), .04); }
.h-pill b { color: var(--accent); }
.h-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.h-hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 18px; }
.h-grad { background: linear-gradient(100deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lead { font-size: 17px; line-height: 1.75; color: var(--text-2); max-width: 560px; }
.h-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.h-hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding: 0; font-size: 13.5px; color: var(--text-2); }
.h-hero-points li { display: flex; align-items: center; gap: 8px; }
.h-hero-points i { width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, .16); position: relative; }
.h-hero-points i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #34d399; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.h-hero-visual { position: relative; }
.h-term { border-radius: 18px; overflow: hidden; background: #0a0f1d; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--h-shadow), 0 0 0 1px rgba(99, 102, 241, .12); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.h-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.h-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.h-term-bar i:nth-child(2) { background: #fbbf24; }
.h-term-bar i:nth-child(3) { background: #34d399; }
.h-term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #64748b; }
.h-term-body { padding: 20px 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.9; color: #cbd5e1; }
.h-term-body p { margin: 0; }
.c-p { color: #38bdf8; }
.c-m { color: #64748b; }
.c-ok { color: #34d399; }
.h-term-table { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px 12px; margin: 6px 0 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 12.5px; }
.h-term-table span:nth-child(-n+3) { color: #64748b; }
.h-caret { display: inline-block; width: 8px; height: 16px; background: #38bdf8; vertical-align: -3px; animation: hBlink 1s steps(1) infinite; }
@keyframes hBlink { 50% { opacity: 0; } }
.h-float { position: absolute; padding: 12px 16px; border-radius: 14px; background: var(--h-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border-strong); box-shadow: var(--h-shadow); display: flex; flex-direction: column; animation: hFloat 6s ease-in-out infinite; }
.h-float b { font-size: 18px; }
.h-float span { font-size: 12px; color: var(--text-2); }
.h-float.f1 { left: -28px; bottom: 34px; }
.h-float.f2 { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes hFloat { 50% { transform: translateY(-8px); } }

.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border: 1px solid var(--h-line); border-radius: 18px; background: var(--h-card); overflow: hidden; }
.h-stats > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--h-line); }
.h-stats > div:first-child { border-left: 0; }
.h-stats b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.h-stats span { font-size: 13px; color: var(--text-2); }

/* ---------- 区块 ---------- */
.h-section { padding: 96px 0; }
.h-section-alt { background: linear-gradient(180deg, transparent, rgba(var(--w-rgb), .025) 20%, rgba(var(--w-rgb), .025) 80%, transparent); }
.h-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.h-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.h-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.h-head p { margin-top: 14px; font-size: 16px; color: var(--text-2); line-height: 1.7; }

.h-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-feat { padding: 28px 26px; border-radius: 18px; background: var(--h-card); border: 1px solid var(--h-line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.h-feat:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .35); box-shadow: var(--h-shadow); }
.h-feat h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.h-feat p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.h-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.h-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-ico.t1 { color: #38bdf8; background: rgba(56, 189, 248, .12); }
.h-ico.t2 { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.h-ico.t3 { color: #34d399; background: rgba(52, 211, 153, .12); }
.h-ico.t4 { color: #a78bfa; background: rgba(167, 139, 250, .14); }
.h-ico.t5 { color: #f472b6; background: rgba(244, 114, 182, .12); }
.h-ico.t6 { color: #818cf8; background: rgba(129, 140, 248, .14); }

/* ---------- 价格 ---------- */
.h-period { display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; border-radius: 14px; background: rgba(var(--w-rgb), .05); border: 1px solid var(--h-line); }
.h-period button { border: 0; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 10px; cursor: pointer; font-family: inherit; }
.h-period button.on { color: #fff; background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 6px 18px rgba(79, 70, 229, .3); }
.h-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.h-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 20px; background: var(--h-card); border: 1px solid var(--h-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.h-plan:hover { transform: translateY(-4px); box-shadow: var(--h-shadow); }
.h-plan.featured { border-color: transparent; background: linear-gradient(var(--h-bg), var(--h-bg)) padding-box, linear-gradient(135deg, #38bdf8, #818cf8, #c084fc) border-box; border: 1.5px solid transparent; box-shadow: 0 24px 60px rgba(79, 70, 229, .25); }
.h-plan.soldout { opacity: .65; }
.h-plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0ea5e9, #6366f1); white-space: nowrap; }
.h-plan h3 { font-size: 19px; font-weight: 800; }
.h-plan-desc { font-size: 13.5px; color: var(--text-2); margin-top: 6px; min-height: 40px; line-height: 1.6; }
.h-price { display: flex; align-items: baseline; gap: 2px; margin: 18px 0 12px; }
.h-price small { font-size: 18px; font-weight: 700; color: var(--text-1); }
.h-price b { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.h-price b.h-na { color: var(--text-3); }
.h-price span { margin-left: 4px; font-size: 14px; color: var(--text-2); }
.h-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.h-tag { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; color: var(--text-2); background: rgba(var(--w-rgb), .06); border: 1px solid var(--h-line); }
.h-tag.t-red { color: #f87171; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .25); }
.h-tag.t-amber { color: #fbbf24; background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .25); }
.h-specs { list-style: none; padding: 16px 0 0; margin: 8px 0 24px; border-top: 1px dashed var(--h-line); display: grid; gap: 11px; flex: 1; }
.h-specs li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; }
.h-specs li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: rgba(56, 189, 248, .14); }
.h-specs li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 3.5px; height: 6.5px; border: solid #38bdf8; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.h-specs em { font-style: normal; color: var(--text-1); font-weight: 700; }
.h-skel { min-height: 420px; background: linear-gradient(100deg, rgba(var(--w-rgb), .03) 30%, rgba(var(--w-rgb), .07) 50%, rgba(var(--w-rgb), .03) 70%); background-size: 200% 100%; animation: hSkel 1.4s linear infinite; }
@keyframes hSkel { to { background-position: -200% 0; } }
.h-empty { grid-column: 1 / -1; text-align: center; padding: 50px; color: var(--text-2); border: 1px dashed var(--border-strong); border-radius: 18px; }

/* ---------- 流程 ---------- */
.h-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.h-steps li { position: relative; padding: 30px 26px; border-radius: 18px; background: var(--h-card); border: 1px solid var(--h-line); }
.h-step-n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); padding: 4px 10px; border-radius: 8px; background: rgba(56, 189, 248, .1); }
.h-steps h3 { font-size: 18px; margin: 18px 0 8px; }
.h-steps p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- 入口 ---------- */
.h-portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-portal { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 18px; background: var(--h-card); border: 1px solid var(--h-line); text-decoration: none; color: var(--text-1); transition: transform .25s, border-color .25s, box-shadow .25s; }
.h-portal:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .4); box-shadow: var(--h-shadow); }
.h-portal-dot { width: 12px; height: 12px; border-radius: 50%; }
.d-user { background: #38bdf8; box-shadow: 0 0 0 6px rgba(56, 189, 248, .15); }
.d-ct { background: #34d399; box-shadow: 0 0 0 6px rgba(52, 211, 153, .15); }
.d-admin { background: #a78bfa; box-shadow: 0 0 0 6px rgba(167, 139, 250, .15); }
.h-portal h3 { font-size: 18px; margin: 20px 0 8px; }
.h-portal p { font-size: 14px; color: var(--text-2); line-height: 1.7; flex: 1; }
.h-portal-go { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- FAQ ---------- */
.h-faq { display: grid; gap: 12px; }
.h-faq details { border-radius: 14px; background: var(--h-card); border: 1px solid var(--h-line); padding: 0 22px; }
.h-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--text-3); transition: transform .2s; }
.h-faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.h-faq details p { padding: 0 0 18px; font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

/* ---------- CTA ---------- */
.h-cta-wrap { padding: 20px 0 96px; }
.h-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 48px 52px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .22), transparent 40%), linear-gradient(120deg, #0284c7, #4f46e5 55%, #7c3aed); box-shadow: 0 30px 70px rgba(79, 70, 229, .35); }
.h-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.h-cta p { margin-top: 8px; opacity: .85; }
.h-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.h-footer { border-top: 1px solid var(--h-line); padding: 52px 0 26px; margin-top: auto; background: rgba(var(--w-rgb), .015); }
.h-footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.h-footer-brand { display: flex; gap: 12px; max-width: 340px; }
.h-footer-brand b { font-size: 16px; }
.h-footer-brand p { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.7; }
.h-footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.h-footer-links h4 { font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 14px; }
.h-footer-links a { display: block; font-size: 13.5px; color: var(--text-2); text-decoration: none; margin-bottom: 10px; }
.h-footer-links a:hover { color: var(--accent); }
.h-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--h-line); font-size: 12.5px; color: var(--text-3); }
.user-shell + .h-footer, .user-content + .h-footer { margin-top: 32px; }

/* ---------- 帮助中心 ---------- */
.hp-hero { padding: 56px 0 30px; text-align: center; }
.hp-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.hp-hero p { margin-top: 12px; color: var(--text-2); font-size: 16px; }
.hp-search { max-width: 560px; margin: 26px auto 0; position: relative; }
.hp-search input { width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--h-card); color: var(--text-1); font-size: 15px; outline: none; font-family: inherit; }
.hp-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15); }
.hp-search::before { content: "⌕"; position: absolute; left: 16px; top: 12px; font-size: 22px; color: var(--text-3); }
.hp-layout { display: grid; grid-template-columns: 230px 1fr; gap: 36px; padding-top: 30px; padding-bottom: 90px; align-items: start; }
.hp-toc { position: sticky; top: 92px; display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--h-card); border: 1px solid var(--h-line); }
.hp-toc a { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.hp-toc a:hover, .hp-toc a.on { color: var(--text-1); background: rgba(56, 189, 248, .1); }
.hp-sec { padding: 30px 32px; border-radius: 18px; background: var(--h-card); border: 1px solid var(--h-line); margin-bottom: 18px; }
.hp-sec h2 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.hp-sec h2 .h-ico { width: 36px; height: 36px; border-radius: 10px; }
.hp-sec h2 .h-ico svg { width: 18px; height: 18px; }
.hp-sec > p.sub { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.hp-sec h3 { font-size: 15.5px; margin: 20px 0 8px; }
.hp-sec p, .hp-sec li { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.hp-sec ol, .hp-sec ul { padding-left: 20px; margin: 6px 0; }
.hp-sec a { color: var(--accent); }
.hp-sec code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(var(--w-rgb), .07); color: var(--text-1); }
.hp-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; color: var(--text-2); background: rgba(56, 189, 248, .07); border: 1px solid rgba(56, 189, 248, .2); }
.hp-hide { display: none !important; }
.hp-nores { text-align: center; color: var(--text-2); padding: 40px; }

/* ---------- 登录 / 注册页套用统一页眉页脚 ---------- */
body.site .login-wrap { min-height: auto; padding: 56px 18px 72px; }
body.site .bg-glow { z-index: -1; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .h-float, .h-caret, .h-skel { animation: none; } html { scroll-behavior: auto; } }

/* ---------- 浅色主题细节 ---------- */
html[data-theme="light"] .h-plan.featured { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #38bdf8, #818cf8, #c084fc) border-box; }
html[data-theme="light"] .h-term { box-shadow: 0 30px 70px rgba(15, 23, 42, .22); }
html[data-theme="light"] .h-period button:not(.on) { color: #475569; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .h-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .h-hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .h-term { transform: none; }
}
@media (max-width: 900px) {
  .h-links, .h-hide-sm { display: none; }
  .h-burger { display: flex; }
  .h-mobile { display: none; flex-direction: column; padding: 8px 20px 18px; border-top: 1px solid var(--h-line); }
  .h-nav.open .h-mobile { display: flex; }
  .h-mobile a { padding: 12px 4px; color: var(--text-1); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--h-line); }
  .h-mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .h-mobile-cta a { border-bottom: 0; padding: 0 18px; }
  .h-features, .h-portals { grid-template-columns: 1fr 1fr; }
  .h-steps { grid-template-columns: 1fr; }
  .h-stats { grid-template-columns: 1fr 1fr; }
  .h-stats > div:nth-child(3) { border-left: 0; }
  .h-stats > div:nth-child(n+3) { border-top: 1px solid var(--h-line); }
  .hp-layout { grid-template-columns: 1fr; }
  .hp-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (max-width: 600px) {
  .h-container { padding: 0 18px; }
  .h-hero { padding-top: 40px; }
  .h-lead { font-size: 15.5px; }
  .h-features, .h-portals { grid-template-columns: 1fr; }
  .h-section { padding: 68px 0; }
  .h-float.f1 { left: 8px; bottom: -20px; }
  .h-float.f2 { right: 8px; top: -26px; }
  .h-term-body { font-size: 12px; padding: 16px; }
  .h-cta { padding: 34px 24px; }
  .h-footer-links { gap: 32px; }
  .hp-sec { padding: 22px 20px; }
  .h-period button { padding: 8px 13px; }
}

/* 用户中心底部统一页脚 */
.u-site-footer { padding: 36px 0 22px; }
.u-site-footer .h-container { max-width: 1400px; }
#user-app { min-height: 100vh; display: flex; flex-direction: column; }
#user-app > .user-shell { flex: 1; min-height: 0; }
