/* ============================================
   Download Page Styles (download.html)
   ============================================ */

/* ---- Download Hero ---- */
.download-hero {
  min-height: 80vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 56px;
  position: relative;
}

.download-hero-inner {
  max-width: 600px;
  padding: 0 24px;
}

.download-hero-icon {
  margin-bottom: 32px;
}

.download-hero-icon svg {
  width: 80px;
  height: 80px;
}

.download-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.download-version {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.download-size {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.download-main-btn {
  padding: 20px 48px;
  font-size: 18px;
  margin-bottom: 16px;
  min-width: 280px;
  height: 64px;
}

.download-note {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ---- Platform Matrix ---- */
.platform-matrix {
  background: var(--color-bg-gray);
  padding: var(--section-padding) 0;
}

.platform-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-matrix-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.platform-matrix-icon {
  margin-bottom: 20px;
}

.platform-matrix-icon svg {
  width: 56px;
  height: 56px;
}

.platform-matrix-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.platform-matrix-version {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.platform-matrix-requirement {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.platform-matrix-steps {
  text-align: left;
  margin-bottom: 24px;
}

.platform-matrix-steps li {
  font-size: 14px;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.platform-matrix-steps li:last-child {
  border-bottom: none;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.platform-matrix-card .btn {
  width: 100%;
}

/* ---- Installation Guides ---- */
.install-guide {
  background: #fff;
  padding: var(--section-padding) 0;
}

.install-guide + .install-guide {
  background: var(--color-bg-gray);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.guide-steps {
  counter-reset: step;
}

.guide-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-step-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.guide-visual {
  background: var(--color-bg-gray);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 100px;
}

.guide-visual svg {
  width: 60%;
  height: 60%;
  opacity: 0.15;
}

/* ---- System Requirements ---- */
.sys-requirements {
  background: var(--color-bg-gray);
  padding: var(--section-padding) 0;
}

.sys-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sys-table th,
.sys-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.sys-table th {
  font-weight: 600;
  color: var(--color-text-dark);
  background: var(--color-bg-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sys-table td {
  font-size: 15px;
  color: var(--color-text);
}

/* ---- Changelog ---- */
.changelog {
  background: #fff;
  padding: var(--section-padding) 0;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.changelog-item {
  background: var(--color-bg-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-left: 3px solid var(--color-accent);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.changelog-version {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.changelog-date {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.changelog-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--color-accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.changelog-item ul {
  list-style: disc;
  padding-left: 20px;
}

.changelog-item li {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ---- Security Section ---- */
.security-section {
  background: var(--color-bg-gray);
  padding: var(--section-padding) 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.security-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.security-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.security-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.security-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .platform-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-visual {
    display: none;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .platform-matrix-grid {
    grid-template-columns: 1fr;
  }

  .download-hero {
    min-height: 60vh;
  }
}
