/* Parvis 首页 — 参考 Cursor 官网当前浅色风格（cursor.com/cn/product） */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --container: 1100px;
  --section-y: 96px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", sans-serif;
  /* 按钮主题（默认）: calm slate blue */
  --btn-primary-bg: #4b69a8;
  --btn-primary-hover: #3f5a92;
  --btn-primary-text: #f7f9ff;
  --btn-primary-shadow: rgba(75, 105, 168, 0.24);
  --btn-primary-shadow-hover: rgba(63, 90, 146, 0.3);
  /* 备选 A（中性墨黑）: #14120b / #2a2821 */
  /* 备选 B（青绿稳重）: #2f7b73 / #28675f */
}

/* 默认：Cursor 当前官网同款浅色语义 */
html {
  color-scheme: light;
  --void: #e6e6e1;
  --bg: #f7f7f4;
  --bg-2: #f1f1ee;
  --bg-3: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --stroke: rgba(20, 18, 11, 0.1);
  --tint: rgba(20, 18, 11, 0.03);
  --tint-border: rgba(20, 18, 11, 0.1);
  --stroke-bright: rgba(20, 18, 11, 0.18);
  --text: #26251e;
  --text-secondary: #43413c;
  --text-tertiary: #6d6b66;
  --accent: #14120b;
  --accent-on: #f7f7f4;
  --accent-dim: #2a2821;
  --accent-2: #3a3831;
  --success: #3a8f48;
  --warning: #9f6c24;
  --danger: #b84a43;
  --shadow-card: 0 1px 2px rgba(20, 18, 11, 0.05), 0 10px 30px rgba(20, 18, 11, 0.06);
  --shadow-hover: 0 2px 6px rgba(20, 18, 11, 0.08), 0 18px 40px rgba(20, 18, 11, 0.1);
}

/* 独立登录页仍使用浅色（login/index.html 根节点 class） */
html.parvis-auth-light-lock {
  color-scheme: light;
  --void: #e6e6e1;
  --bg: #f7f7f4;
  --bg-2: #f1f1ee;
  --bg-3: #ffffff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --stroke: rgba(20, 18, 11, 0.1);
  --tint: rgba(20, 18, 11, 0.03);
  --tint-border: rgba(20, 18, 11, 0.1);
  --stroke-bright: rgba(20, 18, 11, 0.18);
  --text: #26251e;
  --text-secondary: #43413c;
  --text-tertiary: #6d6b66;
  --accent: #14120b;
  --accent-on: #f7f7f4;
  --accent-dim: #2a2821;
  --accent-2: #3a3831;
  --success: #3a8f48;
  --warning: #9f6c24;
  --danger: #b84a43;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(20, 18, 11, 0.12);
}

html { scroll-behavior: smooth; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 300;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--surface-strong);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 220;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #4b69a8, #6f88be);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(20, 18, 11, 0.035), transparent 55%),
    radial-gradient(800px 480px at 92% 0%, rgba(20, 18, 11, 0.025), transparent 50%),
    linear-gradient(180deg, #fbfbf8 0%, var(--bg) 42%, #efefea 100%);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 18, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 11, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% -5%, black 18%, transparent 72%);
  opacity: 0.4;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 0;
  background: rgba(247, 247, 244, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 1px 0 rgba(20, 18, 11, 0.05);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-title {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  color: #3f5a92;
  background: transparent;
}

.nav-links a.active::after {
  background: #4b69a8;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 244, 0.18);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

.nav-cta:hover {
  border-color: rgba(247, 247, 244, 0.32);
  background: rgba(247, 247, 244, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

.nav-mobile-toggle:hover {
  background: var(--bg-2);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 18px;
    background: rgba(247, 247, 244, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke);
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 12px;
    border-radius: var(--radius-sm);
  }

  .nav-links a.active {
    background: rgba(20, 18, 11, 0.04);
  }

  .nav-links a::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  .nav-mobile-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 22px var(--btn-primary-shadow);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 10px 28px var(--btn-primary-shadow-hover);
}

.btn-ghost {
  background: rgba(247, 247, 244, 0.04);
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(247, 247, 244, 0.08);
  border-color: rgba(247, 247, 244, 0.14);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 22px var(--btn-primary-shadow);
}

.btn-green:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 10px 28px var(--btn-primary-shadow-hover);
}

/* Sections */
section { padding: var(--section-y) 0; position: relative; }

.section-band {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 40%, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 244, 0.12);
  background: rgba(247, 247, 244, 0.04);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero */
.hero {
  padding: 120px 0 72px;
  min-height: auto;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 140px 0 88px; }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
  }
}

.hero-copy { text-align: center; }

@media (min-width: 900px) {
  .hero-copy { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(247, 247, 244, 0.06);
  border: 1px solid rgba(247, 247, 244, 0.12);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.92); }
}

