/* ===================================================================
   jAide 交我汇 · 产品官网
   主题：浅色 = 橙红主题（菠萝果肉）/ 深色 = 暖夜主题（黑底菠萝）
   母题：原子轨道 —— 校园服务环绕学生运转（呼应应用图标）
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo,
    Consolas, "Liberation Mono", "PingFang SC", "Microsoft YaHei", monospace;

  --nav-h: 68px;
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;

  --dur: 0.28s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 亮色主题：橙红（菠萝果肉） */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #fff7f0;
  --bg-2: #ffefe2;
  --surface: #ffffff;
  --surface-2: #fff4ea;
  --line: #f6dfcd;
  --line-strong: #e9c9ae;

  --text: #2a1708;
  --text-dim: #6b5140;
  --text-mute: #a08a76;

  --primary: #f04a00;          /* 橙红主题色 */
  --primary-strong: #c93c00;
  --primary-ink: #ffffff;
  --primary-soft: rgba(240, 74, 0, 0.09);
  --primary-glow: rgba(240, 74, 0, 0.28);

  --accent-red: #c9151e;
  --accent-amber: #c47b00;
  --accent-green: #2f9e44;     /* 菠萝叶 */

  --header-bg: rgba(255, 251, 247, 0.72);
  --card-shadow: 0 10px 34px rgba(190, 92, 20, 0.10), 0 2px 8px rgba(190, 92, 20, 0.06);
  --card-shadow-hover: 0 22px 48px rgba(190, 92, 20, 0.16), 0 4px 14px rgba(190, 92, 20, 0.08);
  --grid-line: rgba(240, 74, 0, 0.07);
  --dot: rgba(240, 100, 20, 0.35);
}

/* 深色主题：暖夜（黑底菠萝） */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0a06;
  --bg-2: #150f09;
  --surface: #191207;
  --surface-2: #20180c;
  --line: #332614;
  --line-strong: #4d3a20;

  --text: #f7efe4;
  --text-dim: #c9b8a3;
  --text-mute: #8d7f6c;

  --primary: #ff8a3d;
  --primary-strong: #ffb07e;
  --primary-ink: #2a1103;
  --primary-soft: rgba(255, 138, 61, 0.13);
  --primary-glow: rgba(255, 138, 61, 0.38);

  --accent-red: #ff5b63;
  --accent-amber: #ffc94d;
  --accent-green: #4cc66b;

  --header-bg: rgba(14, 10, 6, 0.68);
  --card-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 24px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--primary-soft);
  --grid-line: rgba(255, 138, 61, 0.07);
  --dot: rgba(255, 150, 90, 0.5);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
code { font-family: var(--font-mono); font-size: 0.88em; }

::selection { background: var(--primary); color: var(--primary-ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* 无 JS 时保证内容可见 */
html:not(.js) [data-reveal] { opacity: 1 !important; transform: none !important; }

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 背景特效 ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.bg-fx__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 40%, transparent 100%);
}

#constellation { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }

.bg-fx__glow { position: absolute; border-radius: 50%; filter: blur(90px); transition: background 0.5s ease; }
.bg-fx__glow--a { width: 560px; height: 560px; top: -180px; right: -120px; background: var(--primary-glow); opacity: 0.5; }
.bg-fx__glow--b { width: 460px; height: 460px; bottom: -200px; left: -140px; background: var(--primary-glow); opacity: 0.28; }

