/* ===== 彩色音符乐谱编辑器官网 ===== */
/* 设计理念：蓝色商务主题 —— 蓝灰底调，科技专业，沉稳可信 */

/* CSS 变量 */
:root {
  --bg-primary: #F0F4F8;
  --bg-secondary: #E5ECF3;
  --bg-card: #FFFFFF;
  --bg-card-hover: #EAF1F8;
  --border-subtle: #D2DCE8;
  --text-primary: #1A2B4A;
  --text-secondary: #4A5A7A;
  --text-muted: #8A9AB5;
  --accent-gold: #2563EB;
  --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  --note-red: #DC2626;
  --note-pink: #DB2777;
  --note-brown: #92400E;
  --note-yellow: #CA8A04;
  --note-green: #16A34A;
  --note-blue: #2563EB;
  --note-purple: #7C3AED;
  --font-display: 'Playfair Display', 'Noto Serif SC', 'Microsoft YaHei', serif;
  --font-body: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 12px rgba(37, 99, 235, 0.10);
  --shadow-hover: 0 8px 28px rgba(37, 99, 235, 0.18);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 通用文字 */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== 顶部导航 ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 244, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s;
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-icon {
  display: flex;
  align-items: center;
  gap: 3px;
}

.logo-icon span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.logo-icon span:nth-child(1) { background: var(--note-red); animation: bounce 1.5s infinite; }
.logo-icon span:nth-child(2) { background: var(--note-yellow); animation: bounce 1.5s infinite 0.2s; }
.logo-icon span:nth-child(3) { background: var(--note-green); animation: bounce 1.5s infinite 0.4s; }
.logo-icon span:nth-child(4) { background: var(--note-blue); animation: bounce 1.5s infinite 0.6s; }
.logo-icon span:nth-child(5) { background: var(--note-purple); animation: bounce 1.5s infinite 0.8s; }

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

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

nav a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

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

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-download {
  background: var(--accent-gradient);
  color: #0A0A0F !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
  color: #0A0A0F !important;
}

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(166, 108, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(77, 150, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
    var(--bg-primary);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  color: var(--text-primary);
}

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

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-primary);
  opacity: 0.82;
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.7;
  text-indent: 2em;
  text-align: left;
}

.hero-slogan {
  margin: 0 auto 8px;
  max-width: 600px;
  text-align: center;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0A0A0F;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.4);
  color: #0A0A0F;
}

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

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num .unit {
  font-size: 20px;
  color: var(--accent-gold);
  margin-left: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 浮动音符背景 */
.floating-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-note {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.25;
  animation: float 20s linear infinite;
  box-shadow: 0 0 16px currentColor;
}

.floating-note.diamond {
  border-radius: 4px;
  transform: rotate(45deg);
}

.floating-note.hollow {
  border: 2px solid currentColor;
  background: transparent;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* 五线谱背景 */
.staff-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 38px,
    var(--text-primary) 38px,
    var(--text-primary) 40px
  );
  pointer-events: none;
}

/* ===== 区段通用 ===== */
.section {
  padding: 100px 32px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}

.section-sub {
  color: #C6C6D1;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== 功能卡片 ===== */
.features {
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 107, 107, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 75% 75%, rgba(77, 150, 255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color, var(--text-secondary));
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--icon-bg, rgba(255, 215, 0, 0.1));
  color: var(--card-color, var(--accent-gold));
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== 软件演示 ===== */
.showcase {
  background: var(--bg-primary);
}

.showcase-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 1080px;
  margin: 0 auto;
}

