:root {
  --primary-color: #f3ba2f;
  --secondary-color: #1e2329;
  --text-color: #333333;
  --light-text: #666666;
  --background: #ffffff;
  --light-bg: #f5f5f5;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'STHeiti', '华文黑体', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s;
}

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

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

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
  font-weight: 500;
}

.language-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.language-switch span {
  margin-right: 5px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* 英雄区样式 */
.hero {
  background: linear-gradient(120deg, var(--secondary-color), #2c3238);
  color: white;
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
}

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

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(243, 186, 47, 0.3);
  color: var(--secondary-color);
}

/* 功能介绍区域 */
.features {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

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

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* 下载区域 */
.download-section {
  padding: 80px 0;
  text-align: center;
}

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

.download-card {
  background-color: var(--light-bg);
  border-radius: var(--radius);
  padding: 30px;
  width: 300px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s;
}

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

.download-card img {
  height: 80px;
  margin-bottom: 20px;
}

.download-card h3 {
  margin-bottom: 15px;
}

.download-card p {
  margin-bottom: 20px;
  color: var(--light-text);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-about img {
  height: 40px;
  margin-bottom: 15px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

.footer-brand img {
  height: 24px;
  margin-right: 10px;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: var(--background);
    width: 100%;
    box-shadow: 0 10px 10px var(--shadow);
    flex-direction: column;
    text-align: center;
    transition: left 0.3s;
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 深色模式样式 */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --light-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --light-text: #a0a0a0;
    --shadow: rgba(0, 0, 0, 0.3);
  }
  
  .feature-card {
    background-color: #1a1a1a;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}
