.platform-heading {
  margin-bottom: 2.5rem;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  padding: 0.5rem;
  background: #e2e8f0;
  border-radius: 12px;
}

.platform-tab {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #475569;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-tab:hover {
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.6);
}

.platform-tab:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.platform-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.28);
}

.platform-panel[hidden] {
  display: none;
}

.platform-panel.is-active {
  animation: platform-panel-in 0.3s ease-out;
}

.platform-download-card {
  min-height: 360px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.platform-download-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.platform-note {
  width: 100%;
  max-width: 560px;
  padding: 1rem 1.25rem;
  color: #9a3412;
  font-weight: 600;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

@keyframes platform-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .platform-tabs {
    margin-bottom: 2rem;
    padding: 0.375rem;
  }

  .platform-tab {
    padding: 0.625rem 0.375rem;
    font-size: 0.875rem;
  }

  .platform-download-card {
    min-height: 320px;
  }
}
