/* ========== Site 1: Corporate Blue Theme ========== */
:root {
  --primary: #1a5fb4;
  --primary-dark: #104080;
  --primary-light: #e8f0fe;
  --accent: #ff6b35;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #d2d2d7;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

@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; }
img { max-width: 100%; height: auto; }

/* Header & Nav */
.header { background: var(--bg); border-bottom: 1px solid var(--border); 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 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--primary); text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { display: block; padding: 8px 18px; border-radius: var(--radius); color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.2s; }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 80px 24px; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero p { font-size: 20px; opacity: 0.9; max-width: 640px; margin: 0 auto 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border-radius: var(--radius); font-size: 17px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); text-align: center; margin-bottom: 48px; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.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-lg); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 16px; color: var(--primary); }
.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* Platform Download */
.platforms { background: var(--bg-alt); }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.platform-card { background: var(--bg); border-radius: var(--radius); padding: 28px; text-align: center; border: 1px solid var(--border); }
.platform-icon { width: 40px; height: 40px; margin-bottom: 12px; color: var(--primary); }
.platform-card h4 { font-size: 17px; margin-bottom: 8px; }
.platform-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.btn-small { padding: 10px 24px; font-size: 14px; }

/* Detailed Features */
.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: 700; margin-bottom: 16px; color: var(--primary-dark); }
.detail-block p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 12px; }

/* Reviews */
.reviews { background: var(--bg-alt); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.review-card { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.review-stars { color: #f5a623; 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: 24px; text-align: center; }
.stat-item h4 { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.stat-item p { font-size: 15px; color: var(--text-secondary); }

/* Comparison Table */
.comparison { background: var(--bg-alt); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.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: #34c759; font-weight: 700; }
.cross { color: #ff3b30; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 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: 24px; color: var(--text-secondary); line-height: 1.8; }
.faq-item:target .faq-answer, .faq-item.active .faq-answer { max-height: 500px; }
.faq-toggle { width: 24px; height: 24px; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }

/* Footer */
.footer { background: var(--text); color: #fff; padding: 40px 24px; text-align: center; }
.footer p { opacity: 0.7; font-size: 14px; line-height: 1.8; }

/* Download Page Specific */
.dl-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 60px 24px; text-align: center; }
.dl-hero h1 { font-size: 40px; margin-bottom: 12px; }
.dl-meta { display: inline-flex; gap: 24px; margin: 20px 0; font-size: 14px; opacity: 0.85; }
.dl-card { background: var(--bg); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); margin-bottom: 20px; }
.dl-card h3 { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 24px; }
.step-num { counter-increment: step; width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-num::before { content: counter(step); }
.step-content h4 { font-size: 17px; margin-bottom: 6px; }
.step-content p { color: var(--text-secondary); font-size: 15px; }
.sys-req { background: var(--bg-alt); padding: 20px; border-radius: var(--radius); }
.sys-req h4 { font-size: 15px; margin-bottom: 12px; }
.sys-req ul { list-style: none; font-size: 14px; color: var(--text-secondary); }
.sys-req li { padding: 4px 0; }
.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: 8px; }
.changelog-version { background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.changelog-date { color: var(--text-secondary); font-size: 14px; }
.changelog-item ul { margin-left: 20px; color: var(--text-secondary); font-size: 15px; }
.changelog-item li { margin-bottom: 4px; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 60px 24px; text-align: center; border-radius: var(--radius); margin: 40px auto; max-width: 1200px; }
.cta-banner h2 { font-size: 32px; margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .section { padding: 48px 16px; }
  .detail-block { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 6px 12px; font-size: 14px; }
}
