/* ==========================================================================
   流光录播官网 · 品牌视觉（纯白背景版）
   纯白底 + 淡彩动态流光（橙 / 粉 / 紫柔和渐变），品牌暖色点缀
   ========================================================================== */

:root {
  --bg: #ffffff;
  --border: rgba(15, 17, 21, 0.08);
  --border-strong: rgba(15, 17, 21, 0.14);
  --border-warm: rgba(255, 122, 92, 0.42);

  --text: #0f1115;
  --text-2: #454c59;
  --text-3: #837f8c;

  --accent: #d94f2b;
  --amber: #ffd08a;
  --coral: #ff7a5c;
  --crimson: #e0254e;
  --grad: linear-gradient(120deg, #ffd08a 0%, #ff7a5c 50%, #e0254e 100%);
  --grad-text: linear-gradient(110deg, #f0a23e 6%, #ff6a3d 36%, #d61f4a 60%, #ff8a5c 82%, #f0a23e 100%);

  --card-shadow: 0 1px 2px rgba(15, 17, 21, 0.03), 0 12px 32px -20px rgba(15, 17, 21, 0.14);
  --card-shadow-hover: 0 2px 4px rgba(224, 37, 78, 0.04), 0 22px 48px -22px rgba(224, 37, 78, 0.26);

  --radius: 18px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 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 {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  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(255, 122, 92, 0.24);
  color: #4a1a0c;
}

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

/* ==========================================================================
   动态背景：淡彩光雾 + 流动丝带 + 细噪点
   ========================================================================== */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.aurora__blob--amber {
  width: 52vw;
  height: 52vw;
  left: -16vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(255, 172, 96, 0.26), transparent 64%);
  animation: drift-a 30s ease-in-out infinite alternate;
}

.aurora__blob--coral {
  width: 58vw;
  height: 58vw;
  right: -22vw;
  top: 2vh;
  background: radial-gradient(circle, rgba(255, 122, 140, 0.22), transparent 64%);
  animation: drift-b 38s ease-in-out infinite alternate;
}

.aurora__blob--violet {
  width: 46vw;
  height: 46vw;
  left: 20vw;
  bottom: -26vw;
  background: radial-gradient(circle, rgba(148, 130, 255, 0.15), transparent 64%);
  animation: drift-c 46s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9vw, 7vh) scale(1.18); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.08); }
  to { transform: translate(-10vw, 12vh) scale(0.94); }
}
@keyframes drift-c {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12vw, -9vh) scale(1.2); }
}

.beam {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(52px) saturate(1.15);
  opacity: 0.62;
  transform: translateZ(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

main, .footer { position: relative; z-index: 1; }

/* ==========================================================================
   通用元素
   ========================================================================== */

.section {
  position: relative;
  padding: 112px 0;
}

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}

h1, h2, h3, p, dl, dd { margin: 0; }

.section__head h2,
.console__copy h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.section__head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.8;
}

/* 按钮 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s, border-color 0.35s, color 0.35s;
}

.btn--primary {
  color: #2a1008;
  background: linear-gradient(135deg, #ffd08a 0%, #ff7a5c 52%, #e0254e 100%);
  background-size: 145% 145%;
  box-shadow: 0 10px 28px -12px rgba(255, 122, 92, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -14px rgba(255, 122, 92, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:hover::after { left: 130%; }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: rgba(255, 122, 92, 0.5);
  background: rgba(255, 122, 92, 0.06);
}

.btn--sm { padding: 9px 18px; font-size: 13.5px; border-radius: 11px; }
.btn--lg { padding: 16px 34px; font-size: 15.5px; }

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

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

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: rgba(15, 17, 21, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 74px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.nav__logo {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08),
    0 8px 20px -10px rgba(255, 122, 92, 0.6);
}

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

.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text-2);
}

.nav__links a {
  padding: 6px 0;
  transition: color 0.25s;
}

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

/* ==========================================================================
   Hero（单栏居中）
   ========================================================================== */

.hero {
  position: relative;
  padding: 178px 0 96px;
  text-align: center;
  overflow: hidden;
}

.hero__copy {
  max-width: 880px;
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5.8vw, 4.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.032em;
}

.grad-text {
  background: var(--grad-text);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 8s linear infinite;
}

@keyframes grad-flow {
  to { background-position: 230% 0; }
}

.hero__lead {
  max-width: 36em;
  margin: 0 auto;
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 0 72px;
  max-width: 760px;
  margin: 58px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stats dt {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #f0a23e, #e0254e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats dd {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-3);
}

.hero__copy > .reveal:nth-child(1) { transition-delay: 0.04s; }
.hero__copy > .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero__copy > .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero__copy > .reveal:nth-child(4) { transition-delay: 0.28s; }

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

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.platform {
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.platform:hover {
  transform: translateY(-4px);
  border-color: var(--border-warm);
  box-shadow: var(--card-shadow-hover);
}

.platform b { display: block; font-size: 17px; letter-spacing: 0.01em; }

.platform b::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: 2px;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(255, 122, 92, 0.75);
}

.platform span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-3);
}

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

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

