/* ============================================================
   贝拉工作室 · Bella Studio
   视觉方向：深蓝底、荧光绿单色强调、发丝级边框、柔和光晕
   ============================================================ */

:root {
  --bg: #060b1a;
  --bg-raise: #0a1226;
  --bg-panel: #0c1730;
  --ink: #e9f0ff;
  --ink-soft: #b6c5e6;
  --muted: #7e90b8;
  --acid: #8bff4d;
  --acid-ink: #06110a;
  --line: rgba(190, 214, 255, 0.14);
  --line-strong: rgba(139, 255, 77, 0.34);
  --glow-acid: 0 0 42px -14px rgba(139, 255, 77, 0.55);
  --glow-soft: 0 0 90px -40px rgba(90, 140, 255, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --head-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* 细网格底纹，仅在正文区域出现 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(190, 214, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(190, 214, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 20%, transparent 78%);
}

.mono {
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  letter-spacing: 0.04em;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.wrap--narrow { max-width: 860px; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 滚动条 ---------- */
/* Chromium / Safari：自定义细滚动条，滑块用荧光绿渐变 + 悬停发光 */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: linear-gradient(to left, rgba(190, 214, 255, 0.05), transparent 55%);
}
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(139, 255, 77, 0.46), rgba(139, 255, 77, 0.24)) padding-box;
  transition: background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(139, 255, 77, 0.72), rgba(139, 255, 77, 0.42)) padding-box;
  box-shadow: 0 0 18px -4px rgba(139, 255, 77, 0.55);
}
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--acid), rgba(139, 255, 77, 0.62)) padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }
/* 横向滚动条（如窄屏下的助理实例列表）压扁一些 */
::-webkit-scrollbar:horizontal { height: 8px; }
::-webkit-scrollbar-thumb:horizontal {
  border-width: 2px 3px;
  background: linear-gradient(90deg, rgba(139, 255, 77, 0.46), rgba(139, 255, 77, 0.24)) padding-box;
}

/* Firefox：只用它支持的 scrollbar-* 属性，否则会让上面的自定义样式失效 */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 255, 77, 0.4) rgba(6, 11, 26, 0.6);
  }
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--btn-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease), color 0.28s var(--ease), transform 0.2s var(--ease);
}

.btn--sm { font-size: 15px; padding: 0.55em 1.15em; }
.btn--lg { font-size: 17px; padding: 0.85em 1.8em; }
.btn--block { width: 100%; }

.btn--acid {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--acid-ink);
  box-shadow: var(--glow-acid);
}
.btn--acid:hover { box-shadow: 0 0 54px -10px rgba(139, 255, 77, 0.7); transform: translateY(-1px); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { border-color: var(--line-strong); box-shadow: var(--glow-acid); }

.btn--outline { background: transparent; border-color: rgba(190, 214, 255, 0.28); }
.btn--outline:hover { border-color: var(--acid); color: var(--acid); box-shadow: var(--glow-acid); }

.btn:active { transform: translateY(0); }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--head-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-head.is-stuck {
  background: rgba(6, 11, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.9);
}
.site-head__inner {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(139, 255, 77, 0.14), var(--glow-acid);
  animation: pulse 3.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(139, 255, 77, 0.12), var(--glow-acid); }
  50% { box-shadow: 0 0 0 7px rgba(139, 255, 77, 0.05), 0 0 46px -10px rgba(139, 255, 77, 0.6); }
}
.brand__text { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.15; }
.brand__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--acid); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: var(--head-h);
  left: 0;
  right: 0;
  padding: 18px clamp(20px, 5vw, 48px) 24px;
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-soft);
}
.mobile-nav a:active { color: var(--acid); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- 通用段落头 ---------- */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  font-weight: 600;
  margin-bottom: 20px;
}

.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; z-index: 1; }
.section--tight { background: var(--bg-raise); border-block: 1px solid var(--line); }
.hero, .section, .faq__item, #top { scroll-margin-top: calc(var(--head-h) + 10px); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__title { font-size: clamp(2rem, 4.4vw, 3.35rem); }
.section__lede { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-soft); }
.only-mobile { display: none; }

