/* ==========================================================================
   流光录播官网 · 品牌视觉
   纯白底 + 流动渐变光 + 墨色主色 + 靓紫点缀；克制的阴影与发丝级描边
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-elev: #f4f4f2;
  --bg-deep: #ececea;

  --surface: #ffffff;
  --surface-2: #f5f5f3;
  --surface-3: #ededeb;
  --border: rgba(23, 23, 26, 0.08);
  --border-strong: rgba(23, 23, 26, 0.16);
  --border-glow: rgba(14, 116, 144, 0.4);

  --text: #17171a;
  --text-2: #52525b;
  --text-3: #8e8e96;

  --cyan: #0891b2;
  --indigo: #0891b2;
  --violet: #0891b2;
  --fuchsia: #06b6d4;
  --accent: #0e7490;

  --grad: linear-gradient(115deg, #0b5c73 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(14, 116, 144, 0.07), rgba(6, 182, 212, 0.06));
  --grad-text: linear-gradient(100deg, #22d3ee 0%, #22d3ee 50%, #22d3ee 100%);

  --glow-cyan: rgba(14, 116, 144, 0.18);
  --glow-indigo: rgba(14, 116, 144, 0.16);
  --glow-fuchsia: rgba(6, 182, 212, 0.14);

  --card-border: #e6e9ef;
  --card-shadow-hover: 0 16px 40px rgba(83, 91, 107, 0.1);

  --radius: 7px;
  --container: 1200px;
  /* 顶部导航栏高度（.nav__inner 62px + 1px 下边框）——移动端菜单据此从顶栏下方展开 */
  --nav-h: 63px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei",
    sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 650; }

::selection {
  background: rgba(14, 116, 144, 0.18);
  color: #0b4b5c;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}

/* ==========================================================================
   导航
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: box-shadow 0.45s var(--ease);
}

/* 首页：去掉导航栏底部与 hero 之间的分割线 */
.is-home .nav {
  border-bottom: none;
}

.nav.is-scrolled {
  box-shadow: 0 1px 2px rgba(23, 23, 26, 0.03), 0 10px 30px -22px rgba(23, 23, 26, 0.18);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
  height: 62px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav__brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(23, 23, 26, 0.06);
}

.nav__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav__links {
  grid-column: 2;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 15px;
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s;
}

@media (hover: hover) {
  .nav__links a:hover {
    color: transparent;
    background-image: var(--grad-text), linear-gradient(rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0.10));
    -webkit-background-clip: text, border-box;
    background-clip: text, border-box;
  }
}

/* ---- 导航「应用」下拉（参考 www.qianwenai.com） ---- */
.nav__drop {
  position: relative;
  display: inline-flex;
}

.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 15px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}

@media (hover: hover) {
  .nav__drop-btn:hover {
    color: transparent;
    background-image: var(--grad-text), linear-gradient(rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0.10));
    -webkit-background-clip: text, border-box;
    background-clip: text, border-box;
  }
}

/* 箭头独立取色：按钮 hover 时 color 为 transparent（渐变文字），箭头靠自身 color 显形 */
.nav__drop-caret {
  display: inline-flex;
  color: var(--text-2);
  transition: transform 0.2s, color 0.3s;
}

.nav__drop-caret svg {
  width: 16px;
  height: 16px;
}

.nav__drop.is-open .nav__drop-caret {
  color: var(--accent);
  transform: rotate(180deg);
}

@media (hover: hover) {
  .nav__drop:hover .nav__drop-caret {
    color: #22d3ee;
    transform: rotate(180deg);
  }
}

.nav__drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  min-width: 208px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  box-shadow: 0 16px 40px rgba(83, 91, 107, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* 触发条与浮层之间 8px 空隙仍算在 .nav__drop 内，鼠标横穿时不会中途收起 */
.nav__drop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav__drop.is-open .nav__drop-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) {
  .nav__drop:hover .nav__drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.nav__links .nav__drop-item {
  display: block;
  /* 左右 7px + panel padding 8px = 15px，与 .nav__drop-btn 的 padding 15px 对齐 */
  padding: 10px 7px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background-color 0.15s;
}

@media (hover: hover) {
  .nav__links .nav__drop-item:hover {
    color: var(--text);
    background-image: none;
    background-color: rgba(34, 211, 238, 0.1);
  }
}

.nav__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__login {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-2);
  padding: 9px 14px;
  border-radius: 11px;
}

/* 登录态确认前隐藏账号入口，避免「登录 → 账户中心」闪烁 */
.nav__login.is-pending {
  opacity: 0;
  pointer-events: none;
}

/* ---- 汉堡菜单按钮（三条横线，无边框纯图标） ---- */
.nav__menu {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav__menu span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

/* 打开状态：三条线 → X */
body.menu-open .nav__menu span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
body.menu-open .nav__menu span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}
body.menu-open .nav__menu span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

body.menu-open { overflow: hidden; }

/* ---- 移动端弹出菜单（从顶栏下方展开，顶栏与登录按钮保持可见） ---- */
.menu-drawer {
  position: fixed;
  inset: 0;
  /* 低于 .nav(60)：导航栏压在遮罩之上，菜单展开时顶栏与登录按钮仍可见可点 */
  z-index: 55;
  visibility: hidden;
  pointer-events: none;
}

.menu-drawer__mask {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.menu-drawer__panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  max-height: calc(100% - var(--nav-h));
  display: flex;
  flex-direction: column;
  padding: 16px 20px 22px;
  border-radius: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.36s var(--ease-out);
  overflow-y: auto;
}

body.menu-open .menu-drawer__panel { opacity: 1; transform: none; }

.menu-drawer__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-drawer__link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.42s var(--ease-out), transform 0.42s var(--ease-out), background-color 0.2s, color 0.2s;
}

/* 可展开分组（「应用」），点击展开下方子项 */
.menu-drawer__link--group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.menu-drawer__caret {
  display: inline-flex;
  color: var(--text-3);
  transition: transform 0.25s var(--ease-out);
}

.menu-drawer__caret svg {
  width: 18px;
  height: 18px;
}

.menu-drawer__link--group[aria-expanded="true"] .menu-drawer__caret {
  transform: rotate(180deg);
}

.menu-drawer__sub {
  max-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease-out);
}

.menu-drawer__sub.is-open { max-height: 140px; }

.menu-drawer__sublink {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}

body.menu-open .menu-drawer {
  visibility: visible;
  pointer-events: auto;
}

body.menu-open .menu-drawer__mask {
  opacity: 1;
}

body.menu-open .menu-drawer__link {
  opacity: 1;
  transform: none;
}

/* 交错入场 */
body.menu-open .menu-drawer__link:nth-child(1) { transition-delay: 0.05s; }
body.menu-open .menu-drawer__link:nth-child(2) { transition-delay: 0.1s; }
body.menu-open .menu-drawer__link:nth-child(3) { transition-delay: 0.15s; }
body.menu-open .menu-drawer__link:nth-child(5) { transition-delay: 0.2s; }

.menu-drawer__foot {
  width: 100%;
  margin-top: 16px;
  padding: 16px 12px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out) 0.24s, transform 0.4s var(--ease-out) 0.24s;
}

