/* Parvis 主站 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --container: 1280px;
  --container-wide: 1440px;
  --section-y: 112px;
  --module-gap: 96px;
  --module-gap-mobile: 64px;
  --page-scale: 1.1;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --pv-bg: #fbfcfd;
  --pv-bg-soft: #f5f7f9;
  --pv-surface: #ffffff;
  --pv-surface-tint: #fafafa;
  --pv-ink: #0a0a0a;
  --pv-text: #1f2937;
  --pv-muted: #6b7280;
  --pv-faint: #9ca3af;
  --pv-border: rgba(0, 0, 0, 0.08);
  --pv-brand: #3d73d9;
  --pv-green: #14a77c;
  --pv-amber: #ffb238;
  --pv-indigo: #6474ff;
  --pv-danger: #d84a3a;
  --pv-bg-opacity: 1;
  --pv-noise-opacity: 0.42;
  --pv-decor-opacity: 0.9;
  --pv-bg-shift: 0px;
  --btn-primary-bg: var(--pv-ink);
  --btn-primary-hover: #171717;
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: transparent;
  --btn-primary-shadow-hover: transparent;
}

/* 主站浅色语义 */
html {
  color-scheme: light;
  --void: #eef2f6;
  --bg: var(--pv-bg);
  --bg-2: var(--pv-bg-soft);
  --bg-3: var(--pv-surface);
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: var(--pv-surface);
  --stroke: var(--pv-border);
  --tint: rgba(0, 0, 0, 0.03);
  --tint-border: rgba(0, 0, 0, 0.08);
  --stroke-bright: rgba(0, 0, 0, 0.16);
  --text: var(--pv-ink);
  --text-secondary: var(--pv-muted);
  --text-tertiary: var(--pv-faint);
  --accent: var(--pv-ink);
  --accent-on: #ffffff;
  --accent-dim: #171717;
  --accent-2: var(--pv-brand);
  --success: var(--pv-green);
  --warning: #a66b00;
  --danger: var(--pv-danger);
  --shadow-card: none;
  --shadow-hover: none;
}

html { scroll-behavior: smooth; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 300;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--surface-strong);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  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: var(--pv-ink);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  letter-spacing: 0;
}

@media (min-width: 901px) {
  body:not(.account-page) {
    margin-inline: auto;
    width: calc(100% / var(--page-scale));
    zoom: var(--page-scale);
  }
}

@media (min-width: 1025px) {
  body.account-page {
    margin-inline: auto;
    width: calc(100% / var(--page-scale));
    zoom: var(--page-scale);
  }
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--pv-bg-opacity);
  transform: translate3d(0, var(--pv-bg-shift), 0);
  transition: opacity 80ms linear;
  background:
    radial-gradient(1180px 640px at 84% 2%, rgba(61, 115, 217, 0.10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--pv-bg) 44%, var(--pv-bg) 100%);
}

.hero-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--pv-decor-opacity);
  transform: translate3d(0, var(--pv-bg-shift), 0);
  transition: opacity 80ms linear;
  background:
    radial-gradient(1120px 720px at 100% 18%, rgba(61, 115, 217, 0.14), transparent 74%);
}

.hero-decor::before {
  content: none;
}

.bg-layer::after {
  content: none;
}

.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: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0) saturate(1);
  -webkit-backdrop-filter: blur(0) saturate(1);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  box-shadow: none;
  transition: background 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease, -webkit-backdrop-filter 0.22s ease;
}

.site-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  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: none;
}

.nav-title {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--pv-brand);
  line-height: 1;
  text-transform: uppercase;
}

.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: 2px;
  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: var(--pv-ink);
  background: transparent;
}

.nav-links a.active::after {
  background: var(--pv-ink);
  transform: scaleX(1);
}

/* 在线体验：沿用导航统一结构，仅用品牌蓝突出 */
.nav-links a.nav-experience {
  color: var(--pv-brand);
  font-weight: 600;
}

.nav-links a.nav-experience:hover {
  color: var(--pv-brand);
  background: rgba(61, 115, 217, 0.08);
}

.nav-links a.nav-experience::after {
  background: var(--pv-brand);
}

.nav-links a.nav-experience:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-contact {
  position: relative;
  display: inline-flex;
}

.nav-contact-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-contact-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-contact-btn:hover,
.nav-contact-btn[aria-expanded="true"] {
  border-color: rgba(0, 0, 0, 0.18);
  background: #fff;
  transform: translateY(-1px);
}

.contact-popover-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -92px;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
  z-index: 140;
}

.contact-popover-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 128px;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--stroke);
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.contact-qr-card > img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--pv-border);
  background: #fff;
}

.contact-qr-card figcaption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.contact-caption-icon {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--pv-ink);
  background: var(--pv-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  box-shadow: none;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta:hover {
  border-color: #171717;
  background: #171717;
  box-shadow: none;
  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) {
  .site-nav.nav-menu-open {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(1.08);
    -webkit-backdrop-filter: blur(20px) saturate(1.08);
    border-bottom-color: transparent;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 18px;
    background: rgba(255, 255, 255, 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(0, 0, 0, 0.04);
  }

  .nav-links a::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  .nav-mobile-toggle { display: block; }

  .contact-popover-panel {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
  }

  .contact-popover-panel::before {
    right: 122px;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    gap: 10px;
    padding: 0 14px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-contact-btn {
    padding: 0 12px;
  }

  .nav-contact-btn span {
    max-width: none;
    overflow: visible;
    font-size: 0;
  }

  .nav-contact-btn span::after {
    content: "联系我们";
    font-size: 14px;
  }

  .nav-cta {
    padding: 0 14px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease-out, background 0.16s ease-out, border-color 0.16s ease-out;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

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

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--pv-surface-tint);
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

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

.btn-green:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: none;
}

/* 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 {
  max-width: 980px;
  margin-right: auto;
  margin-left: 0;
  margin-bottom: 52px;
  text-align: left;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pv-muted);
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.section-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  color: var(--pv-ink);
}

.section-desc {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 16px;
  color: #536579;
  line-height: 1.72;
  text-wrap: pretty;
}

/* 定价区：两行说明与下方卡片间距收紧（tab 与说明间距已在内联放大，二者互换） */
#pricing .section-header {
  margin-bottom: 16px;
}

#features .container {
  display: flex;
  flex-direction: column;
}

#features .feature-demos {
  order: 0;
}

#features .section-header,
#features .bento-grid {
  order: 1;
}

#features .section-header {
  margin-top: var(--module-gap);
}

#features {
  padding-bottom: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 168px 0 24px;
  min-height: 780px;
  display: flex;
  align-items: flex-start;
  overflow: visible;
}

/* 首屏粒子球：hero 背景层，浮在文字/产品窗口之后 */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-particles.is-ready {
  opacity: 1;
}

@media (min-width: 900px) {
  .hero { padding: 168px 0 24px; }
}

.hero-inner {
  display: block;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-inner {
    display: block;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 840px;
  text-align: left;
}

@media (min-width: 900px) {
  .hero-copy { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  margin-bottom: 24px;
}

.hero-badge-icon {
  width: 18px;
  height: 18px;
  color: var(--pv-brand);
}

.hero h1,
.hero .hero-title {
  max-width: 790px;
  margin: 0;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
  color: var(--pv-ink);
}

.hero-title-mono {
  display: block;
  max-width: 720px;
  margin-top: 2px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--pv-ink);
}

.hero-sub {
  max-width: 720px;
  margin: 30px 0 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.62;
}

.hero-typewriter {
  display: inline-flex;
  align-items: baseline;
  min-width: 9.5em;
  color: var(--pv-brand);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: baseline;
}

.hero-typewriter-caret {
  width: 1px;
  height: 0.95em;
  margin-left: 3px;
  border-radius: 1px;
  background: var(--pv-brand);
  transform: translateY(0.12em);
  animation: hero-typewriter-caret 0.9s steps(1, end) infinite;
}

@keyframes hero-typewriter-caret {
  0%, 52% { opacity: 1; }
  53%, 100% { opacity: 0; }
}

@media (min-width: 900px) {
  .hero-sub { margin-left: 0; margin-right: 0; }
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
    gap: 14px;
    max-width: none;
  }
}

.support-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pv-faint);
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.backed-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 5px rgba(61, 115, 217, 0.24));
}

.backed-mark-orb {
  fill: #70a4ff;
}

.backed-mark-top {
  fill: #78abff;
}

.backed-mark-body {
  fill: var(--pv-brand);
}

.hero-media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 64px auto 0;
}

@media (min-width: 900px) {
  .hero-media {
    max-width: var(--container);
  }
}

.product-window {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.window-bar {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.traffic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.traffic span:nth-child(1) { background: #ff6b62; }
.traffic span:nth-child(2) { background: #ffc247; }
.traffic span:nth-child(3) { background: #39cf65; }

.window-brand,
.window-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.window-brand { justify-self: start; }
.window-tools { justify-self: end; }

.window-brand-name {
  color: var(--pv-brand);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.window-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.window-tab {
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pv-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.window-tab.active {
  background: #fff;
  color: var(--pv-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tool-icon {
  width: 18px;
  height: 18px;
  color: var(--pv-ink);
}

.tool-separator {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.12);
}

.window-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.34fr) minmax(220px, 0.78fr);
  min-height: 540px;
  background: #fff;
}

.workspace-panel {
  padding: 20px 18px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--pv-surface-tint);
}

.sidebar-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.search-field {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  margin-bottom: 18px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pv-faint);
  font-size: 14px;
}

.sidebar-search-row .search-field {
  margin-bottom: 0;
}

.search-field svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--pv-faint);
}

.folder-button {
  width: 40px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--pv-ink);
}

.folder-button svg,
.group-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.project-group {
  padding: 0 0 18px;
}

.project-group + .project-group {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 18px;
}

.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.group-title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 600;
}

