/* ============================================================
   ModelSwap 官网 — "Command Luxe" dark editorial
   移植自 modelswap 开源项目 landing（src/web/frontend/src/styles/landing.css），
   品牌令牌：黑画布 / 奶油纸 / 荧光绿。正文按 OpenAI 方向换用 Inter。
   本页为固定暗色品牌面，不跟随应用明暗主题。
   ============================================================ */

.landing-shell {
  --lx-canvas: #0b0b09;
  --lx-cream: #f4f1e8;
  --lx-cream-60: rgba(244, 241, 232, 0.62);
  --lx-cream-38: rgba(244, 241, 232, 0.38);
  --lx-hairline: rgba(244, 241, 232, 0.14);
  --lx-lime: #c6ff3e;
  --lx-lime-deep: #a4d92b;
  --lx-red: #ff8073;
  --lx-serif: "Fraunces", "Songti SC", "Noto Serif SC", Georgia, serif;
  --lx-sans: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --lx-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  min-height: 100vh;
  background: var(--lx-canvas);
  color: var(--lx-cream);
  font-family: var(--lx-sans);
  /* clip 同样裁掉横向溢出，但不产生滚动容器——hidden 会劫持 sticky 参照物，header 无法吸顶 */
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

/* 极轻胶片噪点 */
.landing-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.landing-shell > * {
  position: relative;
  z-index: 2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
::selection { background: rgba(198, 255, 62, 0.3); }

/* ---------- Nav ---------- */

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--lx-hairline);
  border-radius: 0;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 9, 0.72);
  transition: top 0.28s ease, padding 0.28s ease, width 0.28s ease,
    border-radius 0.28s ease, border-color 0.28s ease, background 0.28s ease,
    box-shadow 0.28s ease;
}

/* 向下滚动：悬浮胶囊形态（W4） */
body.nav-float .landing-nav {
  top: 10px;
  width: min(1080px, calc(100% - 32px));
  padding: 7px 12px 7px 18px;
  border-color: var(--lx-hairline);
  border-radius: 999px;
  background: rgba(13, 13, 10, 0.86);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.landing-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--lx-cream);
}

.landing-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--lx-hairline);
  object-fit: cover;
  flex: none;
}

.landing-logo-img--sm {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.landing-links {
  display: flex;
  gap: 28px;
}

.landing-links a {
  color: var(--lx-cream-60);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.landing-links a:hover {
  color: var(--lx-lime);
}

.landing-links a.active {
  color: var(--lx-lime);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-gh {
  display: inline-flex;
  align-items: center;
  color: var(--lx-cream-60);
  transition: color 0.15s ease;
}

.landing-gh:hover {
  color: var(--lx-lime);
}

.landing-gh svg { width: 19px; height: 19px; }

.landing-lang-toggle {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lx-cream-60);
  border: 1px solid var(--lx-hairline);
  border-radius: 999px;
}

.landing-lang-toggle:hover {
  color: var(--lx-cream);
  border-color: var(--lx-cream-38);
}

/* 登录态：头像胶囊按钮 + 下拉菜单（W4） */
.ok-account {
  display: none;
  position: relative;
}

.ok-account.on { display: inline-flex; }
.ok-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 4px;
  border: 1px solid var(--lx-hairline);
  border-radius: 999px;
  background: rgba(244, 241, 232, 0.04);
  color: var(--lx-cream-60);
  font-size: 12.5px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ok-account-btn:hover { color: var(--lx-cream); border-color: rgba(244, 241, 232, 0.3); background: rgba(244, 241, 232, 0.07); }

.ok-account-avatar {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lx-lime);
  color: #101204;
  font-weight: 700;
  font-size: 12px;
  flex: none;
}
.ok-account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ok-account-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok-account-caret { width: 10px; height: 10px; flex: none; color: var(--lx-cream-38); transition: transform 0.18s ease; }
.ok-account.open .ok-account-caret { transform: rotate(180deg); }

.ok-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 224px;
  padding: 8px;
  border: 1px solid var(--lx-hairline);
  border-radius: 14px;
  background: rgba(18, 18, 13, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.ok-account-menu-head { display: block; padding: 6px 10px 10px; border-bottom: 1px solid var(--lx-hairline); margin-bottom: 6px; }
.ok-account-menu-head strong { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lx-cream); font-size: 13px; }
.ok-account-menu-head span { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lx-cream-38); font-size: 11.5px; margin-top: 2px; }
.ok-account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--lx-cream-60);
  font-size: 12.5px;
  transition: background 0.14s ease, color 0.14s ease;
}
.ok-account-menu button:hover { background: rgba(244, 241, 232, 0.06); color: var(--lx-cream); }

.landing-nav-cta {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #101204;
  background: var(--lx-lime);
  border-radius: 999px;
  transition: transform 0.16s ease, background 0.16s ease;
}

.landing-nav-cta:hover { transform: translateY(-1px); background: var(--lx-lime-deep); }

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

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 104px;
}

/* 压进画布的超大幽灵字 */
.landing-hero::after {
  content: "ModelSwap";
  position: absolute;
  left: -12px;
  bottom: -34px;
  z-index: -1;
  font-family: var(--lx-serif);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 232, 0.09);
  pointer-events: none;
  user-select: none;
}

