* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e84829;
  --primary-dark: #c93a1f;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #fff;
  --border: #e5e5e5;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e84829 0%, #ff6b4a 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn-download {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

/* Features */
.features {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* Content sections */
.content-section {
  padding: 50px 0;
}

.content-block {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.content-block h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fde8e4;
}

.content-block h3 {
  font-size: 18px;
  margin: 24px 0 12px;
  color: var(--text);
}

.content-block p {
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 15px;
}

.content-block ul {
  margin: 12px 0 16px 24px;
  color: var(--text-light);
}

.content-block li {
  margin-bottom: 8px;
}

/* Articles */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card-body {
  padding: 24px;
}

.article-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
}

.article-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.article-meta {
  font-size: 12px;
  color: #999;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
}

/* Daily update section */
.daily-update {
  background: #fff8f6;
  border: 1px solid #fde8e4;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.daily-update h2 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
}

.daily-update .update-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.daily-update .update-content {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* Article page */
.article-header {
  background: var(--white);
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.article-header .meta {
  color: #999;
  font-size: 14px;
}

.article-body {
  background: var(--white);
  padding: 40px 0 60px;
}

.article-body .container {
  max-width: 800px;
}

.article-body h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--primary);
}

.article-body h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 15px;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 16px 24px;
  color: var(--text-light);
}

.article-body li {
  margin-bottom: 8px;
}

/* Download page */
.download-hero {
  text-align: center;
  padding: 60px 0;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.download-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.download-card .platform-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.btn-download-sm {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-download-sm:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: #2c2c2c;
  color: #aaa;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #aaa;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .content-block {
    padding: 24px;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }
}
