:root {
  --bg: #070b16;
  --bg-2: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eaf0ff;
  --muted: #9aa6c4;
  --faint: #6b7693;
  --cyan: #4fd1ff;
  --purple: #a78bfa;
  --green: #34d399;
  --gold: #f6c45a;
  --pink: #f472b6;
  --radius: 18px;
  --maxw: 1120px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- 背景光晕 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(1200px 800px at 70% -10%, #122044 0%, transparent 60%),
              radial-gradient(900px 700px at 0% 100%, #1a1030 0%, transparent 55%),
              var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 16s ease-in-out infinite;
}
.blob-1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.blob-2 { width: 520px; height: 520px; bottom: -160px; left: -120px; background: radial-gradient(circle, var(--purple), transparent 70%); animation-delay: -5s; }
.blob-3 { width: 360px; height: 360px; top: 40%; left: 55%; background: radial-gradient(circle, var(--green), transparent 70%); opacity: 0.25; animation-delay: -9s; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 26px;
  max-width: var(--maxw);
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-mark { font-size: 20px; }
.brand-name { font-size: 19px; letter-spacing: .5px; }
.brand-tag {
  font-size: 11px; color: var(--cyan);
  border: 1px solid rgba(79,209,255,.35);
  padding: 2px 8px; border-radius: 999px;
  background: rgba(79,209,255,.08);
}
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--border-strong); cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #06101f; border: none;
  box-shadow: 0 10px 30px rgba(79,209,255,.25);
}
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- 导航 CTA · 发光「能力展示」 ---------- */
/* 兼容要点（Safari/WebKit）：
   1) 不用 overflow:hidden 包裹整体（Safari 会连自身外发光一起裁掉）→ 扫光交给内层 .cta-sheen
   2) 外发光主体用 blur 图层的 opacity 动画（opacity/transform 一定走合成层，WebKit 最稳）
   3) translateZ(0) 让按钮自成合成层，绕开父级 backdrop-filter 造成的动画不重绘
   4) box-shadow 只做静态打底，不依赖它做动画                                   */
.nav-cta {
  position: relative;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  color: #f2fbff;
  border: 1px solid rgba(79, 209, 255, .62);
  background: linear-gradient(135deg, rgba(79, 209, 255, .20), rgba(167, 139, 250, .26));
  box-shadow: 0 0 18px rgba(79, 209, 255, .32);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .18s, border-color .25s, box-shadow .25s;
}
/* 外发光呼吸层（blur + opacity 动画，WebKit 稳） */
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 17px;
  z-index: -1;
  background: linear-gradient(135deg, #4fd1ff, #a78bfa 62%, #f472b6);
  -webkit-filter: blur(13px);
  filter: blur(13px);
  opacity: .40;
  -webkit-animation: ctaGlow 2.6s ease-in-out infinite;
  animation: ctaGlow 2.6s ease-in-out infinite;
  will-change: opacity;
  pointer-events: none;
}
@-webkit-keyframes ctaGlow {
  0%, 100% { opacity: .34; }
  50%      { opacity: .82; }
}
@keyframes ctaGlow {
  0%, 100% { opacity: .34; }
  50%      { opacity: .82; }
}
/* 边框与内发光同步呼吸（支持 box-shadow 动画的引擎上再加一层光泽） */
.nav-cta {
  -webkit-animation: ctaBorder 2.6s ease-in-out infinite;
  animation: ctaBorder 2.6s ease-in-out infinite;
}
@-webkit-keyframes ctaBorder {
  0%, 100% {
    border-color: rgba(79, 209, 255, .62);
    box-shadow: 0 0 18px rgba(79, 209, 255, .32), inset 0 0 12px rgba(79, 209, 255, .10);
  }
  50% {
    border-color: rgba(167, 139, 250, .90);
    box-shadow: 0 0 30px rgba(167, 139, 250, .55), inset 0 0 20px rgba(167, 139, 250, .22);
  }
}
@keyframes ctaBorder {
  0%, 100% {
    border-color: rgba(79, 209, 255, .62);
    box-shadow: 0 0 18px rgba(79, 209, 255, .32), inset 0 0 12px rgba(79, 209, 255, .10);
  }
  50% {
    border-color: rgba(167, 139, 250, .90);
    box-shadow: 0 0 30px rgba(167, 139, 250, .55), inset 0 0 20px rgba(167, 139, 250, .22);
  }
}
/* 斜向扫光（内层裁剪，不伤外发光） */
.nav-cta .cta-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.nav-cta .cta-sheen::before {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -70%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .72), transparent);
  -webkit-transform: translateX(-200%) rotate(8deg);
  transform: translateX(-200%) rotate(8deg);
  -webkit-animation: ctaSheen 3.8s cubic-bezier(.45, 0, .2, 1) infinite;
  animation: ctaSheen 3.8s cubic-bezier(.45, 0, .2, 1) infinite;
  will-change: transform;
}
@-webkit-keyframes ctaSheen {
  0%, 62%  { -webkit-transform: translateX(-200%) rotate(8deg); }
  100%     { -webkit-transform: translateX(340%) rotate(8deg); }
}
@keyframes ctaSheen {
  0%, 62% { transform: translateX(-200%) rotate(8deg); }
  100%    { transform: translateX(340%) rotate(8deg); }
}
.nav-cta .cta-label {
  position: relative;
  z-index: 4;
  letter-spacing: .5px;
  text-shadow: 0 0 10px rgba(140, 226, 255, .80), 0 0 22px rgba(79, 209, 255, .40);
}
/* 呼吸小亮点 */
.nav-cta .cta-spark {
  position: relative;
  z-index: 4;
  width: 7px;
  height: 7px;
  -ms-flex: none;
  flex: none;
  border-radius: 50%;
  background: #7ce7ff;
  box-shadow: 0 0 8px #7ce7ff, 0 0 16px rgba(79, 209, 255, .9);
  -webkit-animation: ctaSpark 1.6s ease-in-out infinite;
  animation: ctaSpark 1.6s ease-in-out infinite;
}
.nav-cta .cta-spark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(124, 231, 255, .8);
  -webkit-animation: ctaPing 1.9s cubic-bezier(0, 0, .2, 1) infinite;
  animation: ctaPing 1.9s cubic-bezier(0, 0, .2, 1) infinite;
}
@-webkit-keyframes ctaSpark {
  0%, 100% { opacity: 1; -webkit-transform: scale(1); }
  50%      { opacity: .55; -webkit-transform: scale(.82); }
}
@keyframes ctaSpark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.82); }
}
@-webkit-keyframes ctaPing {
  0%        { -webkit-transform: scale(.6); opacity: .9; }
  80%, 100% { -webkit-transform: scale(2.1); opacity: 0; }
}
@keyframes ctaPing {
  0%        { transform: scale(.6); opacity: .9; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}
/* 悬停：更亮、微上浮 */
.nav-cta:hover,
.nav-cta:focus-visible {
  -webkit-transform: translateY(-2px) scale(1.035) translateZ(0);
  transform: translateY(-2px) scale(1.035) translateZ(0);
  border-color: rgba(180, 235, 255, .95);
  outline: none;
}
.nav-cta:hover::after,
.nav-cta:focus-visible::after {
  opacity: .95;
}
/* 「减弱动态效果」下仍保留慢速呼吸（营销位需要可见），仅关掉高频扫光与亮点涟漪 */
@media (prefers-reduced-motion: reduce) {
  .nav-cta .cta-sheen,
  .nav-cta .cta-spark::after { display: none; }
  .nav-cta .cta-spark { -webkit-animation: none; animation: none; }
}
@media (max-width: 480px) {
  .nav-cta { padding: 9px 16px; font-size: 13.5px; }
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 26px 70px;
  text-align: center;
}
.pill {
  display: inline-block;
  font-size: 13px; color: var(--cyan);
  border: 1px solid rgba(79,209,255,.3);
  background: rgba(79,209,255,.07);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.05; font-weight: 800; letter-spacing: -1px;
}
.hero-title .dot { color: var(--cyan); }
.grad {
  background: linear-gradient(120deg, var(--cyan), var(--purple) 60%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 660px; margin: 26px auto 0;
  color: var(--muted); font-size: 17px;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin-top: 56px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 26px; min-width: 120px;
}
.stat b { display: block; font-size: 30px; font-weight: 800; background: linear-gradient(120deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--faint); }

/* ---------- 通用 section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 26px;
}
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan);
}
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin: 12px 0 14px; font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 卡片 ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card-ico { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 模型基座 ---------- */
.base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.base-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
}
.base-card::before {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
}
.base-jt::before { background: radial-gradient(400px 200px at 100% 0%, var(--cyan), transparent 70%); }
.base-wy::before { background: radial-gradient(400px 200px at 100% 0%, var(--purple), transparent 70%); }
.base-badge {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 14px;
}
.base-jt .base-badge { color: var(--cyan); background: rgba(79,209,255,.12); border: 1px solid rgba(79,209,255,.3); }
.base-wy .base-badge { color: var(--purple); background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.3); }
.base-card h3 { font-size: 22px; margin-bottom: 10px; }
.base-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.base-card ul { list-style: none; display: grid; gap: 8px; }
.base-card li { color: var(--text); font-size: 14px; padding-left: 22px; position: relative; }
.base-card li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* ---------- 智能体架构树 ---------- */
.arch-tree {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.arch-node {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 22px 26px; text-align: center;
  box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.arch-node:hover { transform: translateY(-3px); border-color: var(--cyan); }
.arch-core {
  max-width: 420px;
  background: linear-gradient(135deg, rgba(79,209,255,.12), rgba(167,139,250,.12));
  border-color: rgba(79,209,255,.4);
}
.node-emoji { font-size: 30px; margin-bottom: 6px; }
.arch-core .node-emoji { font-size: 36px; }
.node-title { font-size: 22px; font-weight: 800; }
.arch-core .node-title { font-size: 26px; }
.node-role { font-size: 13px; color: var(--cyan); margin: 4px 0 8px; font-weight: 600; }
.node-desc { font-size: 13.5px; color: var(--muted); }
.arch-link {
  width: 2px; height: 38px;
  background: linear-gradient(var(--cyan), var(--purple));
  opacity: .6;
}
.arch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; }
.arch-branch { max-width: 820px; }
.arch-node.mini { padding: 18px 14px; }
.arch-node.mini .node-emoji {
  font-size: 24px; font-weight: 800; color: var(--purple);
  width: 46px; height: 46px; line-height: 46px; margin: 0 auto 8px;
  border-radius: 50%; background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.35);
}
.arch-node.mini .node-title { font-size: 18px; }
.arch-node.mini .node-role { color: var(--purple); }
.arch-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 26px; }