.caption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 7vw, 96px);
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: min(1000px, 130vw);
  height: 620px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139, 255, 77, 0.13), transparent 70%);
}
.hero__wrap { position: relative; max-width: 1020px; }

.hero__title {
  font-size: clamp(2.7rem, 8.2vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hl {
  color: var(--acid);
  text-shadow: 0 0 44px rgba(139, 255, 77, 0.35);
}

.lede {
  max-width: 660px;
  font-size: clamp(1.06rem, 1.9vw, 1.3rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.hero__facts b { color: var(--ink); font-weight: 600; }

/* 框架条 */
.frames {
  margin-top: clamp(56px, 8vw, 88px);
  padding: 30px clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 23, 48, 0.55);
  box-shadow: var(--glow-soft);
}
.frames__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.frames__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.frames__list li {
  background: var(--bg-panel);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.3s var(--ease);
}
.frames__list li:hover { background: #102046; }
.frames__name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.frames__desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.frames__tag {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--acid);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- 服务流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  background: rgba(12, 23, 48, 0.42);
  transition: border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.steps li:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow-acid);
  transform: translateY(-3px);
}
.steps__no {
  display: block;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--acid);
  margin-bottom: 16px;
}
.steps h3 { font-size: 19px; margin-bottom: 12px; }
.steps p { font-size: 15px; color: var(--ink-soft); line-height: 1.68; }

/* ---------- 控制台示意 ---------- */
.console {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--bg-panel);
  box-shadow: 0 0 120px -50px rgba(139, 255, 77, 0.35), 0 40px 90px -60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 38, 0.85);
}
.console__title { font-weight: 700; letter-spacing: 0.02em; }
.console__meta { color: var(--muted); }

.console__grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 420px;
}
.console__side {
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: rgba(8, 15, 32, 0.6);
}
.console__side-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px 14px;
}
.agent {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  text-align: left;
  font: inherit;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.agent + .agent { margin-top: 4px; }
.agent:hover { background: rgba(139, 255, 77, 0.06); color: var(--ink); }
.agent.is-active {
  background: rgba(139, 255, 77, 0.09);
  border-color: var(--line-strong);
  color: var(--ink);
}
.agent__name { font-weight: 600; font-size: 15.5px; }
.agent__role { grid-column: 1; font-size: 13px; color: var(--muted); }
.agent__state {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 12px;
  white-space: nowrap;
  color: var(--acid);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 9px;
}
.agent__state[data-state="idle"] { color: var(--muted); border-color: var(--line); }
.agent__state[data-state="busy"] { color: #ffd479; border-color: rgba(255, 212, 121, 0.3); }

.console__main {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--line);
}
.console__panel { background: var(--bg-panel); padding: 22px clamp(18px, 2.4vw, 26px); }
.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel__head h3 { font-size: 16px; }
.panel__hint { color: var(--muted); }

.tasks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(190, 214, 255, 0.1);
  font-size: 15px;
}
.tasks li:last-child { border-bottom: 0; }
.tasks__name { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tasks__time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.chip {
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip[data-s="运行中"] { color: var(--acid); border-color: var(--line-strong); }
.chip[data-s="待确认"] { color: #ffd479; border-color: rgba(255, 212, 121, 0.32); }
.chip[data-s="已完成"] { color: var(--ink-soft); }

.progress li { padding: 11px 0; }
.progress li + li { border-top: 1px dashed rgba(190, 214, 255, 0.1); }
.progress__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.progress__pct { font-family: "SF Mono", Menlo, monospace; font-size: 13px; color: var(--acid); }
.bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(190, 214, 255, 0.1);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(139, 255, 77, 0.6);
  transition: width 0.7s var(--ease);
}

.console__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(8, 15, 32, 0.75);
  color: var(--muted);
  overflow: hidden;
}
.console__foot > span { flex: none; }
.console__logline {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-soft);
}