body.menu-open .menu-drawer__foot {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   通用组件
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 27px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn--primary {
  color: #ffffff;
  background: #17171a;
  box-shadow: 0 1px 2px rgba(23, 23, 26, 0.2), 0 10px 28px -14px rgba(23, 23, 26, 0.5);
}

.btn--primary::after { content: none; }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.btn--sm { padding: 9px 18px; font-size: 13.5px; border-radius: var(--radius); }
.btn--lg { padding: 16px 36px; font-size: 15.5px; }

.btn--danger {
  color: #fff;
  background: #dc2626;
  box-shadow: 0 10px 28px -14px rgba(220, 38, 38, 0.55);
}

.btn--danger-ghost {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
}

/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 区块通用 */
.section {
  position: relative;
  padding: 80px 0;
}

/* 章节之间的分割线 */
main > section + section {
  border-top: 1px solid var(--border);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__head--left {
  max-width: none;
  margin: 0 0 48px;
  text-align: left;
}

/* 部署教程标题整句不折行，窄屏按宽度缩放字号 */
.section__head h2.deploy-title {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .section__head h2.deploy-title {
    font-size: clamp(18px, 6.4vw, 34px);
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}

.section__head h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.02em;
  /* 长标题换行时尽量均衡，避免把词语从中间拆开 */
  text-wrap: balance;
}

/* 防止中文标题在词中间断行 */
.nowrap {
  white-space: nowrap;
}

.section__head p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

.grad-text {
  background: var(--grad-text);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-pan 7s linear infinite;
}

/* 参考千问AI平台底部的渐变字配色（“千问AI平台”/“Agent”/“AI 生产力”三处渐变的主色）
   静态展示整段配色（与参考页一致），故铺满宽度并停用平移动画，避免只露出局部颜色 */
.grad-text--qwen {
  background-image: linear-gradient(100deg, #5b58ff 0%, #4897fe 24%, #14c8c7 48%, #40ebda 66%, #d64eff 100%);
  background-size: 100% auto;
  animation: none;
}

@keyframes gradient-pan {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 178px 0 96px;
  overflow: clip;
}

.hero__copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--glow-cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero__title {
  margin: 0 0 20px;
  /* 下限 30px（原 40px）：新标语每行 9-10 字，窄屏下 40px 会超出一行导致孤儿单字断行 */
  font-size: clamp(30px, 7vw, 78px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero__subtitle {
  margin: 0 auto 34px;
  max-width: 700px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.hero__title .grad-text {
  position: relative;
}

.hero__title .grad-text::after {
  content: "";
  position: absolute;
  inset: 8% -6%;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%, rgba(14, 116, 144, 0.16), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}

.hero__lead {
  max-width: 660px;
  margin: 0 auto 40px;
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero 统计 */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero__stats > div {
  position: relative;
  text-align: center;
  padding: 4px 12px;
}

.hero__stats > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}

.hero__stats dt {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 780;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__stats dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

/* Hero 首屏交错入场 */
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.14s; }
.hero .reveal:nth-child(3) { transition-delay: 0.23s; }
.hero .reveal:nth-child(4) { transition-delay: 0.32s; }
.hero .reveal:nth-child(5) { transition-delay: 0.41s; }

/* ==========================================================================
   平台支持
   ========================================================================== */

/* 特性区底部的平台条（原平台支持区块合并至此） */
.platform-strip {
  margin-top: 44px;
}

.platform-strip__caption {
  margin: 0 0 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 6px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  overflow: visible;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
}

@media (hover: hover) {
  .platform:hover {
    border-color: var(--border);
    background: var(--surface-2);
  }
}

.platform__logo {
  display: block;
  width: 100%;
  max-width: 72px;
  height: 34px;
  margin: 0 auto;
  object-fit: contain;
}

.platform b {
  display: block;
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-2);
  text-align: center;
}

/* ==========================================================================
   产品特性
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

@media (hover: hover) {
  .feature:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--card-shadow-hover);
  }
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: #a5f3fc;
  background: #17171a;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 9px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ==========================================================================
   工作流程
   ========================================================================== */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow__step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

@media (hover: hover) {
  .flow__step:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 22px 50px -30px var(--glow-indigo);
  }
}

.flow__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow__step h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
}

.flow__step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ==========================================================================
   会员订阅
   ========================================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

@media (hover: hover) {
  .plan:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--card-shadow-hover);
  }
}

.plan--featured {
  border: 1px solid #17171a;
  background: #17171a;
  box-shadow: 0 16px 40px rgba(83, 91, 107, 0.16);
  /* 深色卡片内部：局部覆盖为浅色文字 */
  --text: #f4f4f5;
  --text-2: #b6b6bf;
  --text-3: #8b8b94;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.08);
  color: #f4f4f5;
}

.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--accent);
  box-shadow: none;
  white-space: nowrap;
}

.plan__name {
  font-size: 15px;
  font-weight: 650;
  color: var(--text-2);
  margin-bottom: 14px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.plan__price b {
  font-size: 46px;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.plan__price span {
  color: var(--text-3);
  font-size: 14px;
}

.plan__note {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--text-3);
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-2);
}

.plan__list li {
  position: relative;
  padding-left: 26px;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 7px;
  border-left: 2px solid #22d3ee;
  border-bottom: 2px solid #22d3ee;
  transform: rotate(-45deg);
  opacity: 0.9;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

/* 深色主推卡内的主按钮反色，避免与卡底同色 */
.plan--featured .btn--primary {
  background: #ffffff;
  color: #17171a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   部署指南
   ========================================================================== */

.deploy-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.deploy-way {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.4s, background-color 0.4s;
}

.deploy-way--soon {
  border-style: dashed;
  background: transparent;
}

.deploy-way__tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: transparent;
  background-image: var(--grad-text), linear-gradient(rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0.10));
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  border: 1px solid rgba(34, 211, 238, 0.30);
}

.deploy-way h3 {
  margin: 2px 0 5px;
  font-size: 15.5px;
}

.deploy-way__badge {
  margin-left: 6px;
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  vertical-align: 2px;
}

.deploy-way p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.deploy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

.deploy__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deploy__step {
  display: flex;
  gap: 17px;
  padding: 21px 22px;
  border-radius: 17px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.4s, background-color 0.4s, transform 0.4s var(--ease);
}

@media (hover: hover) {
  .deploy__step:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
    transform: translateX(4px);
  }
}

.deploy__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: #17171a;
}

.deploy__step h3 {
  margin: 3px 0 6px;
  font-size: 15.5px;
}

.deploy__step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}

.deploy__code {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 204, 0.24);
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.95), rgba(6, 9, 19, 0.97));
  overflow: hidden;
  box-shadow: 0 34px 80px -50px rgba(15, 23, 42, 0.55);
  /* 深色代码块内部：局部覆盖 */
  --text-2: #a7b1c9;
  --text-3: #7c869e;
  --accent: #67e8f9;
  --border: rgba(148, 163, 204, 0.12);
  --border-strong: rgba(148, 163, 204, 0.24);
}

.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.code__title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}

.code__copy {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  cursor: pointer;
}

.code__body {
  margin: 0;
  padding: 20px 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: #a5f3fc;
}

.code__body .c-dim { color: var(--text-3); }
.code__body .c-str { color: var(--accent); }

/* ==========================================================================
   常见问题
   ========================================================================== */

.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s, background-color 0.4s;
}

@media (hover: hover) {
  .faq__item:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
  }
}

