:root {
  --bg: #06060f;
  --bg-card: #0f0f1a;
  --bg-elevated: #161625;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f5;
  --text-muted: #8b8ba3;
  --primary: #7c5cff;
  --primary-light: #a78bfa;
  --accent: #22d3ee;
  --gradient: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Background glow */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.bg-glow::before {
  width: 600px;
  height: 600px;
  background: #7c5cff;
  top: -200px;
  right: -100px;
}

.bg-glow::after {
  width: 500px;
  height: 500px;
  background: #22d3ee;
  bottom: -150px;
  left: -100px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* Product mega dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown.open .nav-dropdown-trigger,
.nav-item-dropdown:hover .nav-dropdown-trigger {
  color: #4d8dff;
}

.nav-dropdown-caret {
  transition: transform 0.2s;
}

.nav-item-dropdown.open .nav-dropdown-caret,
.nav-item-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

.product-mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 28px 32px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}

.product-mega-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.04);
}

.product-mega-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 36px;
}

.product-mega-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.product-mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  color: #1f2937 !important;
  font-size: 0.92rem;
  transition: background 0.15s;
  white-space: nowrap;
}

.product-mega-link:hover {
  background: #f3f6ff;
  color: #2563eb !important;
}

.product-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #4d8dff;
  display: grid;
  place-items: center;
}

.product-icon svg {
  width: 20px;
  height: 20px;
}

.product-label {
  flex: 1;
}

.product-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.badge-hot {
  background: linear-gradient(135deg, #ff6b4a, #ff3b30);
  color: #fff;
}

.badge-free {
  background: linear-gradient(135deg, #ffb347, #ff8c00);
  color: #fff;
}

.badge-new {
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: #fff;
}

@media (hover: hover) and (min-width: 769px) {
  .nav-item-dropdown:hover .product-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.nav-item-dropdown.open .product-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: inherit;
}

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

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.5);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 92, 255, 0.3);
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-video-card {
  position: relative;
  transition: box-shadow 0.4s, border-color 0.4s;
}

.hero-video-card.is-playing {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 24px 80px rgba(124, 92, 255, 0.18), 0 8px 32px rgba(0, 0, 0, 0.45);
}

.hero-video-player {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a1a2e 0%, #0a0a14 55%, #12122a 100%);
  overflow: hidden;
  cursor: pointer;
}

.hero-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a14;
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 15, 0.15) 0%,
    rgba(6, 6, 15, 0.05) 40%,
    rgba(6, 6, 15, 0.55) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: 2;
}

.hero-video-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.hero-video-player.is-playing .hero-video-shade {
  opacity: 0.25;
}

.hero-video-player.is-idle .hero-video-shade {
  opacity: 1;
}

.hero-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 4;
  display: grid;
  place-items: center;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  animation: hero-ring-pulse 2.8s ease-out infinite;
}

.hero-play-ring-2 {
  inset: -12px;
  border-color: rgba(124, 92, 255, 0.2);
  background: transparent;
  animation-delay: -1.4s;
}

.hero-play-core {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(34, 211, 238, 0.85));
  box-shadow: 0 8px 32px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  padding-left: 4px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-video-play:hover .hero-play-core {
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-video-player.is-playing .hero-video-play {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.hero-video-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 6, 15, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
  animation: hero-live-blink 2s ease-in-out infinite;
}

.hero-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 15, 0.85));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.hero-video-player.is-playing .hero-video-controls,
.hero-video-player.show-controls .hero-video-controls {
  opacity: 1;
  transform: translateY(0);
}

.hero-video-controls[hidden] {
  display: none !important;
}

.hv-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.hv-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hv-toggle .hv-icon-play { display: none; }
.hv-toggle.is-paused .hv-icon-pause { display: none; }
.hv-toggle.is-paused .hv-icon-play { display: block; }

#heroVideoMute .hv-icon-muted { display: none; }
#heroVideoMute.is-muted .hv-icon-vol { display: none; }
#heroVideoMute.is-muted .hv-icon-muted { display: block; }

