/* --- 重置与变量 --- */
:root {
  --primary-pink: #FF6B81;
  --primary-pink-hover: #FF4757;
  --bg-dark: #0F0F1A;
  --bg-card: #1A1A2E;
  --text-main: #FFFFFF;
  --text-muted: #A0A0B2;
  --border-color: rgba(255, 107, 129, 0.2);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- 统一导航栏 --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.btn-download-nav {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-hover));
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 129, 0.4);
}

/* --- 容器与通用卡片 --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: 70vh;
}

.page-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-pink);
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* --- 统一页脚 --- */
.footer {
  background: #090910;
  border-top: 1px solid var(--border-color);
  padding: 3rem 5% 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--primary-pink);
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- 页面专属组件 --- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.dl-card h3 { color: var(--primary-pink); margin-bottom: 1rem; }
.dl-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.dl-btn {
  display: inline-block;
  width: 100%;
  padding: 0.8rem;
  background: var(--primary-pink);
  color: white;
  border-radius: 8px;
  font-weight: bold;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feat-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-pink);
}
.feat-box h3 { margin-bottom: 0.8rem; }
.feat-box p { color: var(--text-muted); font-size: 0.9rem; }

.faq-item {
  background: var(--bg-card);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}
.faq-item h3 { color: var(--primary-pink); margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

.legal-content {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}
.legal-content h2 { color: var(--text-main); margin: 1.5rem 0 0.8rem; }

/* --- 移动端响应式 --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-title {
    font-size: 1.8rem;
  }
}
