/* 汽水音乐落地页 - 共享样式 */
:root {
  --bg-dark: #0a0e14;
  --bg-card: #121820;
  --accent: #00e676;
  --accent-2: #00bcd4;
  --accent-glow: rgba(0, 230, 118, 0.45);
  --text: #f5f7fa;
  --text-muted: #9aa5b4;
  --gradient: linear-gradient(135deg, #00e676 0%, #00bcd4 50%, #7c4dff 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

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

/* 背景装饰 */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.12) 0%, transparent 70%);
}

.page-bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
}

/* 头部 */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

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

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* 面包屑导航 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb li[aria-current="page"] {
  color: var(--text);
}

/* 主内容 */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero {
  padding: 2rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-logo {
  margin-bottom: 1.25rem;
  max-width: 220px;
}

.hero-visual {
  position: relative;
}

.hero-banner {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* 平台图标区 */
.platform-section h2 {
  text-align: center;
}

.platform-desc {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.platform-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-4px);
}

.platform-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.platform-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* App 展示图 */
.showcase {
  margin: 3rem 0;
  text-align: center;
}

.showcase-img {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.showcase p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 auto;
}

/* 下载按钮 - 吸引眼球 */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0e14;
  background: var(--gradient);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--accent-glow), 0 8px 32px rgba(0, 230, 118, 0.35);
  animation: pulse-glow 2s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: translateX(-100%);
  animation: shine 3s ease-in-out infinite;
}

.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px var(--accent-glow), 0 12px 40px rgba(0, 230, 118, 0.45);
  text-decoration: none;
  color: #0a0e14;
}

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

.btn-download svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-download.loading {
  pointer-events: none;
  opacity: 0.85;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-glow), 0 8px 32px rgba(0, 230, 118, 0.35);
  }
  50% {
    box-shadow: 0 0 20px 4px var(--accent-glow), 0 8px 40px rgba(0, 230, 118, 0.5);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  40%,
  100% {
    transform: translateX(100%);
  }
}

.download-cta {
  margin: 2rem 0;
  text-align: center;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* 区块 */
.section {
  margin: 3rem 0;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.section h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
  color: var(--accent);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(0, 230, 118, 0.25);
  transform: translateY(-2px);
}

.feature-card > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

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

/* 下载页 */
.download-hero {
  text-align: center;
  padding: 2rem 0;
}

.download-steps {
  max-width: 560px;
  margin: 2rem auto;
  text-align: left;
}

.download-steps ol {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.download-steps li {
  margin: 0.75rem 0;
}

.download-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
  margin-bottom: 2rem;
}

.download-hero-banner {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.download-platform {
  margin: 2rem 0;
}

.download-platform .platform-grid {
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.platform-card--download {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.platform-card--download:hover {
  text-decoration: none;
}

.platform-card--download .btn-download {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  animation: none;
}

.platform-card--download .btn-download::before {
  display: none;
}

/* SEO 内容区 */
.seo-content {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* 页脚 */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer nav {
  margin-bottom: 1rem;
}

.site-footer nav a {
  margin: 0 0.75rem;
  color: var(--text-muted);
}

.site-footer nav a:hover {
  color: var(--accent);
}

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner,
  .download-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text,
  .download-hero-inner .download-hero-text {
    text-align: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .btn-download {
    width: 100%;
    max-width: 320px;
  }

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

  .platform-card img {
    width: 52px;
    height: 52px;
  }
}
