/* PumpTraderBot - Solana Utility Aesthetic (Inspired by solanatokencreator.com) */
:root {
    --p-bg: #050505;
    --p-surface: #0c0c0c;
    --p-accent: #2af081; /* Solana Neon Green */
    --p-accent-glow: rgba(42, 240, 129, 0.2);
    --p-text-main: #ffffff;
    --p-text-dim: #8b949e;
    --p-border: rgba(42, 240, 129, 0.15);
    --p-border-bright: rgba(42, 240, 129, 0.5);
}

body {
    background-color: var(--p-bg);
    color: var(--p-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    /* Subtle Mesh Gradient Background */
    background-image: 
        radial-gradient(at 0% 0%, rgba(42, 240, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 102, 255, 0.03) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* --- Navigation & Sidebar Feel --- */
.navbar {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--p-border);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -1px;
}

.nav-link {
    color: var(--p-text-dim) !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--p-accent) !important;
}

/* --- Hero Section --- */
.hero-section {
    padding: 160px 0 40px;
    text-align: center;
}

.hero-title {
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 5rem);
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--p-accent);
    filter: drop-shadow(0 0 15px var(--p-accent-glow));
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--p-text-dim);
    max-width: 580px;
    margin: 0 auto 3.5rem;
    line-height: 1.5;
}

/* --- Buttons (Neon Style) --- */
.btn-primary {
    background-color: var(--p-accent);
    border: none;
    color: #000 !important;
    padding: 16px 36px;
    font-weight: 800;
    border-radius: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--p-accent-glow);
    background-color: var(--p-accent);
}

.btn-outline-primary {
    border: 1px solid var(--p-border-bright);
    color: var(--p-accent);
    padding: 16px 36px;
    font-weight: 700;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(42, 240, 129, 0.05);
    border-color: var(--p-accent);
    color: var(--p-accent);
}

/* --- Utility Cards --- */
.feature-card, .pricing-card, .legal-card {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
}

.feature-card:hover, .pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--p-accent);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 20px rgba(42, 240, 129, 0.05);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(42, 240, 129, 0.1);
    color: var(--p-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* --- Pricing --- */
.pricing-card.featured {
    border: 1px solid var(--p-accent);
    background: linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}



.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--p-text-dim);
    font-weight: 400;
}

/* --- Footer --- */
footer {
    background: transparent;
    border-top: 1px solid var(--p-border);
    padding: 80px 0 40px;
}

.footer-link {
    color: var(--p-text-dim);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--p-accent);
}

/* --- Utilities --- */
.text-accent { color: var(--p-accent) !important; }
.text-dim { color: var(--p-text-dim) !important; }
.bg-primary-soft { background: rgba(42, 240, 129, 0.1) !important; }

/* --- Modern App Window Mockup --- */
.app-window-container {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.app-window {
    background: #000;
    border-radius: 16px;
    border: 1px solid rgba(42, 240, 129, 0.1);
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(42, 240, 129, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.window-header {
    background: #0a0a0a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.app-window img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.9) contrast(1.1);
}

.perspective-right { transform: perspective(2000px) rotateY(-12deg) rotateX(4deg) scale(0.95); }
.perspective-left { transform: perspective(2000px) rotateY(12deg) rotateX(4deg) scale(0.95); }

.app-window:hover {
    transform: perspective(2000px) rotateY(0) rotateX(0) translateY(-15px) scale(1);
    border-color: var(--p-accent);
    box-shadow: 
        0 60px 120px -30px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(42, 240, 129, 0.15);
    z-index: 10;
}

.app-window:hover img {
    filter: brightness(1) contrast(1);
}

/* Floating Status Pills */
.floating-pill {
    position: absolute;
    background: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--p-accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--p-accent);
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    animation: float 4s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(5px); }
}

.glow-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(42, 240, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- Lightbox Overlay --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(42, 240, 129, 0.2);
    border: 1px solid var(--p-border);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.app-window {
    cursor: zoom-in;
}

/* --- CTA Transition Banner --- */
.cta-banner {
    background: #050505;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(42, 240, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(42, 240, 129, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--p-border);
    border-bottom: 1px solid var(--p-border);
    overflow: hidden;
    margin: 100px 0;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: -2.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* --- Auth & Forms --- */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 80px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    margin-top: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(42, 240, 129, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--p-accent);
    box-shadow: 0 0 15px var(--p-accent-glow);
}

.form-control-dark {
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--p-text-main);
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control-dark:focus {
    background-color: #080808;
    border-color: var(--p-accent);
    box-shadow: 0 0 0 3px var(--p-accent-glow);
    color: var(--p-text-main);
    outline: none;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--p-text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-check-input {
    background-color: #050505;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: var(--p-accent);
    border-color: var(--p-accent);
}

.form-check-input:focus {
    border-color: var(--p-accent);
    box-shadow: 0 0 0 3px var(--p-accent-glow);
}

.auth-link {
    color: var(--p-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #fff;
}

/* --- Navigation Auth Buttons (Smaller) --- */
.navbar-nav .btn-sm {
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
}

/* --- Disabled Button State --- */
.btn-primary:disabled, .btn-primary[disabled] {
    background-color: #222 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* --- FAQ Accordion --- */
.accordion-item {
    background-color: var(--p-surface);
    border: 1px solid var(--p-border);
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: transparent;
    color: var(--p-text-main);
    font-weight: 700;
    padding: 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(42, 240, 129, 0.05);
    color: var(--p-accent);
}

.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(65%) sepia(48%) saturate(3821%) hue-rotate(97deg) brightness(98%) contrast(93%);
}

.accordion-body {
    background-color: transparent;
    color: var(--p-text-dim);
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.8;
}

.footer-hover {
    transition: all 0.3s ease;
}

.footer-hover:hover {
    color: var(--p-accent) !important;
    padding-left: 5px;
}

/* --- Platform Compatibility Alert --- */
.os-compatibility-alert {
    background: linear-gradient(90deg, rgba(42, 240, 129, 0.1) 0%, rgba(0, 102, 255, 0.05) 100%);
    border: 1px solid var(--p-accent);
    border-radius: 16px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 750px;
    margin: 4rem auto 1rem;
    box-shadow: 0 0 30px rgba(42, 240, 129, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeInDown 0.8s ease-out, alertPulse 4s infinite;
}

.os-compatibility-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 240, 129, 0.1), transparent);
    animation: shine 3s infinite;
}

.os-compatibility-alert i {
    color: var(--p-accent);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--p-accent));
}