.landing-terminal-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 5px 14px;
  font-family: var(--lx-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lx-lime);
  border: 1px solid rgba(198, 255, 62, 0.3);
  border-radius: 999px;
}

.landing-terminal-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lx-lime);
}

.landing-hero h1 {
  margin: 0 0 18px;
  font-family: var(--lx-serif);
  font-size: clamp(48px, 6.6vw, 84px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.landing-lede {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--lx-cream-60);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.landing-btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.landing-btn--primary {
  color: #101204;
  background: var(--lx-lime);
  border: 1px solid var(--lx-lime);
}

.landing-btn--primary:hover {
  transform: translateY(-2px);
  background: var(--lx-lime-deep);
  border-color: var(--lx-lime-deep);
}

.landing-btn--secondary {
  color: var(--lx-cream);
  background: transparent;
  border: 1px solid var(--lx-cream-38);
}

.landing-btn--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--lx-cream);
}

/* 指标行 — 发丝线账本 */
.landing-metrics {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  border-top: 1px solid var(--lx-hairline);
}

.landing-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 28px 4px 0;
  margin-right: 28px;
  border-right: 1px solid var(--lx-hairline);
}

.landing-metric:last-child {
  border-right: none;
  margin-right: 0;
}

.landing-metric strong {
  font-family: var(--lx-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.landing-metric span {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--lx-cream-38);
}

/* ---------- 平台 marquee ---------- */

.landing-marquee {
  border-top: 1px solid var(--lx-hairline);
  border-bottom: 1px solid var(--lx-hairline);
  padding: 22px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.landing-marquee-track {
  display: flex;
  width: max-content;
  animation: landing-marquee 42s linear infinite;
}

/* 一份 logo 拷贝；位移量 = 一份宽度（100/N%），由 JS 按视口份数写入 --marquee-shift */
.landing-marquee-set {
  display: flex;
  flex: none;
}

.landing-marquee:hover .landing-marquee-track {
  animation-play-state: paused;
}

/* 无缝循环：间距用 margin-right（非 gap），一份完整拷贝恰为一个 set 的宽度 */
.landing-marquee .landing-logo-chip {
  margin-right: 14px;
}

@keyframes landing-marquee {
  to { transform: translateX(var(--marquee-shift, -50%)); }
}

/* 奶油纸底盘让深色 logo 保持可读 */
.landing-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: #f4f1e8;
  border: 1px solid rgba(244, 241, 232, 0.2);
  box-shadow: inset 0 0 0 3px rgba(11, 11, 9, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-marquee .landing-logo-chip:hover {
  border-color: rgba(198, 255, 62, 0.65);
  box-shadow: 0 0 0 3px rgba(198, 255, 62, 0.18);
}

.landing-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-logo-chip--sm {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px rgba(11, 11, 9, 0.04);
}

/* ---------- 控制台 mock（纸面岛）---------- */

.landing-console {
  position: relative;
  background: #f4f1e8;
  color: #1c1917;
  border-radius: 18px;
  border: 1px solid rgba(244, 241, 232, 0.22);
  box-shadow:
    0 0 0 1px rgba(11, 11, 9, 0.6),
    0 34px 70px -18px rgba(0, 0, 0, 0.65),
    0 0 90px -30px rgba(198, 255, 62, 0.28);
  overflow: hidden;
  transform: rotate(-0.6deg);
}

.landing-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px dashed rgba(28, 25, 23, 0.18);
  font-family: var(--lx-mono);
  font-size: 12px;
  color: rgba(28, 25, 23, 0.5);
}

.landing-window-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.16);
}

.landing-app {
  display: grid;
  grid-template-columns: 118px 1fr;
}

.landing-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px dashed rgba(28, 25, 23, 0.18);
  font-size: 12.5px;
  color: rgba(28, 25, 23, 0.62);
}

.landing-app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1c1917;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.landing-app-sidebar span {
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-app-sidebar span.active {
  background: #f5ebe0;
  border: 1px dashed rgba(28, 25, 23, 0.24);
  font-weight: 700;
  color: #1c1917;
}

.landing-app-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.landing-mock-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.landing-mock-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 25, 23, 0.42);
}

.landing-agent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.landing-agent-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(28, 25, 23, 0.66);
  background: #f4f1e8;
  border: 1.5px solid rgba(28, 25, 23, 0.2);
  border-radius: 999px;
}

.landing-agent-tab img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.landing-agent-tab.active {
  background: #1c1917;
  border-color: #1c1917;
  color: #f4f1e8;
}

.landing-pcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.landing-pcard {
  padding: 11px 12px;
  background: #f4f1e8;
  border: 1.5px solid rgba(28, 25, 23, 0.2);
  border-radius: 10px;
}

.landing-pcard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.landing-pcard-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
}

.landing-pcard-name {
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-switch {
  position: relative;
  width: 28px;
  height: 15px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.16);
  border: 1.5px solid rgba(28, 25, 23, 0.34);
  flex: none;
}