.hero h1,
.hero .hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
}

/* Hero 主标题打字机：预留两行高度，减轻排版抖动 */
.hero .hero-title {
  min-height: calc(2.16em + 4px);
}

.hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

/* step1 风格：主色段 + 正文段 */
.hero-title-prefix,
.hero-title-line2 {
  color: var(--text);
  font-weight: 700;
}

.hero-title-accent {
  color: var(--accent);
  font-weight: 700;
}

/* 细竖条光标 + 较快闪烁（接近 step1.dev） */
.hero-title-caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 3px;
  vertical-align: -0.06em;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(247, 247, 244, 0.4), 0 0 20px rgba(20, 18, 11, 0.16);
  animation: hero-caret-blink 0.56s steps(1, end) infinite;
}

.hero-title-caret--off {
  display: none;
}

@keyframes hero-caret-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-caret {
    animation: none;
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero-sub { margin-left: 0; margin-right: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
    gap: 14px;
    max-width: 420px;
  }
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 900px) {
  .hero-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    max-width: 100%;
  }

  .hero-strip-item {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
}

.hero-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-card);
  word-break: keep-all;
}

.hero-strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-metrics {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metric-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-metric-value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 700px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

/* Hero video — 内嵌主播放器，无额外「宣传片」区块 */
.hero-media {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero-media {
    margin: 0;
    max-width: min(920px, 100%);
  }
}

.hero-media .video-shell {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: #000;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.1);
}

.hero-media video {
  width: 100%;
  display: block;
  max-height: min(62vh, 480px);
  background: #000;
}

/* Bento */
.bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.bento-card {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 247, 244, 0.2);
  box-shadow: var(--shadow-hover);
}

.bento-card.large { grid-column: span 2; }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(247, 247, 244, 0.08);
  border: 1px solid rgba(247, 247, 244, 0.15);
}

.bento-icon svg { width: 22px; height: 22px; color: var(--accent); }

.bento-icon.violet {
  background: rgba(88, 86, 214, 0.08);
  border-color: rgba(88, 86, 214, 0.18);
}

.bento-icon.violet svg { color: var(--accent-2); }

.bento-icon.teal {
  background: rgba(90, 200, 200, 0.12);
  border-color: rgba(45, 180, 170, 0.2);
}

.bento-icon.teal svg { color: #2a9d8f; }

.bento-icon.green {
  background: rgba(52, 199, 89, 0.1);
  border-color: rgba(52, 199, 89, 0.2);
}

.bento-icon.green svg { color: var(--success); }

.bento-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.large { grid-column: span 2; }
}

@media (max-width: 520px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.large { grid-column: span 1; }
}

/* Workflow */
.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 0 8px;
}

.workflow-step {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  position: relative;
  padding: 0 8px 24px;
}

.workflow-step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  background: rgba(247, 247, 244, 0.08);
  border: 2px solid rgba(247, 247, 244, 0.25);
  box-shadow: var(--shadow-card);
}

.workflow-step h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.workflow-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.workflow-connector { display: none; }

