/* 酷狗音乐下载落地页 - 全局样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --kugou-blue: #0077ff;
  --kugou-blue-dark: #0060cc;
  --kugou-blue-light: #e8f3ff;
  --kugou-cyan: #00c8ff;
  --kugou-orange: #ff6b00;
  --kugou-gradient: linear-gradient(135deg, #0077ff 0%, #00c8ff 100%);
  --kugou-gradient-btn: linear-gradient(135deg, #0077ff 0%, #0055cc 50%, #00aaff 100%);
  --text-primary: #1a1a2e;
  --text-secondary: #666;
  --text-light: #999;
  --bg-white: #ffffff;
  --bg-gray: #f5f7fa;
  --shadow-sm: 0 2px 8px rgba(0, 119, 255, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 119, 255, 0.15);
  --shadow-lg: 0 16px 48px rgba(0, 119, 255, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0066ee 0%, #0077ff 50%, #0088ff 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: linear-gradient(135deg, #0055dd 0%, #0066ee 50%, #0077ff 100%);
  box-shadow: 0 4px 20px rgba(0, 60, 180, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

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

.nav-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.header-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #fff;
  color: var(--kugou-blue);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.header-download-btn:hover {
  transform: translateY(-1px);
  background: #f0f7ff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 560px;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 18, 50, 0.92) 0%,
    rgba(0, 35, 90, 0.82) 38%,
    rgba(0, 80, 180, 0.45) 62%,
    rgba(0, 119, 255, 0.12) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-slogan {
  font-size: 28px;
  font-weight: 700;
  color: var(--kugou-cyan);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  min-width: 110px;
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== Download Button (Eye-catching) ===== */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--kugou-gradient-btn);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.btn-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 119, 255, 0.5);
}

.btn-download:active {
  transform: translateY(0) scale(0.98);
}

.btn-download svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-download-lg {
  padding: 20px 64px;
  font-size: 20px;
}

.btn-download-sm {
  padding: 12px 32px;
  font-size: 15px;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 119, 255, 0.35); }
  50% { box-shadow: 0 8px 48px rgba(0, 119, 255, 0.55); }
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ===== Features Section ===== */
.features {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(0, 119, 255, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ===== Showcase Section ===== */
.showcase {
  padding: 80px 0;
  background: var(--bg-gray);
}

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

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.showcase-item:hover {
  transform: scale(1.02);
}

.showcase-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: var(--kugou-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  position: relative;
}

.cta-section .btn-download {
  background: #fff;
  color: var(--kugou-blue);
  animation: none;
  position: relative;
}

.cta-section .btn-download:hover {
  background: #f0f7ff;
}

/* ===== Download Page ===== */
.download-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #e8f3ff 0%, #ffffff 100%);
  text-align: center;
}

.download-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.download-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.platform-card {
  background: var(--bg-white);
  border: 2px solid rgba(0, 119, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.platform-card:hover {
  border-color: var(--kugou-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.platform-card.active {
  border-color: var(--kugou-blue);
  background: var(--kugou-blue-light);
}

.platform-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.platform-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.platform-card span {
  font-size: 13px;
  color: var(--text-light);
}

.download-main-btn-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.download-info {
  padding: 60px 0;
  background: var(--bg-gray);
}

.download-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.download-info-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-info-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.download-info-text ol {
  margin: 16px 0;
  padding-left: 20px;
  list-style: decimal;
}

.download-info-text ol li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  line-height: 1.7;
}

.download-info-text ul {
  margin-top: 16px;
}

.download-info-text ul li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.download-info-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--kugou-blue);
  font-weight: 700;
}

.download-info-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.version-info {
  padding: 40px 0 80px;
}

.version-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.version-table th,
.version-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 119, 255, 0.06);
}

.version-table th {
  background: var(--kugou-blue-light);
  font-weight: 700;
  color: var(--kugou-blue);
}

.version-table tr:last-child td {
  border-bottom: none;
}

/* ===== FAQ Section (SEO) ===== */
.faq-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 119, 255, 0.08);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

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

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero {
    min-height: 480px;
    background-position: 70% center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 18, 50, 0.9) 0%,
      rgba(0, 35, 90, 0.85) 100%
    );
  }

  .hero-inner {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

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

  .download-info-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 520px;
    padding: 120px 0 80px;
    background-position: center center;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-slogan {
    font-size: 22px;
  }

  .stat-item {
    min-width: 90px;
    padding: 12px 16px;
  }

  .stat-num {
    font-size: 22px;
  }

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

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

  .btn-download-lg {
    padding: 16px 40px;
    font-size: 17px;
  }

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