:root {
  --primary: #F3BA2F;
  --secondary: #13151C;
  --text-dark: #1E2329;
  --text-light: #FFFFFF;
  --text-gray: #848E9C;
  --bg-light: #FAFAFA;
  --bg-dark: #0B0E11;
  --border-color: #E6E8EA;
  --card-bg: #FFFFFF;
  --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  --gradient: linear-gradient(135deg, #F3BA2F 0%, #FBD78D 100%);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  background-color: var(--bg-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 12px;
}

.brand-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
}

.language-switcher {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.language-switcher:hover {
  background-color: var(--border-color);
}

/* 英雄区域 */
.hero {
  background: var(--gradient);
  padding: 80px 0;
  border-radius: 0 0 30px 30px;
  margin-bottom: 60px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--text-dark);
}

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

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.download-buttons a {
  text-decoration: none;
  transition: transform 0.3s ease;
  display: block;
}

.download-buttons a:hover {
  transform: translateY(-5px);
}

/* 特点部分 */
.features {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.features-title {
  text-align: center;
  margin-bottom: 60px;
}

.features-title h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.features-title p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 15px;
}

/* 下载区域 */
.download {
  padding: 80px 0;
  background-color: var(--secondary);
  color: var(--text-light);
  border-radius: 30px;
  margin: 0 20px 80px;
}

.download-header {
  text-align: center;
  margin-bottom: 50px;
}

.download-header h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.download-header p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.download-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.download-option {
  flex-basis: calc(50% - 40px);
  max-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.download-option:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.download-option h3 {
  font-size: 24px;
  margin: 20px 0 10px;
}

.download-option p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 15px;
}

.download-option img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* 常见问题 */
.faq {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.faq-header p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  height: auto;
  padding: 0 20px 20px;
}

/* 页脚 */
.footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .download-option {
    flex-basis: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .navbar-container {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }
  
  .language-switcher {
    margin-top: 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
}