@media (min-width: 800px) {
  .workflow-steps { flex-wrap: nowrap; padding: 0 28px; }

  .workflow-connector {
    display: block;
    position: absolute;
    top: 24px;
    left: calc(50% + 38px);
    right: calc(-50% + 38px);
    height: 2px;
    background: linear-gradient(90deg, rgba(247, 247, 244, 0.35), rgba(88, 86, 214, 0.2));
    z-index: 0;
  }

  .workflow-step:last-child .workflow-connector { display: none; }
  .workflow-step-num { position: relative; z-index: 1; }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 247, 244, 0.22);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: rgba(247, 247, 244, 0.35);
  background: linear-gradient(165deg, rgba(247, 247, 244, 0.06), var(--bg-3) 55%);
}

.pricing-card.best-value {
  border-color: rgba(88, 86, 214, 0.3);
  background: linear-gradient(165deg, rgba(88, 86, 214, 0.06), var(--bg-3) 55%);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-badge.popular {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-badge.value {
  background: linear-gradient(180deg, #6b69e8, #5856d6);
  color: var(--accent-on);
}

.pricing-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }

.pricing-points {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 2px;
}

.pricing-points-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.pricing-price { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }

.pricing-price span { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }

.pricing-unit-price {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  min-height: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 5px 0 5px 18px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  opacity: 0.85;
}

.pricing-card .btn { width: 100%; border-radius: var(--radius-sm); }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* FAQ */
#pricing-faq {
  scroll-margin-top: 96px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 8px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-q[aria-expanded="true"]::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease-out;
}

.faq-a[aria-hidden="false"] { max-height: 1200px; }

.faq-a-inner {
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.download-card {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-card);
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 247, 244, 0.2);
  box-shadow: var(--shadow-hover);
}

.download-card.recommended {
  border-color: rgba(247, 247, 244, 0.35);
  background: linear-gradient(165deg, rgba(247, 247, 244, 0.06), var(--bg-3) 50%);
}

.rec-badge {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 600;
}

.download-card.recommended .rec-badge { display: inline-block; }

.card-icon { margin-bottom: 14px; }

.card-icon svg { width: 38px; height: 38px; color: var(--text); }

.card-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text); }

.card-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }

.card-size { font-size: 12px; color: var(--text-tertiary); margin-bottom: 14px; }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dl-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 22px var(--btn-primary-shadow);
}

.btn-dl-primary:hover { transform: translateY(-2px); }

.btn-dl-secondary {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--stroke);
}

.btn-dl-secondary:hover {
  border-color: rgba(247, 247, 244, 0.3);
  color: var(--accent);
}

.notes-box {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}

.notes-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.notes-title svg { width: 18px; height: 18px; color: var(--warning); flex-shrink: 0; }

.notes-list { list-style: none; }

.notes-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0 7px 18px;
  position: relative;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.notes-list code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(247, 247, 244, 0.06);
  color: var(--text);
  border: 1px solid rgba(247, 247, 244, 0.12);
}

/* Footer */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, #f7f7f4 0%, #efefea 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  color: var(--text-tertiary);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-col-sub {
  margin-top: 22px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 160;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(20, 18, 11, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  box-shadow: 0 10px 24px rgba(20, 18, 11, 0.18);
}

.floating-download {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 155;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 8px 24px var(--btn-primary-shadow);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-download.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (min-width: 901px) {
  .floating-download {
    display: none;
  }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-download:focus-visible,
.nav-mobile-toggle:focus-visible,
.faq-q:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 账号弹窗 — 与 :root 设计 token 对齐（auth.js 挂载） */
.parvis-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 18, 11, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 从个人中心打开充值/订单时叠在上层，关闭子层后个人中心仍在 */
.parvis-modal-backdrop--stack {
  z-index: 10001;
}

.parvis-modal-panel {
  width: 100%;
  max-width: 520px;
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  font-family: var(--font);
  color: var(--text);
}

.parvis-modal-panel--wide {
  max-width: 680px;
}

.parvis-modal-panel--pricing {
  max-width: 1080px;
  max-height: 90vh;
  overflow-y: auto;
}

.parvis-modal-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--surface-strong) 100%);
}

.parvis-modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.parvis-modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text);
}

.parvis-modal-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

.parvis-modal-close {
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.parvis-modal-close:hover {
  background: rgba(247, 247, 244, 0.08);
}

.parvis-modal-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--tint-border);
  background: var(--tint);
  border-radius: var(--radius-sm);
}

