/* 寻音乐网动态谱 - 介绍页样式 */

.xyn-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1a1a2e;
  background: #f8fafc;
  line-height: 1.6;
}

/* Hero区域 */
.xyn-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.xyn-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/plugins/eightbeat-dynamic-score/assets/images/logo.png') center/300px no-repeat;
  opacity: 0.05;
  filter: grayscale(100%);
}

.xyn-hero-content {
  flex: 1;
  max-width: 500px;
  padding-left: 5%;
  z-index: 2;
}

.xyn-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(233, 69, 96, 0.2);
  color: #e94560;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.xyn-hero-title {
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.xyn-title-main {
  display: block;
  font-size: 28px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.xyn-title-highlight {
  display: block;
  font-size: 48px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #e94560, #00b4d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xyn-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.xyn-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.xyn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #e94560, #ff6b6d);
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.xyn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.xyn-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s;
}

.xyn-btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
}

.xyn-hero-video {
  flex: 1;
  max-width: 600px;
  padding: 20px;
  z-index: 2;
}

.xyn-hero-video video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: #1a1a2e;
}

/* Section通用 */
.xyn-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.xyn-section-alt {
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  max-width: 100%;
  padding: 80px 20px;
}

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

.xyn-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e94560, #0077b6);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.xyn-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #1a1a2e;
}

.xyn-section-header p {
  font-size: 18px;
  color: #64748b;
  margin: 0;
}

/* 核心功能网格 */
.xyn-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.xyn-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.xyn-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.xyn-feature-card:hover .xyn-icon-red { background: #e94560; color: #fff; }
.xyn-feature-card:hover .xyn-icon-blue { background: #0077b6; color: #fff; }
.xyn-feature-card:hover .xyn-icon-green { background: #22c55e; color: #fff; }
.xyn-feature-card:hover .xyn-icon-purple { background: #a855f7; color: #fff; }
.xyn-feature-card:hover .xyn-icon-orange { background: #f97316; color: #fff; }
.xyn-feature-card:hover .xyn-icon-cyan { background: #06b6d4; color: #fff; }

.xyn-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.xyn-icon-red { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: #e94560; }
.xyn-icon-blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #0077b6; }
.xyn-icon-green { background: linear-gradient(135deg, #f0fdf4, #dcfce7); color: #22c55e; }
.xyn-icon-purple { background: linear-gradient(135deg, #faf5ff, #f3e8ff); color: #a855f7; }
.xyn-icon-orange { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #f97316; }
.xyn-icon-cyan { background: linear-gradient(135deg, #ecfeff, #cffafe); color: #06b6d4; }

.xyn-feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #1a1a2e;
}

.xyn-feature-card p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* 高级工具网格 */
.xyn-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.xyn-tool-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.xyn-tool-item:hover {
  transform: translateY(-2px);
}

.xyn-tool-ai {
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 2px solid #fcd34d;
}

.xyn-tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin-bottom: 16px;
}

.xyn-tool-ai .xyn-tool-icon {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
}

.xyn-tool-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1a1a2e;
}

.xyn-tool-item p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* 播放控制网格 */
.xyn-playback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.xyn-playback-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.xyn-playback-value {
  font-size: 36px;
  font-weight: 700;
  color: #e94560;
  margin-bottom: 8px;
}

.xyn-playback-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin: 0 auto 16px auto;
}

.xyn-playback-label {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.xyn-playback-desc {
  font-size: 14px;
  color: #64748b;
}

/* 视觉定制网格 */
.xyn-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.xyn-visual-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.xyn-visual-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 16px 0;
}

.xyn-visual-card p {
  font-size: 13px;
  color: #64748b;
  margin: 12px 0 0 0;
}

.xyn-visual-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.xyn-option {
  padding: 6px 12px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 6px;
  font-size: 12px;
}

.xyn-color-palette {
  display: flex;
  gap: 8px;
}

.xyn-color {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.xyn-theme-palette {
  display: flex;
  gap: 12px;
}

.xyn-theme {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* 导出功能网格 */
.xyn-export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.xyn-export-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.xyn-export-icon {
  color: #64748b;
  margin-bottom: 20px;
}

.xyn-export-opts {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.xyn-opt {
  padding: 6px 16px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 8px;
  font-size: 14px;
}

.xyn-opt-active {
  background: linear-gradient(135deg, #e94560, #0077b6);
  color: #fff;
}

.xyn-export-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.xyn-export-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* 工程管理网格 */
.xyn-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.xyn-project-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.xyn-project-card:hover {
  transform: translateY(-2px);
}

.xyn-project-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin: 0 auto 20px auto;
}

.xyn-project-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px 0;
}

.xyn-project-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* 快捷键网格 */
.xyn-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.xyn-shortcut-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.xyn-shortcut-item kbd {
  display: inline-block;
  padding: 8px 12px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a2e;
  box-shadow: 0 2px 0 #cbd5e1;
}

.xyn-shortcut-item span {
  font-size: 14px;
  color: #64748b;
}

/* CTA区域 */
.xyn-cta {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 80px 20px;
  text-align: center;
}

.xyn-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.xyn-cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}

.xyn-cta-highlight {
  background: linear-gradient(90deg, #e94560, #00b4d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xyn-cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.xyn-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #e94560, #ff6b6d);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.xyn-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233, 69, 96, 0.5);
}

/* 响应式 */
@media (max-width: 768px) {
  .xyn-hero {
    flex-direction: column;
    min-height: auto;
    padding: 40px 16px;
  }

  .xyn-hero-content {
    padding-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .xyn-title-main {
    font-size: 20px;
  }

  .xyn-title-highlight {
    font-size: 32px;
  }

  .xyn-hero-desc {
    font-size: 16px;
  }

  .xyn-hero-actions {
    justify-content: center;
  }

  .xyn-hero-video {
    max-width: 100%;
    padding: 20px 0;
  }

  .xyn-section {
    padding: 60px 16px;
  }

  .xyn-section-alt {
    padding: 60px 16px;
  }

  .xyn-section-header h2 {
    font-size: 24px;
  }

  .xyn-features-grid,
  .xyn-tools-grid,
  .xyn-visual-grid,
  .xyn-project-grid {
    grid-template-columns: 1fr;
  }

  .xyn-playback-grid,
  .xyn-export-grid,
  .xyn-shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xyn-cta-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .xyn-playback-grid,
  .xyn-export-grid,
  .xyn-shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .xyn-hero-actions {
    flex-direction: column;
  }

  .xyn-btn-primary,
  .xyn-btn-outline {
    width: 100%;
    justify-content: center;
  }
}