/* Premium Windows and macOS download cards */
.platform-downloads {
  position: relative;
  padding: 105px 0 115px;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(99, 53, 225, .18), transparent 55%),
    radial-gradient(ellipse at 80% 40%, rgba(29, 120, 255, .16), transparent 55%),
    #080d22;
}

.platform-downloads .section-head {
  text-align: center;
  margin-bottom: 48px;
}

.platform-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.platform-download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(130, 113, 255, .4);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(103, 67, 236, .19), transparent 55%),
    linear-gradient(145deg, #1a1946, #0d1734);
  box-shadow: 0 25px 65px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.platform-download-card.macos {
  border-color: rgba(73, 164, 255, .42);
  background:
    radial-gradient(circle at 90% 0%, rgba(28, 145, 255, .2), transparent 55%),
    linear-gradient(145deg, #121d48, #0c1530);
}

.platform-download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 75px rgba(86, 65, 235, .23);
}

.platform-download-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #7248ff, #3b56e9);
  box-shadow: 0 0 35px rgba(112, 73, 255, .35);
  color: #fff;
  font-size: 49px;
  font-weight: 600;
}

.macos .platform-download-icon {
  background: linear-gradient(135deg, #3478ed, #20b9e5);
  box-shadow: 0 0 35px rgba(35, 159, 255, .3);
}

.platform-download-label {
  color: #92b5e9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.platform-download-card h3 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(32px, 3vw, 44px);
}

.platform-download-card p {
  margin: 0 0 26px;
  color: #b8c5e3;
  font-size: 16px;
  line-height: 1.7;
}

.platform-download-version {
  margin-top: auto;
  margin-bottom: 24px;
  color: #9ddaff;
  font-size: 14px;
  font-weight: 700;
}

.platform-download-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 19px 24px;
  border-radius: 14px;
  background: linear-gradient(100deg, #7247ff, #4c5df4);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(82, 73, 255, .25);
}

.macos .platform-download-button {
  background: linear-gradient(100deg, #3769f4, #168bdb);
}

.platform-download-button:hover {
  filter: brightness(1.15);
}

.platform-download-help {
  margin: 34px 0 0;
  color: #aab9d6;
  text-align: center;
}

.platform-download-help a {
  color: #9ddaff;
}

@media (max-width: 760px) {
  .platform-downloads { padding: 70px 0; }
  .platform-download-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-download-card { transition: none; }
}

/* Version history and platform updates */
.platform-updates {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 46px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(125, 121, 255, .32);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(59, 115, 245, .14), transparent 60%),
    linear-gradient(130deg, rgba(29, 26, 74, .94), rgba(11, 22, 49, .96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.platform-updates-kicker,
.platform-updates-current > span,
.platform-updates-history > span {
  color: #8dbfff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.platform-updates-heading h3 {
  margin: 16px 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.platform-updates-heading p {
  max-width: 440px;
  margin: 0;
  color: #b6c3e2;
  font-size: 16px;
  line-height: 1.7;
}

.platform-updates-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-updates-current,
.platform-updates-history {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(130, 129, 255, .25);
  border-radius: 18px;
  background: rgba(13, 23, 58, .72);
}

.platform-updates-current strong {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(121, 116, 255, .35);
}

.platform-updates-current small {
  color: #a9b9d9;
  line-height: 1.6;
}

.platform-updates-history p {
  margin: 15px 0 0;
  color: #bec9e5;
  font-size: 13px;
  line-height: 1.5;
}

.platform-updates-history p strong {
  color: #fff;
}

.platform-updates-history a {
  margin-top: auto;
  padding-top: 20px;
  color: #80d8ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.platform-updates-history a:hover {
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .platform-updates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .platform-updates-details {
    grid-template-columns: 1fr;
  }

  .platform-updates {
    gap: 26px;
  }
}