.faq__item[open] {
  border-color: rgba(14, 116, 144, 0.35);
  background: var(--surface);
}

.faq__item summary {
  position: relative;
  padding: 19px 54px 19px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
  border-color: var(--accent);
}

.faq__item p {
  margin: 0;
  padding: 0 22px 21px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ==========================================================================
   底部 CTA + 页脚
   ========================================================================== */

.cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: clip;
}

.cta h2 {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta p {
  position: relative;
  margin: 0 0 38px;
  color: var(--text-2);
  font-size: 16.5px;
}

.cta__actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer {
  position: relative;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: transparent;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 50px;
  padding: 62px 0 50px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  font-size: 16.5px;
}

.footer__logo img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.footer__brand p {
  margin: 0;
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.8;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 26px 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
}

.footer--slim .footer__inner {
  padding-top: 44px;
  padding-bottom: 30px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer__tg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

@media (hover: hover) {
  .footer__contact a:hover {
    color: var(--accent);
  }
}

/* ==========================================================================
   认证页（注册 / 登录 / 重置）
   ========================================================================== */

.auth-main {
  position: relative;
  padding: 112px 0 96px;
}

/* ---- 文档页 ---- */
.doc-main {
  position: relative;
  padding: 112px 0 96px;
}

/* 正文内联链接：默认无下划线（全局 a 重置），这里补回下划线便于识别 */
.doc-main p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-list { min-height: 200px; }

.doc-empty {
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
}

.doc-item {
  display: block;
  max-width: 760px;
  margin: 0 auto 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

@media (hover: hover) {
  .doc-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
  }
}

.doc-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 680;
}

.doc-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.doc-article {
  max-width: 760px;
  margin: 0 auto;
}

.doc-article h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.doc-article > p {
  margin: 0 0 26px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.doc-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.doc-item__head h3 { margin: 0; }

.doc-article > .doc-meta,
.doc-item .doc-meta {
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.doc-article > .doc-meta { margin: 0 0 22px; }

.doc-article .doc-figure {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 0 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.doc-platforms {
  margin: 0;
  display: grid;
  gap: 12px;
}

.doc-platforms > div {
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.doc-platforms dt {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 650;
}

.doc-platforms dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
  color: var(--text-2);
}

.doc-platforms code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  word-break: break-all;
}

.auth-card {
  max-width: 470px;
  margin: 0 auto;
  padding: 32px 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.auth-head {
  margin-bottom: 30px;
  text-align: center;
}

.auth-head h1 {
  margin: 0 0 9px;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.auth-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 14px;
}

.auth-field {
  display: block;
  margin-bottom: 17px;
}

.auth-field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
}

.auth-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.auth-field input::placeholder { color: var(--text-3); }

.auth-field input:focus {
  border-color: var(--border-glow);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}

/* 密码 / 确认密码即时校验提示 */
.auth-hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
}
.auth-hint.is-error { color: #be123c; }
.auth-hint.is-ok { color: #047857; }

.auth-code-row {
  display: flex;
  gap: 10px;
}

.auth-code-row input { flex: 1; }

.btn-code {
  flex-shrink: 0;
  padding: 0 17px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: transparent;
  background-image: var(--grad-text), linear-gradient(rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0.10));
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  border: 1px solid rgba(34, 211, 238, 0.36);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.btn-code:disabled {
  color: var(--text-3);
  background: var(--surface);
  border-color: var(--border);
  cursor: not-allowed;
}

.auth-submit {
  width: 100%;
  margin-top: 10px;
}

/* 顶部弹窗提示 */
.toast-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-140%);
  transition: opacity 0.26s var(--ease-out), transform 0.34s var(--ease-out);
}

.toast-host.is-open {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  max-width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid #0e7490;
  background: #0e7490;
  box-shadow: 0 24px 52px -28px rgba(14, 116, 144, 0.6);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* 密码可见性切换（小眼睛） */
.auth-eye-wrap {
  position: relative;
  display: block;
}

.auth-eye-wrap input {
  padding-right: 46px;
}

.auth-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s;
}

.auth-eye.is-on {
  color: var(--accent);
}

.auth-eye svg {
  display: block;
  width: 19px;
  height: 19px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  font-size: 13.5px;
}

.auth-links a {
  color: var(--text-2);
  transition: color 0.3s;
}

@media (hover: hover) {
  .auth-links a:hover {
    color: transparent;
    background-image: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* Turnstile 容器 */
.auth-turnstile {
  display: flex;
  justify-content: center;
  margin: 6px 0 6px;
  min-height: 65px;
}

/* ==========================================================================
   账户中心
   ========================================================================== */

.account-wrap {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-card {
  padding: 26px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.account-card h2 {
  margin: 0 0 20px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.account-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}

.account-row > span:first-child {
  color: var(--text-3);
}

.account-row > span:last-child,
.account-row > b {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
  text-align: right;
}

.badge-membership {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.badge-membership.is-free {
  background: var(--surface-2);
  color: var(--text-3);
  border: 1px solid var(--border);
}

.badge-membership.is-active {
  background: linear-gradient(120deg, rgba(255, 208, 138, 0.4), rgba(255, 122, 92, 0.35));
  color: #a8340f;
}

.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.account-actions [hidden] { display: none; }

/* ==========================================================================
   管理后台
   ========================================================================== */

.admin-head,
.admin-section {
  max-width: 920px;
  margin: 0 auto;
}

.admin-head {
  margin-bottom: 28px;
}

.admin-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.admin-section {
  margin-bottom: 44px;
}

.admin-section > h2 {
  margin: 0 0 18px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.admin-card {
  margin-bottom: 18px;
  padding: 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.admin-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-search {
  flex: 1;
  max-width: 320px;
  padding: 11px 16px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.admin-search::placeholder { color: var(--text-3); }

.admin-search:focus {
  border-color: var(--border-glow);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}

.admin-count {
  color: var(--text-3);
  font-size: 13px;
}

.admin-card--table {
  padding: 8px 10px;
}

.admin-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text-3);
  padding: 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-2);
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table__email {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}

.tag-admin {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 116, 144, 0.2);
  vertical-align: 1px;
}

.admin-table td.is-member { color: #0e7490; font-weight: 600; }
.admin-table td.is-free { color: var(--text-3); }
.admin-table td.is-danger { color: #fb7185; font-weight: 600; }
.admin-table tr.is-disabled { opacity: 0.55; }

.admin-table__ops {
  text-align: right;
  white-space: nowrap;
}

.admin-table__ops .btn {
  margin-left: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
}

.admin-empty {
  margin: 0;
  padding: 22px 12px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

/* ==========================================================================
   弹窗
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 410px;
  padding: 27px 27px 23px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 40px 100px -50px rgba(15, 23, 42, 0.45);
  animation: modal-in 0.3s var(--ease-out);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal__title {
  margin: 0 0 10px;
  font-size: 17px;
}

.modal__desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
  word-break: break-all;
}

.modal__body { margin-bottom: 16px; }

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal__opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}

@media (hover: hover) {
  .modal__opt:hover {
    border-color: var(--border-glow);
    background: rgba(14, 116, 144, 0.05);
  }
}

.modal__opt input[type="radio"] {
  margin: 0;
  accent-color: var(--cyan);
}

.modal__opt input[type="radio"]:checked ~ span {
  color: transparent;
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 600;
}

.modal__days {
  width: 84px;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.modal__days:focus { border-color: var(--border-glow); }

body.modal-open { overflow: hidden; }

.free-trial__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.free-trial__option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, background-color 0.25s;
}

@media (hover: hover) {
  .free-trial__option:hover {
    transform: translateY(-1px);
    border-color: var(--border-glow);
    background: rgba(14, 116, 144, 0.05);
  }
}

.free-trial__option:focus-visible {
  outline: 2px solid var(--border-glow);
  outline-offset: 2px;
}

.free-trial__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(14, 116, 144, 0.08);
  color: var(--accent);
}

.free-trial__icon svg {
  width: 21px;
  height: 21px;
}

.free-trial__option b {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}

.free-trial__option small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-3);
}

.free-trial__arrow {
  margin-left: auto;
  color: var(--text-3);
  font-size: 16px;
}

/* ==========================================================================
   标题断行优化
   ========================================================================== */

.section__head h2,
.hero__title,
.cta h2,
.auth-head h1,
.faq__item summary {
  text-wrap: balance;
}

.nw { white-space: nowrap; }

/* ---- 面包屑（内页，main.js 注入） ---- */
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  font-size: 13px;
  color: var(--text-3);
}

.crumb a {
  color: var(--text-3);
  transition: color 0.3s;
}

@media (hover: hover) {
  .crumb a:hover {
    color: transparent;
    background-image: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.crumb__sep {
  color: var(--text-3);
  opacity: 0.55;
}

.crumb__current {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 721px) {
  /* 桌面端导航项直接展示在顶部，无需汉堡菜单按钮 */
  .nav__menu { display: none; }
}

@media (max-width: 980px) {
  .deploy-ways { grid-template-columns: 1fr; }
  .deploy { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  /* 汉堡图标与页面左右边距对齐，避免右侧留白偏大 */
  .nav__right { gap: 6px; }
  .nav__menu { margin-right: -12px; }
  .section { padding: 60px 0; }
  .hero { padding: 132px 0 72px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .hero__stats > div:nth-child(3)::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .platform { padding: 10px 2px; gap: 7px; }
  .platform__logo { width: 100%; max-width: 56px; height: 28px; }
  .platform b { font-size: 11.5px; }
  .auth-main { padding: 100px 0 72px; }
  .doc-main { padding: 100px 0 72px; }
  .auth-card { padding: 32px 22px 28px; }
  .account-card { padding: 24px 20px; }
  .admin-section { margin-bottom: 32px; }
}

@media (max-width: 460px) {
  .platform-grid { gap: 4px; }
  .platform { padding: 9px 1px; gap: 6px; }
  .platform__logo { width: 100%; max-width: 52px; height: 26px; }
  .platform b { font-size: 10.5px; }
  .hero__actions .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grad-text,
  .hero__stats dt,
  .hero__badge::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .menu-drawer__link,
  .menu-drawer__sub,
  .menu-drawer__foot {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   卡片统一表面（参考 www.qianwenai.com）：纯白底 + 发丝描边 + 7px 圆角、常态无阴影
   放在文件末尾以覆盖各组件自身的 background / border / 圆角；深色主推卡 .plan--featured 除外
   ========================================================================== */

.feature,
.plan:not(.plan--featured),
.doc-item,
.account-card,
.auth-card,
.admin-card,
.deploy-way,
.faq__item,
.hero__stats {
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: #ffffff;
  box-shadow: none;
}
/* ==========================================================================
   首页 · 企业官网版（暖白纸张感 / 墨色排版 / 细线网格）
   ========================================================================== */

.is-home {
  --home-bg: #ffffff;
  --home-surface: #ffffff;
  --home-ink: #121316;
  --home-muted: #667085;
  --home-line: #e4e4df;
  --home-line-strong: #d3d4cd;
  --home-accent: #0b5c73;
  --home-live: #0f7a5a;
  --container: 1240px;
  --nav-h: 69px;

  background: var(--home-bg);
  color: var(--home-ink);
}

.is-home .nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: none;
}

.is-home .nav.is-scrolled {
  box-shadow: none;
}

.is-home .nav__inner {
  height: 68px;
  padding: 0 26px;
}

.is-home .nav__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.is-home .nav__links {
  gap: 26px;
}

.is-home .nav__links a,
.is-home .nav__drop-btn {
  color: var(--home-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.is-home .nav__links a.is-active {
  color: var(--home-ink);
}

@media (hover: hover) {
  .is-home .nav__links a:hover,
  .is-home .nav__drop-btn:hover {
    color: var(--home-ink);
  }
}

.is-home .nav__links a.is-active {
  position: relative;
}

.is-home .nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -23px;
  height: 1px;
  background: var(--home-ink);
}

.is-home .nav__drop-panel {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px -28px rgba(18, 19, 22, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.is-home .nav__drop-item {
  border-radius: 5px;
  font-size: 13px;
}

.is-home .nav__login {
  padding: 7px 0;
  color: var(--home-ink);
  font-size: 13.5px;
  font-weight: 500;
}

.is-home .btn {
  min-height: 44px;
  padding: 0 21px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}

.is-home .btn--primary {
  color: #ffffff;
  background: var(--home-ink);
  box-shadow: none;
}

@media (hover: hover) {
  .is-home .btn--primary:hover {
    background: #000000;
  }
}

.is-home .btn--ghost {
  color: var(--home-ink);
  border: 1px solid var(--home-line-strong);
  background: transparent;
}

@media (hover: hover) {
  .is-home .btn--ghost:hover {
    border-color: #9da1a8;
    background: rgba(255, 255, 255, 0.5);
  }
}

.is-home .btn--lg {
  min-height: 48px;
  padding: 0 25px;
  font-size: 14px;
}

/* ---- Hero ---- */

.is-home .home-hero {
  position: relative;
  padding: 154px 0 84px;
  overflow: clip;
  border-bottom: 1px solid var(--home-line);
}

.is-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(18, 19, 22, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 19, 22, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 88%);
}

.is-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: center;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-kicker__line {
  width: 28px;
  height: 1px;
  background: var(--home-line-strong);
}

.is-home .home-hero h1 {
  margin: 22px 0 24px;
  color: var(--home-ink);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.home-hero__lead {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.85;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.home-trust {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 17px;
  border-top: 1px solid var(--home-line);
}

.home-trust span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-right: 22px;
  padding-right: 22px;
  border-right: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.home-trust span:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.home-trust b {
  color: var(--home-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.is-home .home-hero__visual {
  position: relative;
  min-width: 0;
}

.is-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border: 1px solid var(--home-line);
  border-radius: 10px;
}

/* ---- 产品界面示意 ---- */

.product-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  border-radius: 10px;
  background: #ffffff;
}

.pw-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--home-line);
  background: #fbfbf9;
}

.pw-dots {
  display: flex;
  gap: 4px;
}

.pw-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d5cf;
}

.pw-title,
.pw-env {
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.pw-env {
  margin-left: auto;
  font-size: 9px;
}

.pw-body {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 356px;
}

.pw-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid var(--home-line);
  background: #fbfbf9;
}

.pw-logo {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--home-ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 10px;
}

.pw-side-item {
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--home-muted);
  font-size: 10.5px;
}

.pw-side-item.is-active {
  border: 1px solid var(--home-line);
  background: #ffffff;
  color: var(--home-ink);
}

.pw-main {
  min-width: 0;
  padding: 16px 16px 14px;
}

.pw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pw-eyebrow {
  display: block;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.pw-head strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}

.pw-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-live);
  font-family: var(--mono);
  font-size: 9.5px;
  white-space: nowrap;
}

.pw-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-live);
  box-shadow: 0 0 0 3px rgba(15, 122, 90, 0.1);
}

.pw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
  border: 1px solid var(--home-line);
  border-radius: 5px;
}

.pw-stats div {
  padding: 10px 11px;
}

.pw-stats div + div {
  border-left: 1px solid var(--home-line);
}

.pw-stats span {
  display: block;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pw-stats b {
  display: block;
  margin-top: 4px;
  color: var(--home-ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}

.pw-table {
  border-top: 1px solid var(--home-line);
}

.pw-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.6fr 0.75fr;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 10px;
}

.pw-row--head {
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.pw-row span:first-child {
  color: var(--home-ink);
}

.pw-status {
  color: var(--home-muted);
  font-size: 9.5px;
}

.pw-status.is-live {
  color: var(--home-live);
}

.pw-log {
  display: flex;
  gap: 8px;
  padding-top: 9px;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.pw-log + .pw-log {
  padding-top: 2px;
}

.pw-log b {
  margin-left: auto;
  color: var(--home-ink);
  font-weight: 500;
}

/* ---- 通用 Section ---- */

.is-home .home-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-section__head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 42px;
}

.is-home .home-section h2,
.is-home .home-split h2 {
  margin: 0 0 15px;
  color: var(--home-ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.home-section__lead,
.home-split__aside p {
  max-width: 560px;
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.85;
}

.home-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  align-items: start;
}

.home-split__aside {
  position: sticky;
  top: 96px;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--home-line-strong);
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 500;
}

@media (hover: hover) {
  .home-text-link:hover {
    border-bottom-color: var(--home-ink);
  }
}

/* ---- 工作流 ---- */

.home-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.home-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-steps__num {
  padding-top: 4px;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.home-steps h3 {
  margin: 0 0 6px;
  color: var(--home-ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-steps p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---- 平台矩阵 ---- */

.matrix-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--home-line);
}

.matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.matrix th,
.matrix td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--home-line);
}

.matrix thead th {
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix tbody th {
  color: var(--home-ink);
  font-size: 13.5px;
  font-weight: 500;
}

.matrix tbody td {
  color: var(--home-muted);
  font-size: 13px;
}

@media (hover: hover) {
  .matrix tbody tr:hover {
    background: rgba(18, 19, 22, 0.025);
  }
}

.matrix .is-yes {
  color: var(--home-live);
  font-family: var(--mono);
  font-size: 13px;
}

.matrix .is-no {
  color: #a4a8b0;
  font-family: var(--mono);
}

.matrix__note {
  margin: 13px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---- 部署 ---- */

.is-home .home-split--deploy {
  align-items: center;
}

.home-deploy__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.home-code {
  overflow: hidden;
  border: 1px solid #2a2c31;
  border-radius: 9px;
  background: var(--home-ink);
}

.home-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9adb6;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.home-code__copy {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #d8dbe0;
  font-family: var(--mono);
  font-size: 9.5px;
  cursor: pointer;
}

@media (hover: hover) {
  .home-code__copy:hover {
    color: #ffffff;
  }
}

.home-code__pre {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  color: #e8eaee;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.85;
}

.home-code__pre code {
  font-family: inherit;
}

.home-code__pre .c-dim {
  color: #7d838d;
}

.home-code__pre .c-str {
  color: #67e8f9;
}

.home-code__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d929b;
  font-family: var(--mono);
  font-size: 9px;
}

/* ---- 会员 ---- */

.home-price {
  border-top: 1px solid var(--home-line);
}

.home-price__row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.55fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 13px;
}

.home-price__row--head {
  padding: 11px 0;
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-price__row b {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 600;
}

.home-price__row small {
  display: block;
  margin-top: 2px;
  color: var(--home-muted);
  font-size: 11px;
}

.home-price__row > span:nth-child(2) {
  color: var(--home-ink);
  font-family: var(--mono);
  font-size: 15px;
}

.home-price__row > span:nth-child(2) small {
  display: inline;
  margin-left: 3px;
  color: var(--home-muted);
  font-family: var(--font);
  font-size: 11px;
}

@media (hover: hover) {
  a.home-price__row:hover {
    background: rgba(18, 19, 22, 0.025);
  }
}

/* ---- FAQ ---- */

.home-faq {
  border-top: 1px solid var(--home-line);
}

.home-faq details {
  border-bottom: 1px solid var(--home-line);
}

.home-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--home-ink);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  content: "+";
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 400;
}

.home-faq details[open] summary::after {
  content: "−";
}

.home-faq p {
  max-width: 640px;
  margin: 0;
  padding: 0 0 18px;
  color: var(--home-muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---- 底部 CTA ---- */

.is-home .home-cta {
  padding: 72px 0;
  background: var(--home-ink);
  color: #f4f4f0;
}

.home-cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.home-kicker--light {
  color: #8f949d;
}

.home-kicker--light .home-kicker__line {
  background: #3a3d43;
}

.is-home .home-cta h2 {
  margin: 14px 0 10px;
  color: #f4f4f0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.is-home .home-cta p {
  margin: 0;
  color: #a9adb6;
  font-size: 13.5px;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.is-home .home-cta .btn--primary {
  color: var(--home-ink);
  background: #f4f4f0;
}

@media (hover: hover) {
  .is-home .home-cta .btn--primary:hover {
    background: #ffffff;
  }
}

.is-home .home-cta .btn--ghost {
  color: #f4f4f0;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}

@media (hover: hover) {
  .is-home .home-cta .btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ---- 页脚 ---- */

.is-home .home-footer {
  margin-top: auto;
  padding: 56px 0 24px;
  border-top: 1px solid var(--home-line);
  background: var(--home-bg);
}

.home-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.home-footer__brand a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 600;
}

.home-footer__brand p {
  margin: 15px 0 0;
  color: var(--home-muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.home-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.home-footer__nav div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.home-footer__nav span {
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-footer__nav a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: var(--home-ink);
  font-size: 12.5px;
}

@media (hover: hover) {
  .home-footer__nav a:hover {
    border-bottom-color: var(--home-line-strong);
  }
}

.home-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* ---- 首页弹窗细节 ---- */

.is-home .modal__panel {
  border-radius: var(--radius);
  border-color: var(--home-line-strong);
  background: #ffffff;
  box-shadow: 0 36px 90px -50px rgba(18, 19, 22, 0.4);
}

.is-home .modal__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.is-home .free-trial__option {
  border-radius: 7px;
  background: #ffffff;
  transition: border-color 0.18s, background-color 0.18s;
}

@media (hover: hover) {
  .is-home .free-trial__option:hover {
    transform: none;
    border-color: var(--home-line-strong);
    background: #fbfbf9;
  }
}

.is-home .free-trial__icon {
  border-radius: 6px;
  background: rgba(11, 92, 115, 0.07);
  color: var(--home-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- 响应式 ---- */

@media (max-width: 1080px) {
  .is-home .home-hero__grid {
    gap: 42px;
  }

  .home-split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
  }

  .home-footer__top {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .is-home .home-hero {
    padding: 124px 0 64px;
  }

  .is-home .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .is-home .home-hero__visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .home-section__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-split__aside {
    position: static;
  }

  .home-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .home-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-footer__nav {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .is-home .container {
    padding: 0 20px;
  }

  .is-home .nav__inner {
    padding: 0 20px;
  }

  .is-home .nav__links a.is-active::after {
    bottom: -20px;
  }

  .is-home .home-hero {
    padding: 112px 0 52px;
  }

  .is-home .home-hero h1 {
    font-size: clamp(33px, 9.5vw, 42px);
  }

  .home-hero__lead {
    font-size: 14.5px;
    line-height: 1.8;
  }

  .home-trust span {
    margin-right: 14px;
    padding-right: 14px;
    font-size: 11.5px;
  }

  .home-trust b {
    font-size: 12px;
  }

  .home-hero__visual::before {
    inset: 10px -10px -10px 10px;
  }

  .pw-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pw-side {
    display: none;
  }

  .pw-main {
    padding: 13px 12px 12px;
  }

  .pw-row {
    grid-template-columns: 1.2fr 0.9fr 0.6fr 0.8fr;
    gap: 6px;
    font-size: 9px;
  }

  .pw-row--head {
    font-size: 8px;
  }

  .pw-log {
    font-size: 8.5px;
  }

  .is-home .home-section {
    padding: 64px 0;
  }

  .is-home .home-section h2,
  .is-home .home-split h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .home-steps li {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 0;
  }

  .home-price__row {
    grid-template-columns: 1.35fr 0.65fr 0.55fr 0.9fr;
    gap: 8px;
    font-size: 12px;
  }

  .home-price__row b {
    font-size: 13px;
  }

  .home-price__row > span:nth-child(2) {
    font-size: 13px;
  }

  .home-price__row small {
    font-size: 10px;
  }

  .home-footer__nav {
    gap: 18px;
  }

  .home-footer__bottom {
    flex-direction: column;
    gap: 6px;
    margin-top: 36px;
  }
}

/* ==========================================================================
   Design System v2 · 2026-10-25
   纯白 / 墨色 / 单一蓝色强调 / 7px 矩形圆角 / 8pt 间距
   覆盖层放在末尾，集中收敛历史页面中的一次性数值与旧版视觉。
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-elev: #f7f8f9;
  --bg-deep: #eef0f2;

  --surface: #ffffff;
  --surface-2: #f7f8f9;
  --surface-3: #eef0f2;

  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --border-glow: rgba(14, 116, 144, 0.32);
  --card-border: var(--border);

  --text: #15171a;
  --text-2: #4b5563;
  --text-3: #6b7280;

  --accent: #0e7490;
  --accent-strong: #0b5c73;
  --accent-soft: #ecfeff;
  --cyan: #0e7490;
  --indigo: #0e7490;
  --violet: #0e7490;
  --fuchsia: #0e7490;

  --grad: linear-gradient(115deg, #0b5c73 0%, #0e7490 100%);
  --grad-soft: linear-gradient(135deg, rgba(14, 116, 144, 0.06), rgba(14, 116, 144, 0.04));
  --grad-text: linear-gradient(100deg, #0b5c73 0%, #0e7490 50%, #0b5c73 100%);

  --glow-cyan: rgba(14, 116, 144, 0.12);
  --glow-indigo: rgba(14, 116, 144, 0.10);
  --glow-fuchsia: rgba(14, 116, 144, 0.08);

  --card-shadow-hover: 0 12px 32px -28px rgba(15, 23, 42, 0.35);
  --shadow-card: 0 12px 32px -28px rgba(15, 23, 42, 0.35);

  --radius: 7px;
  --radius-pill: 999px;
  --container: 1200px;
  --nav-h: 64px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
}

body {
  line-height: 1.7;
}

b,
strong {
  font-weight: 600;
}

.container {
  padding: 0 24px;
}

.nav {
  background: rgba(255, 255, 255, 0.92);
}

.nav__inner {
  height: 64px;
  padding: 0 24px;
}

.nav__logo {
  border-radius: var(--radius);
}

.nav__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav__links {
  gap: 4px;
}

.nav__links a,
.nav__drop-btn {
  padding: 8px 14px;
  font-size: 14px;
}

.nav__drop-panel {
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.35);
}

.nav__links .nav__drop-item,
.is-home .nav__drop-item {
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 14px;
}

.nav__login {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.nav__menu {
  border-radius: var(--radius);
}

.is-home {
  --home-bg: #ffffff;
  --home-surface: #ffffff;
  --home-ink: var(--text);
  --home-muted: var(--text-2);
  --home-line: var(--border);
  --home-line-strong: var(--border-strong);
  --home-accent: var(--accent);
  --container: 1200px;
  --nav-h: 64px;

  background: #ffffff;
  color: var(--text);
}

.is-home .nav {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: box-shadow 0.35s var(--ease);
}

.is-home .nav.is-scrolled {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px -24px rgba(15, 23, 42, 0.2);
}

.is-home .nav__inner {
  height: 64px;
  padding: 0 24px;
}

.is-home .nav__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.is-home .nav__links {
  gap: 4px;
}

.is-home .nav__links a,
.is-home .nav__drop-btn {
  font-size: 14px;
}

.is-home .nav__drop-panel {
  border-radius: var(--radius);
  border-color: var(--border);
  background: #ffffff;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.35);
}

.is-home .nav__drop-item {
  border-radius: var(--radius);
  font-size: 14px;
}

.is-home .nav__login {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.is-home .nav__links a.is-active::after {
  bottom: -14px;
  background: var(--text);
}

/* ---- 区块节奏与标题层级 ---- */

.section {
  padding: 96px 0;
}

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
}

.eyebrow {
  color: var(--accent);
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__head p {
  font-size: 16px;
  line-height: 1.7;
}

.hero {
  padding: 160px 0 96px;
}

.hero__copy {
  max-width: 780px;
}

.hero__title {
  font-size: clamp(30px, 6.2vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.7;
}

.hero__title .grad-text::after {
  content: none;
}

.hero__stats {
  padding: 20px 12px;
}

.hero__stats dt {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero__stats dd {
  font-size: 13px;
}

.cta {
  padding: 96px 0;
}

.cta h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta p {
  font-size: 16px;
}

.auth-main,
.doc-main {
  padding: 104px 0 80px;
}

/* ---- 按钮 ---- */

.btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}

.btn--sm {
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 13px;
}

.btn--lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 14.5px;
}

.btn--primary {
  color: #ffffff;
  background: var(--text);
  box-shadow: none;
}

.btn--ghost {
  border-color: var(--border-strong);
  background: #ffffff;
}

.btn--danger {
  box-shadow: none;
}

.is-home .btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
}

.is-home .btn--lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 14.5px;
}

.is-home .btn--primary {
  background: var(--text);
}

.is-home .btn--ghost {
  border-color: var(--border-strong);
  background: transparent;
}

.btn-code {
  min-height: 44px;
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--accent-soft);
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  border-color: rgba(14, 116, 144, 0.2);
}

.plan--featured .btn--primary {
  color: #15171a;
  background: #ffffff;
  box-shadow: none;
}

/* ---- 卡片 ---- */

.feature,
.plan,
.doc-item,
.account-card,
.auth-card,
.admin-card,
.deploy-way,
.faq__item,
.hero__stats,
.modal__panel,
.free-trial__option {
  border-radius: var(--radius);
  border-color: var(--border);
}

.feature {
  padding: 24px;
}

.feature__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--text);
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
}

.feature p {
  font-size: 14px;
  line-height: 1.75;
}

.plan {
  padding: 24px;
}

.plan__name {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.plan__price b {
  font-size: 44px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.plan__note {
  margin-bottom: 20px;
  font-size: 13px;
}

.plan__list {
  gap: 10px;
  margin-bottom: 24px;
}

.plan__list li::before {
  border-color: var(--accent);
}

.plan--featured {
  border-color: #15171a;
  background: #15171a;
  box-shadow: none;
}

.plan--featured .plan__list li::before {
  border-color: #67e8f9;
}

.plans {
  gap: 16px;
}

/* ---- 文档、表单与后台 ---- */

.doc-item {
  max-width: 720px;
  padding: 20px 24px;
}

.doc-item h3 {
  font-size: 17px;
  font-weight: 600;
}

.doc-article {
  max-width: 720px;
}

.doc-article h3 {
  font-size: 22px;
  font-weight: 700;
}

.doc-platforms > div {
  padding: 18px 20px;
  border-radius: var(--radius);
}

.doc-figure {
  border-radius: var(--radius);
}

.auth-card {
  max-width: 440px;
  padding: 28px 24px;
}

.auth-head h1 {
  font-size: 26px;
  font-weight: 700;
}

.auth-field > span {
  font-size: 13px;
  font-weight: 500;
}

.auth-field input {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
}

.auth-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.auth-eye {
  border-radius: var(--radius);
}

.admin-head,
.admin-section {
  max-width: 960px;
}

.admin-head h1 {
  font-size: 26px;
  font-weight: 700;
}

.admin-section > h2 {
  font-size: 19px;
  font-weight: 600;
}

.admin-card {
  padding: 24px;
}

.admin-card--table {
  padding: 8px 10px;
}

.admin-search {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
}

.account-wrap {
  max-width: 640px;
}

.account-card {
  padding: 24px;
}

.account-card h2 {
  font-size: 17px;
  font-weight: 600;
}

.modal__panel {
  max-width: 420px;
  padding: 28px 24px 24px;
}

.modal__opt {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.modal__days {
  border-radius: var(--radius);
}

.modal__opt input[type="radio"]:checked ~ span {
  color: var(--accent);
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.free-trial__option {
  padding: 14px 16px;
}

.free-trial__icon {
  border-radius: var(--radius);
}

.toast {
  border-radius: var(--radius);
}

.deploy-way {
  padding: 20px;
}

.deploy-way h3 {
  font-size: 15px;
  font-weight: 600;
}

.deploy-way__tag {
  color: var(--accent);
  background: var(--accent-soft);
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  border-color: rgba(14, 116, 144, 0.2);
  letter-spacing: 0.04em;
}

.faq__item summary {
  padding: 20px 52px 20px 24px;
}

.faq__item summary::after {
  right: 24px;
}

.deploy__code {
  border-radius: var(--radius);
  box-shadow: none;
}

/* ---- 平台墙：统一卡片与单色标识 ---- */

.platform-strip {
  margin-top: 48px;
}

.platform-grid {
  gap: 8px;
}

.platform {
  padding: 14px 8px;
  gap: 8px;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.platform__logo {
  max-width: 64px;
  height: 32px;
}

.platform b {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.platform-strip__caption {
  font-size: 13px;
  color: var(--text-3);
}

/* ---- 页脚 ---- */

.footer__bottom {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 22px;
}

.footer__contact-label {
  font-size: 11.5px;
}

.footer__contact a {
  font-size: 13px;
}

/* ---- 移动菜单项统一圆角 ---- */

.menu-drawer__link,
.menu-drawer__sublink {
  border-radius: var(--radius);
}

/* ---- 焦点态 ---- */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- 桌面悬停：统一边框/底色变化，不做位移 ---- */

@media (hover: hover) {
  .nav__links a:hover,
  .nav__drop-btn:hover,
  .is-home .nav__links a:hover,
  .is-home .nav__drop-btn:hover {
    color: var(--accent);
    background: var(--accent-soft);
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }

  .nav__links .nav__drop-item:hover {
    color: var(--accent);
    background-color: var(--accent-soft);
    background-image: none;
  }

  .nav__drop:hover .nav__drop-caret {
    color: var(--accent);
  }

  .nav__login:hover {
    color: var(--accent);
  }

  .btn--primary:hover,
  .is-home .btn--primary:hover {
    background: #000000;
  }

  .btn--ghost:hover,
  .is-home .btn--ghost:hover {
    border-color: var(--text-3);
    background: var(--surface-2);
  }

  .btn--danger:hover {
    background: #b91c1c;
  }

  .plan--featured .btn--primary:hover {
    background: #f3f4f6;
  }

  .feature:hover,
  .plan:hover,
  .doc-item:hover {
    transform: none;
    border-color: var(--border-strong);
    box-shadow: var(--card-shadow-hover);
  }

  .plan--featured:hover {
    border-color: #15171a;
    box-shadow: none;
  }

  .faq__item:hover {
    border-color: var(--border-strong);
    background: var(--surface);
  }

  .platform:hover {
    border-color: transparent;
    background: transparent;
  }

  .free-trial__option:hover,
  .is-home .free-trial__option:hover {
    transform: none;
    border-color: var(--border-strong);
    background: var(--surface-2);
  }

  .modal__opt:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
  }

  .footer__contact a:hover {
    color: var(--accent);
  }

  .auth-links a:hover,
  .crumb a:hover {
    color: var(--accent);
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }
}

/* ---- 响应式 ---- */

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .container,
  .is-home .container,
  .nav__inner,
  .is-home .nav__inner {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .hero {
    padding: 128px 0 64px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .cta {
    padding: 72px 0;
  }

  .auth-main,
  .doc-main {
    padding: 96px 0 64px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .platform {
    padding: 12px 6px;
    gap: 6px;
  }

  .platform__logo {
    max-width: 52px;
    height: 28px;
  }

  .platform b {
    font-size: 11.5px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 20px 18px;
  }

  .is-home .nav__links a.is-active::after {
    bottom: -12px;
  }
}

@media (max-width: 460px) {
  .platform-grid {
    gap: 4px;
  }

  .platform {
    padding: 10px 2px;
  }

  .platform__logo {
    max-width: 48px;
    height: 24px;
  }

  .platform b {
    font-size: 10.5px;
  }
}

/* ---- 页脚：提高选择器权重，避免被 .container 的横向内边距覆盖 ---- */

.footer .footer__bottom {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 22px;
}

@media (max-width: 720px) {
  .footer .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 20px 18px;
  }
}

/* ---- 窄屏首屏标题：避免长句被拆成四行 ---- */

@media (max-width: 400px) {
  .hero__title {
    font-size: clamp(24px, 7.2vw, 30px);
  }
}

@media (max-width: 340px) {
  .container,
  .is-home .container,
  .nav__inner,
  .is-home .nav__inner {
    padding: 0 16px;
  }

  .footer .footer__bottom {
    padding: 14px 16px 18px;
  }
}

/* 小红书字标宽度上限：与 TikTok / SOOP 字标的绘制高度对齐 */
.platform__logo--xhs {
  max-width: 52px;
}

@media (max-width: 720px) {
  .platform__logo--xhs {
    max-width: 42px;
  }
}

@media (max-width: 460px) {
  .platform__logo--xhs {
    max-width: 39px;
  }
}

/* 移除导航 LOGO 的浅色外发光/白色包边 */
.nav__logo {
  box-shadow: none;
}

/* 页脚：单条发丝分割线 + 版权/免责声明 */
.footer {
  border-top: 0;
}

.footer::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(21, 23, 26, 0.08);
  transform: scaleY(0.5);
  transform-origin: top;
}

.footer .footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: normal;
  gap: 8px 16px;
  border-top: 0;
  padding: 18px 26px 22px;
}

.footer__bottom > .footer__contact {
  grid-column: 1;
  grid-row: 1;
}

.footer__bottom > span:not(.footer__contact) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.footer__legal {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: 900px;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.75;
}

.footer__legal p {
  margin: 0;
}

.footer__legal p + p {
  margin-top: 4px;
}

.footer__legal strong {
  color: var(--text-2);
  font-weight: 600;
}

@media (max-width: 720px) {
  .footer .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 16px 20px 20px;
  }

  .footer__legal {
    font-size: 11.5px;
    line-height: 1.7;
  }
}

@media (max-width: 340px) {
  .footer .footer__bottom {
    padding: 14px 16px 18px;
  }
}

/* 页脚：免责声明 + 底部 Telegram 图标 */
.footer .footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 18px 26px 22px;
}

.footer__tg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  text-decoration: none;
}

.footer__tg-link .footer__tg {
  width: 16px;
  height: 16px;
}

@media (hover: hover) {
  .footer__tg-link:hover {
    opacity: 0.72;
  }
}

@media (max-width: 720px) {
  .footer .footer__bottom {
    gap: 6px;
    padding: 16px 20px 20px;
  }

  .footer__legal {
    font-size: 11.5px;
    line-height: 1.7;
  }
}

@media (max-width: 340px) {
  .footer .footer__bottom {
    padding: 14px 16px 18px;
  }
}

/* 24px 点击区内 16px 图标居中，左移 4px 让图标左缘与 © 对齐 */
.footer__tg-link {
  margin-left: -4px;
}

/* 取消章节间分割线，统一章节纵向节奏（页脚线保留） */
main > section + section {
  border-top: 0;
}

.section {
  padding: 80px 0;
}

.cta {
  padding: 80px 0;
}

.hero {
  padding: 160px 0 80px;
}

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }

  .cta {
    padding: 56px 0;
  }

  .hero {
    padding: 128px 0 56px;
  }
}

/* 页脚分割线与下拉菜单/移动菜单一致：1px solid var(--border) */
.footer {
  border-top: 1px solid var(--border);
}

.footer::before {
  content: none;
}

/* ==========================================================================
   2026-10-26：会员订单（账户中心表格 + 结算页）
   ========================================================================== */

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* 账户中心：我的订单 */
.orders-wrap { margin-top: 4px; }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.orders-table th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.orders-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
  white-space: nowrap;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table__type { color: var(--text); font-weight: 600; }
.order-status {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.order-status.is-paid {
  color: var(--accent);
  background: rgba(14, 116, 144, 0.1);
  border: 1px solid rgba(14, 116, 144, 0.24);
}
.order-status.is-pending {
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.order-left { font-variant-numeric: tabular-nums; color: var(--text); }
.order-left.is-muted { color: var(--text-3); }
.orders-empty { margin: 0; padding: 18px 12px; color: var(--text-3); font-size: 13.5px; }

/* 结算页 */
.checkout { max-width: 720px; margin: 0 auto; }
.checkout__title { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.02em; }
.checkout__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px 24px;
}
.checkout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.checkout__plan { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.checkout__name { font-size: 18px; font-weight: 650; color: var(--text); }
.checkout__amount { font-size: 22px; color: var(--text); }
.checkout__countdown {
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.checkout__period { margin: 10px 0 0; color: var(--text-2); font-size: 14px; }
.checkout__section { margin-top: 26px; }
.checkout__subtitle { margin: 0 0 12px; font-size: 15px; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
}
.pay-option input { accent-color: var(--accent); }
.pay-option.is-disabled { opacity: 0.55; cursor: not-allowed; }
.pay-option__tag { margin-left: 8px; font-style: normal; font-size: 11.5px; color: var(--text-3); }
.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}
.agree input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.checkout__actions { margin-top: 22px; }
.checkout__actions .btn { width: 100%; justify-content: center; }
.checkout__retry { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--text-3); }
.checkout__retry a { color: var(--accent); font-weight: 600; }
.checkout__hint { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--text-2); }

@media (max-width: 640px) {
  .checkout__card { padding: 20px 16px; }
  .checkout__title { font-size: 24px; }
  .checkout__head { flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
  .checkout__countdown { margin-left: auto; text-align: right; }
  .orders-wrap { overflow-x: visible; }
  .orders-table { min-width: 0; font-size: 12px; }
  .orders-table th { font-size: 11.5px; }
  .order-status { padding: 2px 7px; font-size: 11px; }
  .orders-table__type { font-size: 12px; }
  .orders-table th,
  .orders-table td { padding: 9px 4px; }
}

/* 订单表：倒计时下方「去支付」入口（不新增列，移动端不受挤压） */
.order-left__timer { display: block; }
.order-pay {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
@media (hover: hover) {
  .order-pay:hover { text-decoration: underline; }
}

/* 移动端 Hero 标题保持单行，字号随视口收缩 */
@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(20px, 6.2vw, 44px);
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

/* 我的订单：订单号 / 取消 / 详情 */
.orders-wrap { overflow-x: auto; }
.order-no-wrap { min-width: 0; }
.order-no { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); }
.order-date { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.order-status-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.order-status.is-canceled { color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); }
.order-countdown { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.order-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.order-action { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; cursor: pointer; }
.order-action--danger { color: #dc2626; }
@media (hover: hover) {
  .order-action:hover { text-decoration: underline; }
}

/* 订单详情弹窗 */
.modal__actions [hidden],
.modal__body [hidden] { display: none; }
.order-detail { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.order-detail__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 13.5px; line-height: 1.6; }
.order-detail__label { flex: none; color: var(--text-3); }
.order-detail__value { min-width: 0; text-align: right; color: var(--text); word-break: break-all; }
.order-detail__value.is-muted { color: var(--text-3); }
.order-detail__value.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
#order-modal-cancel { color: #dc2626; border-color: rgba(220, 38, 38, 0.35); }

@media (max-width: 640px) {
  .orders-wrap { overflow-x: visible; }
  .orders-table thead { display: none; }
  .orders-table, .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; }
  .orders-table tr { padding: 14px 2px; border-bottom: 1px solid var(--border); }
  .orders-table tr:last-child { border-bottom: 0; }
  .orders-table td { padding: 3px 0; border: 0; white-space: normal; }
  .orders-table td[data-label] { display: flex; align-items: flex-start; gap: 8px; }
  .orders-table td[data-label]::before { content: attr(data-label); flex: none; width: 62px; color: var(--text-3); font-size: 12px; line-height: 1.6; }
  .orders-table td.orders-table__actions { flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 10px; }
  .orders-table td.orders-table__actions .order-actions { flex-wrap: wrap; }
  .order-no-cell { min-width: 0; }
}