/* ---------- 眉标 / 章节 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft), 0 0 12px var(--primary-glow);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }

.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head h2,
.maker__copy h2,
.join__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.section__head h2 em,
.maker__copy h2 em,
.hero__title em {
  font-style: normal;
  color: var(--primary);
}
.section__desc { margin: 0; color: var(--text-dim); font-size: 16.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
  color: var(--primary-ink);
  box-shadow: 0 8px 26px var(--primary-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--primary-glow); }
.btn--primary:disabled { background: var(--surface-2); color: var(--text-mute); box-shadow: none; border: 1px dashed var(--line-strong); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }

.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn__badge {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, background var(--dur) ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner { display: flex; align-items: center; gap: 26px; height: 100%; }

.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav__logo { width: 34px; height: 34px; border-radius: 9px; }
.nav__name { font-weight: 700; font-size: 16.5px; letter-spacing: 0.01em; display: inline-flex; align-items: baseline; gap: 7px; }
.nav__name-en { color: var(--primary); }
.nav__chip {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  padding: 5px 9px;
  border-radius: 999px;
  align-self: center;
  white-space: nowrap;
}
@media (max-width: 400px) { .nav__chip { display: none; } }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color var(--dur) ease, background var(--dur) ease;
}
.nav__links a:hover { color: var(--text); background: var(--primary-soft); }
.nav__links a.is-active { color: var(--primary); background: var(--primary-soft); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: color var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 0 16px var(--primary-glow); }
.theme-toggle svg { position: absolute; transition: opacity 0.3s ease, transform 0.45s var(--ease); }
html[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
html[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
html[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
html[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }

.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.nav__burger span { height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 56px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero__sub { margin: 0 0 30px; max-width: 34em; color: var(--text-dim); font-size: clamp(15.5px, 1.5vw, 18px); }
.hero__sub strong { color: var(--text); }
.hero__sub mark {
  background: linear-gradient(transparent 62%, var(--primary-soft) 0);
  color: var(--primary);
  font-weight: 600;
  padding: 0 2px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  margin: 0; padding: 0; list-style: none;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.hero__stats span { font-size: 13px; color: var(--text-mute); }

/* --- 轨道系统 --- */
.orbit-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.orbit {
  --orbit-size: min(440px, 84vw);
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
}

.orbit__core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 108px; height: 108px;
  display: grid; place-items: center;
}
.orbit__core img {
  width: 92px; height: 92px;
  /* 图标为透明底菠萝剪影：用 drop-shadow 让光晕贴合轮廓 */
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 34px var(--primary-glow));
  animation: coreFloat 6s ease-in-out infinite;
}
.orbit__core-halo {
  position: absolute; inset: -14px;
  border-radius: 32px;
  border: 1px dashed var(--line-strong);
  animation: spin 26s linear infinite;
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes spin { to { rotate: 360deg; } }

/* 环做 ±8° 摆动而非整圈旋转，避免芯片在转动中相互穿越 */
.orbit__ring {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: sway var(--spin, 14s) ease-in-out infinite;
}
.orbit__ring--1 { width: 46%; height: 46%; --spin: 12s; }
.orbit__ring--2 { width: 66%; height: 66%; --spin: 16s; animation-direction: reverse; border-style: dashed; }
.orbit__ring--3 { width: 88%; height: 88%; --spin: 21s; opacity: 0.75; }

@keyframes sway {
  0%, 100% { rotate: -8deg; }
  50% { rotate: 8deg; }
}

.orbit__node {
  position: absolute; top: 50%; left: 50%;
  transform: rotate(var(--a)) translate(calc(var(--orbit-size) * var(--r, 0.23))) rotate(calc(var(--a) * -1)) translate(-50%, -50%);
}
.orbit__ring--1 .orbit__node { --r: 0.23; }
.orbit__ring--2 .orbit__node { --r: 0.33; }
.orbit__ring--3 .orbit__node { --r: 0.44; }

.orbit__chip {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  box-shadow: var(--card-shadow);
  /* 反向摆动抵消环的摆动，保持文字水平 */
  animation: sway-rev var(--spin, 14s) ease-in-out infinite;
}
@keyframes sway-rev {
  0%, 100% { rotate: 8deg; }
  50% { rotate: -8deg; }
}
/* 反向摆动的环，其芯片同步反向抵消 */
.orbit__ring--2 .orbit__chip { animation-direction: reverse; }

.orbit__chip--blue { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.orbit__chip--cyan { color: var(--accent-green); border-color: color-mix(in srgb, var(--accent-green) 45%, transparent); }
.orbit__chip--red { color: var(--accent-red); border-color: color-mix(in srgb, var(--accent-red) 40%, transparent); }
.orbit__chip--amber { color: var(--accent-amber); border-color: color-mix(in srgb, var(--accent-amber) 45%, transparent); }

.orbit__caption {
  margin: 0;
  max-width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px;
  translate: -50%;
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  display: flex; justify-content: center;
  padding-top: 8px;
  transition: border-color var(--dur) ease;
}
.hero__scroll:hover { border-color: var(--primary); }
.hero__scroll span {
  width: 4px; height: 9px; border-radius: 4px;
  background: var(--primary);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 跑马灯 ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__track span {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  white-space: nowrap;
}
.marquee__track i { color: var(--primary); font-style: normal; font-size: 9px; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento 功能卡片 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); border-color: color-mix(in srgb, var(--primary) 42%, var(--line)); }

.card--chat, .card--dash, .card--flow { grid-column: span 2; }
.card--news, .card--market, .card--local { grid-column: span 2; }

.card__no {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  opacity: 0.55;
  letter-spacing: 0.08em;
}

.card h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: 0.01em; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.8; }
.card p code {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 6px;
}

.card__viz {
  min-height: 150px;
  display: flex; align-items: center;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 80% 10%, var(--primary-soft), transparent 55%),
    var(--surface-2);
  border: 1px solid var(--line);
  padding: 18px;
}
/* mini 可视化撑满卡片内宽（flex 项的 width:100% 会被内容收缩） */
.card__viz > * { flex: 1 1 auto; min-width: 0; }