/* ---------- 六根能力脑 ---------- */
.sense-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sense-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: transform .2s, border-color .2s, background .2s;
}
.sense-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.sense-ico { font-size: 32px; margin-bottom: 10px; }
.sense-card h3 { font-size: 22px; margin-bottom: 6px; letter-spacing: 4px; }
.sense-card p { color: var(--muted); font-size: 14px; }

/* ---------- 能力矩阵 ---------- */
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.matrix-slot {
  background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.slot-emoji { font-size: 28px; display: block; margin-bottom: 10px; opacity: .7; }
.matrix-slot h4 { font-size: 16px; margin-bottom: 6px; }
.matrix-slot p { color: var(--faint); font-size: 13px; }
.matrix-cta {
  margin-top: 26px; text-align: center;
  background: linear-gradient(135deg, rgba(79,209,255,.08), rgba(167,139,250,.08));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.matrix-cta p { color: var(--text); font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 46px 26px;
  text-align: center;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.footer-note { color: var(--muted); font-size: 14px; }
.footer-copy { color: var(--faint); font-size: 13px; margin-top: 6px; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 涂渡公司 ---------- */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.company-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .2s, border-color .2s, background .2s;
}
.company-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.company-card h3 { font-size: 18px; margin-bottom: 10px; }
.company-card p { color: var(--muted); font-size: 14.5px; }

.timeline {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  margin: 0 auto 40px; max-width: 820px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.tl-item {
  flex: 1 1 200px; text-align: center; padding: 20px 18px;
  border-right: 1px solid var(--border); position: relative;
}
.tl-item:last-child { border-right: none; }
.tl-year {
  display: block; font-size: 22px; font-weight: 800;
  background: linear-gradient(120deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tl-text { font-size: 13.5px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-ico { font-size: 28px; margin-bottom: 10px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .cards-3, .base-grid, .sense-grid, .company-grid, .feature-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: repeat(2, 1fr); }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .arch-row { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
}

/* ---------- 能力矩阵：已上线能力卡片 ---------- */
a.matrix-live {
  text-decoration: none; display: block;
  border-style: solid;
  border-color: rgba(79, 209, 255, .55);
  background: linear-gradient(135deg, rgba(79,209,255,.10), rgba(167,139,250,.10));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.matrix-live:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 255, .95);
  box-shadow: 0 10px 28px rgba(79, 209, 255, .18);
}
a.matrix-live h4 { color: var(--text); }
a.matrix-live p { color: var(--text); opacity: .85; }
.live-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: #0b1220; background: #4fd1ff;
  padding: 2px 8px; border-radius: 999px; margin-left: 6px;
  vertical-align: middle;
}