.landing-switch i {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f4f1e8;
  border: 1px solid rgba(28, 25, 23, 0.34);
}

.landing-switch.on {
  background: #1c1917;
  border-color: #1c1917;
}

.landing-switch.on i {
  left: auto;
  right: 1px;
}

.landing-pcard-models {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.landing-model-chip {
  padding: 2.5px 9px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(28, 25, 23, 0.66);
  background: #f5ebe0;
  border: 1px dashed rgba(28, 25, 23, 0.24);
  border-radius: 999px;
  white-space: nowrap;
}

.landing-model-chip.active {
  color: #1c1917;
  background: #f4f1e8;
  border: 1.5px solid #1c1917;
  font-weight: 700;
}

.landing-usage-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.landing-usage-row {
  display: grid;
  grid-template-columns: 18px 62px 26px 1fr 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: #f4f1e8;
  border: 1px dashed rgba(28, 25, 23, 0.24);
  border-radius: 8px;
  font-size: 12px;
}

.landing-usage-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.landing-usage-name { font-weight: 700; }

.landing-usage-window {
  font-size: 11px;
  color: rgba(28, 25, 23, 0.42);
}

.landing-usage-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.1);
  overflow: hidden;
}

.landing-usage-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.landing-usage-fill--ok { background: #16a34a; }
.landing-usage-fill--warn { background: #d97706; }
.landing-usage-fill--danger { background: #dc2626; }

.landing-usage-value {
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.landing-usage-value--ok { color: #16a34a; }
.landing-usage-value--warn { color: #b45309; }
.landing-usage-value--danger { color: #dc2626; }

/* 05 配置安全面板：复用 usage-row 视觉的三列变体（文件 | 键 | 状态） */
.landing-config-panel { padding: 18px; }
.landing-usage-row--config { grid-template-columns: auto 1fr auto; }

/* ---------- 能力区块（左右交替）---------- */

.landing-cap {
  border-top: 1px solid var(--lx-hairline);
  padding: 96px 0;
}

.landing-cap section {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-cap--flip section {
  grid-template-columns: 6fr 5fr;
}

.landing-cap--flip .landing-cap-copy {
  order: 2;
}

.landing-cap-num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--lx-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--lx-cream-38);
}

.landing-cap h2 {
  margin: 0 0 16px;
  font-family: var(--lx-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.landing-cap p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--lx-cream-60);
  max-width: 460px;
}

.landing-cap-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #101204;
  background: var(--lx-lime);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(198, 255, 62, 0.35);
}

/* 03 密钥库 — 全页最亮处理 */
.landing-cap--vault {
  background:
    radial-gradient(60% 80% at 78% 50%, rgba(198, 255, 62, 0.07), transparent 70%),
    #0d0e0a;
}

.landing-cap--vault .landing-cap-num,
.landing-cap--vault h2 {
  color: var(--lx-lime);
}

.landing-cap--vault h2 {
  text-shadow: 0 0 42px rgba(198, 255, 62, 0.22);
}

.landing-cap .landing-console {
  transform: none;
}

.landing-mock-note {
  margin-top: 10px;
  font-family: var(--lx-mono);
  font-size: 11px;
  color: rgba(28, 25, 23, 0.45);
  border-top: 1px dashed rgba(28, 25, 23, 0.18);
  padding-top: 9px;
}

/* 平台分组 */
.landing-platform-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #f4f1e8;
  border: 1.5px solid rgba(28, 25, 23, 0.2);
  border-radius: 10px;
}

.landing-platform-group + .landing-platform-group {
  margin-top: 9px;
}

.landing-platform-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.landing-plan-badges span {
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
  color: #1c1917;
  background: #f5ebe0;
  border: 1px dashed rgba(28, 25, 23, 0.28);
  border-radius: 999px;
}

/* 密钥自动创建三步 */
.landing-flow {
  display: flex;
  flex-direction: column;
}

.landing-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1c1917;
}

.landing-flow-step + .landing-flow-step {
  border-top: 1px dashed rgba(28, 25, 23, 0.2);
}

.landing-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #101204;
  background: #c6ff3e;
  border: 1.5px solid #101204;
}

.landing-vault-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #1c1917;
  border-radius: 9px;
}

.landing-vault-strip code {
  font-family: var(--lx-mono);
  font-size: 12px;
  color: #c6ff3e;
}

.landing-vault-badge {
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #101204;
  background: #f4f1e8;
  border-radius: 999px;
  white-space: nowrap;
}

/* 用量告警横幅 */
.landing-alert-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.07);
  border: 1.5px solid rgba(220, 38, 38, 0.35);
  border-radius: 9px;
}

.landing-alert-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #dc2626;
  animation: landing-pulse 1.6s ease infinite;
}

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

/* AI 助手气泡 */
.landing-chat { gap: 12px; }

.landing-bubble {
  max-width: 86%;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.7;
  border-radius: 14px;
}

.landing-bubble--user {
  align-self: flex-end;
  background: #f5ebe0;
  border: 1.5px solid rgba(28, 25, 23, 0.22);
  border-bottom-right-radius: 4px;
}

