*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #fff;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, 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);
}

img {
  max-width: 100%;
  height: auto;
}

.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;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  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: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--white);
  padding: 70px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero .subtitle {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn-download {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 14px 42px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.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;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.feature-card ul {
  list-style: none;
}

.feature-card li {
  padding: 8px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
  padding-left: 18px;
}

.feature-card li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.feature-card li strong {
  color: var(--text);
}

/* Highlights */
.highlights {
  background: var(--white);
  padding: 60px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.highlight-item {
  text-align: center;
  padding: 28px 20px;
}

.highlight-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* News / Articles */
.news-section {
  padding: 60px 0;
}

.news-section .section-title h2 {
  font-size: 1.6rem;
}

.news-section .section-title .en {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.article-item:hover {
  transform: translateX(4px);
}

.article-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.article-item h3 a {
  color: var(--text);
}

.article-item h3 a:hover {
  color: var(--primary);
}

.article-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-date {
  font-size: 0.82rem;
  color: #999;
}

/* Download Page */
.download-hero {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.download-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.download-box {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  margin: -40px auto 60px;
  position: relative;
}

.download-box .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.download-box h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.download-box p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.download-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Article Page */
.article-header {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--white);
  padding: 50px 0 40px;
}

.article-header h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-meta {
  font-size: 0.88rem;
  opacity: 0.85;
}

.article-body {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  margin: -20px auto 60px;
  box-shadow: var(--shadow);
  max-width: 800px;
}

.article-body h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 28px 0 14px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.95rem;
}

.article-body ul {
  margin: 12px 0 16px 24px;
  color: var(--text);
}

.article-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--white);
  opacity: 0.85;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  padding: 40px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #bdc3c7;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #3d566e;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.85rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .article-body {
    padding: 24px 20px;
    margin: -10px 10px 40px;
  }
}