.group-title span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--pv-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.group-path {
  margin: 6px 0 14px 27px;
  color: var(--pv-faint);
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-list {
  display: grid;
  gap: 8px;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.task-item.active {
  color: var(--pv-text);
  background: #edf4ff;
  border-color: transparent;
}

.task-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffc247;
}

.main-panel {
  padding: 28px 30px 24px;
  background: #fff;
}

.panel-title {
  margin: 0 0 16px;
  color: var(--pv-ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.prompt-pill {
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--pv-border);
  background: var(--pv-bg-soft);
  color: #2f3b4f;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 26px 0 24px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--pv-muted);
  font-size: 14px;
  line-height: 1.4;
}

.timeline-row svg {
  width: 18px;
  height: 18px;
  color: #a7b3c2;
}

.timeline-row.done svg {
  color: var(--pv-green);
}

.timeline-meta {
  color: var(--pv-faint);
  font-size: 12px;
  font-weight: 600;
}

.answer-box {
  padding: 18px 22px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  color: var(--pv-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.artifact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.artifact {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: var(--pv-surface-tint);
}

.artifact-type {
  color: var(--pv-faint);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.artifact-name {
  color: var(--pv-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.files-panel {
  padding: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--pv-surface-tint);
}

.file-list {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.file-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3d4a5d;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.file-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #9aa5b5;
}

@media (max-width: 900px) {
  .window-content {
    grid-template-columns: 1fr;
  }

  .workspace-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .files-panel {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

@media (max-width: 900px) {
  .workspace-panel,
  .files-panel {
    display: none;
  }

  .window-content {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 128px 0 18px;
  }

  .hero h1,
  .hero .hero-title {
    max-width: 92vw;
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.1;
  }

  .hero-title-mono {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .hero-sub {
    max-width: calc(100vw - 44px);
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
  }

  .hero-actions .btn {
    width: calc(100vw - 64px);
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    justify-self: start;
  }

  .support-note {
    margin-left: 0;
  }

  .hero-media {
    margin-top: 48px;
  }

  .product-window {
    width: 100%;
    max-width: 100%;
  }

  .window-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
  }

  .window-tools {
    display: none;
  }

  .window-tabs {
    flex: 0 0 auto;
    max-width: calc(100% - 132px);
  }

  .window-tab {
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .window-brand-name {
    font-size: 14px;
  }

  .workspace-panel,
  .main-panel,
  .files-panel {
    padding: 22px;
  }

  .window-content {
    display: block;
    min-height: 0;
  }

  .timeline-meta {
    display: none;
  }

  .timeline-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .artifact-row {
    grid-template-columns: 1fr;
  }
}

/* Bento */
.bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "voice im security"
    "voice library library";
}

.bento-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px 28px 0;
  box-shadow: none;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.14);
}

.feature-card-voice {
  grid-area: voice;
  min-height: 618px;
  padding-bottom: 26px;
  background: #e8ebef;
  border-color: rgba(31, 41, 55, 0.14);
}

.feature-card-im {
  grid-area: im;
  min-height: 260px;
  color: var(--text);
  background:
    radial-gradient(260px 160px at 96% 8%, rgba(61, 115, 217, 0.2), transparent 72%),
    radial-gradient(260px 170px at 8% 96%, rgba(7, 193, 96, 0.16), transparent 70%),
    #eaf3ff;
  border-color: rgba(61, 115, 217, 0.14);
}

.feature-card-library {
  grid-area: library;
  position: relative;
  min-height: 330px;
  padding: 34px 32px 0;
  background:
    radial-gradient(520px 300px at 84% 18%, rgba(61, 115, 217, 0.2), transparent 70%),
    radial-gradient(340px 210px at 6% 92%, rgba(255, 178, 56, 0.16), transparent 72%),
    linear-gradient(135deg, #fff8ed 0%, #f1f7ff 62%, #eef6ff 100%);
  border-color: rgba(61, 115, 217, 0.14);
}

.feature-card-security {
  grid-area: security;
  min-height: 260px;
  background:
    radial-gradient(260px 170px at 92% 8%, rgba(20, 167, 124, 0.24), transparent 72%),
    radial-gradient(240px 180px at 4% 100%, rgba(61, 115, 217, 0.12), transparent 70%),
    #e8f6ef;
  border-color: rgba(20, 120, 82, 0.16);
}

.bento-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0;
  color: var(--text);
  line-height: 1.25;
}

.bento-card p {
  max-width: 30em;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card-library > p {
  position: relative;
  z-index: 8;
  max-width: 340px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.feature-card-library > h3 {
  position: relative;
  z-index: 8;
}

.feature-card-im h3,
.feature-card-im p {
  color: var(--text);
}

.feature-card-im p {
  color: #536579;
  opacity: 1;
}

.feature-visual {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.feature-card-im .feature-visual,
.feature-card-security .feature-visual {
  margin-top: 18px;
}

.feature-card-voice .feature-visual {
  flex: 1 1 auto;
  min-height: 0;
}

.voice-visual {
  height: auto;
  margin: 26px 0 0;
}

.voice-window {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(31, 41, 55, 0.08);
}

.mini-window-bar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.86);
}

.mini-window-bar span {
  width: 12px;
  height: 12px;
  display: block;
  border-radius: 50%;
}

.mini-window-bar span:nth-child(1) { background: #ff6b62; }
.mini-window-bar span:nth-child(2) { background: #ffc247; }
.mini-window-bar span:nth-child(3) { background: #39cf65; }

.voice-dialog {
  display: grid;
  gap: 16px;
  padding: 34px 28px 24px;
}

.voice-bubble {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.voice-bubble-user {
  justify-self: end;
  background: #eef4ff;
  color: #24324a;
}

.voice-bubble-ai {
  justify-self: start;
  background: #f5f5f6;
  color: #4b5563;
}

.voice-input-row {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 62px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
}

.wave-bars {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wave-bars span {
  width: 4px;
  border-radius: 999px;
  background: var(--pv-brand);
}

.wave-bars span:nth-child(1) { height: 12px; opacity: 0.55; }
.wave-bars span:nth-child(2) { height: 22px; }
.wave-bars span:nth-child(3) { height: 16px; opacity: 0.75; }
.wave-bars span:nth-child(4) { height: 26px; opacity: 0.65; }

.voice-input-text {
  min-width: 0;
  color: var(--pv-faint);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mic-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pv-ink);
}

.mic-button span {
  position: relative;
  width: 10px;
  height: 18px;
  display: block;
  border: 2px solid #fff;
  border-radius: 6px;
}

.mic-button span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
}

.im-visual {
  height: 124px;
  margin-top: 0;
}

.im-visual::before {
  content: none;
}

.im-node {
  position: absolute;
  top: 50%;
  width: 62px;
  height: 62px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  color: #102018;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.brand-glyph {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.wechat-node {
  left: 0;
  color: #07c160;
  background: #e7fff0;
}

.wechat-glyph {
  fill: currentColor;
}

.feishu-node {
  left: 82px;
  color: #133c9a;
  background: #edf4ff;
}

.feishu-glyph {
  width: 30px;
  height: 30px;
}

.more-node {
  left: 164px;
  display: grid;
  place-items: center;
  color: #3a332b;
  background: #fff7e3;
  font-size: 28px;
}

.library-card-visual {
  position: absolute;
  inset: 0;
  height: auto;
  margin: 0;
  isolation: isolate;
}

.doc-card {
  position: absolute;
  top: 18px;
  width: 170px;
  height: 142px;
  padding: 14px;
  z-index: 2;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(31, 41, 55, 0.11);
  transform-origin: 50% 58%;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.45s ease, filter 0.45s ease;
  will-change: transform;
}

.doc-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -24px;
  height: 28px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(31, 41, 55, 0.12);
  filter: blur(16px);
  opacity: 0.86;
  transform: scaleX(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.gis-doc {
  left: auto;
  right: 128px;
  top: 54px;
  z-index: 6;
  width: 236px;
  height: 174px;
  transform: rotate(-7deg);
  box-shadow: 0 28px 50px rgba(31, 41, 55, 0.15);
}

.word-doc {
  left: auto;
  right: 18px;
  top: 30px;
  z-index: 3;
  transform: rotate(10deg) scale(0.94);
}

.excel-doc {
  left: auto;
  right: 330px;
  top: 124px;
  z-index: 5;
  width: 156px;
  height: 116px;
  transform: rotate(-9deg) scale(0.92);
}

.ppt-doc {
  left: auto;
  right: 54px;
  top: 150px;
  z-index: 2;
  transform: rotate(6deg) scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card-library:hover .doc-card {
    filter: saturate(1.06) contrast(1.01);
  }

  .feature-card-library:hover .doc-card::after {
    opacity: 1;
    transform: scaleX(1.12);
  }

  .feature-card-library:hover .gis-doc {
    transform: translateY(-10px) rotate(-4deg) scale(1.025);
    box-shadow: 0 34px 62px rgba(31, 41, 55, 0.2);
  }

  .feature-card-library:hover .excel-doc {
    transform: translate(-12px, -6px) rotate(-12deg) scale(0.94);
    box-shadow: 0 22px 44px rgba(31, 41, 55, 0.14);
  }

  .feature-card-library:hover .word-doc {
    transform: translate(9px, -8px) rotate(13deg) scale(0.98);
    box-shadow: 0 24px 46px rgba(31, 41, 55, 0.14);
  }

  .feature-card-library:hover .ppt-doc {
    transform: translate(10px, 7px) rotate(9deg) scale(0.95);
    box-shadow: 0 22px 42px rgba(31, 41, 55, 0.13);
  }
}

.doc-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.doc-label .brand-glyph {
  width: 24px;
  height: 24px;
}

.gis-doc .doc-label { color: #15803d; }
.word-doc .doc-label { color: #2459c7; }
.excel-doc .doc-label { color: #107c41; }
.ppt-doc .doc-label { color: #d45727; }

.map-grid {
  position: relative;
  height: 82px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(21, 128, 61, 0.1);
  border-radius: 10px;
  background:
    radial-gradient(92px 54px at 18% 22%, rgba(255, 255, 255, 0.72), transparent 72%),
    radial-gradient(108px 68px at 92% 82%, rgba(61, 115, 217, 0.13), transparent 74%),
    #eef8ef;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.map-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 46%, rgba(15, 118, 110, 0.06));
}

.map-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.map-base {
  fill: #e7eaed;
}

.map-park {
  fill: rgba(151, 211, 123, 0.72);
  stroke: rgba(117, 172, 96, 0.22);
  stroke-width: 0.8;
}

.map-water {
  fill: none;
  stroke: rgba(74, 171, 218, 0.78);
  stroke-width: 7.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-water-branch {
  stroke-width: 3.2;
  opacity: 0.9;
}

.map-minor-roads path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-buildings rect {
  fill: rgba(157, 161, 154, 0.28);
}

.map-street-casing {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 7.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-street {
  fill: none;
  stroke: rgba(243, 173, 55, 0.94);
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-street-secondary {
  stroke-width: 5.8;
}

.map-street.map-street-secondary {
  stroke-width: 3.1;
}

.map-roundabout-casing {
  fill: #fff;
}

.map-roundabout {
  fill: #eef0ec;
  stroke: rgba(243, 173, 55, 0.94);
  stroke-width: 1.6;
}

.ppt-doc .doc-label {
  position: absolute;
  top: 24px;
  right: 14px;
  z-index: 1;
  gap: 6px;
  justify-content: flex-end;
}

.ppt-doc .doc-label .brand-glyph {
  order: 2;
  width: 22px;
  height: 22px;
}

.ppt-doc .doc-label span {
  order: 1;
}

.ppt-doc .slide-block {
  height: 54px;
  margin-top: 54px;
}

.excel-doc .sheet-grid {
  height: 56px;
  margin-top: 16px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(16, 124, 65, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(16, 124, 65, 0.13) 1px, transparent 1px),
    linear-gradient(135deg, rgba(33, 163, 102, 0.12), rgba(33, 163, 102, 0.04)),
    #f0fbf5;
  background-size: 22px 18px, 22px 18px, auto, auto;
}

.doc-lines {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.doc-lines span {
  height: 8px;
  border-radius: 999px;
  background: #d8e4fb;
}

.doc-lines span:nth-child(2) { width: 78%; }
.doc-lines span:nth-child(3) { width: 58%; }

.slide-block {
  height: 76px;
  margin-top: 16px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(212, 87, 39, 0.86), rgba(255, 178, 56, 0.5)),
    #fff3ea;
}

.skill-strip {
  position: absolute;
  left: 32px;
  right: auto;
  bottom: 28px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-strip span {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #314158;
  font-size: 14px;
  font-weight: 600;
}

.security-visual {
  height: 124px;
  margin-top: 0;
}

.security-panel {
  position: relative;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.security-folder,
.security-model,
.security-badge {
  position: absolute;
  top: 50%;
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  display: grid;
  grid-template-rows: 38px 14px;
  align-content: center;
  align-items: center;
  justify-items: center;
  gap: 2px;
  border-radius: 10px;
  border: 0;
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.security-folder {
  left: 0;
  background: #fff7e3;
}

.security-badge {
  left: 164px;
  background: #e7fff0;
}

.security-model {
  left: 82px;
  color: #2459c7;
  background: #edf4ff;
}

.security-file-stack {
  position: relative;
  width: 42px;
  height: 34px;
  display: block;
}

.security-file-stack span {
  position: absolute;
  display: block;
  border-radius: 3px;
}

.security-file-stack span:first-child {
  left: 5px;
  top: 4px;
  width: 18px;
  height: 9px;
  border: 0;
  border-radius: 5px 5px 0 0;
  background: #efb84d;
}

.security-file-stack span:last-child {
  left: 2px;
  right: 2px;
  top: 11px;
  bottom: 2px;
  height: auto;
  border-radius: 4px 4px 5px 5px;
  background: linear-gradient(180deg, #ffd873 0%, #ffc957 46%, #f4b947 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 14px rgba(131, 91, 28, 0.12);
}

.security-file-stack span:last-child::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: rgba(151, 96, 20, 0.16);
}

.security-file-stack span:last-child::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -3px;
  height: 4px;
  border-radius: 3px 3px 0 0;
  background: #ffdd82;
}

.security-folder strong,
.security-model strong,
.security-badge strong {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  color: #173228;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap;
  text-align: center;
}

.deepseek-glyph {
  width: 34px;
  height: 34px;
  display: block;
  color: #4d6bfe;
  fill: currentColor;
}

.security-model strong {
  color: #2459c7;
}

.security-shield {
  position: relative;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 34px 34px 16px 16px;
  background: linear-gradient(180deg, #156246, #0f513a);
  clip-path: polygon(50% 0, 94% 18%, 86% 76%, 50% 100%, 14% 76%, 6% 18%);
  box-shadow: 0 8px 14px rgba(15, 81, 58, 0.18);
}

.lock-body {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 12px;
  height: 10px;
  border-radius: 3px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.lock-body::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -7px;
  width: 6px;
  height: 8px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

@media (min-width: 901px) and (max-width: 1140px) {
  .feature-card-library {
    min-height: 450px;
  }

  .library-card-visual {
    inset: 150px 0 0;
  }

  .word-doc {
    top: 18px;
  }

  .gis-doc {
    top: 44px;
  }

  .excel-doc {
    top: 108px;
  }

  .ppt-doc {
    top: 132px;
  }

  .skill-strip {
    bottom: 24px;
  }
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "voice im"
      "voice security"
      "library library";
  }

  .library-card-visual {
    height: 258px;
  }
}

@media (max-width: 680px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "voice"
      "im"
      "library"
      "security";
  }

  .bento-card {
    min-height: 0;
    padding: 24px 22px 0;
  }

  .feature-card-library {
    min-height: 0;
    padding: 24px 22px 0;
  }

  .feature-card-library > p {
    max-width: none;
  }

  .feature-card-voice {
    min-height: 520px;
    padding-bottom: 22px;
  }

  .voice-visual {
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .voice-window {
    top: 8px;
    min-height: 0;
  }

  .voice-input-row {
    left: 14px;
    right: 14px;
    grid-template-columns: 44px minmax(0, 1fr) 36px;
  }

  .feature-card-im,
  .feature-card-security {
    min-height: 260px;
  }

  .im-visual {
    height: 112px;
  }

  .doc-card {
    width: 138px;
    height: 124px;
  }

  .library-card-visual {
    position: relative;
    inset: auto;
    height: 258px;
    margin: 20px -4px 0;
  }

  .gis-doc {
    left: 50%;
    right: auto;
    top: 4px;
    width: 154px;
    height: 132px;
    transform: translateX(-50%) rotate(-5deg);
  }

  .word-doc {
    left: 8px;
    right: auto;
    top: 68px;
    transform: rotate(-8deg) scale(0.9);
  }

  .excel-doc {
    left: 34%;
    right: auto;
    top: 92px;
    width: 128px;
    height: 108px;
    transform: rotate(-8deg) scale(0.9);
  }

  .ppt-doc {
    left: auto;
    right: 8px;
    top: 72px;
    transform: rotate(8deg) scale(0.9);
  }

  .ppt-doc .doc-label {
    top: 24px;
    right: 12px;
  }

  .ppt-doc .slide-block {
    height: 42px;
    margin-top: 50px;
  }

  .gis-doc .map-grid {
    height: 58px;
    margin-top: 14px;
  }

  .excel-doc .sheet-grid {
    height: 42px;
    margin-top: 12px;
  }

  .skill-strip {
    left: 4px;
    right: 4px;
    bottom: 22px;
  }

  .security-visual {
    height: 112px;
    padding-bottom: 0;
  }

  .security-panel {
    padding: 0;
  }
}

/* Feature demos */
.feature-demos {
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.demo-tabs {
  max-width: none;
  margin: 0 auto 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-tab {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #eceff2;
  color: #6b7280;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.demo-tab svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  color: currentColor;
}

.demo-tab:hover {
  color: var(--pv-ink);
  background: #fff;
}

.demo-tab.active {
  color: var(--pv-ink);
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
}

.demo-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 58px;
  overflow: visible;
}

@media (min-width: 1360px) {
  .demo-slider {
    width: calc(100% + 116px);
    margin-left: -58px;
    margin-right: -58px;
  }
}

.demo-viewport {
  overflow: hidden;
  border-radius: 10px;
}

.demo-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.demo-slide {
  flex: 0 0 100%;
  padding: 0;
  opacity: 0.42;
  transition: opacity 0.24s ease;
}

.demo-slide.active {
  opacity: 1;
}

.demo-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 44px;
  padding: 28px 28px 28px 42px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #fff;
}

.demo-copy {
  min-width: 0;
}

.demo-efficiency {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.demo-efficiency-blue {
  color: #3d8cff;
  background: rgba(61, 140, 255, 0.1);
}

.demo-efficiency-green {
  color: #21a76b;
  background: rgba(33, 167, 107, 0.1);
}

.demo-efficiency-amber {
  color: #a66b00;
  background: rgba(255, 178, 56, 0.16);
}

.demo-copy h3 {
  margin: 0 0 12px;
  color: var(--pv-ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
}

.demo-copy p {
  margin: 0 0 24px;
  color: var(--pv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.demo-copy dl {
  display: grid;
  gap: 12px;
}

.demo-copy dt {
  margin-bottom: 2px;
  color: var(--pv-ink);
  font-size: 14px;
  font-weight: 600;
}

.demo-copy dd {
  margin: 0;
  color: var(--pv-faint);
  font-size: 14px;
  line-height: 1.55;
}

.demo-copy dt:nth-of-type(2) {
  color: var(--pv-brand);
}

.demo-video-shell {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(61, 115, 217, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(61, 115, 217, 0.18), rgba(33, 167, 107, 0.1)),
    #edf5ff;
}

.demo-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 2114 / 1440;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.demo-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pv-ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.demo-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-arrow:hover {
  border-color: rgba(0, 0, 0, 0.16);
  background: #fff;
}

.demo-arrow-prev { left: 0; }
.demo-arrow-next { right: 0; }

.demo-dots {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.demo-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c7cdd6;
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.demo-dots button.active {
  width: 24px;
  background: var(--pv-ink);
}

@media (max-width: 980px) {
  .feature-demos {
    padding: 0;
  }

  .demo-slider {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .demo-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 28px;
    padding: 0 0 4px;
  }

  .demo-tab {
    flex: 0 0 auto;
  }

  .demo-slide {
    padding: 0;
  }

  .demo-card {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 24px;
  }

  .demo-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-demos {
    margin-top: 0;
  }

  .demo-tabs {
    padding: 0 0 4px;
    gap: 8px;
  }

  .demo-tab {
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .demo-slide {
    padding: 0;
  }

  .demo-card {
    padding: 20px;
  }

  .demo-efficiency {
    font-size: 14px;
    line-height: 1.35;
  }

  .demo-copy h3 {
    font-size: 20px;
  }
}

/* Library */
.library-section {
  padding-top: var(--module-gap);
  padding-bottom: 0;
}

.library-section .container {
  max-width: var(--container);
}

#pricing {
  padding-top: var(--module-gap);
  padding-bottom: 0;
}

#download {
  padding-top: var(--module-gap);
  padding-bottom: 0;
}

#faq {
  padding-top: var(--module-gap);
}

@media (max-width: 640px) {
  #features .section-header {
    margin-top: var(--module-gap-mobile);
  }

  .library-section,
  #pricing,
  #download,
  #faq {
    padding-top: var(--module-gap-mobile);
  }
}

.library-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 34px;
  min-height: 430px;
  padding: 34px 42px;
  border: 1px solid var(--pv-border);
  border-radius: 12px;
  background: #fff;
}

.library-principles {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 42px;
}

.library-principles::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 12px;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.library-principle {
  position: relative;
}

.library-dot {
  position: absolute;
  left: -38px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #aeb7c2;
  border: 3px solid #f1f3f5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.library-principle.active .library-dot {
  background: var(--pv-ink);
  border-color: #f0f2f4;
}

.library-principle h3 {
  margin: 0 0 8px;
  color: var(--pv-ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.library-principle p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.library-visual {
  min-width: 0;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 32px 44px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle, rgba(15, 23, 42, 0.1) 1px, transparent 1px) 0 0 / 4px 4px,
    radial-gradient(560px 360px at 94% 5%, rgba(61, 115, 217, 0.18), transparent 72%),
    linear-gradient(145deg, #ffffff 0%, #f6f8fb 52%, #eef5ff 100%);
}

.library-workspace-window {
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(31, 41, 55, 0.12);
}

.workspace-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.workspace-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.workspace-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.workspace-dots span:nth-child(1) { background: #ff6b62; }
.workspace-dots span:nth-child(2) { background: #ffc247; }
.workspace-dots span:nth-child(3) { background: #39cf65; }

.workspace-topbar strong {
  min-width: 0;
  color: #667085;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.workspace-content {
  padding: 24px 32px;
}

.workspace-content h3 {
  margin: 0 0 6px;
  color: var(--pv-ink);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.18;
  font-weight: 600;
}

.workspace-lead {
  margin: 0 0 18px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.workspace-template-list {
  display: grid;
  gap: 10px;
}

.workspace-template-item {
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 10px;
  background: #fff;
}

.workspace-template-item.active {
  border-color: rgba(61, 115, 217, 0.34);
  background: #f8fbff;
}

.template-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.template-dot-amber { background: var(--pv-amber); }
.template-dot-blue { background: var(--pv-brand); }
.template-dot-indigo { background: #6674ff; }
.template-dot-green { background: var(--pv-green); }

.workspace-template-item strong {
  display: block;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 600;
}

.workspace-template-item > div > span {
  display: block;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.workspace-detail {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f7;
  color: #1f2937;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.workspace-update {
  color: #a8b0bb;
  font-size: 14px;
  font-weight: 600;
}

.workspace-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d7dce3;
}

.workspace-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.workspace-switch.on {
  background: var(--pv-green);
}

.workspace-switch.on span {
  left: 21px;
}

.template-check {
  justify-self: end;
  color: var(--pv-green);
  font-size: 28px;
  font-weight: 600;
}

.workflow-steps,
.workflow-step,
.workflow-step-num,
.workflow-connector { display: none; }

@media (max-width: 980px) {
  .library-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px;
  }

  .library-visual {
    min-height: auto;
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .library-showcase {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .library-principles {
    gap: 28px;
    padding-left: 34px;
  }

  .library-principle h3 {
    font-size: 20px;
  }

  .library-principle p {
    font-size: 14px;
  }

  .library-visual {
    padding: 14px;
    border-radius: 10px;
  }

  .workspace-topbar {
    height: 50px;
    padding: 0 16px;
  }

  .workspace-topbar strong {
    font-size: 14px;
  }

  .workspace-content {
    padding: 28px 18px 22px;
  }

  .workspace-content h3 {
    margin-bottom: 6px;
    font-size: 28px;
  }

  .workspace-lead {
    margin-bottom: 20px;
  }

  .workspace-template-item {
    min-height: 64px;
    grid-template-columns: 34px minmax(0, 1fr) 42px;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 12px;
  }

  .workspace-template-item .template-dot {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .workspace-template-item > div {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .template-dot {
    width: 28px;
    height: 28px;
  }

  .workspace-template-item strong {
    font-size: 16px;
  }

  .workspace-update {
    display: block;
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    font-size: 12px;
  }

  .workspace-detail {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    padding: 0;
    font-size: 12px;
  }

  .workspace-switch {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    width: 36px;
    height: 22px;
  }

  .workspace-switch span {
    width: 16px;
    height: 16px;
  }

  .workspace-switch.on span {
    left: 17px;
  }
}

/* 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 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: none;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: none;
}

.pricing-card.featured {
  border-color: var(--pv-ink);
  box-shadow: 0 0 0 1px var(--pv-ink);
}

.pricing-card.best-value {
  border-color: var(--pv-brand);
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 8%, rgba(61, 115, 217, 0.16) 0, rgba(61, 115, 217, 0.075) 24%, rgba(61, 115, 217, 0) 50%),
    linear-gradient(180deg, rgba(61, 115, 217, 0.095), rgba(255, 255, 255, 0) 54%),
    var(--surface-strong);
  box-shadow: 0 0 0 1px var(--pv-brand);
}

.pricing-card.best-value::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(rgba(10, 10, 10, 0.12) 0.65px, transparent 0.65px),
    radial-gradient(rgba(255, 255, 255, 0.38) 0.65px, transparent 0.65px),
    linear-gradient(135deg, rgba(61, 115, 217, 0.075) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(61, 115, 217, 0.055), transparent 44%);
  background-size: 4px 4px, 5px 5px, 18px 18px, auto;
  background-position: 0 0, 1px 1px, 0 0, 0 0;
  opacity: 0.58;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 38%, transparent 76%);
}

.pricing-card.best-value::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 9px;
  background: radial-gradient(circle at 100% 0%, rgba(61, 115, 217, 0.16), rgba(61, 115, 217, 0.055) 34%, transparent 62%);
  pointer-events: none;
}

.pricing-card.best-value > * {
  position: relative;
  z-index: 1;
}

.pricing-card.best-value .pricing-badge {
  position: absolute;
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.pricing-badge.popular {
  background: var(--pv-ink);
  color: #fff;
  box-shadow: none;
}

.pricing-badge.value {
  background: var(--pv-brand);
  color: #fff;
  box-shadow: none;
}

.pricing-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }

.pricing-points {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 2px;
}

.pricing-points-unit {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.pricing-price { font-size: 28px; font-weight: 600; margin-bottom: 4px; color: var(--text); }

.pricing-price span { font-size: 14px; font-weight: 500; color: var(--text-secondary); }

.pricing-price-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 1.3em;
  margin-bottom: 2px;
  line-height: 1.2;
}

.pricing-original {
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.35);
  font-weight: 500;
}

.pricing-discount {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #FF3B30;
  background: rgba(255, 59, 48, 0.1);
  border-radius: 6px;
  padding: 2px 6px;
  letter-spacing: 0;
}


.pricing-unit-price {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.pricing-save {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 10px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  min-height: 32px;
}

.pricing-card .btn { width: 100%; border-radius: var(--radius-sm); margin-top: auto; }

@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 {
  scroll-margin-top: 72px;
}

.faq-list {
  max-width: none;
  margin: 0;
  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: 16px;
  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: 20px;
  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: 14px;
  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: none;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: none;
}

.download-card.recommended {
  border-color: rgba(61, 115, 217, 0.22);
  background: linear-gradient(165deg, rgba(61, 115, 217, 0.05), var(--bg-3) 50%);
}

.rec-badge {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  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-icon .windows-mark {
  width: 40px;
  height: 40px;
  color: #0078d4;
}

.card-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }

.card-desc { font-size: 14px; 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: 10px;
  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: none;
}

.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(0, 0, 0, 0.14);
  color: var(--accent);
}

.notes-box {
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: none;
}

.notes-title {
  font-size: 16px;
  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: var(--pv-bg-soft);
  color: var(--text);
  border: 1px solid var(--pv-border);
}

/* Footer */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, #ffffff 0%, var(--pv-bg-soft) 100%);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 44px;
}

.footer-brand {
  min-width: 0;
  flex: 1 1 auto;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 340px;
}

.footer-link-groups {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: end;
  gap: 84px;
  margin-left: auto;
}

.footer-col {
  min-width: 96px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 14px;
  color: var(--text-tertiary);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.footer-col a[hidden] {
  display: none !important;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  font-size: 14px;
  color: var(--text-tertiary);
}

.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: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: none;
  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 {
  border-color: rgba(0, 0, 0, 0.16);
}

.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: 10px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: none;
  font-size: 14px;
  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 {
    left: auto;
    right: 72px;
    bottom: 18px;
    transform: translateY(12px);
  }

  .floating-download.show {
    transform: translateY(0);
  }
}

/* Icon micro-interactions */
.nav-logo,
.nav-cta svg,
.nav-mobile-toggle svg,
.btn svg,
.hero-badge-icon,
.backed-mark,
.tool-icon,
.search-field svg,
.folder-button svg,
.group-icon,
.file-item svg,
.brand-glyph,
.security-file-stack,
.deepseek-glyph,
.security-shield,
.demo-arrow svg,
.card-icon svg,
.btn-download svg,
.back-top svg {
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.22s ease;
  will-change: transform;
}

.im-node,
.security-folder,
.security-model,
.security-badge {
  transition: transform 0.24s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.24s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .nav-brand:hover .nav-logo {
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(61, 115, 217, 0.18));
  }

  .nav-cta:hover svg {
    transform: translateX(2px) scale(1.04);
  }

  .nav-mobile-toggle:hover svg {
    transform: scaleY(0.88);
  }

  .btn:hover svg {
    transform: translateY(-1px) scale(1.06);
  }

  .btn-download:hover svg {
    transform: translateY(2px) scale(1.06);
  }

  .hero-badge:hover .hero-badge-icon {
    transform: rotate(-6deg) scale(1.1);
  }

  .support-note:hover .backed-mark {
    transform: translateY(-1px) rotate(4deg) scale(1.06);
    filter: drop-shadow(0 7px 12px rgba(61, 115, 217, 0.3));
  }

  .window-tools .tool-icon:hover,
  .search-field:hover svg {
    transform: translateY(-1px) scale(1.08);
  }

  .folder-button:hover svg,
  .group-header:hover .group-icon {
    transform: translateY(-1px) rotate(-4deg) scale(1.07);
  }

  .file-item:hover svg {
    transform: translateX(2px) scale(1.04);
  }

  .im-node:hover,
  .security-folder:hover,
  .security-model:hover,
  .security-badge:hover {
    transform: translateY(-50%) translateY(-3px) scale(1.04);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  }

  .im-node:hover .brand-glyph,
  .doc-card:hover .brand-glyph {
    transform: translateY(-1px) rotate(-4deg) scale(1.08);
  }

  .more-node:hover {
    transform: translateY(-50%) translateY(-3px) rotate(5deg) scale(1.04);
  }

  .security-folder:hover .security-file-stack {
    transform: translateY(-1px) rotate(-3deg) scale(1.06);
  }

  .security-model:hover .deepseek-glyph,
  .security-badge:hover .security-shield {
    transform: translateY(-1px) scale(1.08);
  }

  .demo-arrow-prev:hover svg {
    transform: translateX(-2px) scale(1.08);
  }

  .demo-arrow-next:hover svg {
    transform: translateX(2px) scale(1.08);
  }

  .download-card:hover .card-icon svg {
    transform: translateY(-3px) scale(1.06);
    filter: drop-shadow(0 8px 14px rgba(61, 115, 217, 0.16));
  }

  .back-top:hover svg {
    transform: translateY(-2px) scale(1.08);
  }
}

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 var(--pv-brand);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }

  .footer-link-groups {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-left: 0;
  }

  .footer-col {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .footer-link-groups {
    grid-template-columns: 1fr;
  }
}

/* 账号弹窗 — 与 :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: 20px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 4px;
  color: var(--text);
}

.parvis-modal-sub {
  font-size: 14px;
  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: 20px;
  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(0, 0, 0, 0.04);
}

.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: 20px;
  font-weight: 600;
  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: 12px;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.parvis-modal-identity-name {
  font-size: 16px;
  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: 12px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.parvis-modal-stat-value {
  font-size: 16px;
  font-weight: 600;
  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(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.03);
  font-size: 14px;
}

.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: 14px;
  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: 12px;
  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: 14px;
  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: 14px;
  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-primary:disabled,
.parvis-modal-btn-primary[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  filter: none;
}

.parvis-modal-btn-primary:disabled:hover,
.parvis-modal-btn-primary[disabled]:hover {
  transform: none;
  background: var(--btn-primary-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.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(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.03);
}

.parvis-modal-btn-danger {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  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);
}

/* Main-site modal language */
.parvis-modal-backdrop,
.parvis-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.parvis-modal-backdrop--stack {
  z-index: 10001;
}

.parvis-modal-panel,
.parvis-confirm-card {
  width: 100%;
  max-width: 520px;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  font-family: var(--font);
  color: var(--pv-ink);
}

.parvis-modal-panel--wide { max-width: 680px; }

.parvis-modal-panel--pricing {
  max-width: 1080px;
  max-height: min(90vh, 760px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.parvis-modal-panel--payment {
  max-width: 760px;
  /* 高度自适应内容：不设固定像素上限，面板随内容撑开；仅用 92vh 防止超出视口 */
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.parvis-modal-panel--success {
  max-width: 420px;
  max-height: 90vh;
}

.parvis-modal-panel--success .parvis-modal-scroll-body {
  padding: 0 24px 28px;
}

.parvis-modal-panel--payment .parvis-modal-header {
  padding: 20px 28px 12px;
  border-bottom: none;
  background: none;
  flex-shrink: 0;
}

.parvis-modal-panel--payment .parvis-modal-scroll-body {
  padding: 8px 28px 28px;
  /* 高度跟随内容；仅当面板被 92vh 兜底压住时（极端矮屏）才滚动 */
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.parvis-modal-panel--invoice {
  max-width: 480px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.parvis-modal-panel--state { max-width: 520px; }

.parvis-modal-header {
  flex-shrink: 0;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--pv-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--pv-surface-tint) 100%);
}

.parvis-modal-header--sticky {
  position: sticky;
  top: 0;
  z-index: 2;
}

.parvis-modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

.parvis-modal-header-copy { min-width: 0; }

.parvis-modal-header-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.parvis-modal-header-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pv-ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.parvis-modal-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--pv-ink);
}

.parvis-modal-title--lg { font-size: 20px; }

.parvis-modal-sub {
  font-size: 14px;
  color: var(--pv-muted);
  margin: 0;
  line-height: 1.5;
}

.parvis-modal-note {
  margin-top: 12px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(61, 115, 217, 0.18);
  border-radius: 6px;
  background: rgba(61, 115, 217, 0.06);
  color: #2f5fb8;
  font-size: 12px;
  font-weight: 600;
}

.parvis-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: var(--pv-bg-soft);
  color: var(--pv-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.parvis-modal-close:hover {
  background: var(--void);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--pv-ink);
}

.parvis-modal-body { padding: 18px 22px 22px; }

.parvis-modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 22px;
  background: var(--pv-surface-tint);
}

.parvis-modal-scroll-body::-webkit-scrollbar { width: 4px; }
.parvis-modal-scroll-body::-webkit-scrollbar-track { background: transparent; }
.parvis-modal-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 6px;
}

.parvis-modal-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--pv-border);
  background: rgba(0, 0, 0, 0.025);
  border-radius: 10px;
  margin-top: 14px;
}

.parvis-modal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
  flex-shrink: 0;
}

.parvis-modal-identity-main { min-width: 0; }

.parvis-modal-identity-label {
  font-size: 12px;
  color: var(--pv-faint);
  margin-bottom: 2px;
}

.parvis-modal-identity-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--pv-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.parvis-modal-identity-side {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.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(--pv-border);
  border-radius: 10px;
  background: #f7f8fa;
}

.parvis-modal-stat-label {
  font-size: 12px;
  color: var(--pv-faint);
  margin-bottom: 4px;
}

.parvis-modal-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--pv-ink);
}

.parvis-modal-stat-value--ok { color: var(--pv-green); }

.parvis-modal-progress {
  background: #f7f8fa;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.parvis-modal-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.parvis-modal-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  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: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.025);
  font-size: 14px;
}

.parvis-modal-quick a {
  color: var(--pv-brand);
  font-weight: 600;
  text-decoration: none;
}

.parvis-modal-quick a:hover { text-decoration: underline; }

.parvis-modal-quick-sep {
  color: var(--pv-faint);
  user-select: none;
}

.parvis-modal-details {
  background: #f7f8fa;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.parvis-modal-details > summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--pv-ink);
  padding: 12px 14px;
  transition: background 160ms ease;
}

.parvis-modal-details > summary::-webkit-details-marker { display: none; }

.parvis-modal-details > summary::after {
  content: "展开";
  float: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--pv-faint);
}

.parvis-modal-details[open] > summary::after { content: "收起"; }
.parvis-modal-details > summary:hover { background: rgba(0, 0, 0, 0.03); }

.parvis-modal-details-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parvis-modal-details-body p {
  font-size: 14px;
  color: var(--pv-muted);
  line-height: 1.55;
  margin: 0;
}

.parvis-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.parvis-modal-btn-primary,
.parvis-modal-btn-secondary,
.parvis-modal-btn-danger,
.package-action,
.parvis-state-action,
.parvis-pay-confirm {
  min-height: 40px;
  border-radius: 10px;
  font-family: var(--font);
  transition: transform 180ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.parvis-modal-btn-primary,
.package-action,
.parvis-state-action,
.parvis-pay-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: var(--pv-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}

.parvis-modal-btn-primary {
  width: 100%;
  padding: 11px 12px;
}

.parvis-modal-btn-primary:hover,
.package-action:hover,
.parvis-state-action:hover,
.parvis-pay-confirm:hover {
  transform: translateY(-1px);
  background: #171717;
  box-shadow: none;
}

.parvis-modal-btn-secondary,
.parvis-modal-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.parvis-modal-btn-secondary {
  border: 1px solid var(--pv-border);
  background: #ffffff;
  color: var(--pv-ink);
}

.parvis-modal-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.16);
  background: #f7f8fa;
}

.parvis-modal-btn-danger {
  border: 1px solid rgba(216, 74, 58, 0.22);
  background: rgba(216, 74, 58, 0.06);
  color: var(--pv-danger);
  margin-top: 10px;
}

.parvis-modal-btn-danger:hover {
  transform: translateY(-1px);
  background: rgba(216, 74, 58, 0.1);
}

.parvis-modal-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 74, 58, 0.22);
  border-radius: 10px;
  background: rgba(216, 74, 58, 0.06);
  color: #b42318;
  text-align: center;
  font-size: 14px;
}

.parvis-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--pv-ink);
  animation: parvis-spin 1s linear infinite;
}

@keyframes parvis-spin {
  to { transform: rotate(360deg); }
}

.parvis-state {
  text-align: center;
  padding: 58px 22px;
}

.parvis-state-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pv-border);
  background: #f7f8fa;
  color: var(--pv-ink);
}

.parvis-state-icon--success {
  color: var(--pv-green);
  background: rgba(20, 167, 124, 0.08);
  border-color: rgba(20, 167, 124, 0.2);
}

.parvis-state-icon--danger {
  color: var(--pv-danger);
  background: rgba(216, 74, 58, 0.07);
  border-color: rgba(216, 74, 58, 0.2);
}

.parvis-state-title {
  margin: 0 0 8px;
  color: var(--pv-ink);
  font-size: 20px;
  font-weight: 600;
}

.parvis-state-copy {
  margin: 0 auto 22px;
  color: var(--pv-muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 420px;
}

.parvis-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 16px 16px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #ffffff;
  transition: transform 220ms ease, border-color 180ms ease, background 180ms ease;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.18);
  background: var(--pv-bg);
}

.package-card--featured {
  border-color: rgba(0, 0, 0, 0.22);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.035), #ffffff 42%);
}

.package-card--best-value {
  border-color: rgba(61, 115, 217, 0.42);
  background: linear-gradient(180deg, rgba(61, 115, 217, 0.07), #ffffff 42%);
}

.package-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.package-name {
  color: var(--pv-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.package-badge {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--pv-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.package-badge--value { background: var(--pv-brand); }

.package-original {
  min-height: 1.2em;
  margin-bottom: 2px;
  color: var(--pv-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.35);
}

.package-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.package-price {
  color: var(--pv-ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.package-cycle {
  margin-left: 2px;
  color: var(--pv-muted);
  font-size: 14px;
  font-weight: 600;
}

.package-points {
  color: var(--pv-brand);
  font-size: 20px;
  font-weight: 600;
}

.package-points span {
  color: var(--pv-muted);
  font-size: 14px;
  margin-left: 2px;
  font-weight: 600;
}

.package-meta,
.package-save,
.package-desc {
  color: var(--pv-muted);
  font-size: 14px;
  line-height: 1.5;
}

.package-save {
  min-height: 18px;
  margin: 6px 0 8px;
  color: var(--pv-green);
  font-weight: 600;
}

.package-desc { margin-bottom: 14px; }

.package-action {
  width: 100%;
  margin-top: auto;
  padding: 10px 14px;
}

.package-action--secondary {
  background: #ffffff;
  color: var(--pv-ink);
  border: 1px solid var(--pv-border);
}

.package-action--secondary:hover {
  background: #f7f8fa;
  color: var(--pv-ink);
  border-color: rgba(0, 0, 0, 0.16);
}

.parvis-pay-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 8px 10px;
}

.parvis-pay-panel--direct {
  max-width: none;
  padding: 0;
}

.parvis-pay-direct-body {
  background: #ffffff;
}

/* 升级订阅时支付弹窗顶部的说明条：浅蓝信息底 + 浅蓝边框，克制不抢焦点 */
.parvis-pay-upgrade-notice {
  flex-shrink: 0;
  margin: 0 24px 4px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 122, 255, 0.16);
  background: rgba(0, 122, 255, 0.06);
  color: #3a3a3c;
  font-size: 14px;
  line-height: 1.6;
}

/* 同级续费说明：文案 + 「购买增值包」按钮同行展示，按钮靠右对齐 */
.parvis-pay-renew-notice {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.parvis-pay-renew-notice > span {
  flex: 1;
}

.parvis-pay-renew-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  background: #007aff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease-out;
}

.parvis-pay-renew-btn:hover {
  background: #0066d6;
}

.parvis-pay-direct-grid {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.parvis-qr-zone {
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  padding: 0 32px 0 0;
  border: none;
  border-right: 1px solid var(--pv-border);
  border-radius: 0;
  background: none;
}

.parvis-qr-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.parvis-pay-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 4px 0 0;
  border: none;
  border-radius: 0;
  background: none;
}

.parvis-pay-saved {
  margin-top: -4px;
  color: var(--pv-green);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.parvis-pay-table {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.parvis-pay-table-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--pv-border);
}

.parvis-pay-table-row:last-child {
  border-bottom: none;
}

.parvis-pay-table-row span {
  flex: 0 0 auto;
  color: var(--pv-muted);
  font-size: 14px;
}

.parvis-pay-table-row strong {
  min-width: 0;
  color: var(--pv-ink);
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.parvis-order-card,
.parvis-invoice-summary {
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #ffffff;
}

.parvis-pay-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 0;
}

.parvis-pay-price strong {
  color: var(--pv-ink);
  font-size: 20px;
}

.parvis-pay-price del {
  color: var(--pv-faint);
  font-size: 14px;
}

.parvis-pay-price--large {
  margin-top: 0;
  justify-content: center;
}

.parvis-pay-price--large strong {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0;
}

.parvis-pay-countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--pv-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.parvis-pay-countdown-label {
  white-space: nowrap;
}

.parvis-pay-countdown-time {
  color: var(--pv-ink);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.parvis-pay-countdown.is-expired .parvis-pay-countdown-time {
  color: var(--pv-danger);
}

.parvis-pay-proof-card {
  width: 100%;
  margin-top: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  overflow: hidden;
}

.parvis-pay-proof-list {
  height: 137px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.parvis-pay-proof-item {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 8px;
  border: none;
  border-radius: 6px;
  background: #f5f5f7;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  box-shadow: none;
  transform: translateY(0);
  opacity: 1;
  transition: transform 240ms ease, opacity 240ms ease;
  text-align: left;
}

.parvis-pay-proof-item:nth-child(1),
.parvis-pay-proof-item:nth-child(4) {
  opacity: 0.72;
}

.parvis-pay-proof-item.is-entering {
  transform: translateY(-10px);
  opacity: 0;
}

.parvis-pay-proof-avatar {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dbe8ff;
  color: #ffffff;
}

.parvis-pay-proof-avatar svg {
  width: 18px;
  height: 18px;
}

.parvis-pay-proof-item strong {
  color: #9ca3af;
  font-weight: 600;
}

.parvis-pay-way {
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--pv-ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 160ms ease, background 160ms ease, transform 180ms ease;
}

.parvis-pay-way:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.16);
  background: var(--pv-bg);
}

.parvis-pay-way.is-selected {
  border-color: var(--pv-ink);
  background: rgba(0, 0, 0, 0.025);
}

.parvis-pay-method-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.parvis-pay-way--compact {
  align-items: center;
  margin-bottom: 0;
  padding: 10px 12px;
}

.parvis-pay-way--compact .parvis-pay-copy strong {
  font-size: 14px;
}

.parvis-pay-way--compact .pay-check {
  margin-left: auto;
}

.parvis-pay-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.parvis-pay-icon--wechat { background: #16a34a; }
.parvis-pay-icon--alipay { background: #1677ff; }

.parvis-pay-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.parvis-pay-copy { flex: 1; }

.parvis-pay-copy strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pv-ink);
  font-size: 16px;
}

.parvis-pay-copy span {
  display: block;
  margin-top: 2px;
  color: var(--pv-muted);
  font-size: 12px;
}

.parvis-pay-badge {
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(20, 167, 124, 0.1);
  color: var(--pv-green);
  font-size: 12px;
  font-weight: 600;
}

.pay-check {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid #cfd6df;
  border-radius: 50%;
  flex: 0 0 auto;
}

.parvis-pay-way.is-selected .pay-check {
  border-color: var(--pv-ink);
  background: var(--pv-ink);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.parvis-pay-confirm {
  width: 100%;
  margin-top: 2px;
  padding: 11px 12px;
  font-size: 16px;
}

.parvis-pay-note {
  margin-top: 0;
  text-align: center;
  color: var(--pv-faint);
  font-size: 12px;
}

.parvis-pay-note a {
  color: var(--pv-brand);
  font-weight: 600;
  text-decoration: none;
}

.parvis-pay-note a:hover {
  text-decoration: underline;
}

.parvis-pay-invoice-btn:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.parvis-qr-shell {
  text-align: center;
  padding: 8px 12px 28px;
}

.parvis-qr-box {
  display: inline-block;
  padding: 16px;
  margin: 22px 0 20px;
  border: 1px solid var(--pv-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.parvis-qr-box--direct {
  box-sizing: border-box;
  width: 248px;
  min-height: 248px;
  padding: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.parvis-qr-box.is-expired canvas,
.parvis-qr-box.is-expired img {
  filter: blur(3px);
  opacity: 0.4;
}

.parvis-qr-expired {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(1px);
}

.parvis-qr-expired-text {
  color: var(--pv-muted);
  font-size: 14px;
  font-weight: 600;
}

.parvis-qr-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--pv-ink);
  border-radius: 6px;
  background: var(--pv-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.parvis-qr-refresh-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.parvis-qr-box canvas,
.parvis-qr-box img {
  display: block;
  max-width: 224px;
  max-height: 224px;
}

.parvis-qr-placeholder {
  width: 224px;
  height: 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--pv-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.parvis-qr-placeholder--error {
  color: var(--pv-danger);
}

/* 支付成功页 */
.parvis-pay-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 8px;
}

.parvis-pay-success-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.parvis-pay-success-circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: parvis-pay-success-circle 0.45s ease-out forwards;
}

.parvis-pay-success-check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: parvis-pay-success-check 0.3s ease-out 0.4s forwards;
}

@keyframes parvis-pay-success-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes parvis-pay-success-check {
  to { stroke-dashoffset: 0; }
}

.parvis-pay-success-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--pv-ink);
  margin-bottom: 18px;
}

/* 头部：仅左上返回 + 右上关闭，无标题/描述 */
.parvis-pay-success-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.parvis-pay-success-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 6px;
  border: none;
  background: transparent;
  color: var(--pv-muted);
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.parvis-pay-success-back:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--pv-ink);
}

/* 占位：无返回按钮时仍把关闭挤到右侧 */
.parvis-pay-success-header > .parvis-modal-close {
  margin-left: auto;
}

.parvis-pay-success-detail {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
}

.parvis-pay-success-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.parvis-pay-success-label {
  color: var(--pv-muted);
  flex-shrink: 0;
}

.parvis-pay-success-value {
  color: var(--pv-ink);
  font-weight: 500;
  text-align: right;
}

.parvis-pay-success-price {
  font-weight: 600;
}

.parvis-pay-success-del {
  margin-left: 8px;
  color: var(--pv-muted);
  font-weight: 400;
  font-size: 14px;
}

.parvis-pay-success-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  width: 100%;
  max-width: 320px;
}

.parvis-pay-success-btn {
  flex: 1;
  width: auto;
  padding: 0 16px;
}

@media (max-width: 520px) {
  .parvis-pay-success-actions {
    flex-direction: column;
  }
}

.parvis-pay-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255, 178, 56, 0.12);
  color: #8a5b00;
  font-size: 14px;
  font-weight: 600;
}

.parvis-pay-status-row strong {
  color: var(--pv-ink);
  font-weight: 600;
}

.parvis-qr-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.parvis-qr-actions--direct {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding-top: 0;
}

.parvis-qr-actions--direct .parvis-modal-btn-primary {
  width: 100%;
  min-width: 0;
  padding: 0 24px;
}

.parvis-qr-tip {
  max-width: 420px;
  margin: 22px auto 0;
  padding: 13px 14px;
  border: 1px solid rgba(61, 115, 217, 0.18);
  border-radius: 10px;
  background: rgba(61, 115, 217, 0.055);
  color: var(--pv-muted);
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
}

.parvis-qr-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pv-brand);
}

.parvis-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.parvis-order-card {
  padding: 16px 18px;
  transition: border-color 160ms ease, background 160ms ease;
}

.parvis-order-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  background: var(--pv-bg);
}

.parvis-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.parvis-status-badge--pending {
  color: #9a5c00;
  background: rgba(255, 178, 56, 0.16);
}

.parvis-status-badge--success {
  color: #0f7b5f;
  background: rgba(20, 167, 124, 0.12);
}

.parvis-status-badge--danger {
  color: var(--pv-danger);
  background: rgba(216, 74, 58, 0.08);
}

.parvis-status-badge--muted {
  color: var(--pv-muted);
  background: rgba(0, 0, 0, 0.06);
}

.parvis-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.parvis-inline-btn {
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 160ms ease, border-color 160ms ease;
}

.parvis-inline-btn:hover { transform: translateY(-1px); }

.parvis-inline-btn--primary {
  border: none;
  background: var(--pv-ink);
  color: #ffffff;
}

.parvis-inline-btn--secondary {
  border: 1px solid var(--pv-border);
  background: #ffffff;
  color: var(--pv-ink);
}

.parvis-invoice-summary {
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.parvis-invoice-tip {
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 178, 56, 0.3);
  border-left-width: 3px;
  border-radius: 10px;
  background: rgba(255, 178, 56, 0.08);
  color: #8a5b00;
  font-size: 12px;
  line-height: 1.55;
}

.parvis-invoice-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.parvis-invoice-actions .parvis-modal-btn-primary {
  flex: 1;
}

.parvis-invoice-actions .parvis-modal-btn-secondary {
  width: auto;
  min-width: 86px;
}

.parvis-confirm-overlay { z-index: 99998; }

/* 文案内嵌的"增值包"链接按钮:看起来像链接,行为是按钮 */
.parvis-inline-link-btn {
  padding: 0;
  border: none;
  background: none;
  color: var(--pv-brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.parvis-inline-link-btn:hover {
  color: #2f5cb0;
}

.parvis-confirm-card {
  max-width: 380px;
  padding: 22px;
}

.parvis-confirm-title {
  margin: 0 0 8px;
  color: var(--pv-ink);
  font-size: 16px;
  font-weight: 600;
}

.parvis-confirm-message {
  margin: 0 0 22px;
  color: var(--pv-muted);
  font-size: 14px;
  line-height: 1.55;
}

.parvis-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.parvis-confirm-actions .parvis-modal-btn-primary,
.parvis-confirm-actions .parvis-modal-btn-secondary,
.parvis-confirm-actions .parvis-modal-btn-danger {
  width: auto;
  min-width: 96px;
  margin-top: 0;
  padding: 0 18px;
}

.parvis-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.parvis-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 9px 14px;
  border: 1px solid var(--pv-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  color: var(--pv-ink, #0a0a0a);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  pointer-events: auto;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.parvis-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.parvis-toast svg { flex: 0 0 auto; }

.parvis-toast--success svg { color: var(--pv-green, #14a77c); }
.parvis-toast--error svg   { color: var(--pv-danger, #d84a3a); }
.parvis-toast--info svg    { color: var(--pv-brand, #3d73d9); }
.parvis-toast--warning svg { color: var(--pv-amber, #ffb238); }

@media (max-width: 640px) {
  .parvis-modal-backdrop,
  .parvis-confirm-overlay {
    padding: 14px;
  }

  .parvis-modal-panel {
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .parvis-modal-panel > .parvis-modal-body,
  .parvis-modal-panel > .parvis-modal-scroll-body {
    min-height: 0;
    overflow-y: auto;
  }

  .parvis-confirm-card {
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
  }

  .parvis-modal-header {
    padding: 18px 18px 14px;
  }

  .parvis-modal-body,
  .parvis-modal-scroll-body {
    padding: 18px;
  }

  .parvis-modal-stat-grid,
  .parvis-modal-actions {
    grid-template-columns: 1fr;
  }

  .parvis-packages-grid {
    grid-template-columns: 1fr;
  }

  .parvis-modal-panel--payment {
    max-height: calc(100dvh - 28px);
  }

  .parvis-modal-panel--payment .parvis-modal-header {
    padding: 10px 12px 8px;
  }

  .parvis-modal-panel--payment .parvis-modal-title {
    margin-bottom: 2px;
    font-size: 16px;
  }

  .parvis-modal-panel--payment .parvis-modal-sub {
    font-size: 12px;
    line-height: 1.35;
  }

  .parvis-modal-panel--payment .parvis-modal-close {
    width: 32px;
    height: 32px;
  }

  .parvis-modal-panel--payment .parvis-modal-scroll-body {
    padding: 10px;
    overflow-y: auto;
  }

  .parvis-pay-direct-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .parvis-qr-zone {
    align-self: stretch;
    padding: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--pv-border);
  }

  .parvis-qr-stack {
    gap: 12px;
  }

  .parvis-qr-box--direct {
    width: min(100%, clamp(180px, 56vw, 230px));
    min-height: 0;
    aspect-ratio: 1;
    padding: 10px;
  }

  .parvis-qr-box canvas,
  .parvis-qr-box img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
  }

  .parvis-qr-placeholder {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 8px 4px;
    gap: 8px;
    font-size: 12px;
  }

  .parvis-qr-placeholder .parvis-spinner {
    width: 26px;
    height: 26px;
  }

  .parvis-pay-proof-list {
    height: auto;
    max-height: 96px;
    gap: 5px;
  }

  .parvis-pay-proof-item {
    min-height: 24px;
    justify-content: flex-start;
    gap: 5px;
    padding: 3px 6px;
    font-size: 12px;
    text-align: left;
  }

  .parvis-pay-proof-avatar {
    width: 18px;
    height: 18px;
  }

  .parvis-pay-proof-avatar svg {
    width: 14px;
    height: 14px;
  }

  .parvis-pay-side {
    padding: 0;
    gap: 10px;
  }

  .parvis-pay-price--large strong {
    font-size: 40px;
  }

  .parvis-pay-table-row {
    padding: 8px 0;
  }

  .parvis-pay-table-row span {
    font-size: 14px;
  }

  .parvis-pay-table-row strong {
    font-size: 14px;
  }

  .parvis-pay-countdown {
    font-size: 14px;
  }

  .parvis-pay-countdown-time {
    font-size: 16px;
  }

  .parvis-pay-method-row {
    gap: 6px;
  }

  .parvis-pay-way--compact {
    min-height: 36px;
    gap: 5px;
    padding: 8px 6px;
  }

  .parvis-pay-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 12px;
  }

  .parvis-pay-icon svg {
    width: 13px;
    height: 13px;
  }

  .parvis-pay-way--compact .parvis-pay-copy strong {
    font-size: 12px;
  }

  .pay-check {
    width: 13px;
    height: 13px;
  }

  .parvis-qr-actions--direct {
    justify-content: stretch;
    padding-top: 4px;
  }

  .parvis-qr-actions--direct .parvis-modal-btn-primary {
    width: 100%;
    min-width: 0;
    min-height: 40px;
  }

  .parvis-pay-note {
    font-size: 12px;
    line-height: 1.3;
  }

  .parvis-toast-container {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
  }
  .parvis-toast {
    max-width: 100%;
    white-space: normal;
  }
}

/* 简短合规页（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: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 10px;
  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: 28px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-meta {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 28px;
}

.legal-article h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-article p,
.legal-article li {
  font-size: 16px;
  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; }

.pricing-card.fade-in {
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card.fade-in.visible:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    transition-delay: 0s;
  }

  .pricing-card.fade-in.visible.featured:hover {
    border-color: var(--pv-ink);
    box-shadow: 0 0 0 1px var(--pv-ink);
  }

  .pricing-card.fade-in.visible.best-value:hover {
    border-color: var(--pv-brand);
    box-shadow: 0 0 0 1px var(--pv-brand);
  }

  .pricing-card.fade-in.visible:hover .btn {
    transform: translateY(-2px);
  }
}

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

/* 独立个人中心页（参考企业订单管理后台布局） */
.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: 10px;
  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: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: #1f2a44;
  margin: 0 0 4px;
}

.account-sub {
  margin: 0;
  color: #5a6782;
  font-size: 12px;
  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: 14px;
  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: 600;
  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: 10px;
  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: 16px;
  font-weight: 600;
  color: #1f2a44;
}

.overview-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
}
.overview-head-row h2 {
  margin: 0;
}

.account-panel p.section-help {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5b6781;
}

.overview-meta-row {
  display: flex;
  gap: 24px;
  margin: 0 0 14px;
  align-items: center;
  flex-wrap: wrap;
}
.overview-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.overview-meta-label {
  color: #8a94a6;
  flex-shrink: 0;
}
.overview-meta-value {
  color: #1d2433;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.overview-meta-value.copyable {
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 5px;
  transition: background 0.12s;
}
.overview-meta-value.copyable:hover {
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
}

.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: 10px;
  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: 12px;
  margin-bottom: 5px;
}

.account-kpi .value {
  color: #1f2a44;
  font-size: 20px;
  font-weight: 600;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-panel[data-section="overview"] .account-grid {
  grid-template-columns: minmax(0, 1fr);
}

.account-panel[data-section="overview"] .account-grid:has(> .account-card:nth-child(2)) > .account-card:first-child {
  display: none;
}

.account-card {
  border: 1px solid #e1e6f4;
  background: #fbfcff;
  border-radius: 10px;
  padding: 12px;
}

.account-card h3 {
  margin: 0 0 6px;
  color: #243253;
  font-size: 14px;
}

.account-card p {
  margin: 0 0 10px;
  color: #5b6781;
  font-size: 14px;
}

.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: 12px;
  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-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.usage-summary-label {
  font-size: 12px;
  color: #5b6781;
  font-weight: 600;
}

.usage-summary-value {
  font-size: 14px;
  color: #1d2433;
  font-weight: 600;
  text-align: left;
  margin-bottom: 8px;
}

.usage-trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 2px 0;
  min-height: 92px;
}

.usage-trend-title {
  text-align: center;
  margin-top: 6px;
}

.usage-trend-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.usage-trend-value {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.usage-trend-track {
  width: 100%;
  max-width: 32px;
  height: 60px;
  border-radius: 10px;
  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: 12px;
  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: 12px;
  color: #71809e;
  margin-bottom: 3px;
}

.usage-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
}

.usage-stat-value-ok {
  color: #1f8f5d;
}

.usage-last-update {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.quota-records-list {
  display: flex;
  flex-direction: column;
}
.quota-records-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  color: #8a94a6;
}
.quota-record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.quota-record-item + .quota-record-item {
  border-top: 1px solid #e7ecf7;
}
.quota-record-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.quota-record-source {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #1d2433;
}
.quota-record-expired {
  font-size: 12px;
  font-weight: 400;
  color: #8a94a6;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  padding: 1px 7px;
}
.quota-record-time {
  font-size: 12px;
  color: #8a94a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quota-record-amount {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #34c759;
}

.remain-points-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.remain-points-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.remain-points-total {
  font-size: 20px;
  font-weight: 600;
  color: #1d2433;
}
.remain-points-card .quota-records-list:empty {
  display: none;
}
.remain-points-card .quota-records-list {
  margin-top: 4px;
  gap: 0;
}
.remain-point-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e7ecf7;
}
.remain-point-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.remain-point-type {
  font-size: 14px;
  font-weight: 500;
  color: #8a94a6;
}
.remain-point-amount {
  font-size: 14px;
  font-weight: 600;
  color: #1d2433;
}
.remain-point-expiry {
  flex-shrink: 0;
  font-size: 12px;
  color: #8a94a6;
}

.account-subscription-status {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.account-subscription-empty,
.account-subscription-card {
  min-height: 44px;
  border-radius: 10px;
}

.account-subscription-empty {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f8f9fb;
  color: #6d7790;
  font-size: 14px;
}

.account-subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(63, 108, 224, 0.18);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.account-subscription-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b6781;
  font-size: 14px;
  white-space: nowrap;
}

.account-subscription-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(63, 108, 224, 0.1);
  color: #365daa;
  font-size: 12px;
  font-weight: 600;
}

/* 待生效块的标签:中性灰,区别于生效中的品牌蓝 */
.account-subscription-label--pending {
  background: rgba(60, 67, 88, 0.08);
  color: #6d7790;
}

/* 订阅表格排版:表头 + 行(套餐 / 状态 / 生效时间 / 到期时间) */
.account-sub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.account-sub-table thead th {
  padding: 0 12px 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #8a93a6;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.account-sub-table thead th:nth-child(2) { text-align: center; }
.account-sub-table thead th:nth-child(3),
.account-sub-table thead th:nth-child(4) { text-align: right; }

.account-sub-row > .account-sub-cell {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}

.account-sub-row:last-child > .account-sub-cell {
  border-bottom: none;
}

.account-sub-cell-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.account-sub-name {
  color: #203056;
  font-weight: 600;
}

.account-sub-cycle {
  color: #8a93a6;
  font-size: 12px;
}

.account-sub-cell:nth-child(2) { text-align: center; }

.account-sub-date {
  text-align: right;
  color: #4a5575;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.account-sub-row.is-pending .account-sub-name {
  color: #5b6781;
}

.account-subscription-main strong {
  overflow: hidden;
  color: #203056;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.account-subscription-days {
  flex: 0 0 auto;
  color: #365daa;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.account-subscription-days strong {
  font-weight: 600;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 240px));
  justify-content: start;
  align-items: stretch;
  gap: 16px;
}

.pricing-plan-card {
  border: 1px solid #e0e7f7;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-plan-card.featured {
  border-color: rgba(63, 108, 224, 0.55);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(63, 108, 224, 0.35);
}

.pricing-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-plan-card h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #203056;
}

.pricing-plan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(63, 108, 224, 0.16);
  background: rgba(63, 108, 224, 0.08);
  color: #365daa;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-plan-hero {
  padding: 18px;
  border: 1px solid #e5ebf7;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pricing-plan-points {
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
  color: #3a5fae;
  letter-spacing: 0;
}

.pricing-plan-price-block {
  display: grid;
  gap: 7px;
}

.pricing-plan-price {
  color: #1f2a44;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
}

.pricing-plan-price span {
  margin-left: 2px;
  color: #7b8498;
  font-size: 14px;
  font-weight: 600;
}

.pricing-plan-price-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 1.3em;
  line-height: 1.2;
}

.pricing-plan-original {
  font-size: 14px;
  color: #8993a8;
  text-decoration: line-through;
  text-decoration-color: rgba(91, 103, 129, 0.45);
  font-weight: 500;
}

.pricing-plan-discount {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #FF3B30;
  background: rgba(255, 59, 48, 0.1);
  border-radius: 6px;
  padding: 2px 6px;
  letter-spacing: 0;
}


.pricing-plan-meta,
.pricing-plan-desc {
  color: #5b6781;
  font-size: 14px;
}

.pricing-plan-desc {
  margin-top: 14px;
  line-height: 1.6;
}

.pricing-plan-save {
  min-height: 1.4em;
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
}

.pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  flex: 1;
  display: grid;
  align-content: start;
  gap: 7px;
}

.pricing-plan-features li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  line-height: 1.35;
  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;
}

.plan-cta {
  margin-top: auto;
}

.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: 14px;
  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: 12px;
  color: #a5630f;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.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 var(--stroke);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.16s ease-out, border-color 0.16s ease-out, color 0.16s ease-out, background 0.16s ease-out;
}

.mini-btn:hover {
  background: var(--pv-surface-tint);
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.mini-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  border-color: var(--stroke);
  color: #8a95ad;
  background: #fff;
}

.mini-btn.primary {
  background: var(--btn-primary-bg);
  border-color: transparent;
  color: var(--btn-primary-text);
}

.mini-btn.primary:hover {
  background: var(--btn-primary-hover);
  border-color: transparent;
  color: var(--btn-primary-text);
}

.mini-btn.primary:disabled {
  background: var(--btn-primary-bg);
  border-color: transparent;
  color: var(--btn-primary-text);
}

.invoice-note {
  font-size: 12px;
  color: #7a88a3;
  margin-top: 10px;
}

@media (min-width: 1025px) {
  body.account-page {
    min-height: calc(100dvh / var(--page-scale));
    height: calc(100dvh / var(--page-scale));
    overflow: hidden;
  }

  .account-shell {
    width: 100%;
    max-width: var(--container);
    height: calc(100dvh / var(--page-scale));
    padding: 88px 20px 24px;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  .account-sidebar {
    position: relative;
    top: auto;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
  }

  .account-sidebar-head {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .account-menu {
    gap: 6px;
    margin-bottom: 12px;
  }

  .account-menu-btn {
    min-height: 40px;
    padding: 10px 12px;
  }

  .account-sidebar-tip {
    margin-top: auto;
  }

  .account-content {
    min-height: 0;
    display: flex;
  }

  .account-panel:not(.hidden) {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-bottom: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .account-panel p.section-help {
    margin-bottom: 14px;
  }

  .account-panel-head {
    flex: 0 0 auto;
  }

  .account-panel[data-section="overview"]:not(.hidden) {
    gap: 14px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
  }

  .overview-head-row {
    flex-wrap: wrap;
  }

  .account-panel[data-section="overview"] p.section-help {
    margin-bottom: 0;
  }

  .account-kpi {
    flex: 0 0 auto;
    gap: 12px;
  }

  .account-kpi .item {
    min-height: 88px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .account-grid {
    min-height: 0;
    gap: 12px;
  }

  .account-panel[data-section="overview"] .account-grid {
    flex: 0 0 auto;
    margin-top: 0 !important;
    grid-template-columns: minmax(0, 1fr);
  }

  .account-grid > .account-card,
  .usage-card {
    min-height: 0;
  }

  .account-panel[data-section="overview"] .account-grid > .account-card {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .usage-card {
    justify-content: flex-start;
  }

  .usage-trend-chart {
    flex: 0 0 auto;
    min-height: 150px;
    max-height: 200px;
    margin-top: 10px;
  }

  .usage-trend-track {
    height: clamp(64px, 13vh, 118px);
  }

  .usage-stats-grid {
    flex: 0 0 auto;
  }

  .account-subscription-status {
    grid-template-columns: none;
  }

  .pricing-plan-grid,
  .account-table-wrap,
  #invoiceList {
    flex: 1;
    min-height: 0;
    overflow: auto;
  }

  .pricing-plan-grid {
    grid-auto-rows: auto;
    align-content: start;
    align-items: stretch;
    padding: 1px 2px 2px 1px;
    scrollbar-gutter: stable;
  }

  .pricing-plan-card {
    min-height: max-content;
    height: 100%;
  }

  .account-table-wrap {
    border: 1px solid #e1e6f4;
    border-radius: 10px;
  }

  .account-table-wrap .order-table {
    border: 0;
    border-radius: 0;
  }

  .orders-pagination,
  .invoice-note {
    flex: 0 0 auto;
  }

  .account-panel[data-section="feedback"]:not(.hidden) > .account-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .account-panel[data-section="feedback"] textarea {
    flex: 1;
    min-height: 180px;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .pricing-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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-subscription-card,
  .account-subscription-main {
    align-items: flex-start;
  }
  .account-subscription-card {
    flex-direction: column;
    gap: 8px;
  }
  .account-subscription-main {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }
  .account-subscription-days {
    white-space: normal;
  }
  .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;
  }
}

@media (max-width: 1024px) {
  body.account-page .site-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .account-shell {
    padding-top: 134px;
  }

  .account-sidebar {
    display: contents;
  }

  .account-sidebar-head,
  .account-sidebar-tip {
    display: none;
  }

  .account-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 96;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(46, 74, 136, 0.12);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
    box-shadow: none;
  }

  .account-menu::-webkit-scrollbar {
    display: none;
  }

  .account-menu-btn {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    padding: 9px 12px;
  }
}
