/* Landing & Product Showcase Styling */

.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin: 20px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Counter Section */
.stats-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 30px 0;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 24px;
}

.stat-item h3 {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

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

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-fast);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-fast);
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(16, 28, 56, 0.9) 0%, rgba(8, 12, 26, 0.95) 100%);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.2);
  transform: scale(1.03);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 2.3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 4px 0;
  white-space: nowrap;
}

.pricing-price span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Free Plan Disabled Items (Red Cross Icon) */
.pricing-features li.disabled {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-features li.disabled::before {
  content: '✕';
  color: #ff5555;
  font-weight: bold;
}

/* 16:9 Video Showcase Component */
.video-showcase-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 242, 254, 0.15), 0 0 30px rgba(127, 0, 255, 0.1);
  background: #04060d;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-showcase-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 40+ Fine-Tune Control Parameters Showcase Panel */
.params-showcase-wrapper {
  margin-top: 60px;
}

.params-hero-card {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(127, 0, 255, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.param-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.param-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.param-card-title {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
}

.param-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.param-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.param-list li::before {
  content: '⚙️';
  font-size: 0.8rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .pricing-card.popular {
    transform: none;
  }
}

/* Original Music Showcase Section Styling */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.music-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.music-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.12);
}

.vinyl-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.record-vinyl {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2a35 0%, #11131f 40%, #070913 70%, #1a1c2b 100%);
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s ease;
}

.record-vinyl::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.record-label {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  z-index: 2;
}

.record-vinyl.spinning {
  animation: spinRecord 6s linear infinite;
}

@keyframes spinRecord {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.music-info {
  text-align: center;
  flex-grow: 1;
}

.music-title {
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.music-genre {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.music-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.play-controls {
  margin-bottom: 20px;
}

.btn-play-audio {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-play-audio:hover {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #070913;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.platform-links {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.platform-links span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.platform-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: scale(1.15);
}

/* Safe High-Fidelity YouTube Video Component */
.youtube-video-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #070913;
  margin-bottom: 20px;
}

.youtube-poster-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.youtube-video-card:hover .youtube-poster-img {
  transform: scale(1.04);
}

.youtube-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 19, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.youtube-play-overlay:hover {
  background: rgba(7, 9, 19, 0.15);
}

.youtube-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.youtube-play-overlay:hover .youtube-play-btn {
  transform: scale(1.18);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.9);
}

.platform-white-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.platform-white-icon:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.18);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* ==========================================================================
   Documentation Center & Parameter Guide Styles (docs-sidebar, doc-card)
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

@media (max-width: 992px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

.docs-sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.docs-nav-item a:hover,
.docs-nav-item.active a {
  color: #ffffff;
  background: rgba(0, 242, 254, 0.1);
  border-left: 3px solid var(--accent-cyan);
}

.doc-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.doc-section-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.doc-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-param-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.doc-param-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-code-tag {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
}

.doc-param-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.doc-recommend-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ==========================================================================
   Docs Page: Bilingual (zh/en) Full Separation — No mixing in same text
   ========================================================================== */
.doc-en { display: none; }                        /* English hidden by default (zh mode) */
html[lang="en"] .doc-en { display: revert; }      /* English shown in en mode */
html[lang="en"] .doc-zh { display: none; }        /* Chinese hidden in en mode */

/* ==========================================================================
   Docs Page: Parameter Type Badges, Range Info, Group Headers
   ========================================================================== */
.doc-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
}
.doc-type-range    { color: #38bdf8; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.3); }
.doc-type-checkbox { color: #fb923c; background: rgba(251,146,60,0.12); border: 1px solid rgba(251,146,60,0.3); }
.doc-type-select   { color: #a78bfa; background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.3); }
.doc-type-color    { color: #f472b6; background: rgba(244,114,182,0.12); border: 1px solid rgba(244,114,182,0.3); }
.doc-type-system   { color: #94a3b8; background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.3); }

.doc-range-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 8px 0 10px 0;
  padding: 8px 14px;
  background: rgba(255,255,255,0.025);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}
.doc-range-info span strong { color: #e2e8f0; font-weight: 700; }

.doc-param-group { margin-bottom: 8px; }
.doc-param-group-title {
  font-size: 0.83rem;
  font-weight: 800;
  color: rgba(0,242,254,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0 10px 0;
  margin: 20px 0 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.doc-option-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px 0; }
.doc-option-tag {
  font-size: 0.78rem;
  font-family: 'Courier New', monospace;
  color: #c4b5fd;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.doc-param-en {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

.doc-param-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