.landing-bubble--ai {
  align-self: flex-start;
  background: #1c1917;
  color: #f4f1e8;
  border-bottom-left-radius: 4px;
}

.landing-bubble--ai::before {
  content: "ModelSwap";
  display: block;
  margin-bottom: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #c6ff3e;
}

/* 云同步示意 */
.landing-sync {
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px !important;
  padding: 26px 16px;
}

.landing-sync-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
  background: #f4f1e8;
  border: 1.5px solid rgba(28, 25, 23, 0.26);
  border-radius: 12px;
  box-shadow: 2px 2px 0 rgba(28, 25, 23, 0.1);
}

.landing-sync-node--cloud {
  background: #1c1917;
  color: #f4f1e8;
  border-color: #1c1917;
}

.landing-sync-node--cloud em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c6ff3e;
}

.landing-sync-link {
  font-size: 18px;
  color: rgba(28, 25, 23, 0.5);
}

/* ---------- 07 CLI — 荧光绿反色带 ---------- */

.landing-automation {
  background: var(--lx-lime);
  color: #101204;
  padding: 88px 0;
}

.landing-automation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-cap-num--onlime {
  color: rgba(16, 18, 4, 0.55);
}

.landing-automation h2 {
  margin: 0 0 16px;
  font-family: var(--lx-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.landing-automation p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(16, 18, 4, 0.72);
  max-width: 480px;
}

.landing-automation pre {
  margin: 0;
  padding: 26px 28px;
  background: #0b0b09;
  color: #e9e6da;
  border-radius: 16px;
  box-shadow: 0 26px 60px -20px rgba(16, 18, 4, 0.5);
  font-family: var(--lx-mono);
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
}

/* ---------- 定价（购买流）---------- */

.landing-pricing {
  padding: 104px 0 96px;
  border-top: 1px solid var(--lx-hairline);
}

.landing-section-head {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 48px;
}

.landing-section-head span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lx-lime);
  border: 1px solid rgba(198, 255, 62, 0.32);
  border-radius: 999px;
}

.landing-section-head h2 {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

/* 周期切换 */
.ok-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 40px;
  border: 1px solid var(--lx-hairline);
  border-radius: 999px;
  background: rgba(244, 241, 232, 0.04);
}

.ok-pricing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.ok-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lx-cream-60);
  transition: background 0.2s ease, color 0.2s ease;
}

.ok-seg-btn:hover { color: var(--lx-cream); }

.ok-seg-btn.is-on {
  background: var(--lx-cream);
  color: #1c1917;
  font-weight: 600;
}

.ok-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(198, 255, 62, 0.12);
  color: var(--lx-lime);
  letter-spacing: 0.02em;
}

.ok-seg-btn.is-on .ok-chip {
  background: rgba(28, 25, 23, 0.1);
  color: #55622c;
}

/* 双卡 */
.ok-pricing {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.ok-plan {
  position: relative;
  border: 1px solid var(--lx-hairline);
  border-radius: 18px;
  background: rgba(244, 241, 232, 0.03);
  padding: 38px 34px 32px;
}

.ok-plan-pro {
  border-color: rgba(198, 255, 62, 0.42);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(198, 255, 62, 0.06), transparent 70%),
    #0d0e0a;
  box-shadow: 0 24px 70px -20px rgba(198, 255, 62, 0.14);
}

.ok-plan-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #101204;
  background: var(--lx-lime);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(198, 255, 62, 0.35);
}

.ok-plan h3 {
  margin-bottom: 14px;
  font-family: var(--lx-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ok-price { position: relative; height: 76px; margin-bottom: 6px; }

.ok-price-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.ok-price-layer.is-on { opacity: 1; transform: none; }

.ok-price-num {
  font-family: var(--lx-serif);
  font-size: 54px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.ok-price-per {
  font-family: var(--lx-mono);
  font-size: 13px;
  color: var(--lx-cream-38);
}

.ok-price-sub {
  min-height: 22px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--lx-cream-60);
}

.ok-plan ul { list-style: none; margin-bottom: 28px; }

.ok-plan li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lx-cream-60);
  border-bottom: 1px solid rgba(244, 241, 232, 0.08);
}

.ok-plan li:last-child { border-bottom: 0; }

.ok-plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 17px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--lx-cream-38);
  border-bottom: 2px solid var(--lx-cream-38);
  transform: rotate(45deg);
}

.ok-plan-pro li::before {
  border-color: var(--lx-lime);
}

.ok-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.ok-btn-solid {
  color: #101204;
  background: var(--lx-lime);
  border: 1px solid var(--lx-lime);
}

.ok-btn-solid:hover {
  transform: translateY(-2px);
  background: var(--lx-lime-deep);
  border-color: var(--lx-lime-deep);
}

.ok-btn-ghost {
  color: var(--lx-cream);
  background: transparent;
  border: 1px solid var(--lx-cream-38);
}

.ok-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--lx-cream);
}

.ok-btn[disabled] { opacity: 0.55; pointer-events: none; }
.ok-btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: ok-spin 0.7s linear infinite;
}
@keyframes ok-spin { to { transform: rotate(360deg); } }

