/* 创思启宇 Inspirasky 官网 —— 配色取自商标 v5「天穹启明星」 */
:root {
  --navy: #0B2C5A;
  --blue: #1D99DC;
  --violet: #763EC5;
  --mist: #4C6B8C;
  --cloud: #F5F7FA;

  --bg: #FFFFFF;
  --bg-soft: var(--cloud);
  --text: #0E2240;
  --text-2: #4C6B8C;
  --line: #E2E8EF;
  --card: #FFFFFF;
  --chip: #EEF3F9;
  --shadow: 0 1px 2px rgba(11, 44, 90, .06), 0 8px 28px rgba(11, 44, 90, .08);

  --night: #081A38;
  --night-2: #0E2650;
  --night-text: #E8EEF8;
  --night-text-2: #A9BAD3;

  --radius: 18px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07152E;
    --bg-soft: #0A1C3C;
    --text: #E8EEF8;
    --text-2: #A9BAD3;
    --line: #1C3358;
    --card: #0D2247;
    --chip: #13305C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    --night: #040D20;
    --night-2: #0A1C3C;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; letter-spacing: .01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
[hidden] { display: none !important; }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 600px) { .nav-links { gap: 18px; font-size: 14px; } .hide-sm { display: none; } .brand img { height: 38px; } }

/* ---------- 首屏：公司介绍（星空 + 星轨 + 标语），深色主题固定 ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -68px;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #0E2A5E 0%, #071636 46%, #040B1F 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; perspective: 1400px; }
.nebula { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .6; animation: drift 26s ease-in-out infinite alternate; will-change: transform; }
.n1 { width: 62vmax; height: 62vmax; left: -20vmax; top: -24vmax; background: radial-gradient(circle, rgba(29, 153, 220, .55), transparent 65%); }
.n2 { width: 56vmax; height: 56vmax; right: -22vmax; top: -12vmax; background: radial-gradient(circle, rgba(118, 62, 197, .62), transparent 65%); animation-duration: 32s; }
.n3 { width: 72vmax; height: 42vmax; left: 14vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(42, 111, 204, .45), transparent 65%); animation-duration: 38s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vmax, 3vmax, 0) scale(1.12); } }
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 商标里的星轨：倾斜成一条星环，慢慢转，紫色火种沿着它绕行 */
.orbit-plane { position: absolute; left: 50%; top: 52%; width: min(1180px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateZ(-11deg) rotateX(73deg); transform-style: preserve-3d; pointer-events: none; }
.orbit { width: 100%; height: 100%; animation: spin 70s linear infinite; filter: drop-shadow(0 0 10px rgba(60, 180, 240, .6)); opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg-soft)); }

.hero-inner { position: relative; padding: 150px 24px 110px; }
.hero-star { display: block; width: clamp(46px, 6.5vw, 74px); height: auto; margin: 0 auto 26px; overflow: visible;
  filter: drop-shadow(0 0 16px rgba(127, 211, 255, .85)) drop-shadow(0 0 42px rgba(177, 140, 255, .6)); animation: pulse 4.5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.1) rotate(10deg); opacity: .85; } }
