/* Platform page overrides */
.platform-hero {
  background: linear-gradient(135deg,
    var(--primary, #6c63ff) 0%,
    var(--primary-dark, #564fcc) 100%);
  padding: 3rem 1rem 2.5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.platform-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.platform-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.platform-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: white;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.2;
}

.platform-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Platform switcher */
.platform-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.platform-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.platform-link-btn:hover {
  background: rgba(255,255,255,0.22);
  color: white;
}

.platform-link-btn.active {
  background: white;
  color: var(--primary, #6c63ff);
  border-color: white;
  font-weight: 700;
}

/* Related tools section */
.platform-related {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--bg-secondary, #f8fafc);
  border-radius: 16px;
  border: 1px solid var(--border, #e2e8f0);
}

.platform-related h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin-bottom: 0.75rem;
}

.platform-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-related-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 50px;
  color: var(--primary, #6c63ff);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
}

.platform-related-links a:hover {
  background: var(--primary, #6c63ff);
  color: white;
  border-color: var(--primary, #6c63ff);
}

@media (max-width: 600px) {
  .platform-hero { padding: 2rem 1rem 1.5rem; }
  .platform-hero h1 { font-size: 1.5rem; }
  .platform-switcher { gap: 6px; }
  .platform-link-btn { font-size: 0.75rem; padding: 6px 12px; }
}