.ok-plan .ok-btn { width: 100%; }

.ok-plan-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--lx-cream-38);
}

/* ---------- 对比表 ---------- */

.landing-compare {
  padding: 104px 0 96px;
  border-top: 1px solid var(--lx-hairline);
}

.landing-compare-table {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--lx-hairline);
  border-radius: 16px;
  overflow: hidden;
}

.landing-compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-top: 1px solid var(--lx-hairline);
}

.landing-compare-row:first-child { border-top: none; }

.landing-compare-row > span {
  padding: 15px 22px;
  font-size: 14px;
}

.landing-compare-row--head { background: rgba(244, 241, 232, 0.04); }

.landing-compare-row--head span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lx-cream-60);
}

.landing-compare-row--head span:last-child { color: var(--lx-lime); }

.landing-compare-row:not(.landing-compare-row--head):hover {
  background: rgba(244, 241, 232, 0.025);
}

.landing-c-no { color: rgba(244, 241, 232, 0.3); text-align: center; }
.landing-c-mid { color: var(--lx-cream-38); text-align: center; }

.landing-c-yes {
  text-align: center;
  color: var(--lx-lime);
  font-weight: 700;
  background: rgba(198, 255, 62, 0.05);
}

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

.landing-faq {
  padding: 96px 0 104px;
  border-top: 1px solid var(--lx-hairline);
}

.landing-faq-list {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-faq-item { border-top: 1px solid var(--lx-hairline); }
.landing-faq-item:last-child { border-bottom: 1px solid var(--lx-hairline); }

.landing-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.landing-faq-item summary::after {
  content: "+";
  font-family: var(--lx-serif);
  font-size: 22px;
  color: var(--lx-cream-38);
  transition: transform 0.2s ease, color 0.2s ease;
}

.landing-faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--lx-lime);
}

.landing-faq-item p {
  padding: 0 6px 24px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--lx-cream-60);
}

/* ---------- 安装 ---------- */

.landing-install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 112px;
}

.landing-install > div > span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lx-lime);
  border: 1px solid rgba(198, 255, 62, 0.32);
  border-radius: 999px;
}

.landing-install h2 {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.landing-install pre {
  margin: 0;
  padding: 28px 32px;
  background: rgba(244, 241, 232, 0.04);
  border: 1px solid var(--lx-hairline);
  border-radius: 16px;
  font-family: var(--lx-mono);
  font-size: 15px;
  line-height: 2.05;
  color: var(--lx-cream);
  overflow-x: auto;
}

/* ---------- Footer ---------- */

.landing-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--lx-hairline);
}

.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 13px;
  color: var(--lx-cream-38);
}

.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.06em;
}

.landing-footer-inner a {
  color: var(--lx-cream-60);
  font-weight: 600;
}

.landing-footer-inner a:hover { color: var(--lx-lime); }

.landing-footer-links { display: flex; gap: 22px; }

/* ---------- 动效 ---------- */

.landing-char {
  display: inline-block;
  opacity: 0;
  animation: landing-char-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes landing-char-in {
  from { opacity: 0; transform: translateY(0.4em) rotate(2.5deg); }
  to { opacity: 1; transform: none; }
}

.landing-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-reveal.in {
  opacity: 1;
  transform: none;
}

.landing-spot { position: relative; }

.landing-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 255, 62, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.landing-spot:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .landing-char, .landing-reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  .landing-marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 登录弹窗 ---------- */

.ok-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 4, 0.72);
  backdrop-filter: blur(10px);
}

.ok-modal.on { display: flex; }

.ok-modal-panel {
  width: min(430px, 100%);
  border: 1px solid var(--lx-hairline);
  border-radius: 18px;
  background: #12130f;
  padding: 34px 32px 30px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  animation: modalin 0.3s ease;
}

@keyframes modalin {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
}

.ok-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.ok-modal-head h3 {
  font-family: var(--lx-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ok-modal-x {
  color: var(--lx-cream-38);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.ok-modal-x:hover { color: var(--lx-cream); }

/* W5：视图切换小入口（还没有账号？注册 / 已有账号？登录） */
.ok-modal-swap {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--lx-cream-38);
}
.ok-modal-swap button {
  color: var(--lx-lime);
  border-bottom: 1px dashed transparent;
  transition: border-color 0.14s ease;
}
.ok-modal-swap button:hover { border-bottom-color: var(--lx-lime); }

/* 密码 label 行：左侧 label + 右侧“忘记密码”入口 */
.ok-field-row { display: flex; align-items: baseline; justify-content: space-between; }
.ok-modal-link {
  font-size: 11.5px;
  color: var(--lx-cream-38);
  border-bottom: 1px dashed var(--lx-cream-38);
  padding-bottom: 1px;
  transition: color 0.14s ease;
}
.ok-modal-link:hover { color: var(--lx-cream); }

/* 社交登录按钮（O5）：未配置的 provider 前端隐藏 */
.ok-oauth {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ok-oauth[hidden] { display: none; }

.ok-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--lx-cream);
  border: 1px solid var(--lx-cream-38);
  border-radius: 999px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.ok-oauth-btn:hover {
  transform: translateY(-1px);
  border-color: var(--lx-cream);
}

.ok-oauth-btn[hidden] { display: none; }

.ok-oauth-btn svg { width: 20px; height: 20px; flex: none; }

.ok-oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--lx-cream-38);
}

