/* ============================================================
   RUMOUR — Modernized Download Page Styles
   ============================================================ */

/* Hero badge pulse dot */
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1.25rem;
  border: 1.5px solid rgba(59, 130, 246, .25);
  border-radius: 50px;
  background: rgba(59, 130, 246, .06);
  margin-bottom: 2rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

/* Combined Container Rectangle Layout */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05),
              0 4px 12px -4px rgba(0, 0, 0, 0.02);
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.platform-col {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: background 0.25s ease;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}

.platform-col:last-child {
  border-right: none;
}

.platform-col:hover {
  background: rgba(15, 23, 42, 0.015);
}


.platform-col__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.platform-col__icon-box {
  font-size: 2.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border-radius: 0 !important;
  width: auto;
  height: auto;
}

.platform-col__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.2rem;
  letter-spacing: -0.4px;
}

.platform-col__meta {
  font-size: 0.8rem;
  color: var(--slate);
  display: block;
}

.platform-col__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Download Button Card Item */
.download-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}

.download-card-btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.download-card-btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.download-card-btn--outline {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--ink);
}

.download-card-btn--outline:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--blue);
}

.download-card-btn--disabled {
  background: rgba(15, 23, 42, 0.02);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  color: var(--slate);
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
}

.btn-primary-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.btn-sub-title {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 400;
}

.dl-badge {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.dl-badge--alt {
  background: rgba(15, 23, 42, 0.06);
  color: var(--slate);
}

.dl-badge--soon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--orange);
  font-family: inherit;
  font-size: 0.7rem;
}

.releases-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.releases-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.releases-note a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* CLI Terminal Block */
.cli-block {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  margin-top: 2rem;
}

.cli-block__top {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cli-dots {
  display: flex;
  gap: 6px;
}

.cli-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cli-dot.red {
  background: #ef4444;
}

.cli-dot.yellow {
  background: #eab308;
}

.cli-dot.green {
  background: #22c55e;
}

.cli-block__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
}

.cli-block__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cli-block code {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  word-break: break-all;
  line-height: 1.5;
  flex: 1;
}

.cli-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.cli-copy-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  color: #60a5fa;
}

.cli-copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* System Requirements Grid */
.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.sysreq-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease;
}

.sysreq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.2);
}

.sysreq-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.sysreq-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
}

.sysreq-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

/* Responsive Breakpoints for Download Page */
@media (max-width: 1024px) {
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sysreq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .sysreq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cli-block__body {
    flex-direction: column;
    align-items: stretch;
  }

  .cli-copy-btn {
    justify-content: center;
  }
}