.parvis-modal-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-on);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.parvis-modal-identity-main {
  min-width: 0;
}

.parvis-modal-identity-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.parvis-modal-identity-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.parvis-modal-identity-side {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.parvis-modal-body {
  padding: 18px 24px 22px;
}

.parvis-modal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.parvis-modal-stat {
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.parvis-modal-stat-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.parvis-modal-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.parvis-modal-stat-value--ok {
  color: var(--success);
}

.parvis-modal-progress {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.parvis-modal-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.parvis-modal-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.parvis-modal-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(247, 247, 244, 0.22);
  background: rgba(247, 247, 244, 0.04);
  font-size: 0.8125rem;
}

.parvis-modal-quick a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.parvis-modal-quick a:hover {
  text-decoration: underline;
}

.parvis-modal-quick-sep {
  color: var(--text-tertiary);
  user-select: none;
}

.parvis-modal-details {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.parvis-modal-details > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 14px;
  transition: background 0.15s ease;
}

.parvis-modal-details > summary::-webkit-details-marker {
  display: none;
}

.parvis-modal-details > summary::after {
  content: "展开";
  float: right;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.parvis-modal-details[open] > summary::after {
  content: "收起";
}

.parvis-modal-details > summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.parvis-modal-details-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parvis-modal-details-body p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.parvis-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.parvis-modal-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 22px var(--btn-primary-shadow);
  transition: transform 0.2s ease, filter 0.15s ease;
  font-family: var(--font);
}

.parvis-modal-btn-primary:hover {
  transform: translateY(-1px);
  background: var(--btn-primary-hover);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 10px 28px var(--btn-primary-shadow-hover);
  filter: none;
}

.parvis-modal-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  cursor: pointer;
  background: var(--surface-strong);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
  font-family: var(--font);
}

.parvis-modal-btn-secondary:hover {
  border-color: rgba(247, 247, 244, 0.35);
  background: rgba(247, 247, 244, 0.04);
}

.parvis-modal-btn-danger {
  width: 100%;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(240, 113, 103, 0.35);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(240, 113, 103, 0.1);
  color: #f5a8a3;
  margin-top: 10px;
  font-family: var(--font);
  transition: background 0.15s ease;
}

.parvis-modal-btn-danger:hover {
  background: rgba(240, 113, 103, 0.16);
}

/* 简短合规页（privacy / terms） */
.legal-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 88px 0 64px;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.legal-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface-strong);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.legal-top-link[aria-current="page"] {
  color: var(--text);
  border-color: rgba(20, 18, 11, 0.25);
  background: var(--bg-2);
}

@media (max-width: 900px) {
  .legal-nav-links {
    gap: 6px;
  }
  .legal-top-link {
    font-size: 12px;
    padding: 6px 10px;
  }
}

.legal-top-link:hover {
  color: var(--text);
  border-color: rgba(20, 18, 11, 0.2);
  background: var(--bg-2);
}

.legal-article {
  max-width: 720px;
}

.legal-article h1 {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 28px;
}

.legal-article h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-article p,
.legal-article li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-article ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