.feature {
  padding: 30px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

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

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: #d95f37;
  background: linear-gradient(160deg, #fff3e6, #ffe9e4);
  border: 1px solid rgba(224, 37, 78, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

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

.feature p {
  font-size: 13.8px;
  line-height: 1.78;
  color: var(--text-2);
}

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

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

.flow__step {
  position: relative;
  padding-top: 30px;
}

.flow__step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(255, 122, 92, 0.14), 0 0 12px rgba(255, 122, 92, 0.55);
}

.flow__step::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 21px;
  right: -18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 37, 78, 0.28), rgba(224, 37, 78, 0.04));
}

.flow__step:last-child::after { display: none; }

.flow__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

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

.flow__step p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-3);
}

/* ==========================================================================
   管理面板
   ========================================================================== */

.console {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.console__copy p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  color: var(--text-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: rgba(255, 122, 92, 0.1);
  border: 1px solid rgba(224, 37, 78, 0.22);
}

.checklist li::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 6.5px;
  width: 5px;
  height: 8px;
  border: solid #d95f37;
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(42deg);
}

.filepanel {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 17, 21, 0.04), 0 30px 60px -30px rgba(15, 17, 21, 0.18);
  overflow: hidden;
}

.filepanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 24px;
  border-bottom: 1px solid rgba(15, 17, 21, 0.06);
}

.filepanel__head b { font-size: 14.5px; }
.filepanel__head span { font-size: 12px; color: var(--text-3); }

.filepanel__row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 24px;
  border-bottom: 1px solid rgba(15, 17, 21, 0.05);
  transition: background-color 0.3s;
}

.filepanel__row:last-child { border-bottom: none; }
.filepanel__row:hover { background: rgba(255, 122, 92, 0.03); }

.filepanel__thumb {
  flex: none;
  width: 46px;
  height: 30px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.filepanel__thumb--violet { background: linear-gradient(140deg, #8f78d8, #4a3a78); }
.filepanel__thumb--teal { background: linear-gradient(140deg, #3f95a8, #22616e); }
.filepanel__thumb--rose { background: linear-gradient(140deg, #c8587c, #6e2c42); }

.filepanel__meta { flex: 1; min-width: 0; }

.filepanel__meta b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filepanel__meta span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-3);
}

.filepanel__badge {
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  color: #1a7f4b;
  background: rgba(34, 160, 90, 0.09);
  border: 1px solid rgba(34, 160, 90, 0.24);
}

.filepanel__badge--warm {
  color: #c2410c;
  background: rgba(255, 122, 92, 0.09);
  border-color: rgba(255, 122, 92, 0.3);
}

.filepanel__badge--live {
  color: #be123c;
  background: rgba(224, 37, 78, 0.08);
  border-color: rgba(224, 37, 78, 0.28);
}

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

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

.deploy__step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(15, 17, 21, 0.06);
}

.deploy__step:first-child { padding-top: 0; }
.deploy__step:last-child { border-bottom: none; }

.deploy__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 122, 92, 0.09);
  border: 1px solid rgba(224, 37, 78, 0.2);
  color: #c2410c;
  font-family: var(--mono);
  font-size: 13px;
}

.deploy__step h3 { margin-bottom: 7px; font-size: 15.5px; }

.deploy__step p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-3);
}

.deploy__step code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 17, 21, 0.055);
  color: #b3304a;
  font-family: var(--mono);
  font-size: 12.5px;
}

.deploy__code {
  border-radius: 18px;
  border: 1px solid rgba(15, 17, 21, 0.5);
  background: #0e1116;
  box-shadow: 0 3px 8px rgba(15, 17, 21, 0.1), 0 34px 68px -32px rgba(15, 17, 21, 0.5);
  overflow: hidden;
}

.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.code__title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #5c6473;
}

