/* ============ Site 1 - Corporate Blue Minimalist ============ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #64748b;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --nav-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Navigation */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hero */
.hero {
  padding: 140px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-visual {
  background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-left: 12px;
}
.btn-secondary:hover { background: var(--primary-light); }
.btn-lg { padding: 16px 40px; font-size: 18px; }

/* Sections */
.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Feature Cards - Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
  padding: 80px 24px;
}
.download-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.download-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.download-section p { font-size: 17px; opacity: 0.9; margin-bottom: 40px; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.platform-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}
.platform-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.platform-card svg { width: 40px; height: 40px; margin-bottom: 12px; }
.platform-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.platform-card p { font-size: 13px; opacity: 0.8; margin-bottom: 16px; }
.platform-card .btn { padding: 10px 20px; font-size: 14px; }

/* Detail Blocks */
.detail-blocks { display: flex; flex-direction: column; gap: 48px; }
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.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; }
.detail-block p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.detail-visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border: 1px solid var(--border);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.review-author { font-size: 14px; font-weight: 600; color: var(--text); }
.review-role { font-size: 13px; color: var(--text-muted); }

/* Stats Bar */
.stats-bar {
  background: var(--bg-alt);
  padding: 48px 24px;
}
.stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar-item .sb-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}
.stats-bar-item .sb-label { font-size: 15px; color: var(--text-muted); margin-top: 4px; }

/* Comparison Table */
.compare-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  background: var(--bg-alt);
  padding: 16px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-table tr:last-child td { border-bottom: none; }
.check-yes { color: #16a34a; font-weight: 600; }
.check-no { color: #dc2626; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-question::after { content: "+"; font-size: 20px; color: var(--primary); }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Download Page Specific */
.download-hero {
  padding: 140px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.download-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.download-hero p { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; }
.download-meta { display: flex; gap: 24px; margin-bottom: 24px; font-size: 14px; color: var(--text-muted); }
.download-meta span { display: flex; align-items: center; gap: 6px; }

.install-steps { counter-reset: step; }
.install-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.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: 18px; font-weight: 600; margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

.sys-req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sys-req-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sys-req-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sys-req-card ul { list-style: none; }
.sys-req-card li { padding: 8px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.sys-req-card li:last-child { border-bottom: none; }

.changelog { display: flex; flex-direction: column; gap: 16px; }
.changelog-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.changelog-item .cl-ver { font-size: 16px; font-weight: 700; color: var(--primary); }
.changelog-item .cl-date { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.changelog-item ul { padding-left: 18px; }
.changelog-item li { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 60px auto;
  max-width: var(--max-width);
}
.cta-banner h3 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-banner p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }

/* Footer */
footer {
  background: var(--text);
  color: #94a3b8;
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
}
footer p { max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* Responsive */
@media (max-width: 768px) {
  .hero, .download-hero { grid-template-columns: 1fr; }
  .features-grid, .reviews-grid, .platform-grid, .stats-bar-inner { grid-template-columns: 1fr; }
  .detail-block { grid-template-columns: 1fr; }
  .detail-block:nth-child(even) { direction: ltr; }
  .nav-links { display: none; }
  .hero-content h1, .download-hero h1 { font-size: 32px; }
  .section-title h2 { font-size: 28px; }
}