.ok-oauth-divider[hidden] { display: none; }

.ok-oauth-divider::before,
.ok-oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lx-hairline);
}

.ok-field { margin-bottom: 16px; }

.ok-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-cream-60);
  margin-bottom: 8px;
}

.ok-field input {
  width: 100%;
  background: #0b0b09;
  border: 1px solid var(--lx-hairline);
  border-radius: 10px;
  color: var(--lx-cream);
  font: 500 15px var(--lx-sans);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ok-field input:focus {
  border-color: rgba(198, 255, 62, 0.55);
  box-shadow: 0 0 0 3px rgba(198, 255, 62, 0.1);
}

.ok-field input.code {
  font-family: var(--lx-mono);
  font-size: 22px;
  letter-spacing: 0.5em;
  text-align: center;
}

.ok-modal .ok-btn { width: 100%; }

.ok-modal-err {
  min-height: 20px;
  font-size: 12.5px;
  color: var(--lx-red);
  margin: 4px 0 12px;
}

/* 邮箱登录回跳状态提示（?account= / ?error= 渲染在弹窗顶部） */
.ok-modal-note {
  font-size: 13px;
  color: var(--lx-cream-60);
  margin: 0 0 14px;
}

.ok-modal-note.err { color: var(--lx-red); }

.ok-modal-back {
  margin-top: 14px;
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  color: var(--lx-cream-38);
}

.ok-modal-back:hover { color: var(--lx-cream); }

.ok-modal-step[data-step] { display: none; }
.ok-modal-step.on { display: block; }

/* ---------- toast ---------- */

.ok-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: #12130f;
  border: 1px solid var(--lx-hairline);
  color: var(--lx-cream);
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s ease;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.ok-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 支付成功页 ---------- */

.ok-done {
  max-width: 620px;
  margin: 0 auto;
  padding: 140px 28px 80px;
  text-align: center;
}

.ok-done-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 34px;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 62, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 255, 62, 0.06);
  box-shadow: 0 0 60px rgba(198, 255, 62, 0.15);
}

.ok-done-mark svg { width: 34px; height: 34px; }

.ok-done-mark path {
  stroke: var(--lx-lime);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.7s ease 0.25s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.ok-done h1 {
  font-family: var(--lx-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.ok-done p { color: var(--lx-cream-60); font-size: 15.5px; margin-bottom: 10px; }

.ok-done .session {
  font-family: var(--lx-mono);
  font-size: 11.5px;
  color: var(--lx-cream-38);
  word-break: break-all;
  margin: 18px 0 34px;
}

.ok-done-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 连续认证旅程（邮箱验证 → 建号 → 登录） ---------- */

.auth-journey-shell {
  background:
    radial-gradient(circle at 50% 42%, rgba(198, 255, 62, 0.07), transparent 28rem),
    radial-gradient(circle at 8% 92%, rgba(244, 241, 232, 0.035), transparent 22rem),
    var(--lx-canvas);
}

.auth-journey-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.auth-journey-nav { position: relative; }

.auth-journey-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lx-cream-60);
  font-family: var(--lx-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-journey-secure i,
.auth-journey-foot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lx-lime);
  box-shadow: 0 0 14px rgba(198, 255, 62, 0.65);
  animation: auth-pulse 1.8s ease-in-out infinite;
}

.auth-journey-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 68px 24px 96px;
}

.auth-journey-card {
  position: relative;
  width: min(560px, 100%);
  padding: 52px 56px 32px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 232, 0.16);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(28, 28, 23, 0.94), rgba(13, 13, 11, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

.auth-journey-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lx-lime), transparent);
  transform-origin: left;
  animation: auth-scan 2.4s ease-in-out infinite;
}

.auth-journey-card.is-complete::before {
  animation: none;
  background: var(--lx-lime);
}

.auth-journey-card.is-error::before {
  animation: none;
  background: var(--lx-red);
}

.auth-journey-orbit {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 30px;
  border: 1px solid rgba(198, 255, 62, 0.34);
  border-radius: 50%;
  background: rgba(198, 255, 62, 0.035);
}

.auth-journey-orbit::before,
.auth-journey-orbit::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(244, 241, 232, 0.13);
  border-radius: 50%;
}

.auth-journey-orbit::after {
  inset: 25px;
  border-color: var(--lx-lime);
  background: var(--lx-lime);
  box-shadow: 0 0 26px rgba(198, 255, 62, 0.34);
  animation: auth-core 1.8s ease-in-out infinite;
}

.auth-journey-orbit span {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border-top: 1px solid var(--lx-lime);
  animation: auth-orbit 1.5s linear infinite;
}

.auth-journey-orbit.is-complete span { animation: none; border-color: transparent; }

.auth-journey-orbit.is-complete::before {
  inset: 0;
  border-color: rgba(198, 255, 62, 0.5);
  background: rgba(198, 255, 62, 0.08);
}

