.stack-card-link {
  position: relative;
  padding-right: 54px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.stack-card-link:hover,
.stack-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 32px rgba(15, 23, 42, .24);
  outline: none;
}

.stack-arrow {
  position: absolute;
  right: 20px;
  font-size: 22px;
  opacity: .7;
  transition: transform .18s ease, opacity .18s ease;
}

.stack-card-link:hover .stack-arrow,
.stack-card-link:focus-visible .stack-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.price-grid.four-plans {
  grid-template-columns: repeat(4, 1fr);
}

.price-grid.five-plans {
  grid-template-columns: repeat(5, 1fr);
}

.plan-term-note { margin-top: 22px; }
.plan-term-note p { margin-bottom: 0; }
.topup-heading { margin-top: 42px; }
.topup-grid .price-card { text-align: center; }
.topup-grid .price { font-size: 27px; }

.trial-card {
  border-style: dashed;
  background: linear-gradient(145deg, #fff, #f5f9ff);
}

@media (max-width: 900px) {
  .price-grid.four-plans, .price-grid.five-plans { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .price-grid.four-plans, .price-grid.five-plans { grid-template-columns: 1fr; }
}

/* Download center */
.download-hero {
  background: radial-gradient(circle at 82% 14%, rgba(37, 99, 235, .16), transparent 30%), linear-gradient(155deg, #f8fbff 0%, #edf4ff 54%, #f7f9fc 100%);
  border-bottom: 1px solid var(--line);
}

.download-hero-inner { max-width: 860px; padding-top: 72px; padding-bottom: 70px; }
.download-hero h1 { max-width: 760px; margin: 18px 0 14px; font-size: 52px; line-height: 1.08; letter-spacing: -.035em; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 12px 32px rgba(15, 23, 42, .06); }
.download-card.blue-download { border-top: 4px solid var(--blue); }
.download-card.green-download { border-top: 4px solid var(--green); }
.download-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.version-badge { padding: 5px 10px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: 12px; font-weight: 800; }
.download-card h3 { margin: 20px 0 8px; font-size: 25px; }
.download-card > p { margin: 0; color: #526076; }
.download-btn { width: 100%; gap: 10px; margin-top: 4px; }
.download-btn span { padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.18); font-size: 11px; letter-spacing: .06em; }
.download-note { display: block; margin-top: 10px; color: var(--muted); text-align: center; }
.safety-tip { margin-top: 18px; padding: 15px 18px; border: 1px solid #fde68a; border-radius: 12px; background: #fffbeb; color: #854d0e; }
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.install-steps > li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.step-number { color: #93c5fd; font-size: 24px; font-weight: 950; letter-spacing: -.04em; }
.install-steps h3 { margin: 0 0 5px; font-size: 20px; }
.install-steps p { margin: 0; color: #526076; }
.install-steps code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: #f1f5f9; }
.step-alert { display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 7px; color: #9a3412; background: #fff7ed; font-size: 13px; font-weight: 750; }
.browser-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.browser-links button { padding: 9px 12px; border: 1px solid #bfdbfe; border-radius: 9px; color: #1d4ed8; background: #eff6ff; font-family: inherit; font-weight: 800; cursor: pointer; }
.browser-links button:hover { background: #dbeafe; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 20px 22px; border-radius: 15px; color: #fff; background: #101827; }
.next-step span, .next-step strong { display: block; }
.next-step span { color: #93c5fd; font-size: 12px; font-weight: 900; }
.next-step strong { margin-top: 3px; }
.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.update-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.update-grid strong { font-size: 17px; }
.update-grid p { margin: 7px 0 0; color: #526076; }
.faq-heading { margin-top: 48px; }
.release-banner { color: #dbeafe; background: #101827; font-size: 13px; }
.release-banner .wrap { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.release-banner strong { color: #fff; }
.release-banner a { color: #93c5fd; font-weight: 900; white-space: nowrap; }
.release-banner a:hover { color: #fff; }
.nav-download { color: var(--blue) !important; }
.download-meta { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 750; }
.hero-helper-link { display: inline-block; margin-top: 9px; color: var(--blue); font-size: 14px; font-weight: 850; }
.hero-helper-link:hover { color: var(--blue-dark); }
.green-helper-link { color: var(--green); }
.green-helper-link:hover { color: var(--green-dark); }
.muted-link { color: var(--muted); font-size: 13px; }
.muted-link:hover { color: var(--ink); }

@media (max-width: 760px) {
  .download-hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .download-hero h1 { font-size: 38px; }
  .download-grid, .update-grid { grid-template-columns: 1fr; }
  .next-step { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .install-steps > li { grid-template-columns: 1fr; padding: 20px; }
  .step-number { font-size: 18px; }
  .release-banner .wrap { padding-top: 8px; padding-bottom: 8px; align-items: flex-start; justify-content: space-between; }
}
