/* 产品首页：全屏地形动态背景 + 左侧标题与入口。与工作空间同一套浅色色板。 */
:root {
  --bg: #f7f9fc;
  --paper: #fff;
  --text: #1b3047;
  --muted: #52657a;
  --faint: #8295a8;
  --line: #e1e7ef;
  --brand: #176ce2;
  --logo: #081a2c;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", system-ui, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { position: relative; min-height: 640px; overflow: hidden; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(23,108,226,.45); outline-offset: 3px; }

#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 左侧与上下留白，保证文字清晰，地形向右展开 */
.veil { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(247,249,252,.92) 26%, rgba(247,249,252,.55) 40%, rgba(247,249,252,0) 56%),
    linear-gradient(180deg, var(--bg) 0%, rgba(247,249,252,0) 18%, rgba(247,249,252,0) 76%, rgba(247,249,252,.94) 92%); }

/* ---------- 顶部 ---------- */
.site-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 28px 56px 0; }
.brand { display: flex; align-items: center; gap: 11px; }
.logo { display: grid; place-items: center; width: 36px; height: 40px; border-radius: 10px; background: var(--logo); color: #9fe5f1; }
.logo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font-size: 22px; letter-spacing: 5px; line-height: 1.2; }
.brand small { font-size: 9px; letter-spacing: 3px; color: var(--muted); }
.clock { display: flex; align-items: baseline; gap: 14px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.clock-date { white-space: pre; font-size: 13px; color: var(--muted); }
.clock-time { font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- 标题区 ---------- */
.hero { position: relative; z-index: 2; max-width: 700px; padding: clamp(64px, 16vh, 180px) 56px 0; }
.title { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 44px; font-weight: 400; }
.t-brand { font-size: clamp(56px, 4.6vw, 74px); line-height: 1; font-weight: 800; letter-spacing: .16em; margin-left: -.04em;
  background: linear-gradient(100deg, #10263f 0%, #1b3a5e 55%, #2a63b0 100%); background-size: 180% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: ink 9s ease-in-out infinite alternate; }
.t-name { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: .3em; color: var(--text); }
.t-name::before { content: ""; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #176ce2, #23a6d6); }
.t-en { margin-top: 16px; padding-left: 62px; font-size: 12px; letter-spacing: .22em; color: var(--faint); white-space: nowrap; }
@keyframes ink { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.actions { display: flex; align-items: center; gap: 18px; }
.enter { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px 0 34px; border-radius: 10px; overflow: hidden;
  color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .12em; text-decoration: none;
  background: linear-gradient(110deg, #2678e9, #1d5fcf); box-shadow: 0 14px 30px -12px rgba(23,108,226,.6); transition: transform .2s, box-shadow .2s; }
.enter svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.enter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out 2.4s infinite; }
.enter:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -12px rgba(23,108,226,.7); }
.enter:hover svg { transform: translateX(4px); }
@keyframes sheen { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }

/* ---------- 能力条 ---------- */
.modules { position: absolute; z-index: 2; left: 56px; right: 56px; bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.modules li { padding: 2px 0 0 14px; border-left: 2px solid rgba(23,108,226,.35); }
.modules b { display: block; font-size: 15px; font-weight: 600; }
.modules span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.caption { position: absolute; z-index: 2; right: 56px; top: 86px; margin: 0; font-size: 12px; letter-spacing: .08em; color: var(--faint); }

/* ---------- 入场 ---------- */
.t-brand, .t-name, .t-en, .actions, .modules li { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.t-brand { animation: rise .9s cubic-bezier(.2,.7,.2,1) both, ink 9s ease-in-out 1s infinite alternate; }
.t-name { animation-delay: .14s; }
.t-en { animation-delay: .24s; }
.actions { animation-delay: .36s; }
.modules li { animation-delay: calc(.9s + var(--i, 0) * .1s); }
.modules li:nth-child(2) { --i: 1; } .modules li:nth-child(3) { --i: 2; } .modules li:nth-child(4) { --i: 3; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1100px) {
  .hero, .site-head { padding-left: 36px; padding-right: 36px; }
  .modules { left: 36px; right: 36px; gap: 18px; }
}
@media (max-height: 760px) {
  .hero { padding-top: 40px; }
  .title { margin-bottom: 30px; }
  .modules span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .t-brand, .t-name, .t-en, .actions, .modules li, .enter::after { animation: none; }
}