.os-compatibility-alert .os-icons i {
    font-size: 2.8rem;
    filter: drop-shadow(0 0 15px rgba(42, 240, 129, 0.4));
    transition: all 0.3s ease;
}

.os-compatibility-alert .os-icons i:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 20px var(--p-accent));
}

.os-compatibility-alert p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--p-text-main);
    letter-spacing: 0.3px;
}

.os-compatibility-alert .badge-win {
    background: var(--p-accent);
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 6px;
    box-shadow: 0 0 15px var(--p-accent-glow);
}

@keyframes alertPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(42, 240, 129, 0.15); }
    50% { transform: scale(1.02); box-shadow: 0 0 40px rgba(42, 240, 129, 0.25); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

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


/* --- Neon Notification Modal --- */
.neon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.neon-modal-card {
    background: var(--p-surface);
    border: 1px solid var(--p-accent);
    border-radius: 20px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 0 50px var(--p-accent-glow);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.neon-modal-overlay.active .neon-modal-card {
    transform: translateY(0) scale(1);
}

.neon-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--p-accent);
    box-shadow: 0 0 15px var(--p-accent-glow);
}

.neon-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px currentColor);
}

.neon-modal-title {
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.neon-modal-message {
    color: var(--p-text-dim);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Mobile Responsive Fixes (Navbar visibility & Horizontal scroll prevention) --- */
html, body {
    max-width: 100% !important;
}

/* Make hamburger icon beautifully visible and neon styled */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(42, 240, 129, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
    border: 1px solid rgba(42, 240, 129, 0.3) !important;
    background: rgba(42, 240, 129, 0.05) !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 10px rgba(42, 240, 129, 0.3) !important;
    border-color: var(--p-accent) !important;
}

/* Hide floating pills and prevent app-window overflows on mobile & tablet screens */
@media (max-width: 991px) {
    .floating-pill {
        display: none !important;
    }
    .app-window-container {
        overflow: hidden !important;
        padding: 10px !important;
    }
    .app-window {
        transform: none !important; /* Disable perspective tilts on small touch devices */
    }
}

/* Force navbar items to stay on the same line on ultra-small mobile viewports */
.navbar > .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.navbar-brand {
    flex-shrink: 1 !important;
    max-width: 75% !important;
}

.navbar-toggler {
    flex-shrink: 0 !important;
}

/* --- Premium Offcanvas Styling for Mobile viewports (< 992px) --- */
@media (max-width: 991px) {
    .offcanvas {
        background: rgba(5, 5, 5, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        border-right: 1px solid rgba(42, 240, 129, 0.15) !important;
        width: 280px !important;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 40px rgba(42, 240, 129, 0.03) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 2050 !important;
    }
    
    .offcanvas-backdrop {
        z-index: 2040 !important;
    }
    
    .offcanvas-header {
        border-bottom: 1px solid rgba(42, 240, 129, 0.1) !important;
        padding: 1.5rem !important;
    }
    
    .offcanvas-body {
        padding: 2rem 1.5rem !important;
    }
    
    .offcanvas-body .navbar-nav {
        align-items: flex-start !important; /* Align left for beautiful offcanvas list */
        width: 100% !important;
    }
    
    .offcanvas-body .nav-item {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }
    
    .offcanvas-body .nav-link {
        font-size: 1.1rem !important;
        padding: 0.8rem 1rem !important;
        border-radius: 8px !important;
        width: 100% !important;
        display: block !important;
        text-align: left !important;
        transition: all 0.3s ease !important;
    }
    
    .offcanvas-body .nav-link:hover, 
    .offcanvas-body .nav-link.active {
        background: rgba(42, 240, 129, 0.06) !important;
        color: var(--p-accent) !important;
        border-left: 3px solid var(--p-accent) !important;
        padding-left: calc(1rem - 3px) !important;
    }
    
    /* Elegant Custom Close Button styling */
    .btn-close-white {
        filter: invert(1) grayscale(1) brightness(1.5) !important;
        opacity: 0.8 !important;
        transition: all 0.2s ease !important;
    }
    .btn-close-white:hover {
        opacity: 1 !important;
        transform: rotate(90deg) !important;
    }
}