/* Motion */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.08s; }
.fade-in.delay-2 { transition-delay: 0.14s; }
.fade-in.delay-3 { transition-delay: 0.2s; }
.fade-in.delay-4 { transition-delay: 0.26s; }
.fade-in.delay-5 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-badge-dot { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 独立登录页 — 与桌面端 AuthPage（packages/desktop oneapi）色板与层次对齐 */
html.parvis-auth-light-lock,
html.parvis-auth-light-lock body.login-page {
  color-scheme: light;
}

.login-page {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 12% -6%, #fcfcf9 0%, #f5f5f2 42%, #eeeeea 100%);
  margin: 0;
}

.login-page .login-split {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .login-page .login-split {
    flex-direction: row;
    align-items: stretch;
  }
}

.login-split-aside {
  position: relative;
  flex: 0 0 auto;
  padding: 36px 24px 32px;
  border-bottom: 1px solid #e0dfd9;
  background: linear-gradient(180deg, #f5f5f1 0%, #efeee9 100%);
  overflow: hidden;
}

.login-split-aside-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(120deg, transparent 24%, rgba(20, 18, 11, 0.08) 25%, transparent 26%),
    linear-gradient(24deg, transparent 34%, rgba(20, 18, 11, 0.06) 35%, transparent 36%);
  background-size: 180px 180px;
}

.login-split-aside-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background: radial-gradient(circle at 20% 25%, rgba(20, 18, 11, 0.16) 0, rgba(20, 18, 11, 0.16) 3px, transparent 4px),
    radial-gradient(circle at 65% 35%, rgba(20, 18, 11, 0.12) 0, rgba(20, 18, 11, 0.12) 2px, transparent 3px),
    radial-gradient(circle at 35% 65%, rgba(20, 18, 11, 0.08) 0, rgba(20, 18, 11, 0.08) 2px, transparent 3px);
  background-size: 180px 180px;
}

.login-split-aside-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .login-split-aside {
    flex: 0 0 40%;
    max-width: none;
    padding: 72px 40px 64px;
    border-bottom: none;
    border-right: 1px solid #e0dfd9;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .login-split-aside-inner {
    margin: 0;
    padding: 0 8px 0 0;
  }
}

.login-split-brand {
  display: inline-block;
  margin-bottom: 22px;
  line-height: 0;
}

.login-split-brand img {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.login-split-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.login-split-parvis {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.08;
  color: var(--text);
}

.login-split-lead {
  margin: 22px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.login-split-copy-en {
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.login-split-copy {
  margin: 18px 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 28em;
}

.login-split-welcome {
  margin-top: 26px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  border-radius: 16px;
  border: 1px solid #dfded8;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.login-split-main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 40px;
  background: radial-gradient(circle at top, #fbfbf8 0%, #f3f3f0 55%, #ecebe7 100%);
}

.login-split-main-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 37px, rgba(20, 18, 11, 0.045) 38px),
    repeating-linear-gradient(90deg, transparent, transparent 37px, rgba(20, 18, 11, 0.045) 38px);
}

@media (min-width: 900px) {
  .login-split-main {
    flex: 1 1 60%;
    padding: 48px 40px;
  }
}

.login-mount-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
}

.login-page #loginMount > div {
  max-width: 100%;
}

/* 独立个人中心页（参考企业订单管理后台布局） */
.account-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f6f7fb 0, #f3f4f8 220px, #f7f7f4 221px, #f7f7f4 100%);
}

.account-top-actions {
  display: flex;
  gap: 8px;
}

.account-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 96px 20px 52px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
}

.account-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  border: 1px solid #dde3f3;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 18, 11, 0.05), 0 8px 24px rgba(20, 18, 11, 0.05);
  padding: 12px;
}

.account-sidebar-head {
  border-bottom: 1px solid rgba(46, 74, 136, 0.12);
  padding: 4px 4px 10px;
  margin-bottom: 10px;
}

.account-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1f2a44;
  margin: 0 0 4px;
}

.account-sub {
  margin: 0;
  color: #5a6782;
  font-size: 0.75rem;
  line-height: 1.45;
}

.account-menu {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.account-menu-btn {
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: #4d5a76;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  padding: 10px 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.account-menu-btn:hover {
  color: #2f3f63;
  background: rgba(69, 110, 210, 0.07);
}

.account-menu-btn.active {
  color: #34539a;
  border-color: rgba(69, 110, 210, 0.22);
  background: rgba(69, 110, 210, 0.12);
}

.account-sidebar-tip {
  border: 1px solid rgba(69, 110, 210, 0.16);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(69, 110, 210, 0.13), rgba(69, 110, 210, 0.04));
  padding: 10px;
}

.account-sidebar-tip .tip-title {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 700;
  color: #2c4277;
}

.account-sidebar-tip p {
  margin: 0 0 8px;
  color: #44536f;
  font-size: 12px;
  line-height: 1.5;
}

.account-sidebar-tip .btn {
  width: 100%;
  min-height: 36px;
  font-size: 12px;
}

