:root {
  --download-card: rgba(12, 32, 38, 0.92);
}
body {
  background: var(--bg);
}
.download-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 112px 0 54px;
  background: radial-gradient(circle at 28% -10%, rgba(93, 225, 230, 0.2), transparent 38%), radial-gradient(circle at 82% 18%, rgba(200, 243, 109, 0.08), transparent 26%), linear-gradient(180deg, #0a1b20 0%, var(--bg) 100%);
}
.download-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.download-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
.download-glow.one {
  width: 430px;
  height: 430px;
  right: 5%;
  top: 100px;
  border: 1px solid rgba(93, 225, 230, 0.14);
  box-shadow: inset 0 0 90px rgba(93, 225, 230, 0.06), 0 0 120px rgba(93, 225, 230, 0.05);
}
.download-glow.two {
  width: 230px;
  height: 230px;
  right: 15%;
  top: 200px;
  border: 1px solid rgba(200, 243, 109, 0.14);
}
.download-intro {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.download-intro h1 {
  width: 100%;
  max-width: none;
  margin: 10px 0;
  font-size: clamp(40px, 4.4vw, 60px);
  letter-spacing: -2.5px;
  text-align: center;
}
.download-intro .lead {
  max-width: 720px;
  margin: 0 auto;
  color: #b3c4c5;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.platform-card {
  position: relative;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--download-card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.platform-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -90px;
  right: -70px;
  border-radius: 50%;
  background: rgba(93, 225, 230, 0.1);
  filter: blur(18px);
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 225, 230, 0.46);
  box-shadow: 0 24px 60px rgba(2, 8, 18, 0.28);
}
.platform-card.featured {
  border-color: rgba(93, 225, 230, 0.34);
  background: linear-gradient(145deg, rgba(16, 42, 48, 0.96), rgba(8, 22, 27, 0.98));
}
.platform-topline {
  display: flex;
  justify-content: space-between;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.platform-topline small {
  color: #8ca1a3;
  font: inherit;
}
.os-icon {
  width: 76px;
  height: 76px;
  margin: 22px auto 0;
  color: #efffff;
}
.platform-copy {
  text-align: center;
}
.platform-copy h3 {
  margin: 14px 0 3px;
  font-size: 26px;
}
.platform-copy p {
  color: var(--muted);
  font-size: 13px;
}
.windows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  transform: perspective(120px) rotateY(-7deg);
}
.windows i {
  display: block;
  background: linear-gradient(145deg, var(--cyan), #2a8ebe);
}
.apple,
.linux {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 34px;
  font-weight: 650;
  line-height: 1;
}
.linux {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 25px;
}
.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(93, 225, 230, 0.58);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(93, 225, 230, 0.22), rgba(20, 126, 170, 0.2));
  color: #efffff;
  text-align: left;
  box-shadow: 0 8px 24px rgba(93, 225, 230, 0.1);
  transition: 0.22s;
}
.download-button span,
.download-button small {
  display: block;
}
.download-button span {
  font-size: 14px;
  font-weight: 700;
}
.download-button small {
  color: var(--lime);
  font-size: 11px;
}
.download-button:hover {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(93, 225, 230, 0.3), rgba(20, 126, 170, 0.27));
  transform: translateY(-2px);
}
.download-note {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
}
.download-note a {
  color: var(--cyan);
}
.trust-section {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-grid article {
  display: flex;
  gap: 18px;
  padding: 10px 34px;
  border-right: 1px solid var(--line);
}
.trust-grid article:first-child {
  padding-left: 0;
}
.trust-grid article:last-child {
  padding-right: 0;
  border: 0;
}
.trust-grid article > span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}
.trust-grid article h3 {
  margin: 0 0 7px;
  font-size: 17px;
}
.trust-grid article p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.download-footer {
  padding-top: 80px;
  background: var(--bg);
}
body.modal-open {
  overflow: hidden;
}
.download-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}
.download-modal.open {
  opacity: 1;
  visibility: visible;
}
.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 13, 0.78);
  backdrop-filter: blur(12px);
}
.download-modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(93, 225, 230, 0.3);
  border-radius: 26px;
  background: radial-gradient(circle at 90% 0, rgba(93, 225, 230, 0.12), transparent 34%), #0b1c22;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s;
}
.download-modal-dialog h2 {
  margin: 14px 0 4px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -1.5px;
}
.download-modal.open .download-modal-dialog {
  transform: none;
}
.download-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #dcebea;
  padding: 0;
  cursor: pointer;
}
.download-modal-close::before,
.download-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.download-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.download-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.download-modal-close:hover {
  border-color: var(--cyan);
  color: #fff;
}
.download-modal-description {
  margin: 0;
  color: var(--muted);
}
.download-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.2s;
}
.download-option span,
.download-option strong,
.download-option small,
.download-option b {
  display: block;
}
.download-option strong {
  font-size: 16px;
}
.download-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.download-option:hover {
  border-color: rgba(93, 225, 230, 0.52);
  background: rgba(93, 225, 230, 0.08);
  transform: translateY(-2px);
}
.download-option-meta {
  flex: 0 0 auto;
  text-align: right;
}
.download-option-meta b {
  margin-top: 5px;
  color: var(--lime);
  font-size: 13px;
}
.download-footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.footer-about {
  max-width: 300px;
}
.footer-about p {
  margin: 22px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-email {
  color: var(--cyan);
  font-size: 14px;
}
.footer-description {
  max-width: 960px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #74888a;
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 900px) {
  .platform-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .platform-card {
    min-height: auto;
  }
  .trust-grid article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .download-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .download-hero {
    min-height: auto;
    padding: 120px 0 72px;
  }
  .download-glow.one {
    right: -230px;
  }
  .download-footer-grid {
    grid-template-columns: 1fr;
  }
  .download-modal {
    padding: 12px;
  }
  .download-modal-dialog {
    padding: 30px 20px 22px;
    border-radius: 20px;
  }
  .download-option {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .download-option-meta {
    width: 100%;
    text-align: left;
  }
}