.window-bar {
  background: var(--bg-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dot:nth-child(1) { background: #FF5F56; }
.window-dot:nth-child(2) { background: #FFBD2E; }
.window-dot:nth-child(3) { background: #27C93F; }

.window-title {
  margin-left: 12px;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-body);
}

.window-content {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  min-height: 400px;
}

.window-content > div {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.note-display {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.note-staff {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  height: 80px;
  border-bottom: 2px solid var(--text-secondary);
  border-top: 1px solid var(--text-secondary);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 16px,
    var(--text-muted) 16px,
    var(--text-muted) 17px
  );
  padding: 0 12px;
}

.note-staff::before, .note-staff::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--text-muted);
}

.note-staff::before { top: 16px; }
.note-staff::after { bottom: 16px; }

.note-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 12px currentColor;
}

.note-dot::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ===== 适用场景 ===== */
.scenarios {
  background: var(--bg-secondary);
}

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

.scenario-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s;
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.scenario-emoji {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.scenario-card h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.scenario-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===== 用户评价 ===== */
.testimonials {
  background: var(--bg-primary);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--accent-gold);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0F;
  font-weight: 700;
  font-size: 16px;
}

.author-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

.author-role {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== 授权模式 ===== */
.license {
  background: var(--bg-secondary);
}

.license-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
}

.license-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.license-step .step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  color: #0A0A0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.license-step .step-icon {
  font-size: 36px;
  margin: 16px 0 12px;
}

.license-step h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.license-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.license-rules {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.license-rules h3 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.license-rules ul {
  list-style: none;
  padding: 0;
}

.license-rules li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.license-rules li:last-child {
  border-bottom: none;
}

.license-rules li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 60%),
    var(--bg-primary);
  text-align: center;
  padding: 120px 32px;
}

.cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

.cta p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 32px 32px;
}

.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 16px 0 20px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-body);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.footer-bottom p {
  margin: 4px 0;
}

.footer-warning {
  color: var(--note-orange);
  font-weight: 500;
  margin-top: 12px;
}

/* ===== 页面内容（子页面）===== */
.page-hero {
  padding: 180px 32px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
    var(--bg-primary);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.page-content {
  padding: 80px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 24px;
}

.content-block h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-block h3 {
  font-family: var(--font-body);
  font-size: 18px;
  margin: 24px 0 12px;
  color: var(--accent-gold);
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-block ul, .content-block ol {
  padding-left: 24px;
  color: var(--text-secondary);
  margin: 12px 0;
}

.content-block li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.content-block code {
  background: var(--bg-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold);
  word-break: break-all;
}

.callout {
  background: rgba(255, 215, 0, 0.08);
  border-left: 3px solid var(--accent-gold);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.callout p {
  color: var(--text-primary);
  margin: 0;
}

/* 下载页 */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.version-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.download-card h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.download-card .file-info {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.download-card .file-info span {
  margin: 0 8px;
}

.md5-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
  text-align: left;
}

.md5-box .label {
  display: block;
  color: var(--accent-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.sys-requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.req-item {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

.req-item .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.req-item .value {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

/* 激活步骤 */
.step-list {
  counter-reset: step;
  margin: 32px 0;
}

.step-item {
  position: relative;
  padding: 24px 24px 24px 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  counter-increment: step;
}

.step-item::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  color: #0A0A0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-display);
}

.step-item h3 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.step-screenshot {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* FAQ */
.faq-list {
  margin-top: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question::after {
  content: '+';
  color: var(--accent-gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* 动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-wrap {
    padding: 14px 20px;
  }
  nav {
    display: none;
  }
  .section {
    padding: 60px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .window-content {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 32px;
  }
  .stat-num {
    font-size: 28px;
  }
  .score-gallery {
    overflow-x: auto;
    height: 260px;
  }
  .score-gallery .gallery-img {
    flex: 0 0 160px;
  }
}

/* ===== 图片灯箱（点击放大） ===== */
.showcase-window img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.showcase-window img:hover {
  opacity: 0.88;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
  padding: 24px;
  box-sizing: border-box;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== 乐谱类型画廊（百叶窗式水平排列） ===== */
.score-gallery {
  display: flex;
  gap: 6px;
  padding: 24px;
  height: 360px;
}
.gallery-img {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  border-radius: 6px;
  cursor: zoom-in;
  border: 1px solid var(--border-subtle);
  transition: flex 0.35s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.gallery-img:hover {
  flex: 4;
  opacity: 0.96;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ===== 乐谱示范播放视频 ===== */
.demo-video-wrap {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.demo-video {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #000;
}

/* 画廊灯箱：左右切换按钮与计数器 */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
}