/* --- 01 AI 对话 mini --- */
.chat { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.chat__bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.chat__bubble p { margin: 6px 0 0; }
.chat__bubble--user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--primary-ink);
  border-bottom-right-radius: 4px;
}
.chat__bubble--ai {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom-left-radius: 4px;
  color: var(--text-dim);
}
.chat__tool {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 7px;
  padding: 4px 8px;
  margin-bottom: 5px;
  width: fit-content;
}
.chat__tool em { font-style: normal; color: var(--text-mute); }
.chat__tool-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }
.chat__typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.chat__typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-mute);
  animation: typing 1.2s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* --- 02 看板 mini --- */
.dash {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  width: 100%;
}
.dash__card {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s var(--ease);
}
.dash__card:hover { transform: translateY(-3px) rotate(-0.6deg); }
.dash__card b { font-size: 19px; font-family: var(--font-mono); color: var(--text); line-height: 1.3; }
.dash__card span { font-size: 11.5px; color: var(--text-mute); }
.dash__card em {
  font-style: normal;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-red);
}
.dash__card--clock b { color: var(--primary); }
.dash__card--weather span { color: var(--text-mute); }
.dash__card--news { grid-column: span 2; flex-direction: row; align-items: baseline; gap: 9px; }

/* --- 03 工作流 mini --- */
.flow { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.flow__row { display: flex; align-items: center; gap: 0; }
.flow__node {
  flex: 1;
  text-align: center;
  font-size: 12px; font-weight: 600;
  padding: 9px 6px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  white-space: nowrap;
}
.flow__node--ai { border-color: color-mix(in srgb, var(--accent-green) 55%, transparent); color: var(--accent-green); }
.flow__node--ok { border-color: color-mix(in srgb, var(--primary) 55%, transparent); color: var(--primary); }
.flow__link {
  width: 22px; height: 2px;
  background-image: linear-gradient(90deg, var(--primary) 55%, transparent 45%);
  background-size: 8px 2px;
  animation: dashmove 0.9s linear infinite;
  flex: none;
}
@keyframes dashmove { to { background-position-x: 8px; } }
.flow__meta { margin: 0; font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); text-align: center; }

/* --- 04 资讯 mini --- */
.news-mini { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.news-mini__item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: transform 0.3s var(--ease);
}
.news-mini__item:hover { transform: translateX(4px); }
.news-mini__src {
  width: fit-content;
  font-size: 10.5px; font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 1px 8px;
  border-radius: 999px;
}
.news-mini__item b { font-size: 13px; color: var(--text); line-height: 1.5; }
.news-mini__ai { font-size: 11px; color: var(--accent-green); font-family: var(--font-mono); }
.news-mini__push { font-size: 11px; color: var(--accent-amber); font-family: var(--font-mono); }

/* --- 05 市场 mini --- */
.market { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.market__tile {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  padding: 8px 11px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.market__icon { font-size: 16px; }
.market__btn {
  margin-left: auto;
  font-size: 11px; font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  white-space: nowrap;
}
.market__btn--ok { border-color: var(--line-strong); color: var(--text-mute); background: var(--primary-soft); }
.market__deeplink {
  align-self: center;
  font-size: 11px;
  white-space: nowrap;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--primary) 45%, transparent);
}

