/* =====================================================================
   哥伦比娅启动器官网 · 设计系统
   白底黑字，参考苹果 / 微软官网：白与浅灰段落交替、大标题、大留白、
   黑色胶囊按钮，不用彩色。动效只跟随滚动。
   产品窗口（启动器界面）保持深色，像产品截图一样放在白底上。
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --link: #0066cc;
  --blue: #0071e3;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --w: 980px;
  --w-wide: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Display", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.47; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: .88em; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; }
::selection { background: #1d1d1f; color: #fff; }

/* ---------------- 全局导航 ---------------- */
.gnav { position: sticky; top: 0; z-index: 100; height: 44px; background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav .in { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; }
.gnav .logo { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 600; }
.gnav .logo:hover { text-decoration: none; }
.gnav .logo img { width: 20px; height: 20px; border-radius: 5px; }
.gnav nav { display: flex; flex: 1; justify-content: space-between; margin-left: 44px; }
.gnav nav a { color: rgba(0, 0, 0, .8); font-size: 12px; letter-spacing: -.01em; transition: color .2s; }
.gnav nav a:hover, .gnav nav a.on { color: #000; text-decoration: none; }
.gnav .menu { display: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; cursor: pointer; }
.gnav .menu span { display: block; width: 17px; height: 1.2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease); }
.gnav.open .menu span:first-child { transform: translateY(3px) rotate(45deg); }
.gnav.open .menu span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 本页子导航（吸顶） */
.lnav { position: sticky; top: 0; z-index: 90; height: 48px; border-bottom: 1px solid rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.lnav .in { max-width: var(--w); height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.lnav .title { font-size: 15px; font-weight: 600; color: var(--ink); margin-right: auto; letter-spacing: .01em; }
.lnav a.l { font-size: 12px; color: rgba(0, 0, 0, .72); }
.lnav a.l.on { color: #000; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 980px; font-size: 12px; font-weight: 400;
  background: var(--blue); color: #fff !important; transition: background .2s; white-space: nowrap; }
.pill:hover { text-decoration: none; background: #0077ed; }

/* ---------------- 版式 ---------------- */
section { position: relative; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 22px; }
.pad { padding: 96px 0; }
.pad-s { padding: 72px 0; }
.center { text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; letter-spacing: .01em; }
.grad { color: var(--ink); }
.h-hero { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; margin: 0 0 20px; }
.h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin: 0 0 18px; }
.h3 { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.15; font-weight: 700; margin: 0 0 12px; }
.sub { font-size: 17px; line-height: 1.5; color: var(--ink-2); font-weight: 400; margin: 0 auto; max-width: 640px; }
.body { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.body b, .sub b { color: var(--ink); font-weight: 600; }
.links { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 22px; font-size: 15px; }
.links a.more { color: var(--link); }
.links a.more::after { content: " ›"; }

/* 按钮：苹果式蓝色实心 / 蓝色描边 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 8px 16px; border-radius: 980px; font-size: 14px; font-weight: 400; line-height: 1.2;
  background: var(--blue); color: #fff; border: 1px solid var(--blue); transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #0077ed; }
.btn.brand { background: var(--blue); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.dark .btn.ghost { color: #2997ff; border-color: #2997ff; }
.dark .btn.ghost:hover { background: #2997ff; color: #fff; }
.btn[aria-disabled="true"] { cursor: help; }

/* 浅灰段落（与白色交替） */
.light, .alt { background: var(--bg-alt); }
.light .tile, .alt .tile { background: #fff; }

/* 渐显：只做位移与透明度 */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.fade.in { opacity: 1; transform: none; }
.fade[data-d="1"] { transition-delay: .1s; } .fade[data-d="2"] { transition-delay: .2s; } .fade[data-d="3"] { transition-delay: .3s; } .fade[data-d="4"] { transition-delay: .4s; }

/* ---------------- 磁贴 ---------------- */
.tile { position: relative; overflow: hidden; border-radius: 18px; background: var(--tile); padding: 30px 28px; }
.tile .k { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px; }
.tile .big { font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 12px; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile p { margin: 0; color: var(--ink-2); font-size: 14px; }
.tile p b { color: var(--ink); }

/* ---------------- 产品窗口（CSS 绘制的启动器界面） ---------------- */
.device { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #0a0a0a;
  --mint: #9cf0c9; --cyan: #8fd6ff; --lavender: #b9a7ff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 40px 90px rgba(0,0,0,.28), 0 12px 30px rgba(0,0,0,.12); font-size: clamp(6px, 1vw, 12px); color: #eee; text-align: left; letter-spacing: 0; }
.device .art { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 72% 30%, rgba(185,167,255,.55), transparent 60%),
  radial-gradient(50% 60% at 30% 70%, rgba(143,214,255,.35), transparent 60%),
  radial-gradient(40% 50% at 85% 85%, rgba(255,184,218,.3), transparent 60%),
  linear-gradient(160deg, #1a1440, #0b0a1c 70%); }
.device .art::after { content: ""; position: absolute; inset: 0; background: url(../logo.png) right 6% center / auto 96% no-repeat; opacity: .55;
  -webkit-mask: linear-gradient(90deg, transparent 36%, #000 62%, #000 90%, transparent 100%); mask: linear-gradient(90deg, transparent 36%, #000 62%, #000 90%, transparent 100%); }
.device .bar { position: absolute; top: 0; left: 0; right: 0; height: 6%; display: flex; align-items: center; gap: .8em; padding: 0 1.4em; background: rgba(0,0,0,.28); font-size: .95em; color: rgba(255,255,255,.78); z-index: 3; }
.device .bar img { width: 1.5em; height: 1.5em; border-radius: .35em; }
.device .bar .ctl { margin-left: auto; display: flex; gap: 1.6em; }
.device .bar .ctl i { width: .9em; height: 1px; background: rgba(255,255,255,.6); }
.device .side { position: absolute; top: 6%; bottom: 0; left: 0; width: 6.5%; display: flex; flex-direction: column; align-items: center; gap: 1.6em; padding-top: 2.2em; background: rgba(0,0,0,.3); z-index: 3; }
.device .side i { width: 2.2em; height: 2.2em; border-radius: .7em; background: rgba(255,255,255,.1); transition: background .5s, box-shadow .5s; }
.device .side i.on { background: rgba(255,255,255,.92); box-shadow: 0 0 1.5em rgba(185,167,255,.8); }
.device .screen { position: absolute; top: 6%; bottom: 0; left: 6.5%; right: 0; padding: 3em 3.4em; z-index: 2; opacity: 0; transform: translateY(1.5em); transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.device .screen.on { opacity: 1; transform: none; }
.device .dim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,28,.92) 0%, rgba(11,10,28,.7) 55%, rgba(11,10,28,.2)); z-index: 1; opacity: 0; transition: opacity .5s; }
.device.dimmed .dim { opacity: 1; }
.glass { background: rgba(22, 18, 48, .55); border: 1px solid rgba(255,255,255,.12); border-radius: 1.2em; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.d-notice { position: absolute; left: 3.4em; top: 3em; width: 34%; padding: 1.1em; }
.d-notice .ph { height: 9em; border-radius: .8em; background: linear-gradient(120deg, rgba(143,214,255,.55), rgba(185,167,255,.5), rgba(255,184,218,.45)); }
.d-notice b { display: block; margin-top: .9em; font-size: 1.15em; }
.d-notice small { color: rgba(255,255,255,.6); }
.d-pills { position: absolute; left: 3.4em; bottom: 3em; display: flex; gap: .8em; }
.d-pills span { padding: .6em 1.2em; border-radius: 2em; font-size: .95em; }
.d-pills span i { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--mint); margin-right: .5em; box-shadow: 0 0 .6em var(--mint); }
.d-start { position: absolute; right: 3.4em; bottom: 3em; display: flex; align-items: stretch; gap: 1em; }
.d-start .go { padding: 1.2em 3.6em; border-radius: 1em; font-size: 1.5em; font-weight: 700; color: #000; background: #fff; box-shadow: 0 1em 3em rgba(255,255,255,.45); }
.d-start .gear { width: 4em; border-radius: 1em; }
.d-title { font-size: 2em; font-weight: 700; margin: 0 0 .9em; }
.d-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; max-width: 62%; }
.d-card { padding: 1.3em 1.4em; }
.d-card .l { color: rgba(255,255,255,.55); font-size: .9em; }
.d-card .v { font-size: 1.25em; font-weight: 600; margin-top: .2em; }
.d-bar { height: .6em; border-radius: .3em; background: rgba(255,255,255,.12); overflow: hidden; margin-top: .9em; }
.d-bar i { display: block; height: 100%; width: var(--p); border-radius: .3em; background: linear-gradient(90deg, var(--cyan), var(--mint)); }
.d-list { max-width: 62%; }
.d-row { display: flex; align-items: center; gap: 1em; padding: .95em 1.3em; }
.d-row + .d-row { margin-top: .7em; }
.d-row .ok { width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; font-size: .9em; color: #0b1a12; background: var(--mint); flex: none; }
.d-row .ok.w { background: #ffd98f; color: #2a1d00; }
.d-row .t { margin-right: auto; }
.d-row small { color: rgba(255,255,255,.5); }
.d-sw { width: 2.8em; height: 1.6em; border-radius: 1em; background: var(--lavender); position: relative; flex: none; }
.d-sw::after { content: ""; position: absolute; right: .2em; top: .2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; }
.d-sw.off { background: rgba(255,255,255,.2); } .d-sw.off::after { right: auto; left: .2em; }
.d-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; max-width: 70%; }
.d-mod { overflow: hidden; }
.d-mod .pic { height: 8em; background: linear-gradient(135deg, var(--a), var(--b)); }
.d-mod .m { padding: .8em 1em; }
.d-mod .m b { display: block; font-size: 1.05em; }
.d-mod .m small { color: rgba(255,255,255,.55); }
.d-btn { display: inline-block; padding: .5em 1.3em; border-radius: 2em; background: rgba(255,255,255,.92); color: #000; font-weight: 600; font-size: .9em; }

/* 示意图标（真实截图到位前使用）与真实截图 */
.symbol { display: flex; align-items: center; justify-content: center; padding: 22px 0 44px; color: var(--ink); }
.dark .symbol { color: #f5f5f7; }
.symbol svg { width: min(150px, 32%); height: auto; }
.symbol-app img { width: min(180px, 34%); aspect-ratio: 1; border-radius: 22.5%; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.shotimg img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 60px rgba(0,0,0,.22); }
.unit .shot:has(.shotimg) { padding-bottom: 44px; }
.unit:hover .shotimg img { transform: translateY(-3px); }
.shotimg img { transition: transform .6s var(--ease-out); }

/* 界面里的字号跟着窗口宽度走，放在大卡片和小卡片里比例一致 */
.shot { container-type: inline-size; }
.shot .device { font-size: 1.25cqi; }

/* ---------------- 细节打磨（参考苹果官网） ---------------- */
/* 导航：滚动后背景更实、底部出现发丝线；链接悬停只变深色 */
.gnav { transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.gnav.scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.gnav nav a { opacity: .8; transition: opacity .2s; }
.gnav nav a:hover, .gnav nav a.on { opacity: 1; }
.gnav .logo img { transition: transform .4s var(--ease-out); }
.gnav .logo:hover img { transform: scale(1.08); }

/* 排版：标题平衡换行，正文避免孤字 */
h1, h2, h3, .h1, .h2, .h-hero { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 按钮与文字链接：按压回弹、箭头随悬停前移 */
.btn, .pill { transition: background .2s, color .2s, transform .15s var(--ease); }
.btn:active, .pill:active { transform: scale(.97); }
.links a.more::after { display: inline-block; transition: transform .25s var(--ease-out); }
.links a.more:hover::after { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* 图标：进入视口时线条依次描出（苹果服务页式的线性图标动画） */
.symbol svg * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.symbol.drawn svg * { stroke-dashoffset: 0; }
.symbol svg, .symbol-app img { transition: transform .6s var(--ease-out); }
.unit:hover .symbol svg, .unit:hover .symbol-app img { transform: translateY(-4px) scale(1.03); }

/* 页面载入轻淡入 */
body { animation: page-in .5s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } }

/* ---------------- 页尾（苹果式浅灰小字） ---------------- */
footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: 22px 0 30px; }
footer .note { margin: 0; padding: 0 0 10px; }
footer .note + .note { padding-top: 4px; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px 0; margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
footer h5 { margin: 0 0 10px; font-size: 12px; color: var(--ink); font-weight: 600; }
footer .cols a { display: block; color: var(--ink-2); margin-bottom: 8px; }
footer .cols a:hover { color: var(--ink); }
footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
footer .bottom a { color: var(--ink); }

/* ---------------- 光标：反色圆点（白底上是黑色） ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; pointer-events: none;
  mix-blend-mode: difference; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; will-change: transform; }
.cursor.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.down { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.cursor.hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------------- 提示 ---------------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .4s var(--ease-out);
  padding: 12px 20px; border-radius: 14px; font-size: 14px; color: #fff; background: rgba(29, 29, 31, .92); backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
br.m { display: none; }
@media (max-width: 600px) { br.m { display: inline; } br.d { display: none; } }
@media (max-width: 834px) {
  .gnav nav { display: none; position: absolute; top: 44px; left: 0; right: 0; height: calc(100vh - 44px); flex-direction: column; justify-content: flex-start; margin: 0; padding: 12px 34px 30px; background: #fff; }
  .gnav .in { justify-content: space-between; }
  .gnav.open nav { display: flex; }
  .gnav nav a { font-size: 26px; font-weight: 600; padding: 10px 0; color: var(--ink); }
  .gnav .menu { display: block; }
  .lnav a.l { display: none; }
  .lnav .title { font-size: 19px; }
  .pad { padding: 100px 0; }
  .tile { padding: 34px 28px; border-radius: 22px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .symbol svg * { stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fade { opacity: 1; transform: none; }
}