.hv-progress-wrap {
  flex: 1;
  padding: 8px 0;
  cursor: pointer;
}

.hv-progress-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: visible;
}

.hv-progress-buffer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.2);
}

.hv-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c5cff, #22d3ee);
}

.hv-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(124, 92, 255, 0.6);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s;
}

.hv-progress-wrap:hover .hv-progress-thumb,
.hero-video-player.show-controls .hv-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.hv-time {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

@keyframes hero-ring-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes hero-live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-video-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hero-video-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.hero-video-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-card-footer {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-tag {
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary-light);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lang-tag:hover {
  background: rgba(124, 92, 255, 0.2);
}

.lang-tag.active {
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.45);
  color: #c4b5fd;
}

.floating-badge {
  position: absolute;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.top-right {
  top: -20px;
  right: -20px;
}

.floating-badge.bottom-left {
  bottom: 40px;
  left: -30px;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.workflow-step {
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.workflow-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Use cases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.usecase-card {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.usecase-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.highlight-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.highlight-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .icon {
  font-size: 1.25rem;
  color: var(--primary-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* CTA */
.cta-section {
  padding: 80px 0 100px;
}

.cta-box {
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.2), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Workspace */
.workspace {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(124, 92, 255, 0.1);
  color: var(--primary-light);
}

.sidebar-nav a .icon {
  font-size: 1.1rem;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.credits-box {
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.85rem;
}

.credits-box strong {
  display: block;
  font-size: 1.1rem;
  margin-top: 4px;
  color: var(--accent);
}

.workspace-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.workspace-header {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 6, 15, 0.6);
  backdrop-filter: blur(10px);
}

.workspace-header h1 {
  font-size: 1.15rem;
  font-weight: 600;
}

.workspace-body {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
}

.upload-zone {
  border: 2px dashed rgba(124, 92, 255, 0.4);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  background: var(--gradient-soft);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(124, 92, 255, 0.12);
}

.upload-zone .upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.upload-zone h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.upload-zone p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.upload-zone.has-file {
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(34, 211, 238, 0.08);
}

.upload-zone.has-file .upload-icon {
  opacity: 0.5;
}

.upload-preview {
  width: 100%;
  max-height: 220px;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  background: #0a0a14;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.upload-hint.ready {
  color: var(--accent);
}

.swap-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.swap-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.swap-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  font-weight: 700;
  font-size: 0.75rem;
}

.swap-step.active {
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--text);
  background: rgba(34, 211, 238, 0.08);
}

.swap-step.active span {
  background: var(--accent);
  color: #0a0a14;
}

.swap-step.done span {
  background: rgba(34, 211, 238, 0.35);
  color: var(--text);
}

.swap-tips {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.swap-tips strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.swap-tips ul {
  margin: 0;
  padding-left: 18px;
}

.engine-tier-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.engine-tier-card {
  position: relative;
  padding: 28px 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 88px;
}

.engine-tier-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.engine-tier-card strong {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-right: 48px;
  line-height: 1.3;
}

.engine-tier-card span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  opacity: 0.88;
}

.engine-tier-card .tier-estimate {
  font-size: 0.7rem;
  color: rgba(124, 92, 255, 0.85);
  margin-top: 2px;
}

.engine-tier-card .tier-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-style: normal;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  color: rgba(200, 180, 255, 0.95);
}

.engine-tier-card.active {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
}

.engine-tier-card.active strong {
  color: var(--text);
}

.body-mode-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.body-mode-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.body-mode-card strong {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.body-mode-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  opacity: 0.85;
}

.body-mode-card.active {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
}

.body-mode-card.active strong {
  color: var(--primary-light);
}

.body-mode-card.active span {
  color: var(--text);
  opacity: 1;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.panel h3 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.checkbox-chip:has(input:checked) {
  border-color: var(--primary);
  background: rgba(124, 92, 255, 0.15);
}

.checkbox-chip input {
  accent-color: var(--primary);
}

.preview-area {
  aspect-ratio: 16/9;
  background: #0a0a14;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.preview-area video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-steps {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.process-step {
  flex: 1;
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.process-step.active {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(124, 92, 255, 0.1);
}

.process-step.done {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--accent);
}

.progress-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.5s ease;
}

.hidden {
  display: none !important;
}

/* Projects list */
.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
}

.project-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e, #0d0d18);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.project-info {
  padding: 16px;
}

.project-info h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.status-badge.done {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
}

.status-badge.processing {
  background: rgba(124, 92, 255, 0.15);
  color: var(--primary-light);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .workflow-steps::before {
    display: none;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 4px 0;
  }

  .product-mega-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    background: var(--bg-elevated);
    box-shadow: none;
    border: 1px solid var(--border);
  }

  .product-mega-menu::before {
    display: none;
  }

  .product-mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-mega-title {
    color: var(--text-muted);
  }

  .product-mega-link {
    color: var(--text) !important;
    margin: 0;
    padding: 8px 6px;
  }

  .product-mega-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text) !important;
  }

  .nav-item-dropdown:not(.open) .product-mega-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-video-play {
    width: 72px;
    height: 72px;
  }

  .hero-play-core {
    width: 54px;
    height: 54px;
  }

  .hero-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lang-tags {
    width: 100%;
  }

  .features-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .sidebar {
    display: none;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .auth-card {
    padding: 32px 24px;
  }

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

  .pricing-card.featured {
    transform: none;
  }
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 40px;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text);
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form .btn {
  width: 100%;
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary-light);
}

