/* ===== Site 6: Teal Theme ===== */
/* Design: Clean teal accent, rounded corners, friendly feel */

:root {
  --primary: #0D9488;
  --primary-light: #CCFBF1;
  --primary-dark: #0F766E;
  --primary-soft: #99F6E4;
  --text: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --bg: #FFFFFF;
  --bg-alt: #FAFAF9;
  --border: #E7E5E4;
  --shadow: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.07);
  --radius: 18px;
  --radius-sm: 10px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--primary);
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  display: block; padding: 8px 0;
  color: var(--text-secondary); text-decoration: none;
  font-size: 15px; font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--primary); border-bottom-color: var(--primary-light); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }

.hero {
  padding: 90px 0 100px;
  background: linear-gradient(160deg, #CCFBF1 0%, var(--bg) 55%);
}

.hero h1 {
  font-size: 48px; font-weight: 700; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -1.5px;
}

.hero h1 span { color: var(--primary); }

.hero-subtitle {
  font-size: 18px; color: var(--text-secondary);
  max-width: 580px; line-height: 1.8; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  text-decoration: none; transition: all 0.2s; font-family: inherit;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn-lg { padding: 16px 40px; font-size: 16px; }

.section { padding: 80px 0; }
.section-title { font-size: 34px; font-weight: 700; text-align: center; margin-bottom: 16px; }
.section-desc { text-align: center; color: var(--text-secondary); font-size: 17px; max-width: 560px; margin: 0 auto 52px; }
.bg-alt { background: var(--bg-alt); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}

.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all 0.2s;
}

.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }

.feature-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 14px; margin-bottom: 18px;
  color: var(--primary);
}

.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.platforms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}

.platform-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: all 0.2s;
}

.platform-card:hover { box-shadow: var(--shadow-md); }

.platform-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: var(--radius-sm);
}

.platform-card h4 { font-size: 17px; margin-bottom: 8px; }
.platform-card p { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; line-height: 1.6; }
.platform-card .btn { width: 100%; padding: 11px; font-size: 14px; }

.detail-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 64px;
}

.detail-block:last-child { margin-bottom: 0; }
.detail-block:nth-child(even) { direction: rtl; }
.detail-block:nth-child(even) > * { direction: ltr; }

.detail-block h3 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.detail-block p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }

.detail-visual {
  background: var(--bg-alt); border-radius: var(--radius); height: 280px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.review-stars { color: #F59E0B; margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--primary); font-size: 13px;
}
.review-author span { font-weight: 500; font-size: 13px; color: var(--text-secondary); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 16px; text-align: center;
}
.stat-item h4 { font-size: 34px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.stat-item p { color: var(--text-secondary); font-size: 14px; }

.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--bg-alt); font-weight: 600; }
.comparison-table td { color: var(--text-secondary); }
.comparison-table tr:hover td { background: #FAFBFC; }
.check-yes { color: #059669; font-weight: 600; }
.check-no { color: #DC2626; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  width: 100%; padding: 18px 22px; background: var(--bg); border: none;
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; color: var(--text);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon { color: var(--text-muted); transition: transform 0.2s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.download-hero { background: linear-gradient(160deg, #CCFBF1 0%, var(--bg) 50%); padding: 60px 0; text-align: center; }
.download-hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 12px; }
.download-hero p { color: var(--text-secondary); font-size: 17px; margin-bottom: 32px; }

.download-main {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; max-width: 540px; margin: 0 auto; text-align: center;
}
.version-meta { display: flex; justify-content: center; gap: 20px; margin: 16px 0; font-size: 13px; color: var(--text-secondary); }

.guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 32px; }
.guide-step { text-align: center; padding: 24px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.step-num { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; margin: 0 auto 14px; }
.guide-step h4 { font-size: 15px; margin-bottom: 8px; }
.guide-step p { font-size: 13px; color: var(--text-secondary); }

.sys-req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 32px; }
.sys-req-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sys-req-card h4 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; color: var(--primary); }
.sys-req-card ul { list-style: none; font-size: 13px; color: var(--text-secondary); }
.sys-req-card ul li { padding: 5px 0; border-bottom: 1px solid var(--border); }

.changelog-list { max-width: 760px; margin: 32px auto 0; }
.changelog-item { border-left: 2px solid var(--primary); padding-left: 24px; padding-bottom: 28px; position: relative; }
.changelog-item::before { content: ''; position: absolute; left: -6px; top: 2px; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }
.changelog-item:last-child { border-left-color: transparent; }
.changelog-item h4 { font-size: 17px; margin-bottom: 4px; }
.changelog-date { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.changelog-item ul { font-size: 13px; color: var(--text-secondary); padding-left: 18px; }

.article-content { max-width: 860px; margin: 0 auto; }
.article-content h2 { font-size: 28px; font-weight: 700; margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); color: var(--primary-dark); }
.article-content h3 { font-size: 20px; font-weight: 600; margin: 28px 0 12px; }
.article-content p { font-size: 15px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 14px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 18px; }
.article-content li { margin-bottom: 8px; line-height: 1.8; color: var(--text-secondary); }
.tips-box { background: #FEF3C7; border-left: 3px solid #F59E0B; padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; font-size: 14px; }
.tips-box strong { color: #92400E; }

.footer { background: var(--bg-alt); border-top: 1px solid var(--border); color: var(--text-muted); padding: 40px 0; text-align: center; font-size: 13px; }
.footer p { margin-bottom: 8px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .detail-block { grid-template-columns: 1fr; gap: 32px; }
  .detail-block:nth-child(even) { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .platforms-grid { grid-template-columns: 1fr; }
  .download-main { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item h4 { font-size: 28px; }
}
