/**
 * Landing Page Premium Styles
 */

@keyframes slow-pan {
    0% { transform: scale(1) translate(0); }
    50% { transform: scale(1.1) translate(-2%, -2%); }
    100% { transform: scale(1) translate(0); }
}

.animate-slow-pan {
    animation: slow-pan 20s ease-in-out infinite;
}

.hero-gradient {
    background: linear-gradient(0deg, var(--bg-primary) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.2) 100%);
}

#wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(1.1); /* Slight upscale for better coverage */
}

.card-blur {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-glass {
    backdrop-filter: blur(12px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-primary);
}

.plan-card:hover .plan-btn {
    background: var(--accent-primary);
    color: white;
}

.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-premium:hover::after {
    opacity: 1;
}

/* Accordion Custom */
.faq-details[open] .faq-summary i {
    transform: rotate(180deg);
}

.faq-summary i {
    transition: transform 0.3s ease;
}

/* ============================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    /* Disable hover transforms on mobile for plan cards */
    .plan-card:hover {
        transform: none;
    }

    /* Category cards: smaller inner padding */
    .glass-card .absolute.inset-x-4 {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    /* Modal scrollbar hidden on mobile */
    #categoryModalContent::-webkit-scrollbar {
        display: none;
    }
    #categoryModalContent {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Mobile menu animation */
    #mobileMenu {
        animation: fadeSlideDown 0.3s ease;
    }

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

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    section {
        overflow-x: hidden;
    }
}