/* --- 06 隐私 mini --- */
.privacy { display: flex; align-items: center; gap: 18px; width: 100%; }
.privacy__shield { color: var(--primary); filter: drop-shadow(0 0 12px var(--primary-glow)); flex: none; }
.privacy__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.privacy__chips code {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
}

/* ---------- AI Plugin Maker ---------- */
.section--maker { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }

.maker__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.maker__copy .section__desc { margin-bottom: 30px; }
.maker__copy h2 em { text-decoration: underline; text-decoration-color: var(--primary-glow); text-underline-offset: 8px; text-decoration-thickness: 4px; }

.maker__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.maker__steps li { display: flex; gap: 14px; align-items: flex-start; }
.maker__steps i {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}
.maker__steps b { display: block; font-size: 15px; }
.maker__steps span { font-size: 13px; color: var(--text-mute); font-family: var(--font-mono); }

.term {
  border-radius: var(--radius);
  background: #191106;
  border: 1px solid #3f2e17;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 60px var(--primary-soft);
  overflow: hidden;
  font-family: var(--font-mono);
}
html[data-theme="light"] .term { box-shadow: 0 30px 70px rgba(190, 92, 20, 0.25); }

.term__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid #2e2212;
}
.term__dot { width: 11px; height: 11px; border-radius: 50%; }
.term__dot--r { background: #ff5f57; }
.term__dot--y { background: #febc2e; }
.term__dot--g { background: #28c840; }
.term__title { margin-left: 10px; font-size: 12px; color: #a3906f; letter-spacing: 0.06em; }

.term__body {
  padding: 20px 22px 26px;
  min-height: 250px;
  font-size: 13.5px;
  line-height: 2;
  color: #ece0cb;
}
.term__body p { margin: 0; white-space: pre-wrap; word-break: break-all; }
.t-cmd { color: #f7efe4; }
.t-cmd::before { content: "❯ "; color: #ff8a47; font-weight: 700; }
.t-out { color: #b6a78e; }
.t-out b { color: #ffb184; font-weight: 600; }
.t-ok { color: #6fdc8a; }
.t-caret { display: inline-block; width: 8px; height: 16px; background: #ff8a47; vertical-align: -2px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 架构 ---------- */
.arch {
  display: grid;
  grid-template-columns: 1.35fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.arch__col h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.arch__stack { display: flex; flex-direction: column; gap: 8px; }
.arch__layer, .arch__node {
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--card-shadow);
}
.arch__layer b, .arch__node b { display: block; font-size: 14px; }
.arch__layer span, .arch__node span { font-size: 12px; color: var(--text-mute); line-height: 1.6; }
.arch__layer--data { border-style: dashed; background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.arch__layer--data b { color: var(--primary); }
.arch__col--main .arch__layer:nth-child(1) { border-left: 3px solid var(--primary); }
.arch__node + .arch__node { margin-top: 8px; }
.arch__node--campus { padding: 10px 16px; font-size: 13px; color: var(--text-dim); }
.arch__node--campus::before { content: "◈ "; color: var(--primary); }

.arch__link { width: 46px; }
.arch__link span {
  display: block; height: 2px;
  background-image: linear-gradient(90deg, var(--primary) 55%, transparent 45%);
  background-size: 10px 2px;
  opacity: 0.55;
  animation: dashmove 1.1s linear infinite;
}

/* ---------- 生态 ---------- */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco__card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) ease;
}
.eco__card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); border-color: color-mix(in srgb, var(--primary) 42%, var(--line)); }
a.eco__card b:hover { color: var(--primary); }
.eco__icon { font-size: 26px; margin-bottom: 8px; }
.eco__card b { font-size: 17px; transition: color var(--dur) ease; }
.eco__desc { font-size: 13.5px; color: var(--text-dim); }
.eco__link {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 11px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.eco__card--muted { opacity: 0.75; }
.eco__card--muted .eco__link { color: var(--text-mute); background: var(--surface-2); border: 1px dashed var(--line-strong); }

/* ---------- 下载 ---------- */
.section--dl { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dl__card {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 30px 22px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dl__card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.dl__platform { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: var(--primary); }
.dl__fmt { font-size: 13px; color: var(--text-mute); font-family: var(--font-mono); }
.dl__card .btn { margin-top: 12px; }
.dl__hint { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--text-dim); }
.dl__hint a { color: var(--primary); font-weight: 600; border-bottom: 1px dashed color-mix(in srgb, var(--primary) 50%, transparent); }
.dl__hint a:hover { border-bottom-style: solid; }
.dl__hint code { font-size: 12.5px; color: var(--primary); background: var(--primary-soft); padding: 2px 7px; border-radius: 7px; }

/* ---------- 加入我们 ---------- */
.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.join__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.join__qr {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  padding: 26px 26px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  color: var(--text);
}
.join__qr svg { width: 168px; height: 168px; color: var(--primary); }
.join__qr figcaption { font-size: 12.5px; color: var(--text-mute); font-family: var(--font-mono); }
.join__qr figcaption b { color: var(--accent-amber); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  padding: 56px 0 40px;
}
.footer__brand { display: flex; gap: 15px; align-items: flex-start; }
.footer__brand img { border-radius: 11px; }
.footer__brand b { font-size: 16.5px; }
.footer__brand b span { color: var(--primary); }
.footer__brand p { margin: 7px 0 0; font-size: 13px; color: var(--text-mute); max-width: 26em; }

.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h5 {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.footer__col a { font-size: 14px; color: var(--text-dim); transition: color var(--dur) ease; width: fit-content; }
.footer__col a:hover { color: var(--primary); }

.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
}
.footer__meta p { margin: 0; font-size: 12.5px; color: var(--text-mute); }
.footer__heart { color: var(--accent-red); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1 !important; }
  .arch { grid-template-columns: 1fr; gap: 20px; }
  .arch__link { width: 2px; height: 34px; justify-self: center; }
  .arch__link span { width: 2px; height: 100%; background-image: linear-gradient(180deg, var(--line-strong) 55%, transparent 45%); background-size: 2px 10px; }
  .maker__grid { grid-template-columns: 1fr; }
  .eco { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .orbit-wrap { order: -1; }
  .orbit { --orbit-size: min(330px, 82vw); }
  .orbit__core img { width: 72px; height: 72px; border-radius: 19px; }
  .orbit__core { width: 86px; height: 86px; }
  .hero__scroll { display: none; }

  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    padding: 14px 24px 22px;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 14px; font-size: 15.5px; }
  .nav__burger { display: flex; }
  .nav__gh { display: none; }

  .join { grid-template-columns: 1fr; justify-items: start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .eco, .dl { grid-template-columns: 1fr; }
  .hero__stats { gap: 8px 24px; }
  .hero__stats b { font-size: 22px; }
  .flow__node { font-size: 10.5px; }
  .flow__link { width: 12px; }
}

/* ---------- 动效减弱 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 正文内联链接 ---------- */
.inline-link {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px dashed color-mix(in srgb, var(--primary) 55%, transparent);
  transition: border-color var(--dur) ease;
}
.inline-link:hover { border-bottom-style: solid; }

/* ---------- 下载倒计时横幅（开放前显示于卡片上方，到点自动移除） ---------- */
.dl__release {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 22px;
  margin-bottom: 30px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 50%, var(--primary-soft), transparent 60%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line));
  box-shadow: var(--card-shadow);
}
.dl__release-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.14em;
  color: var(--primary);
}
.dl__release-label i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft), 0 0 12px var(--primary-glow);
  animation: pulse 2.2s ease-in-out infinite;
}
.dl__release-timer { display: flex; gap: 10px; }
.dl__release-seg {
  display: flex; flex-direction: column; align-items: center;
  min-width: 62px;
  padding: 7px 10px 5px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
}
.dl__release-seg b {
  font-family: var(--font-mono);
  font-size: 24px; font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.dl__release-seg i { font-style: normal; font-size: 11px; color: var(--text-mute); }
.dl__release-note { font-size: 14px; color: var(--text-dim); }
.dl__release-note b { color: var(--primary); }
@media (max-width: 620px) {
  .dl__release { gap: 10px 14px; padding: 14px 16px; }
  .dl__release-seg { min-width: 52px; }
  .dl__release-seg b { font-size: 20px; }
}