.auth-error {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}

.auth-error.show {
  display: block;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--gradient-soft);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pricing-price {
  margin: 20px 0;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* SoundView-style pricing (light panel) */
.pricing-section,
.pricing-rights-section {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
}

.pricing-light-panel {
  background: #fff;
  color: #1b1e22;
  border-radius: 20px;
  padding: 48px 40px 56px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.pricing-rights-section {
  padding-top: 0;
}

.sv-pricing-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #1b1e22;
  margin-bottom: 28px;
}

.sv-pricing-subtitle {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 48px 0 24px;
  color: #1b1e22;
}

.sv-pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.sv-billing-rules {
  color: #1f26ff;
  font-size: 0.9rem;
  font-weight: 500;
}

.sv-billing-rules:hover {
  text-decoration: underline;
}

.sv-period-tabs {
  display: inline-flex;
  gap: 0;
  padding: 4px;
  background: #f2f3f5;
  border-radius: 999px;
}

.sv-period-tabs button {
  border: none;
  background: transparent;
  color: #8a9099;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sv-period-tabs button.active {
  background: #fff;
  color: #1b1e22;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.sv-plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #edeef0;
  border-radius: 16px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}

.sv-plan-card.featured {
  border-color: #1f26ff;
  box-shadow: 0 8px 32px rgba(31, 38, 255, 0.12);
}

.sv-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 28px;
}

.sv-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1b1e22;
}

.sv-plan-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.sv-plan-badge-hot {
  background: linear-gradient(90deg, #ff4d4f, #ff7875);
  color: #fff;
}

.sv-plan-badge-sale {
  background: linear-gradient(90deg, #ff7a45, #ffa940);
  color: #fff;
}

.sv-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.sv-price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f26ff;
}

.sv-price-main {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1f26ff;
  line-height: 1;
}

.sv-price-origin {
  font-size: 0.85rem;
  color: #8a9099;
  text-decoration: line-through;
  margin-left: 6px;
}

.sv-plan-valid {
  font-size: 0.8rem;
  color: #8a9099;
  margin-bottom: 16px;
}

.sv-plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f26ff;
  background: #f5f7ff;
  border: 1px solid #bac6ff;
  margin-bottom: 20px;
  cursor: pointer;
  font-family: inherit;
}