.account-content {
  min-width: 0;
}

.account-panel {
  border: 1px solid #dce2f1;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 18, 11, 0.04), 0 8px 22px rgba(20, 18, 11, 0.04);
  padding: 16px;
  margin-bottom: 14px;
}

.account-panel h2 {
  margin: 0 0 4px;
  font-size: 1.04rem;
  font-weight: 700;
  color: #1f2a44;
}

.account-panel p.section-help {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #5b6781;
}

.account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.table-filter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5b6781;
}

.table-filter-select {
  min-width: 120px;
  height: 32px;
  border: 1px solid #d9e1f3;
  border-radius: 8px;
  background: #fff;
  color: #2f3f63;
  font-size: 12px;
  padding: 0 10px;
}

.table-filter-select:focus {
  outline: none;
  border-color: #9bb0e3;
  box-shadow: 0 0 0 3px rgba(63, 108, 224, 0.12);
}

.account-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-kpi .item {
  border: 1px solid #e1e6f4;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px;
}

.account-kpi .label {
  color: #71809e;
  font-size: 0.74rem;
  margin-bottom: 5px;
}

.account-kpi .value {
  color: #1f2a44;
  font-size: 1.25rem;
  font-weight: 700;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-card {
  border: 1px solid #e1e6f4;
  background: #fbfcff;
  border-radius: 10px;
  padding: 12px;
}

.account-card h3 {
  margin: 0 0 6px;
  color: #243253;
  font-size: 0.88rem;
}

.account-card p {
  margin: 0 0 10px;
  color: #5b6781;
  font-size: 0.81rem;
}

.account-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-meter {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e4eaf8;
  overflow: hidden;
}

.account-meter-bar {
  height: 100%;
  width: 15%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3f6ce0 0%, #5c88f3 100%);
  transition: width 0.24s ease;
}

.account-meter-label {
  margin-top: 7px;
  font-size: 0.76rem;
  color: #71809e;
}

.usage-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #dbe4f6;
}

.usage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.usage-card-head h3 {
  margin: 0;
}

.usage-refresh-btn {
  padding: 6px 10px;
  font-size: 12px;
}

.usage-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.usage-summary-label {
  font-size: 0.78rem;
  color: #5b6781;
  font-weight: 600;
}

.usage-summary-value {
  font-size: 0.78rem;
  color: #5b6781;
  font-weight: 500;
  text-align: right;
}

.usage-trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 2px 0;
  min-height: 92px;
}

.usage-trend-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.usage-trend-value {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.usage-trend-track {
  width: 100%;
  max-width: 32px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2px;
  background: linear-gradient(180deg, #eef4ff, #e7eefc);
  border: 1px solid #dbe6fb;
}

.usage-trend-bar {
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, #5eb8ff 0%, #0a84ff 100%);
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.24);
  transition: height 0.3s ease;
}

.usage-trend-bar.is-zero {
  background: linear-gradient(180deg, #c6d3eb 0%, #a8b8d4 100%);
  box-shadow: none;
}

.usage-trend-col.is-today .usage-trend-track {
  background: linear-gradient(180deg, #ecf5ff, #e2efff);
  border-color: #c8dbfb;
}

.usage-trend-col.is-today .usage-trend-date {
  color: #0a84ff;
  font-weight: 600;
}

.usage-trend-date {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
}

.usage-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.usage-stat-item {
  border: 1px solid #e1e6f4;
  background: #f9fbff;
  border-radius: 10px;
  padding: 9px 10px;
}

.usage-stat-label {
  font-size: 0.72rem;
  color: #71809e;
  margin-bottom: 3px;
}

.usage-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2a44;
}

.usage-stat-value-ok {
  color: #1f8f5d;
}

.usage-last-update {
  margin-top: 10px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-plan-card {
  border: 1px solid #e0e7f7;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-plan-card.featured {
  border-color: rgba(63, 108, 224, 0.4);
  background: linear-gradient(180deg, rgba(63, 108, 224, 0.08), #fff 75%);
  box-shadow: 0 0 0 1px rgba(63, 108, 224, 0.14);
}

.pricing-plan-card h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #203056;
}

.pricing-plan-points {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3a5fae;
  letter-spacing: -0.02em;
}

.pricing-plan-price {
  color: #1f2a44;
  font-size: 1.15rem;
  font-weight: 700;
}

.pricing-plan-meta,
.pricing-plan-desc {
  color: #5b6781;
  font-size: 0.8rem;
}

.pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  flex: 1;
}

.pricing-plan-features li {
  position: relative;
  padding: 4px 0 4px 15px;
  font-size: 0.79rem;
  color: #4e5d79;
}

.pricing-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3a8f48;
}

.plan-cta .btn {
  width: 100%;
  min-height: 36px;
  font-size: 12px;
}

.account-table-wrap {
  overflow: auto;
}

.orders-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #5b6781;
  font-size: 12px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e1e6f4;
  border-radius: 10px;
  overflow: hidden;
}

