/* Proton Bot - Zynrax Inspired Cyberpunk Glassmorphism Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-primary: #0a0b0e;
    --bg-secondary: #0f1117;
    --bg-card: rgba(18, 20, 29, 0.7);
    --bg-card-hover: rgba(28, 32, 46, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(138, 75, 255, 0.35);
    --accent-purple: #8a4bff;
    --accent-purple-glow: rgba(138, 75, 255, 0.4);
    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.35);
    --accent-green: #00e676;
    --accent-red: #ff3366;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0b0e;
}
::-webkit-scrollbar-thumb {
    background: #262938;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 75, 255, 0.18) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-bottom {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 75, 255, 0.12) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(138, 75, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(138, 75, 255, 0.2);
}

.glass-panel {
    background: rgba(15, 17, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.glass-input {
    background: rgba(10, 11, 15, 0.7);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(138, 75, 255, 0.2);
}

/* Glowing Buttons */
.btn-primary {
    background: linear-gradient(135deg, #8a4bff 0%, #6929df 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px -2px rgba(138, 75, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -2px rgba(138, 75, 255, 0.65);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

/* Glowing Neon Text & Badges */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #b388ff 70%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #b388ff 0%, #8a4bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-glow {
    background: rgba(138, 75, 255, 0.15);
    color: #c49eff;
    border: 1px solid rgba(138, 75, 255, 0.35);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-green {
    background: rgba(0, 230, 118, 0.12);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
}

/* Custom Switch Toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #232736;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #8a4bff;
    box-shadow: 0 0 12px rgba(138, 75, 255, 0.6);
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Mobile Sidebar Drawer Animations */
.sidebar-transition {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
    .sidebar-closed {
        transform: translateX(-100%);
    }
    .sidebar-open {
        transform: translateX(0);
    }
}

/* Pulse Animation */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse-glow {
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Code Badge */
.code-badge {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85em;
    color: #e0d0ff;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 20, 29, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 75, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 360px;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Zynrax-Inspired Floating Navbar */
.floating-nav-wrapper {
    position: sticky;
    top: 12px;
    z-index: 50;
    width: 100%;
    padding: 0 16px;
}

.floating-nav-container {
    background: linear-gradient(135deg, rgba(38, 16, 20, 0.88) 0%, rgba(26, 12, 16, 0.92) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(239, 68, 68, 0.15);
    border-radius: 20px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.floating-nav-container:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.zynrax-nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d1d5db;
    padding: 6px 4px;
    position: relative;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.zynrax-nav-link:hover {
    color: #ffffff;
}

.zynrax-nav-link.active {
    color: #ffffff;
}

.zynrax-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ef4444;
    border-radius: 2px;
    box-shadow: 0 0 8px #ef4444;
}

.btn-premium-zynrax {
    background: #ffffff;
    color: #0d0d11;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-zynrax:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.pill-dropdown-trigger {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu-zynrax {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(22, 14, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 6px;
    min-width: 190px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.dropdown-group:hover .dropdown-menu-zynrax,
.dropdown-group:focus-within .dropdown-menu-zynrax {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-zynrax {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.dropdown-item-zynrax:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Premium Plan Modal Styles */
.premium-modal-card {
    background: #0e0f14;
    border: 1.5px solid rgba(234, 179, 8, 0.35);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 35px -10px rgba(234, 179, 8, 0.25);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.premium-price-text {
    font-family: 'JetBrains Mono', 'Plus Jakarta Sans', monospace;
    font-weight: 900;
    color: #facc15;
    text-shadow: 0 0 25px rgba(250, 204, 21, 0.4);
}

.premium-badge-popular {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.btn-buy-now {
    background: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 14px 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-buy-now:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}