.sv-plan-btn-primary {
  color: #fff;
  background: #1f26ff;
  border-color: #1f26ff;
}

.sv-plan-btn:hover,
.sv-plan-btn-primary:hover {
  opacity: 0.92;
}

.sv-plan-quota {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid #f2f3f5;
  border-bottom: 1px solid #f2f3f5;
  margin-bottom: 16px;
}

.sv-plan-quota-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #1b1e22;
}

.sv-plan-quota-label {
  font-size: 0.82rem;
  color: #8a9099;
}

.sv-plan-voice-block {
  margin-bottom: 14px;
}

.sv-plan-voice-title {
  font-size: 0.82rem;
  color: #8a9099;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sv-plan-voice-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1b1e22;
}

.sv-plan-other-title {
  font-size: 0.82rem;
  color: #8a9099;
  margin-bottom: 10px;
}

.sv-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sv-plan-features li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.4;
}

.sv-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f26ff;
  font-weight: 700;
  font-size: 0.75rem;
}

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

.sv-point-pack {
  border: 1px solid #edeef0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.sv-point-pack-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f2f3f5;
  margin-bottom: 12px;
}

.sv-point-star {
  color: #1f26ff;
  font-size: 1.1rem;
}

.sv-point-pack-qty {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f26ff;
}

.sv-point-pack-usage {
  flex: 1;
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.65;
}

.sv-point-pack-usage-title {
  font-weight: 600;
  color: #1b1e22;
  margin-bottom: 6px;
}

.sv-point-pack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f2f3f5;
}

.sv-point-pack-price strong {
  display: block;
  font-size: 1.2rem;
  color: #1b1e22;
}

.sv-point-pack-price s {
  font-size: 0.78rem;
  color: #8a9099;
}

.sv-point-buy {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1f26ff;
  background: #f5f7ff;
  border: 1px solid #bac6ff;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.sv-pricing-footnote {
  text-align: center;
  font-size: 0.78rem;
  color: #8a9099;
  margin-top: 16px;
}

.sv-voice-pack-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  border: 1px solid #edeef0;
  border-radius: 16px;
  padding: 24px;
  background: #fafbfc;
}

