/* ============================================
   Platform Switcher Component
   Radio-style navigation for switching between platform-specific and generic product pages
   ============================================ */

.platform-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin: 0 auto 2rem auto;
    max-width: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.platform-switcher-option {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
}

.platform-switcher-option:hover:not(.platform-switcher-active):not(.platform-switcher-coming-soon) {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

/* Active state - filled background with brand color */
.platform-switcher-option.platform-switcher-active {
    background: #8b5cf6;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.platform-switcher-option.platform-switcher-active:hover {
    background: #7c3aed;
    color: #ffffff;
}

/* Coming soon state - disabled */
.platform-switcher-option.platform-switcher-coming-soon {
    opacity: 0.4;
    cursor: not-allowed;
}

.platform-switcher-option.platform-switcher-coming-soon:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive: Mobile adjustments */
@media (max-width: 480px) {
    .platform-switcher {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .platform-switcher-option {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* Tablet and up: Increase spacing */
@media (min-width: 768px) {
    .platform-switcher {
        margin-bottom: 2.5rem;
    }
}