.eyebrow { margin: 0 0 20px; color: rgba(255, 255, 255, .7); font-size: 14px; letter-spacing: .2em; }
.hero h1 { font-size: clamp(46px, 8.6vw, 100px); font-weight: 800; letter-spacing: .06em; line-height: 1.15;
  background: linear-gradient(180deg, #FFFFFF 0%, #DCEBFF 55%, #A6DAFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 34px rgba(29, 153, 220, .4)); }
[data-lang="en"] .hero h1 { font-size: clamp(40px, 7.2vw, 92px); letter-spacing: .005em; }
.br-sm { display: none; }
@media (max-width: 700px) { .br-sm { display: inline; } }
.hero-sub { margin: 20px 0 0; font-size: clamp(14px, 1.9vw, 19px); letter-spacing: .32em; color: rgba(255, 255, 255, .68); }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 72px;
  color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 14px; letter-spacing: .12em; transition: color .2s; }
.scroll-hint:hover { color: #fff; }
.scroll-hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (max-width: 600px) { .hero-inner { padding: 120px 16px 90px; } .eyebrow { font-size: 12px; letter-spacing: .12em; } .hero-sub { letter-spacing: .14em; } .scroll-hint { margin-top: 56px; } }
@media (max-width: 700px) { .hero h1 .comma { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .nebula, .orbit, .hero-star, .scroll-hint svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* 导航：盖在首屏上时透明 + 白字，滚过首屏后变回实底 */
.brand { display: flex; }
.logo-night { display: none; }
@media (prefers-color-scheme: dark) { .logo-day { display: none; } .logo-night { display: block; } }
.nav { transition: background-color .3s, border-color .3s, backdrop-filter .3s; }
.nav--hero { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav--hero .logo-day { display: none; }
.nav--hero .logo-night { display: block; }
.nav--hero .nav-links a { color: rgba(255, 255, 255, .82); }
.nav--hero .nav-links a:hover { color: #fff; }
.nav--hero .lang-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ---------- 产品区 ---------- */
.product { padding: 104px 0; scroll-margin-top: 68px; }
#skymusic { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; gap: 40px; } }
.product-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.product-head.center { justify-content: center; text-align: left; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.sm-icon { background: linear-gradient(160deg, #6FC3F5, #2E86D6); padding: 7px; }
.product h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.tagline { margin: 4px 0 0; color: var(--text-2); font-size: clamp(15px, 2vw, 18px); }
.body { font-size: 17px; color: var(--text-2); max-width: 620px; margin: 0 0 28px; }
.center-text { text-align: center; margin-left: auto; margin-right: auto; }


/* 按钮 */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(90deg, var(--navy), #1A4A9C 55%, var(--blue)); color: #fff; border-color: transparent; }
.btn-soon { display: none; }
.is-soon { cursor: default; opacity: .62; transform: none !important; box-shadow: none !important; }
.is-soon .btn-label { display: none; }
.is-soon .btn-soon { display: inline; }
@media (max-width: 600px) { .btn { width: 100%; justify-content: center; } }

/* SkyMusic 视觉卡 */
.sky-card { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #0B2C5A 0%, #1A4A9C 45%, #1D99DC 80%, #8FD3FF 100%); box-shadow: var(--shadow); }
.sky-card-stars { position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 8%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 14%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 62% 26%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 34%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 20% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 8% 56%, #fff 50%, transparent 51%);
  opacity: .8; }
.sky-card::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -12%; height: 38%;
  background: radial-gradient(60% 70% at 25% 60%, #fff 0 60%, transparent 61%), radial-gradient(55% 70% at 70% 65%, #fff 0 58%, transparent 59%);
  opacity: .9; }
.sky-card-icon { position: absolute; left: 50%; top: 46%; width: 44%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); z-index: 1; }
.float { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy);
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(11, 44, 90, .18); white-space: nowrap; }
.f1 { top: 12%; left: 8%; } .f2 { top: 22%; right: 7%; } .f3 { bottom: 26%; left: 6%; } .f4 { bottom: 14%; right: 8%; color: var(--violet); }
@media (max-width: 600px) { .float { font-size: 12px; padding: 6px 10px; } }

/* SkyMusic 实际界面截图 */
.app-shot { margin: 72px 0 0; }
.app-shot figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-2); }
.app-shot img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(11, 44, 90, .18); }

/* 截图放大 */
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.zoom img { display: block; width: 100%; height: auto; }
.zoom:focus-visible, [data-zoom]:focus-visible { outline: 3px solid #54B8ED; outline-offset: 4px; }
img[data-zoom] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(3, 8, 20, .88); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 100px rgba(0, 0, 0, .6); }
.no-scroll { overflow: hidden; }

/* SkyMusic 功能一览：四组 */
.feat { margin-top: 96px; }
.feat-title { text-align: center; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 36px; }
.feat-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .feat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feat-groups { grid-template-columns: 1fr; } }
.feat-group { padding: 24px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feat-group h4 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--blue); margin-bottom: 16px; }
.feat-group h4::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.feat-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feat-group li { display: grid; gap: 2px; }
.feat-group b { font-weight: 650; font-size: 16px; }
.feat-group span { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Steam DLC 横幅：只说「更多功能」 */
.dlc-banner { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px 36px; border-radius: 24px; color: #fff; box-shadow: var(--shadow);
  background: radial-gradient(120% 140% at 100% 0%, rgba(118, 62, 197, .55), transparent 55%), linear-gradient(120deg, #0B2C5A, #1A4A9C 55%, #1D99DC); }
.dlc-banner h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.dlc-banner p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); }
.dlc-banner .dlc-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: #8FD3FF; }
.dlc-banner .btn { flex: none; }
.dlc-banner .is-soon { opacity: .75; }
@media (max-width: 600px) { .dlc-banner { padding: 26px 22px; } }
.link-btn { color: var(--blue); font-weight: 600; text-decoration: none; cursor: pointer; }
.link-btn.is-soon { color: var(--text-2); }

/* ---------- 老大Code：开发者产品风格（深色 + 网格 + 终端演示） ---------- */
.code { --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, Menlo, "Sarasa Mono SC", monospace;
  /* clip 和 hidden 一样裁掉光晕，但不会让里面的「钉在屏幕上」（sticky）失效 */
  position: relative; overflow: hidden; overflow: clip; isolation: isolate; color: var(--night-text);
  background: #050B1A; }
.code::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 55% at 50% 22%, #000 30%, transparent 75%); }
.code-glow { position: absolute; z-index: -1; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(118, 62, 197, .35), transparent 70%), radial-gradient(closest-side at 35% 60%, rgba(29, 153, 220, .28), transparent 70%); filter: blur(20px); }

.code-hero { text-align: center; max-width: 820px; margin: 0 auto; }
.code-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; flex-wrap: wrap; justify-content: center; }
.code-logo { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 18px rgba(84, 184, 237, .35)); }
.code-alias { font: 700 16px/1 var(--mono); letter-spacing: .02em; color: #9FB0CC; }
.code-alias:empty { display: none; }
.code-name { font: 800 22px/1 var(--mono); letter-spacing: .02em;
  background: linear-gradient(90deg, #7FD3FF, #B18CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.code-pill { font-size: 13px; padding: 6px 12px; border-radius: 999px; color: #C9D6EC; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.code-title { font-size: clamp(32px, 5.4vw, 60px); font-weight: 800; line-height: 1.15; letter-spacing: .01em;
  background: linear-gradient(180deg, #FFFFFF 30%, #B9CCEA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.code-lead { margin: 20px auto 30px; max-width: 680px; font-size: clamp(16px, 2vw, 18px); color: var(--night-text-2); }
.code-try { margin: 22px 0 0; font-size: 14px; color: var(--night-text-2); display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.code-try code { font: 13px var(--mono); padding: 4px 10px; border-radius: 8px; color: #A7F3D0; background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .2); }
.code-try code::before { content: "$ "; color: #6EE7B7; opacity: .7; }
.center-btns { justify-content: center; }
.btn-light { background: #fff; color: var(--navy); border-color: transparent; }
.btn-ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .28); }

/* 演示窗口 */
.demo { max-width: 1000px; margin: 56px auto 0; }
.demo-bar, .demo-body { background: #0A1222; }
.demo-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; border-radius: 16px 16px 0 0; }
.demo-dots { display: flex; gap: 7px; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2A3550; }
.demo-dots i:nth-child(1) { background: #F87171; } .demo-dots i:nth-child(2) { background: #FBBF24; } .demo-dots i:nth-child(3) { background: #4ADE80; }
.demo-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .05); margin: 0 auto; }
.demo-tabs button { font: 600 13px var(--font); color: #9FB0CC; background: transparent; border: 0; padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.demo-replay { font: 13px var(--font); color: #9FB0CC; background: none; border: 0; cursor: pointer; padding: 6px 4px; }
.demo-replay:hover { color: #fff; }
.demo-replay[hidden] { display: inline-block !important; visibility: hidden; }
.demo-body { position: relative; height: 610px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 16px 16px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(127, 211, 255, .04), 0 0 80px rgba(118, 62, 197, .18); }
.term { margin: 0; height: 100%; overflow: auto; padding: 22px 26px; font: 13.5px/1.75 var(--mono); color: #D5DEEE; white-space: pre-wrap; word-break: break-word; }
.t-line { min-height: 1.75em; }
.t-p { color: #6EE7B7; } .t-u { color: #7DD3FC; } .t-b { color: #fff; font-weight: 700; } .t-d { color: #6E7F9E; }
.t-r { color: #C4A5FF; } .t-a { color: #60A5FA; } .t-g { color: #4ADE80; }
.t-cursor { display: inline-block; width: .55em; height: 1.15em; margin-left: 2px; vertical-align: -.2em; background: #7DD3FC; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-app { margin: 0; height: 100%; background: #fff; }
.demo-app img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo-caption { margin: 14px 0 0; text-align: center; font-size: 13px; color: #7F90AE; }

/* 界面一览（静态时是一排三张；有动效且是电脑宽度时，motion.js 把它钉在屏幕上，见文末「滚动动效」） */
.tour-top { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 72px 0 0; }
.tour-kicker { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .2em; color: #8FD3FF; }
.tour-dots { display: none; gap: 8px; }
.tour-dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background .4s, width .4s; }
.tour-dots i.is-active { width: 44px; background: linear-gradient(90deg, #7FD3FF, #B18CFF); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 28px auto 0; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; max-width: 560px; } }
.shot { margin: 0; }
.shot .zoom { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.shot figcaption b { display: block; margin-top: 14px; color: #fff; font-size: 16px; }
.shot figcaption span { display: block; margin-top: 4px; color: var(--night-text-2); font-size: 14px; }

/* 怎么干活 */
.code-h3 { text-align: center; font-size: clamp(24px, 3.2vw, 32px); margin: 104px 0 36px; color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; padding: 26px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(127, 211, 255, .9), rgba(177, 140, 255, .9)); opacity: .55; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #B18CFF; box-shadow: 0 0 14px #B18CFF; }
.step-no { font: 600 13px var(--mono); color: #8FD3FF; }
.steps b { font-size: 19px; color: #fff; }
.steps span:last-child { color: var(--night-text-2); font-size: 15px; }

/* 功能格 */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; margin-top: 96px; }
.cell { padding: 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s, transform .2s; min-width: 0; }
.cell:hover { border-color: rgba(127, 211, 255, .3); transform: translateY(-2px); }
.cell-wide, .bento .cell:last-child { grid-column: span 2; }
.cell-tall { grid-row: span 2; display: flex; flex-direction: column; }
.cell-ico { width: 30px; height: 30px; fill: none; stroke: #8FD3FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.cell h4 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.cell p { margin: 0; color: var(--night-text-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { font-size: 13px; padding: 5px 11px; border-radius: 999px; color: #D5DEEE; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.chips-sm span { font-size: 12px; padding: 4px 9px; }
.snippet { margin: 18px 0 0; padding: 16px 18px; border-radius: 12px; background: #060C18; border: 1px solid rgba(255, 255, 255, .08);
  font: 12.5px/1.7 var(--mono); color: #C9D6EC; overflow-x: auto; flex: 1; }
.snippet .k, .codeblock .k { color: #C4A5FF; } .snippet .s { color: #86EFAC; }

/* 命令行代码块（下载区里的命令行版） */
.codeblock { position: relative; }
.codeblock pre { margin: 0; padding: 18px 20px; border-radius: 12px; background: #060C18; border: 1px solid rgba(255, 255, 255, .08);
  font: 13px/1.8 var(--mono); color: #E2E8F0; overflow-x: auto; }
.codeblock .c, .codeblock .c + span { color: #6E7F9E; }
.copy { position: absolute; top: 10px; right: 10px; font: 600 12px var(--font); color: #C9D6EC; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.copy:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.copy.is-done { color: #4ADE80; border-color: rgba(74, 222, 128, .4); }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-tall { grid-row: auto; }
}
@media (max-width: 600px) {
  .demo-body { height: 440px; }
  .term { padding: 16px; font-size: 12px; }
  .demo-tabs button { padding: 6px 10px; }
  .steps, .bento { grid-template-columns: 1fr; }
  .cell-wide, .bento .cell:last-child { grid-column: auto; }
  .cell { padding: 22px; }
  .code-h3 { margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { .t-cursor { animation: none; } .cell:hover { transform: none; } }

/* ---------- 关于：只写一句「探索灵感的天际」 ---------- */
.about { padding: 120px 0; scroll-margin-top: 68px; }
.about-inner { text-align: center; }
.about-mark { display: block; width: 96px; height: auto; margin: 0 auto 28px; }
.about p { color: var(--text-2); margin: 0 0 12px; }
.contact a { color: var(--blue); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; background: var(--bg-soft); font-size: 14px; color: var(--text-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

/* ---------- 语言切换 / 无图标卡片（v2） ---------- */
.lang-toggle { font: 600 13px/1 var(--font); padding: 7px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text); transition: border-color .15s, color .15s; }
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.nav-links { align-items: center; }
.product-head.center { text-align: center; }
.product-head.center > div { width: 100%; }

/* 关于里的那句话：随滚动逐字亮起来 */
.about .statement { margin: 0 auto; text-align: center; font-size: clamp(40px, 7.4vw, 92px); font-weight: 800; line-height: 1.2;
  letter-spacing: .06em; color: var(--text); text-wrap: balance; }
[data-lang="en"] .about .statement { letter-spacing: 0; font-size: clamp(34px, 6vw, 76px); }
.about .contact { margin-top: 28px; }

/* ---------- 下载页（download-skymusic.html / download-bosscode.html） ---------- */
.dl-page { --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, Menlo, "Sarasa Mono SC", monospace; }
.nav-links a[aria-current="page"] { color: var(--blue); }
.dl-hero { padding: 88px 0 40px; text-align: center; }
.dl-sm .dl-hero { background: linear-gradient(180deg, #AFD9F4 0%, #CFEAFA 42%, #EDF8FE 72%, var(--bg) 100%); }
@media (prefers-color-scheme: dark) { .dl-sm .dl-hero { background: linear-gradient(180deg, #0B2C5A 0%, #0A1C3C 55%, var(--bg) 100%); } }
.dl-hero-copy { max-width: 760px; margin: 0 auto; }
.dl-icon { display: block; width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 18px 40px rgba(11, 44, 90, .22); }
.dl-icon.sm-icon { padding: 8px; }
.dl-hero h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: .01em; }
.dl-sub { margin: 14px 0 0; font-size: clamp(16px, 2.1vw, 20px); color: var(--text-2); }
.dl-btns { justify-content: center; margin-top: 32px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.dl-req { margin: 18px 0 0; font-size: 14px; color: var(--text-2); }
.dl-os-hint { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: var(--chip); color: var(--text-2); }
.dl-os-hint[hidden] { display: none; }

/* 放在显示器里的实际界面 */
.device { max-width: 1000px; margin: 56px auto 0; }
.device-screen { padding: 14px; border-radius: 22px; background: linear-gradient(180deg, #1B2436, #0C1220); box-shadow: 0 40px 100px rgba(11, 44, 90, .28), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-screen img { display: block; width: 100%; height: auto; border-radius: 10px; }
.device-neck { width: 18%; height: 54px; margin: 0 auto; background: linear-gradient(180deg, #A9B6C8, #D7DFEA); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.device-base { width: 34%; height: 12px; margin: 0 auto; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #C9D3E0, #9DAABD); box-shadow: 0 18px 30px rgba(11, 44, 90, .18); }
.device-dark .device-screen { box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 80px rgba(118, 62, 197, .18), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.device-dark .device-neck { background: linear-gradient(180deg, #2A3550, #3B4866); }
.device-dark .device-base { background: linear-gradient(180deg, #3B4866, #232D44); box-shadow: 0 18px 30px rgba(0, 0, 0, .4); }
@media (max-width: 600px) { .device-screen { padding: 8px; border-radius: 14px; } .device-neck { height: 30px; } }

.dl-section { padding: 72px 0; }
.dl-section-tight { padding: 0; }
.dl-h2 { text-align: center; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 32px; }
.plat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plat-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.plat { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.plat-ico { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plat h3 { font-size: 20px; font-weight: 800; }
.plat p { margin: 0; color: var(--text-2); font-size: 15px; flex: 1; }
.plat .btns { margin-top: 8px; }
.plat-soon { align-self: flex-start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; background: var(--chip); color: var(--text-2); }
.plat .codeblock { margin-top: 8px; }

.dl-faq { max-width: 820px; }
.dl-faq details { border-bottom: 1px solid var(--line); }
.dl-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--text-2); transition: transform .2s; }
.dl-faq details[open] summary::after { transform: rotate(45deg); }
.dl-faq details p { margin: 0 4px 22px; color: var(--text-2); }

/* 老大Code 下载页：深色，沿用主页老大Code 区的底色和光晕 */
.dl-bc { padding-bottom: 40px; }
.dl-bc .dl-hero h1 { background: linear-gradient(180deg, #FFFFFF 30%, #B9CCEA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-bc .dl-sub, .dl-bc .dl-req { color: var(--night-text-2); }
.dl-bc .dl-os-hint { background: rgba(255, 255, 255, .06); color: var(--night-text-2); }
.dl-bc .dl-h2 { color: #fff; }
.dl-bc .plat { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.dl-bc .plat h3 { color: #fff; }
.dl-bc .plat p { color: var(--night-text-2); }
.dl-bc .plat-ico { stroke: #8FD3FF; }
@media (min-width: 901px) { .dl-bc .plat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); } }
.dl-bc .dl-faq details { border-color: rgba(255, 255, 255, .12); }
.dl-bc .dl-faq summary { color: #fff; }
.dl-bc .dl-faq summary::after, .dl-bc .dl-faq details p { color: var(--night-text-2); }

/* ---------- 滚动动效：motion.js 在 <html> 上加了 motion 类才生效（系统开了「减少动态效果」时不加） ---------- */
/* 进场：浮上来 */
html.motion [data-reveal] { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms); }
html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 44px, 0); }

/* 首屏滚走：标语后退淡出，星环放大、慢慢放平 */
html.motion .hero-inner { transform: translate3d(0, calc(var(--hp, 0) * -120px), 0) scale(calc(1 - var(--hp, 0) * .08));
  opacity: calc(1 - var(--hp, 0) * 1.6); will-change: transform, opacity; }
html.motion .orbit-plane { transform: translate(-50%, -50%) rotateZ(calc(-11deg + var(--hp, 0) * 10deg)) rotateX(calc(73deg - var(--hp, 0) * 14deg))
  scale(calc(1 + var(--hp, 0) * .4)); }

/* 截图从向后倾斜到立正 */
html.motion .app-shot[data-rise] .zoom,
html.motion .demo[data-rise] { transform-origin: 50% 100%; will-change: transform, opacity;
  transform: perspective(1600px) translate3d(0, calc((1 - var(--p, 1)) * 80px), 0) rotateX(calc((1 - var(--p, 1)) * 24deg)) scale(calc(.84 + var(--p, 1) * .16));
  opacity: calc(.25 + var(--p, 1) * .75); }

/* SkyMusic 视觉卡：几层按不同速度漂移 */
html.motion [data-parallax] .float { transform: translate3d(0, calc((var(--s, .5) - .5) * var(--depth, 80) * -1px), 0); will-change: transform; }
html.motion [data-parallax] .sky-card-icon { transform: translate(-50%, -50%) translate3d(0, calc((var(--s, .5) - .5) * -40px), 0) scale(calc(.94 + var(--s, .5) * .12)); }
html.motion [data-parallax] .sky-card-stars { transform: translate3d(0, calc((var(--s, .5) - .5) * 36px), 0); }

/* 老大Code 界面讲解：钉在屏幕上，左边说明、右边截图，随滚动一张张切换 */
html.motion .tour.is-pinned { height: 330vh; margin-top: 40px; }
html.motion .tour.is-pinned .tour-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 68px; }
html.motion .tour.is-pinned .tour-top { justify-content: flex-start; margin: 0 0 32px; }
html.motion .tour.is-pinned .tour-dots { display: flex; }
html.motion .tour.is-pinned .shots { position: relative; display: block; max-width: none; margin: 0; height: min(560px, calc(100vh - 230px)); counter-reset: tour; }
html.motion .tour.is-pinned .shot { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 56px;
  align-items: center; counter-increment: tour; visibility: hidden; transition: visibility 0s .8s; }
html.motion .tour.is-pinned .shot.is-active { visibility: visible; transition-delay: 0s; }
html.motion .tour.is-pinned .shot figcaption { order: -1; opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity .6s, transform .8s cubic-bezier(.2, .7, .2, 1); }
html.motion .tour.is-pinned .shot .zoom { opacity: 0; transform: translate3d(60px, 0, 0) scale(.94); transition: opacity .7s, transform 1s cubic-bezier(.2, .7, .2, 1); }
html.motion .tour.is-pinned .shot .zoom img { max-height: calc(100vh - 240px); object-fit: contain; }
html.motion .tour.is-pinned .shot.is-active figcaption,
html.motion .tour.is-pinned .shot.is-active .zoom { opacity: 1; transform: none; }
html.motion .tour.is-pinned .shot.is-active figcaption { transition-delay: .12s; }
html.motion .tour.is-pinned .shot figcaption::before { content: counter(tour, decimal-leading-zero) " / 03"; display: block; margin-bottom: 14px;
  font: 600 13px var(--mono); letter-spacing: .1em; color: #8FD3FF; }
html.motion .tour.is-pinned .shot figcaption b { margin: 0; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; }
html.motion .tour.is-pinned .shot figcaption span { margin-top: 14px; font-size: 17px; line-height: 1.7; }

/* 文字点亮 */
html.motion .statement .hl { opacity: .16; transition: opacity .25s linear; }
