/* ========== Site 6: Vibrant Red Theme ========== */
:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fef2f2;
  --accent: #2563eb;
  --text: #18181b;
  --text-secondary: #71717a;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --border: #e4e4e7;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-lg: 0 25px 50px -12px rgba(220,38,38,0.15);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

/* Header */
.header { background: var(--primary); position: sticky; top: 0; z-index: 100; }
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 20px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 4px; transition: all 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--primary); background: #fff; font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, #7f1d1d 0%, var(--primary-dark) 30%, var(--primary) 70%, #ef4444 100%); color: #fff; padding: 90px 28px; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 18px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; opacity: 0.9; max-width: 620px; margin: 0 auto 36px; line-height: 1.75; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border-radius: 6px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: #fff; color: var(--primary-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.22); }
.btn-small { padding: 10px 24px; font-size: 14px; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 28px; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 36px; font-weight: 900; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); text-align: center; margin-bottom: 48px; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.2s; border-top: 3px solid transparent; }
.feature-card:hover { box-shadow: var(--shadow-lg); border-top-color: var(--primary); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 16px; color: var(--primary); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Platforms */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform-card { background: var(--bg); border-radius: var(--radius); padding: 28px 20px; text-align: center; border: 1px solid var(--border); transition: all 0.2s; }
.platform-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.platform-icon { width: 44px; height: 44px; margin-bottom: 12px; }
.platform-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }

/* Details */
.detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.detail-block:nth-child(even) { direction: rtl; }
.detail-block:nth-child(even) > * { direction: ltr; }
.detail-block h3 { font-size: 28px; font-weight: 900; margin-bottom: 16px; color: var(--primary-dark); }
.detail-block p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 10px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); border-left: 4px solid var(--primary); }
.review-stars { color: #f59e0b; margin-bottom: 12px; }
.review-text { font-size: 15px; color: var(--text); margin-bottom: 16px; line-height: 1.7; }
.review-author { font-weight: 600; font-size: 14px; color: var(--text-secondary); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { background: var(--bg); border: 2px solid var(--primary); padding: 28px 16px; border-radius: var(--radius); }
.stat-item h4 { font-size: 36px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.stat-item p { font-size: 14px; color: var(--text-secondary); }

/* Comparison */
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.compare-table th { background: var(--primary); color: #fff; padding: 16px 24px; text-align: left; font-weight: 600; }
.compare-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--primary); font-weight: 700; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 600; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding-bottom: 22px; color: var(--text-secondary); line-height: 1.8; }
.faq-item:target .faq-answer, .faq-item.active .faq-answer { max-height: 500px; }
.faq-toggle { width: 22px; height: 22px; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }

/* CTA */
.cta-section { background: linear-gradient(135deg, #7f1d1d, var(--primary)); padding: 80px 28px; text-align: center; }
.cta-section h2 { color: #fff; font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 32px; }

/* Download page */
.dl-hero { background: linear-gradient(135deg, #7f1d1d 0%, var(--primary-dark) 30%, var(--primary) 70%, #ef4444 100%); color: #fff; padding: 60px 28px; text-align: center; }
.dl-hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.dl-meta { display: inline-flex; gap: 20px; margin: 16px 0 28px; font-size: 14px; opacity: 0.88; flex-wrap: wrap; justify-content: center; }
.dl-meta span { background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 4px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dl-card { background: var(--bg); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.dl-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.dl-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.sys-req { background: var(--bg-alt); padding: 16px; border-radius: var(--radius); margin-top: 16px; }
.sys-req h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sys-req ul { list-style: none; font-size: 13px; color: var(--text-secondary); }
.sys-req li { padding: 3px 0; }

.steps { max-width: 700px; }
.step { display: flex; gap: 20px; margin-bottom: 24px; }
.step-num { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.changelog-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.changelog-item:last-child { border-bottom: none; }
.changelog-header { display: flex; gap: 16px; margin-bottom: 10px; }
.changelog-version { background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.changelog-date { color: var(--text-secondary); font-size: 14px; }
.changelog-item ul { margin-left: 20px; color: var(--text-secondary); font-size: 14px; }
.changelog-item li { margin-bottom: 4px; }

/* Footer */
.footer { background: #18181b; color: #fff; padding: 40px 28px; text-align: center; }
.footer p { opacity: 0.6; font-size: 14px; line-height: 1.8; }

@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-block { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 6px 14px; font-size: 13px; }
}