.auth-journey-orbit.is-complete::after {
  inset: 26px 22px 22px 27px;
  border: 0;
  border-right: 2px solid var(--lx-lime);
  border-bottom: 2px solid var(--lx-lime);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(45deg);
  animation: none;
}

.auth-journey-kicker {
  margin-bottom: 13px;
  color: var(--lx-lime);
  font-family: var(--lx-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.auth-journey-card h1 {
  margin: 0 0 12px;
  font-family: var(--lx-serif);
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.auth-journey-lede {
  max-width: 430px;
  color: var(--lx-cream-60);
  font-size: 14px;
  line-height: 1.7;
}

.auth-journey-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 38px 0 30px;
  list-style: none;
}

.auth-journey-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  min-height: 72px;
  color: var(--lx-cream-38);
  transition: color 0.35s ease, transform 0.35s ease;
}

.auth-journey-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 31px;
  width: 1px;
  height: 40px;
  background: var(--lx-hairline);
}

.auth-step-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--lx-hairline);
  border-radius: 50%;
  background: #11110e;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.auth-step-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.auth-journey-steps strong {
  display: block;
  padding-top: 3px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.auth-journey-steps small {
  display: block;
  margin-top: 5px;
  color: var(--lx-cream-38);
  font-size: 11.5px;
}

.auth-journey-steps li.is-active {
  color: var(--lx-cream);
  transform: translateX(3px);
}

.auth-journey-steps li.is-active .auth-step-mark {
  border-color: var(--lx-lime);
  color: var(--lx-lime);
  box-shadow: 0 0 22px rgba(198, 255, 62, 0.16);
}

.auth-journey-steps li.is-active .auth-step-mark i { animation: auth-pulse 1.4s ease-in-out infinite; }

.auth-journey-steps li.is-done { color: var(--lx-cream); }

.auth-journey-steps li.is-done .auth-step-mark {
  border-color: var(--lx-lime);
  background: var(--lx-lime);
}

.auth-journey-steps li.is-done .auth-step-mark i {
  width: 8px;
  height: 5px;
  border-radius: 0;
  border-left: 1.5px solid #10110d;
  border-bottom: 1.5px solid #10110d;
  background: transparent;
  transform: translateY(-1px) rotate(-45deg);
}

.auth-journey-steps li.is-done::after { background: rgba(198, 255, 62, 0.38); }

.auth-journey-steps li.is-error { color: var(--lx-red); }
.auth-journey-steps li.is-error .auth-step-mark { border-color: var(--lx-red); }

.auth-journey-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--lx-hairline);
  color: var(--lx-cream-38);
  font-family: var(--lx-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.auth-journey-foot > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lx-cream-60);
}

.auth-journey-card.is-error .auth-journey-kicker,
.auth-journey-card.is-error .auth-journey-foot > span:first-child { color: var(--lx-red); }

.auth-journey-card.is-error .auth-journey-foot i {
  background: var(--lx-red);
  box-shadow: 0 0 14px rgba(255, 128, 115, 0.55);
  animation: none;
}

.auth-journey-actions { margin-top: 24px; }
.auth-journey-actions[hidden] { display: none; }