.order-table th,
.order-table td {
  font-size: 0.8rem;
  padding: 10px;
  border-bottom: 1px solid #e6ebf7;
  text-align: left;
  color: #4e5d79;
  white-space: nowrap;
}

.order-table th {
  color: #6f7f9c;
  background: #f8faff;
  font-weight: 600;
}

.order-table td strong {
  color: #1f2a44;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
}

.status-pending {
  color: #a5630f;
  background: rgba(255, 159, 10, 0.14);
  border-color: rgba(255, 159, 10, 0.24);
}

.status-paid,
.status-success {
  color: #1b7a4f;
  background: rgba(52, 199, 89, 0.14);
  border-color: rgba(52, 199, 89, 0.24);
}

.status-cancelled {
  color: #6b7486;
  background: rgba(107, 116, 134, 0.14);
  border-color: rgba(107, 116, 134, 0.2);
}

.status-expired,
.status-failed {
  color: #b24b3f;
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.2);
}

.status-unknown {
  color: #4e5d79;
  background: rgba(78, 93, 121, 0.1);
  border-color: rgba(78, 93, 121, 0.16);
}

.order-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.order-countdown {
  display: inline-block;
  min-width: 62px;
  text-align: right;
  font-size: 11px;
  color: #a5630f;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.invoice-state-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.invoice-issued {
  color: #1b7a4f;
  background: rgba(52, 199, 89, 0.14);
  border-color: rgba(52, 199, 89, 0.24);
}

.invoice-applying {
  color: #a5630f;
  background: rgba(255, 159, 10, 0.14);
  border-color: rgba(255, 159, 10, 0.24);
}

.invoice-failed {
  color: #b24b3f;
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.2);
}

.invoice-none {
  color: #6b7486;
  background: rgba(107, 116, 134, 0.14);
  border-color: rgba(107, 116, 134, 0.2);
}

.row-actions {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-btn {
  border: 1px solid #d9e1f3;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: #fff;
  color: #4e5d79;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mini-btn:hover {
  border-color: #b9c7e8;
  color: #2f3f63;
}

.mini-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  border-color: #d9e1f3;
  color: #8a95ad;
}

.mini-btn.primary {
  background: #3f6ce0;
  border-color: #3f6ce0;
  color: #f6f9ff;
}

.invoice-note {
  font-size: 0.78rem;
  color: #7a88a3;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .account-shell {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }
  .account-sidebar {
    position: static;
  }
  .account-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .account-shell {
    padding: 82px 12px 38px;
  }
  .account-panel-head {
    flex-direction: column;
    align-items: stretch;
  }
  .table-filter-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .table-filter-select {
    flex: 1;
    min-width: 0;
  }
  .account-menu {
    grid-template-columns: 1fr;
  }
  .account-kpi,
  .account-grid,
  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }
  .usage-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .usage-summary-value {
    text-align: left;
  }
  .usage-stats-grid {
    grid-template-columns: 1fr;
  }
  .order-table th:nth-child(3),
  .order-table td:nth-child(3),
  .order-table th:nth-child(4),
  .order-table td:nth-child(4) {
    display: none;
  }
}
