/* ===== Site 1: Modern Minimal - Red Accent ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #e60012;
  --primary-dark: #c4000f;
  --text: #1a1a1a;
  --text-secondary: #555;
  --bg: #fafafa;
  --card-bg: #fff;
  --border: #eaeaea;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Header & Nav */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--primary); }

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,0,18,0.3);
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,0,18,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}

/* Section */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(230,0,18,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Download Platforms */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.platform-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.platform-icon { margin-bottom: 16px; }

.platform-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.platform-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }

.platform-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.platform-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Details Section */
.details-section {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.detail-row:nth-child(even) { flex-direction: row-reverse; }

.detail-content { flex: 1; }

.detail-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.detail-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-visual {
  flex: 1;
  background: linear-gradient(135deg, rgba(230,0,18,0.05) 0%, rgba(230,0,18,0.1) 100%);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-visual svg { width: 120px; height: 120px; opacity: 0.4; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; fill: #ffb800; }

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.reviewer-info h5 { font-size: 15px; font-weight: 600; }
.reviewer-info span { font-size: 13px; color: var(--text-secondary); }

/* Stats */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #ff4757 100%);
  padding: 60px 24px;
  color: #fff;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-item p { font-size: 16px; opacity: 0.9; }

/* Comparison Table */
.comparison-section { background: #fff; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: #fafafa;
  font-weight: 600;
  font-size: 15px;
}

.comparison-table td { font-size: 15px; }

.comparison-table .check { color: #22c55e; font-weight: 600; }
.comparison-table .cross { color: #ef4444; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* Download Page */
.download-hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.download-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-hero p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
}

.windows-download {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.windows-download .version-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.version-info span { display: flex; align-items: center; gap: 6px; }

/* Guide Section */
.guide-section { background: #fff; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.guide-step {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.guide-step h4 { font-size: 18px; font-weight: 600; margin: 16px 0 12px; }
.guide-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Requirements */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.req-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.req-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.req-card ul { list-style: none; }
.req-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.req-card li:last-child { border-bottom: none; }

/* Changelog */
.changelog-list { max-width: 800px; margin: 0 auto; }

.changelog-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-version {
  min-width: 100px;
  text-align: right;
}

.changelog-version .version-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.changelog-version .version-date {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.changelog-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.changelog-content ul { list-style: disc; padding-left: 20px; }
.changelog-content li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

/* SEO Page */
.seo-hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.seo-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.seo-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.seo-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.seo-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--primary);
}

.seo-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.seo-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.seo-content li { padding: 6px 0; font-size: 15px; }

.seo-content strong { color: var(--text); }

.seo-cta {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, rgba(230,0,18,0.05) 0%, rgba(230,0,18,0.1) 100%);
  border-radius: var(--radius);
  margin: 60px 0;
}

.seo-cta h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.seo-cta p { color: var(--text-secondary); font-size: 17px; margin-bottom: 32px; }

/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-content .footer-safe {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .detail-row, .detail-row:nth-child(even) { flex-direction: column; gap: 30px; }
  .detail-visual { height: 220px; }
  .stat-item h3 { font-size: 36px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 14px 16px; }
  .section { padding: 60px 20px; }
}

/* Skip nav for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-size: 14px;
}

.skip-link:focus { top: 0; }
