/* JamBox - Custom Styles */
/* Festival-inspired design: AfricaBurn meets Tomorrowland */

/* ===== BASE STYLES ===== */
[x-cloak] {
    display: none !important;
}

::selection {
    background: rgba(255, 0, 255, 0.3);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D1A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF00FF, #00FFFF);
    border-radius: 4px;
}

/* ===== ANIMATIONS ===== */
@keyframes pulseNeon {
    0%, 100% {
        box-shadow: 0 0 5px #FF00FF, 0 0 10px #FF00FF, 0 0 20px #FF00FF;
    }
    50% {
        box-shadow: 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 40px #FF00FF, 0 0 60px #FF00FF;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 30px #FF00FF;
    }
    to {
        text-shadow: 0 0 20px #FF00FF, 0 0 30px #FF00FF, 0 0 40px #FF00FF, 0 0 50px #00FFFF;
    }
}

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

@keyframes bassPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes lightRay {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: rotate(5deg) scale(1.1);
    }
}

@keyframes speakerGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes navLights {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== NAVIGATION ===== */
.nav-lights {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #FF00FF, 
        #00FFFF, 
        #9D00FF, 
        #FF6EC7,
        #00FFFF,
        #FF00FF,
        transparent
    );
    background-size: 200% 100%;
    animation: navLights 4s linear infinite;
}

.nav-link {
    position: relative;
    color: #D4A574;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00FFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF00FF, #00FFFF);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-bg {
    background: 
        linear-gradient(to bottom, rgba(13, 13, 26, 0.7), rgba(13, 13, 26, 0.9)),
        url('images/hero-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.parallax-stars {
    background: 
        radial-gradient(1px 1px at 10% 20%, white, transparent),
        radial-gradient(1px 1px at 30% 40%, white, transparent),
        radial-gradient(2px 2px at 50% 10%, #00FFFF, transparent),
        radial-gradient(1px 1px at 70% 30%, white, transparent),
        radial-gradient(2px 2px at 90% 50%, #FF00FF, transparent),
        radial-gradient(1px 1px at 20% 60%, white, transparent),
        radial-gradient(2px 2px at 40% 80%, #00FFFF, transparent),
        radial-gradient(1px 1px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 80% 90%, white, transparent),
        radial-gradient(2px 2px at 15% 85%, #FF00FF, transparent);
    opacity: 0.6;
}

.parallax-hills {
    background: linear-gradient(to top, 
        rgba(44, 24, 16, 0.8) 0%,
        transparent 40%
    );
}

.light-rays {
    position: absolute;
    inset: 0;
    background: 
        conic-gradient(from 180deg at 50% 120%, 
            transparent 0deg,
            rgba(255, 0, 255, 0.1) 30deg,
            transparent 60deg,
            rgba(0, 255, 255, 0.1) 90deg,
            transparent 120deg,
            rgba(157, 0, 255, 0.1) 150deg,
            transparent 180deg,
            rgba(255, 110, 199, 0.1) 210deg,
            transparent 240deg,
            rgba(0, 255, 255, 0.1) 270deg,
            transparent 300deg,
            rgba(255, 0, 255, 0.1) 330deg,
            transparent 360deg
        );
    animation: lightRay 8s ease-in-out infinite;
}

.speaker-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(255, 0, 255, 0.4) 0%,
        rgba(0, 255, 255, 0.2) 30%,
        transparent 70%
    );
    filter: blur(60px);
    animation: speakerGlow 4s ease-in-out infinite;
}

@media (min-width: 768px) {
    .speaker-glow {
        width: 500px;
        height: 500px;
    }
}

/* ===== TYPOGRAPHY ===== */
.neon-text-glow {
    color: #FF00FF;
    text-shadow: 
        0 0 10px #FF00FF,
        0 0 20px #FF00FF,
        0 0 30px #FF00FF,
        0 0 40px #FF00FF;
    animation: glow 2s ease-in-out infinite alternate;
}

.neon-text-sharp {
    color: #FF00FF;
    text-shadow: 
        0 0 5px rgba(255, 0, 255, 0.8),
        0 0 10px rgba(255, 0, 255, 0.5);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4A574 50%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #FF00FF 0%, #9D00FF 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.3);
}

.btn-neon:active {
    animation: bassPulse 0.3s ease;
}

.btn-neon-urgent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FF00FF 0%, #00FFFF 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    animation: pulseNeon 2s infinite;
    position: relative;
    overflow: hidden;
}

.btn-neon-urgent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.btn-neon-urgent:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.8), 0 0 80px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #00FFFF;
    font-weight: 600;
    border: 2px solid #00FFFF;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #D4A574;
    font-weight: 600;
    border: 1px solid rgba(212, 165, 116, 0.5);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #FF00FF;
    color: #FF00FF;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

/* ===== CARDS ===== */
.problem-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(255, 0, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 0, 255, 0.1);
}

.problem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: #00FFFF;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF00FF, #00FFFF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 0, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ===== PLAN STEPS ===== */
.plan-step {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.plan-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF00FF, #00FFFF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

/* ===== PRICING ===== */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 255, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.05));
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 10;
}

.gallery-item img {
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 26, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT ===== */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00FFFF;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(212, 165, 116, 0.5);
}

/* ===== SOCIAL LINKS ===== */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #D4A574;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00FFFF;
    color: #00FFFF;
    transform: translateY(-3px);
}

/* ===== GRADIENTS ===== */
.bg-gradient-radial {
    background: radial-gradient(circle at center, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-neon,
    .btn-neon-urgent,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ===== UTILITY ===== */
.opacity-0-init {
    opacity: 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #00FFFF;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