/* ---------- 核心能力卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  background: rgba(12, 23, 48, 0.5);
  transition: border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--glow-acid); transform: translateY(-4px); }
.card__no { color: var(--acid); letter-spacing: 0.16em; font-size: 13px; margin-bottom: 22px; }
.card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 16px; }
.card p:not(.card__no):not(.card__note) { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }
.card__note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 客户评价 ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.voices li {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-left: 2px solid var(--acid);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(12, 23, 48, 0.5);
}
.voices blockquote { margin: 0; flex: 1; }
.voices blockquote p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink);
}
.voices__who { margin-top: 24px; font-weight: 700; font-size: 15.5px; }
.voices__role { font-size: 14px; color: var(--muted); }

/* ---------- 价格 ---------- */
.billing {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.billing__switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 23, 48, 0.6);
}
.bill {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.26s var(--ease), color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.bill.is-active {
  background: var(--acid);
  color: var(--acid-ink);
  box-shadow: var(--glow-acid);
}
.bill:not(.is-active):hover { color: var(--ink); }
.billing__save { font-size: 14.5px; color: var(--acid); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  background: rgba(12, 23, 48, 0.55);
  transition: border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.plan:hover { border-color: var(--line-strong); box-shadow: var(--glow-acid); }
.plan--featured {
  border-color: var(--line-strong);
  background: rgba(16, 32, 66, 0.75);
  box-shadow: 0 0 100px -44px rgba(139, 255, 77, 0.5);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--acid-ink);
  background: var(--acid);
  border-radius: 999px;
  padding: 3px 12px;
  font-weight: 700;
}
.plan h3 { font-size: 22px; }
.plan__for { margin-top: 10px; font-size: 14.5px; color: var(--muted); min-height: 2.9em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan__cur { font-size: 22px; color: var(--ink-soft); }
.plan__amount {
  font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__unit { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__billed { margin-top: 8px; font-size: 13.5px; color: var(--acid); min-height: 1.6em; }
.plan__list { margin: 24px 0 0; }
.plan__list li {
  position: relative;
  padding: 9px 0 9px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(190, 214, 255, 0.07);
}
.plan__list li:last-child { border-bottom: 0; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.98em;
  width: 8px;
  height: 1px;
  background: var(--acid);
}

/* 金额切换时的轻微浮动 */
.plan__amount.is-swapping { animation: swap 0.34s var(--ease); }
@keyframes swap {
  0% { opacity: 0.2; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__q {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 24px 4px;
  cursor: pointer;
  transition: color 0.22s var(--ease);
}
.faq__q:hover { color: var(--acid); }
.faq__q[aria-expanded="true"] { color: var(--acid); }
.faq__mark {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq__mark::before { width: 15px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__mark::after { width: 1.5px; height: 15px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .faq__mark::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease);
}
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 4px 26px;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 结尾 CTA ---------- */
.closing {
  position: relative;
  padding: clamp(76px, 11vw, 128px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 100%, rgba(139, 255, 77, 0.12), transparent 72%);
  pointer-events: none;
}
.closing__wrap { position: relative; text-align: center; max-width: 760px; }
.closing__title { font-size: clamp(2rem, 5vw, 3.6rem); }
.closing__lede { margin: 22px auto 0; max-width: 520px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-raise); }
.site-foot__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(48px, 7vw, 72px) 0 40px;
}
.site-foot__desc { margin-top: 18px; max-width: 320px; font-size: 15px; color: var(--muted); }
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.site-foot__cols h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.site-foot__cols a,
.site-foot__cols button {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: left;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.site-foot__cols a:hover { color: var(--acid); transform: translateX(2px); }
.foot-note { padding: 6px 0; font-size: 15px; color: var(--muted); }
.site-foot__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-foot__base p { margin: 0; }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .frames__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .cards, .voices, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan--featured { order: -1; }
  .site-foot__wrap { grid-template-columns: minmax(0, 1fr); }
  .console__grid { grid-template-columns: minmax(0, 1fr); }
  .console__side {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }
  .console__side-title { display: none; }
  .agent {
    width: auto;
    flex: none;
    grid-template-columns: auto;
    gap: 1px;
    padding: 9px 14px;
    white-space: nowrap;
  }
  .agent__role { display: none; }
  .agent__state { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 2px; }
  .only-mobile { display: block; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .frames__list { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { flex: 1 1 100%; }
  .tasks li { grid-template-columns: minmax(0, 1fr) auto; }
  .tasks__time { display: none; }
  .console__foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