.code__copy {
  padding: 4px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #a6adbb;
  font-family: var(--font);
  font-size: 11.5px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.code__copy:hover {
  color: #ffb08f;
  border-color: rgba(255, 138, 102, 0.4);
  background: rgba(255, 122, 92, 0.1);
}

.code__body {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2;
  color: #c9d1da;
}

.c-dim { color: #5c6473; }
.c-str { color: #ffb08f; }

.deploy__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 20px;
}

.deploy__chips span {
  padding: 4px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #8b93a3;
  font-size: 11.5px;
}

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

.faq {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.02);
  transition: border-color 0.35s, background-color 0.35s, box-shadow 0.35s;
}

.faq__item[open] {
  border-color: rgba(224, 37, 78, 0.22);
  background: #fffaf7;
  box-shadow: 0 8px 26px -16px rgba(224, 37, 78, 0.22);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.faq__item[open] summary::after { transform: rotate(45deg); }

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

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

.cta {
  position: relative;
  padding: 138px 0 148px;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 760px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 92, 0.14), rgba(255, 160, 120, 0.07) 45%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
}

.cta .container { position: relative; }

.cta h2 {
  font-size: clamp(2rem, 4.1vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta p {
  margin: 18px auto 36px;
  max-width: 32em;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer {
  border-top: 1px solid rgba(15, 17, 21, 0.06);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 52px;
  padding-top: 64px;
  padding-bottom: 42px;
}

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

.footer__logo img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08);
}

.footer__brand p {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.85;
}

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

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
}

.footer__col b {
  margin-bottom: 3px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer__col a {
  color: var(--text-2);
  transition: color 0.25s;
}

.footer__col a:hover { color: var(--accent); }
.footer__col span { color: var(--text-3); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(15, 17, 21, 0.05);
  color: var(--text-3);
  font-size: 12px;
}

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

@media (max-width: 1080px) {
  .hero { padding-top: 152px; }
  .console { grid-template-columns: 1fr; gap: 40px; }
  .deploy { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .flow__step::after { display: none; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .hero { padding: 132px 0 76px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; max-width: 420px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 26px 24px; }
  .flow { grid-template-columns: 1fr; row-gap: 34px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cta { padding: 104px 0 116px; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
  .code__body { font-size: 11.5px; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* 无障碍：减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

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

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.plan--featured {
  border-color: var(--border-warm);
  box-shadow: 0 2px 4px rgba(224, 37, 78, 0.05), 0 26px 56px -26px rgba(224, 37, 78, 0.3);
}

.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(224, 37, 78, 0.5);
}

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

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 16px 0 6px;
}

.plan__price b {
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

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

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

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

.plan__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.plan__list li.is-muted::before {
  background: rgba(15, 17, 21, 0.16);
}

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

/* ==========================================================================
   账号页面（注册 / 登录 / 重置密码 / 账户中心）
   ========================================================================== */

.auth-main {
  position: relative;
  z-index: 1;
  padding: 138px 0 96px;
  min-height: 62vh;
}

.auth-card {
  max-width: 464px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 42px 38px 34px;
  box-shadow: var(--card-shadow);
}

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

.auth-head h1 {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

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

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

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

.auth-field input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.auth-field input:focus {
  outline: none;
  border-color: rgba(255, 122, 92, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 122, 92, 0.14);
}

.auth-field input::placeholder {
  color: #b7b3bd;
}

.auth-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.btn-code {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.btn-code:hover:not(:disabled) {
  border-color: var(--border-warm);
  background: rgba(255, 122, 92, 0.06);
}

.btn-code:disabled {
  color: #b7b3bd;
  cursor: not-allowed;
}

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

.auth-msg {
  min-height: 21px;
  margin: 13px 0 0;
  font-size: 13.5px;
  text-align: center;
  color: var(--text-3);
}

.auth-msg.is-error { color: #d9291c; }
.auth-msg.is-ok { color: #189a52; }

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

.auth-links a {
  color: var(--accent);
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ---- 账户中心 ---- */

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

.account-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 32px;
  box-shadow: var(--card-shadow);
}

.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;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.badge-membership.is-free {
  background: rgba(15, 17, 21, 0.06);
  color: var(--text-2);
}

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

.account-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 6px;
}

.plan-mini {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.plan-mini:hover {
  border-color: var(--border-warm);
  box-shadow: var(--card-shadow);
}

.plan-mini b {
  font-size: 15px;
}

.plan-mini .plan-mini__price {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.plan-mini .plan-mini__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 3px;
}

.plan-mini p {
  margin: 4px 0 14px;
  font-size: 13px;
  color: var(--text-3);
}

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

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

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

/* ---- 导航登录入口 ---- */

.nav__login {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 11px;
  transition: color 0.3s, background-color 0.3s;
}

.nav__login:hover {
  color: var(--accent);
  background: rgba(255, 122, 92, 0.07);
}

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

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .nav__right { margin-left: auto; }
}

@media (max-width: 720px) {
  .auth-main { padding: 118px 0 72px; }
  .auth-card { padding: 34px 24px 28px; }
  .account-card { padding: 24px 20px; }
  .account-plans { grid-template-columns: 1fr; }
}

/* ==========================================================================
   标题断行优化：避免移动端出现单字成行/难看的断行
   ========================================================================== */

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

/* 词组级断行控制：避免中文标题在词组内部断行 */
.nw { white-space: nowrap; }
