/* Taola 官网 · 设计 token（v0.2 科技感方向）
   深空底色 + 品牌色：藏青 #091C49、青 #08BDEB、绿青 #00D8A9（来自 brand/ 品牌包），加一条蓝，三条信号色，三色分别对应三大业务，首屏数据流里也是这三色 */
:root {
  --bg: #050d24;
  --panel: #091c49;
  --panel-2: #111a3d;
  --text: #e8edfb;
  --muted: #8d99bc;
  --line: rgba(140, 165, 255, .16);
  --blue: #4c8dff;
  --cyan: #08bdeb;
  --teal: #00d8a9;

  --display: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* 草稿里还没确认的内容：青色虚线下划线，上线前清掉 */
.tbd { text-decoration: underline dashed var(--cyan) 1.5px; text-underline-offset: 6px; }

/* 顶栏 */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--gutter);
  background: rgba(5, 13, 36, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark svg { height: 36px; width: auto; display: block; }
.mark-en { font-family: Arial, "Helvetica Neue", sans-serif; font-weight: 700; font-size: 27px; letter-spacing: -0.055em; line-height: 1; }
.mark-zh { font-size: 14px; font-weight: 600; margin-left: 4px; color: var(--muted); letter-spacing: .1em; }
.nav { margin-left: auto; display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--text); }
.lang {
  font: 600 13px var(--body); color: var(--text); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  min-width: 52px; height: 36px; padding: 0 14px; cursor: pointer;
}
.lang:hover { border-color: var(--cyan); color: var(--cyan); }

/* 首屏 */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: 120px var(--gutter) 80px;
}
.flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; max-width: min(56%, 720px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 84px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.hero-lead { max-width: 31em; margin: 28px 0 36px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; text-decoration: none;
  background: linear-gradient(100deg, var(--cyan), var(--teal)); color: #04101f;
  font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 0 32px rgba(8, 189, 235, .35);
  transition: box-shadow .2s;
}
.btn:hover { box-shadow: 0 0 44px rgba(0, 216, 169, .5); }
.btn-ghost { background: rgba(9, 28, 73, .6); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: none; }

/* 数据带 */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.stat { padding: clamp(24px, 4vh, 40px) var(--gutter); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1.15; }
.stat span { color: var(--muted); font-size: 15px; }

/* 通用区块 */
.block { padding: clamp(72px, 12vh, 136px) var(--gutter); }
.block > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.head { margin-bottom: clamp(32px, 5vh, 56px); }
.head h2, .foot h2 { font-size: clamp(28px, 3.6vw, 50px); font-weight: 800; letter-spacing: -0.02em; }
.head p { color: var(--muted); max-width: 38em; margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 19px); }

/* 业务：一大两小 */
.bento { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.cell {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 3vw, 44px);
  display: flex; flex-direction: column;
}
.cell::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -220px;
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .4; pointer-events: none;
}
.cell:nth-child(1) { --glow: var(--blue); grid-row: span 2; }
.cell:nth-child(2) { --glow: var(--cyan); }
.cell:nth-child(3) { --glow: var(--teal); }
.cell h3 { font-size: clamp(24px, 2.4vw, 34px); position: relative; }
.cell h3::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--glow); margin-bottom: 22px; }
.cell-big h3 { font-size: clamp(30px, 3.6vw, 52px); }
.cell p { color: var(--muted); margin: 16px 0 28px; max-width: 30em; position: relative; }
.cell-big p { font-size: clamp(17px, 1.4vw, 20px); }
.chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 13, 36, .5); }

/* 引擎流水线：五步是真实的先后顺序，所以编号 */
.pipe { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipe li { position: relative; padding: 34px 22px 0 0; border-top: 1px solid var(--line); }
.pipe li::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.pipe-n { font: 600 13px var(--mono); color: var(--cyan); }
.pipe h3 { font-size: 21px; margin: 8px 0 10px; }
.pipe p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* 关于 */
.about { background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%); border-top: 1px solid var(--line); }
.vision { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 32px; }
.about-text { color: var(--muted); max-width: 40em; font-size: clamp(16px, 1.3vw, 19px); margin-bottom: clamp(40px, 6vh, 72px); }
.block > .about-text { margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 32px; }
.values h3 { font-size: 20px; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 15px; margin: 0; }

/* 页脚：合作 + 招聘 */
.foot { padding: clamp(64px, 10vh, 112px) var(--gutter) 28px; border-top: 1px solid var(--line); }
.foot > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.foot-col { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3vw, 44px); }
.foot h2 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 14px; }
.foot-col p { color: var(--muted); max-width: 30em; }
.foot-mail { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); overflow-wrap: anywhere; }
.foot-mail:hover { color: var(--cyan); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 7vh, 72px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ver { font-family: var(--mono); text-decoration: none; }
.ver:hover { color: var(--cyan); }

/* 更新记录页 */
.log-page .top { position: sticky; top: 0; }
.log { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vh, 72px) var(--gutter) 96px; }
.log h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin-bottom: 18px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-ver { font-family: var(--mono); font-weight: 700; font-size: 17px; }
.card-now { background: var(--cyan); color: #04101f; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.card-date { margin-left: auto; color: var(--muted); font-size: 14px; }
.card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.log-empty { color: var(--muted); }

@media (max-width: 820px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { align-items: flex-start; min-height: 820px; padding-top: 112px; }
  .hero-copy { max-width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento, .foot-grid, .values { grid-template-columns: 1fr; }
  .cell:nth-child(1) { grid-row: auto; }
  .pipe { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .pipe li { border-top: 0; padding: 0 0 30px 26px; }
  .pipe li::before { left: -6px; top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a { transition: none; }
}
