/* 币安下载网站样式 */
:root {
  --primary-color: #f0b90b;
  --secondary-color: #1e2329;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

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

/* 导航栏样式 */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo svg, .logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 10px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.language-switch {
  margin-left: 20px;
  cursor: pointer;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(135deg, var(--secondary-color), #121417);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.download-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 特点区域 */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: var(--secondary-color);
}

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

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

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

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.feature-title {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--secondary-color);
}

/* 下载区域 */
.download-section {
  background-color: var(--white);
  padding: 80px 0;
  text-align: center;
}

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

.download-option {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 350px;
  box-shadow: var(--box-shadow);
  flex: 1 1 300px;
}

.download-option h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.download-option p {
  margin-bottom: 20px;
  opacity: 0.8;
}

/* 常见问题 */
.faq {
  padding: 80px 0;
}

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

.accordion-item {
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 300px;
}

/* 页脚 */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo svg, .footer-logo img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  
  .mobile-nav.active {
    transform: translateY(0);
  }
  
  .mobile-nav a {
    margin: 10px 0;
  }
}

/* 暗黑模式 */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #121417;
    --text-color: #e0e0e0;
    --white: #1e2329;
  }
  
  .feature-card, .download-option, .accordion-item {
    background-color: #282c34;
  }
  
  .accordion-header, .feature-title {
    color: #e0e0e0;
  }
}
