:root {
  --brand-1: #17d8a2;
  --brand-2: #12b8ff;
  --brand-3: #5d63ff;
  --brand-1-dark: #0fc791;
  --text-primary: #121826;
  --text-secondary: #546078;
  --bg-page: #f6f8ff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --border: rgba(110, 92, 255, 0.14);
  --shadow-soft: 0 10px 28px rgba(76, 82, 125, 0.12);
  --shadow-btn: 0 10px 26px rgba(64, 118, 255, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(22, 217, 160, 0.28) 0%, rgba(22, 217, 160, 0) 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(110, 92, 255, 0.24) 0%, rgba(110, 92, 255, 0) 58%),
    radial-gradient(620px 420px at 52% 22%, rgba(255, 70, 169, 0.12) 0%, rgba(255, 70, 169, 0) 70%),
    linear-gradient(180deg, #f7fbff 0%, #f4f7ff 45%, #f6f7fb 100%);
  background-attachment: fixed;
}

.top-bar {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #101829 0%, #1c1140 48%, #11263b 100%);
  color: #e8f0ff;
  font-size: 13px;
}

.top-bar i {
  color: #37ffc3;
}

.top-bar-sep {
  opacity: 0.45;
}

.nav-wrapper {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(110, 92, 255, 0.2);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  text-decoration: none;
  color: var(--brand-1-dark);
  font-size: 20px;
  font-weight: 800;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(64, 118, 255, 0.08);
}

.nav-download,
.btn-download,
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 48%, var(--brand-3) 100%);
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-download:hover,
.btn-download:hover,
.dl-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

.nav-download {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 150px 20px 52px;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.66) 0%, rgba(245, 247, 255, 0.26) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -120px;
  top: -90px;
  background: radial-gradient(circle, rgba(22, 217, 160, 0.28) 0%, rgba(22, 217, 160, 0) 72%);
  animation: glowBreathA 6s ease-in-out infinite;
}

.hero::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(110, 92, 255, 0.3) 0%, rgba(110, 92, 255, 0) 72%);
  animation: glowBreathB 7.5s ease-in-out infinite;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #0f172a 0%, #3148d6 44%, #1ec89f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn-download {
  padding: 16px 44px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  animation: buttonBreath 2.8s ease-in-out infinite;
}

.hero-web-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--text-secondary);
  text-decoration: none;
}

.hero-web-link:hover {
  color: var(--brand-3);
}

.app-mockup-section {
  padding: 8px 20px 44px;
  display: flex;
  justify-content: center;
}

.mockup-container {
  width: 100%;
  max-width: 320px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.mockup-screen {
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2bc17b 0%, #1f9d63 100%);
}

.mockup-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
}

.mockup-art {
  width: 240px;
  height: 240px;
  margin: 20px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-art i { font-size: 80px; color: #fff; }
.mockup-title, .mockup-artist { text-align: center; color: #fff; }
.mockup-title { font-size: 18px; font-weight: 700; }
.mockup-artist { font-size: 14px; opacity: 0.76; }

.mockup-progress {
  width: 80%;
  height: 4px;
  margin: 30px auto 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.mockup-progress-bar {
  width: 30%;
  height: 100%;
  border-radius: 2px;
  background: #fff;
}

.mockup-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #fff;
}

.mockup-controls .fa-play-circle { font-size: 48px; }

.trust-section { padding: 0 20px 30px; }

.trust-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-item,
.feature-card,
.dl-item,
.official-note {
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(130%) blur(2px);
}

.trust-item {
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
}

.trust-item i { color: #4b63ff; }

.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 30px;
}

.features-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}

.tab-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #18d7a2 0%, #3f7dff 100%);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

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

.section-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.section-header p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.feature-card {
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 70px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-card.reverse { flex-direction: row-reverse; }
.feature-text h3 { font-size: 30px; margin-bottom: 10px; }
.feature-text p { color: var(--text-secondary); }

.feature-visual {
  flex: 1.2;
  min-width: 280px;
  height: 320px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-visual i { font-size: 64px; }
.visual-content { text-align: center; }
.visual-content h4 { margin-top: 14px; font-size: 24px; }

.bg-style-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bg-style-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.bg-style-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.bg-style-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.cta-section {
  text-align: center;
  padding: 70px 20px 50px;
}

.cta-section h2 { font-size: 36px; margin-bottom: 26px; }

.download-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.dl-item {
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dl-item-info { text-align: left; }
.dl-item-name { font-size: 18px; font-weight: 700; }
.dl-item-meta { font-size: 14px; color: var(--text-secondary); }

.dl-btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
}

.official-note {
  max-width: 760px;
  margin: 16px auto 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: left;
}

.footer {
  background: #101214;
  color: #a3a3a3;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-info,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #a3a3a3;
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }

@keyframes glowBreathA {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: scale(1.08) translate3d(-8px, 6px, 0); opacity: 1; }
}

@keyframes glowBreathB {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.68; }
  50% { transform: scale(1.12) translate3d(8px, -6px, 0); opacity: 1; }
}

@keyframes buttonBreath {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(64, 118, 255, 0.28), 0 0 0 0 rgba(23, 216, 162, 0.2);
  }
  50% {
    box-shadow: 0 14px 30px rgba(64, 118, 255, 0.36), 0 0 0 10px rgba(23, 216, 162, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .btn-download {
    animation: none;
  }
}

@media (max-width: 900px) {
  body { background-attachment: scroll; }
  .top-bar { font-size: 12px; }
  .nav-wrapper { top: 52px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .feature-card { flex-direction: column !important; padding: 24px; gap: 26px; }
  .feature-visual { width: 100%; min-width: 0; height: 240px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .dl-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero { padding-top: 130px; }
  .hero h1 { font-size: 30px; }
  .btn-download { padding: 14px 30px; font-size: 16px; }
  .section-header h2 { font-size: 30px; }
  .footer { padding: 24px 16px; text-align: center; justify-content: center; }
}
