/* ==========================================================
   DOWNLOAD PAGE - Post-purchase installation guide
   ========================================================== */

/* -- TWO METHOD LAYOUT ------------------------------------- */
.dl-methods {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  align-items: start;
  margin-bottom: 8px;
}
.dl-method {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.dl-method__divider {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 200px; gap: 12px;
}
.dl-method__divider::before,
.dl-method__divider::after {
  content: '';
  flex: 1; width: 1px;
  background: var(--border-light);
}
.dl-method__divider span {
  font-family: var(--font-head); font-size: 0.78rem;
  font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--bg-light);
  padding: 6px 10px; border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* Method header */
.dl-method__header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.dl-method__icon {
  font-size: 2rem; flex-shrink: 0; margin-top: 2px;
}
.dl-method__num {
  font-family: var(--font-head); font-size: 0.72rem;
  font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.dl-method__title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin: 0 0 6px;
  font-family: var(--font-head);
}
.dl-method__sub {
  font-size: 0.88rem; color: var(--text-secondary);
  margin: 0; line-height: 1.5;
}

/* Steps list */
.dl-steps {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.dl-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.92rem; color: var(--text-dark-2); line-height: 1.6;
}
.dl-steps__num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  flex-shrink: 0; margin-top: 1px;
}
.dl-steps code {
  background: var(--bg-light-2); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 1px 6px;
  font-size: 0.85rem; color: var(--accent);
}

/* Tip box */
.dl-method__tip {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(60,160,212,0.06);
  border: 1px solid rgba(60,160,212,0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem; color: var(--text-dark-2); line-height: 1.55;
}

/* -- INSTALL STEPS ----------------------------------------- */
.install-steps__title {
  font-size: 1.5rem; color: var(--text-dark);
  font-family: var(--font-head); font-weight: 700;
  margin: 0 0 8px;
}
.install-steps__sub {
  color: var(--text-secondary); font-size: 0.95rem;
  margin: 0 0 32px;
}

.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.step:last-child { border-bottom: none; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.step__body h4 {
  font-family: var(--font-head); font-size: 1.05rem;
  font-weight: 700; color: var(--text-dark);
  margin: 0 0 8px;
}
.step__body p {
  font-size: 0.93rem; color: var(--text-dark-2);
  line-height: 1.7; margin: 0 0 10px;
}
.step__body p:last-child { margin-bottom: 0; }
.step__note {
  background: rgba(232,168,76,0.08);
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.86rem; color: var(--text-dark-2);
  line-height: 1.6; margin-top: 12px;
}
.step__note strong { color: var(--text-dark); }
.key-example {
  background: var(--bg-light-2);
  border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2px 8px;
  font-size: 0.82rem; color: var(--navy);
  letter-spacing: 0.05em;
}

/* -- SYSTEM REQUIREMENTS ----------------------------------- */
.sys-req {
  background: var(--bg-light-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 48px;
}
.sys-req__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px;
}
.sys-req__item {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.sys-req__item:nth-last-child(-n+2) { border-bottom: none; }
.sys-req__label {
  font-family: var(--font-head); font-size: 0.75rem;
  font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.sys-req__val {
  font-size: 0.9rem; color: var(--text-dark-2); line-height: 1.5;
}

/* -- TROUBLESHOOTING --------------------------------------- */
.dl-trouble { margin-top: 48px; }
.trouble-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.trouble-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.trouble-item__q {
  font-family: var(--font-head); font-size: 0.9rem;
  font-weight: 700; color: var(--text-dark);
  margin-bottom: 8px;
}
.trouble-item__a {
  font-size: 0.87rem; color: var(--text-dark-2); line-height: 1.65;
}

/* -- NOT SUBSCRIBED CTA ------------------------------------ */
.dl-cta-box {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, rgba(26,50,82,0.04), rgba(60,160,212,0.06));
  border: 1.5px solid rgba(60,160,212,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 48px;
}
.dl-cta-box__icon { font-size: 2.2rem; flex-shrink: 0; }
.dl-cta-box h3 {
  font-family: var(--font-head); font-size: 1.1rem;
  font-weight: 700; color: var(--text-dark); margin: 0 0 6px;
}
.dl-cta-box p {
  font-size: 0.9rem; color: var(--text-secondary);
  margin: 0; line-height: 1.5;
}
.dl-cta-box .btn { flex-shrink: 0; white-space: nowrap; }

/* -- SECTION DIVIDER (shared with pricing) ----------------- */
.section-divider {
  display: flex; align-items: center; gap: 20px;
}
.section-divider__line {
  flex: 1; height: 1px; background: var(--border-light);
}
.section-divider__label { flex-shrink: 0; }

/* -- RESPONSIVE -------------------------------------------- */
@media (max-width: 900px) {
  .dl-methods {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dl-method__divider {
    flex-direction: row; min-height: auto;
    padding: 4px 0;
  }
  .dl-method__divider::before,
  .dl-method__divider::after {
    height: 1px; width: auto; flex: 1;
  }
  .sys-req__grid { grid-template-columns: 1fr; }
  .sys-req__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }
  .sys-req__item:last-child { border-bottom: none; }
  .trouble-grid { grid-template-columns: 1fr; }
  .dl-cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .dl-method { padding: 24px 18px; }
  .step { gap: 14px; }
  .step__num { width: 36px; height: 36px; font-size: 0.95rem; }
}