@keyframes auth-orbit { to { transform: rotate(360deg); } }
@keyframes auth-core { 50% { opacity: 0.55; transform: scale(0.82); } }
@keyframes auth-pulse { 50% { opacity: 0.35; } }
@keyframes auth-scan { 0%, 100% { transform: scaleX(0.12); opacity: 0.25; } 50% { transform: scaleX(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .auth-journey-card::before,
  .auth-journey-orbit span,
  .auth-journey-orbit::after,
  .auth-journey-secure i,
  .auth-journey-foot i,
  .auth-journey-steps li.is-active .auth-step-mark i { animation: none; }
}

/* ---------- 邮箱登录落地页（/auth/email） ---------- */

.ok-email { padding-top: 96px; }

.ok-email-form {
  width: min(360px, 100%);
  margin: 26px auto 0;
  text-align: left;
}

.ok-email-form[hidden] { display: none; }

.ok-email-form .ok-btn-solid { width: 100%; }

.ok-email-actions { margin-top: 18px; }

.ok-email-status { min-height: 1em; margin-top: 14px; }

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

@media (max-width: 1024px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 0 88px;
  }

  .landing-hero::after { display: none; }

  .landing-cap, .landing-cap--flip { padding: 72px 0; }

  .landing-cap section, .landing-cap--flip section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .landing-cap--flip .landing-cap-copy { order: 0; }

  .landing-compare-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .landing-compare-row > span { padding: 12px 12px; font-size: 12.5px; }

  .landing-automation-inner, .landing-install { grid-template-columns: 1fr; gap: 32px; }
  .landing-install { padding: 72px 0 80px; }

  .ok-pricing { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .landing-links { display: none; }

  .landing-metrics { grid-template-columns: 1fr 1fr; }

  .landing-metric {
    border-right: none;
    margin-right: 0;
    border-bottom: 1px solid var(--lx-hairline);
    padding-bottom: 14px;
  }

  .landing-app { grid-template-columns: 1fr; }

  .landing-app-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px dashed rgba(28, 25, 23, 0.18);
  }

  .landing-app-brand { margin-bottom: 0; }
  .landing-pcards { grid-template-columns: 1fr; }
  .landing-usage-row { grid-template-columns: 18px 54px 1fr 34px; }
  .landing-usage-window { display: none; }

  .landing-compare-row { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .landing-compare-row > span { padding: 10px 8px; font-size: 11.5px; }

  .ok-plan { padding: 32px 24px 28px; }
  .ok-price-num { font-size: 44px; }
  .ok-account-name { display: none; }
  body.nav-float .landing-nav { width: calc(100% - 20px); top: 6px; padding: 6px 8px 6px 14px; }

  .auth-journey-wrap { min-height: calc(100vh - 62px); padding: 30px 14px 54px; }
  .auth-journey-card { padding: 36px 26px 26px; }
  .auth-journey-orbit { width: 64px; height: 64px; margin-bottom: 24px; }
  .auth-journey-orbit::after { inset: 21px; }
  .auth-journey-card h1 { font-size: 34px; }
  .auth-journey-steps { margin-top: 32px; }
  .auth-journey-foot { align-items: flex-start; flex-direction: column; }
}



/* ---------- 使用文档（侧边栏 + 文章） ---------- */
.ok-doc {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 40px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.ok-doc-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ok-doc-side-label {
  font-family: var(--lx-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lx-cream-38);
  margin: 0 0 6px;
}

.ok-doc-side a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--lx-cream-60);
  line-height: 1.6;
  text-decoration: none;
}

.ok-doc-side a:hover { color: var(--lx-cream); }

.ok-doc-side a.on {
  color: var(--lx-cream);
  border-left-color: var(--lx-lime);
}

.ok-doc-toc-num {
  font-family: var(--lx-mono);
  font-size: 12px;
  color: var(--lx-cream-38);
  flex: none;
}

.ok-doc-side a.on .ok-doc-toc-num { color: var(--lx-lime); }

.ok-doc-article { min-width: 0; }

.ok-doc-head { margin-bottom: 40px; }

.ok-doc-kicker {
  font-family: var(--lx-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lx-lime);
  margin-bottom: 14px;
}

.ok-doc h1 {
  font-family: var(--lx-serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.ok-doc-intro {
  color: var(--lx-cream-60);
  font-size: 16.5px;
  line-height: 1.8;
  max-width: 640px;
  margin: 0;
}

.ok-doc-article section { scroll-margin-top: 96px; }

.ok-doc h2 {
  font-family: var(--lx-serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 64px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.ok-doc-num {
  font-family: var(--lx-mono);
  font-size: 13px;
  color: var(--lx-lime);
  letter-spacing: 0.06em;
  flex: none;
}

.ok-doc h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 30px 0 10px;
}

.ok-doc p {
  color: var(--lx-cream-60);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 14px;
}

.ok-doc ul {
  color: var(--lx-cream-60);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 16px;
  padding-left: 20px;
}

.ok-doc ul li { margin-bottom: 8px; }

.ok-doc strong { color: var(--lx-cream); font-weight: 600; }

.ok-doc a { color: var(--lx-lime); text-decoration: underline; text-underline-offset: 3px; }
.ok-doc a:hover { text-decoration-thickness: 2px; }

.ok-doc code {
  font-family: var(--lx-mono);
  font-size: 12.5px;
  color: var(--lx-cream);
  background: rgba(244, 241, 232, 0.07);
  border: 1px solid var(--lx-hairline);
  border-radius: 5px;
  padding: 1px 5px;
}

.ok-doc pre {
  margin: 0 0 18px;
  padding: 20px 24px;
  background: rgba(244, 241, 232, 0.04);
  border: 1px solid var(--lx-hairline);
  border-radius: 14px;
  font-family: var(--lx-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--lx-cream);
  overflow-x: auto;
}
.ok-doc pre code { background: none; border: 0; padding: 0; font-size: inherit; }

.landing-links a[aria-current="page"] { color: var(--lx-lime); }
.landing-footer-links a[aria-current="page"] { color: var(--lx-lime); }
.landing-links a[aria-current="page"]:hover,
.landing-footer-links a[aria-current="page"]:hover { color: var(--lx-lime); }

@media (max-width: 1024px) {
  .ok-doc { grid-template-columns: 1fr; gap: 16px; }
  .ok-doc-side {
    position: static;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }
  .ok-doc-side-label { flex: none; margin: 0 4px 0 0; }
  .ok-doc-side a {
    flex: none;
    white-space: nowrap;
    padding: 6px 12px;
    border-left: 0;
    border: 1px solid var(--lx-hairline);
    border-radius: 999px;
    font-size: 12.5px;
  }
  .ok-doc-side a.on { border-color: var(--lx-lime); }
}

@media (max-width: 720px) {
  .ok-doc { padding: 56px 20px 32px; }
  .ok-doc h1 { font-size: 32px; }
  .ok-doc h2 { font-size: 23px; margin-top: 52px; }
  .ok-doc pre { font-size: 12px; padding: 16px 18px; }
}