.sv-voice-promo {
  background: linear-gradient(135deg, #eef1ff 0%, #f5f7ff 50%, #e8ecff 100%);
  border-radius: 12px;
  padding: 28px 22px;
}

.sv-voice-promo-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.sv-voice-promo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sv-voice-promo li {
  position: relative;
  padding: 8px 0 8px 14px;
  font-size: 0.88rem;
  color: #1f26ff;
  font-weight: 500;
  line-height: 1.45;
}

.sv-voice-promo li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.sv-voice-picker {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sv-voice-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sv-voice-opt {
  flex: 1;
  min-width: 72px;
  max-width: 100px;
  padding: 14px 8px;
  border: 1px solid #edeef0;
  border-radius: 10px;
  background: #f7f8fa;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.sv-voice-opt.active {
  background: #1f26ff;
  border-color: #1f26ff;
  color: #fff;
}

.sv-voice-opt-qty {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sv-voice-opt-unit {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f26ff;
}

.sv-voice-opt.active .sv-voice-opt-unit {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sv-voice-picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #edeef0;
}

.sv-voice-total {
  font-size: 1rem;
  color: #1b1e22;
}

.sv-voice-total strong {
  font-size: 1.35rem;
  color: #1b1e22;
}

.sv-voice-buy {
  padding: 11px 48px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f26ff;
  background: #f5f7ff;
  border: 1px solid #bac6ff;
}

.sv-enterprise-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  margin-bottom: 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f26ff 0%, #4f5dff 100%);
  color: #fff;
}

.sv-enterprise-banner h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.sv-enterprise-banner p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.sv-enterprise-contact {
  padding: 10px 24px;
  border-radius: 999px;
  background: #fff;
  color: #1f26ff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sv-rights-compare-wrap {
  overflow-x: auto;
  border: 1px solid #edeef0;
  border-radius: 12px;
}

.sv-rights-compare {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.sv-rights-compare th,
.sv-rights-compare td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #f2f3f5;
  vertical-align: middle;
}

.sv-rights-compare thead th {
  background: #fafbfc;
  font-weight: 600;
  color: #1b1e22;
  padding: 16px 14px;
}

.sv-rc-corner {
  width: 180px;
}

.sv-rc-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 500;
  color: #1f26ff;
  background: #eef1ff;
  border-radius: 4px;
  vertical-align: middle;
}

.sv-rc-group td {
  text-align: left;
  font-weight: 700;
  color: #1f26ff;
  background: #f5f7ff;
  padding: 12px 16px;
}

.sv-rc-group-icon {
  margin-right: 8px;
}

.sv-rc-feature {
  text-align: left !important;
  color: #4b5563;
  padding-left: 20px !important;
  width: 180px;
}

.sv-rc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f26ff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.sv-rc-dash {
  color: #c7c7c7;
}

@media (max-width: 1024px) {
  .sv-plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .sv-point-packs {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-voice-pack-wrap {
    grid-template-columns: 1fr;
  }
}

/* 订阅收银台 / 会员门槛 */
.sv-pay-modal,
.sv-member-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-pay-modal.hidden,
.sv-member-modal.hidden {
  display: none;
}

.sv-pay-backdrop,
.sv-member-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.sv-pay-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: min(920px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.sv-pay-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  z-index: 2;
}

.sv-pay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.sv-pay-order {
  background: #f8fafc;
  padding: 28px 24px;
  border-right: 1px solid #e2e8f0;
}

.sv-pay-order h3 {
  font-size: 1rem;
  margin: 0 0 16px;
}

.sv-pay-order-block {
  margin-bottom: 16px;
}

.sv-pay-order-subtitle {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 8px;
}

.sv-pay-order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #334155;
}

.sv-pay-order-row span:first-child {
  color: #64748b;
}

.sv-pay-discount span:last-child {
  color: #ef4444;
}

.sv-pay-order-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
}

.sv-pay-order-total strong {
  font-size: 1.75rem;
  color: #ef4444;
  font-weight: 700;
}

.sv-pay-checkout {
  padding: 28px 32px;
  text-align: center;
}

.sv-pay-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sv-pay-method {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}

.sv-pay-method.active {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #15803d;
}

.sv-pay-qr-box {
  margin: 0 auto 12px;
}

.sv-pay-qr-frame {
  display: inline-block;
  padding: 12px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
}

.sv-pay-qr-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 8px;
}

.sv-pay-stripe-btn {
  display: inline-block;
  margin: 12px auto 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #635bff, #4f46e5);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.sv-pay-stripe-btn.hidden {
  display: none;
}

.sv-pay-qr-box.hidden {
  display: none;
}

.sv-pay-timer {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 12px 0;
}

.sv-pay-agree {
  font-size: 1rem;
  font-weight: 700;
  color: #ef4444;
  margin: 8px 0;
}

.sv-pay-legal,
.sv-pay-support {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 6px 0;
}

.sv-pay-legal a {
  color: #3b82f6;
}

.sv-pay-no-method {
  color: #ef4444;
  font-size: 0.875rem;
}

/* 会员门槛弹窗 */
.sv-member-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: min(420px, 92vw);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sv-member-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  z-index: 2;
}

.sv-member-head {
  height: 72px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e2e8f0 100%);
}

.sv-member-body {
  padding: 20px 24px 24px;
}

.sv-member-icon {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.sv-member-body h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
}

.sv-member-body p {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.sv-member-ok {
  float: right;
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 768px) {
  .sv-pay-layout {
    grid-template-columns: 1fr;
  }

  .sv-pay-order {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .pricing-light-panel {
    padding: 32px 20px 40px;
  }

  .sv-point-packs {
    grid-template-columns: 1fr;
  }

  .sv-enterprise-banner {
    flex-direction: column;
    text-align: center;
  }
}
