/* ===================================
   DJ SHOEBOXMOSES - LEGENDARY STYLES
   Where Music Meets Legacy
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #9d00ff);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d00ff, #00ffff);
}

/* Text Gradient Animation */
.text-gradient {
    background: linear-gradient(135deg, #00ffff, #9d00ff, #ffd700, #39ff14);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation Styles */
.nav-link {
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

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

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

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

/* Hero Section */
#hero {
    min-height: 100vh;
    position: relative;
}

.hero-headline {
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.hero-subheadline {
    animation: fadeInUp 1.2s ease-out;
}

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

/* CTA Button Styles */
.cta-button, .cta-button-secondary {
    position: relative;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    border: 2px solid #00ffff;
    background: transparent;
    color: #00ffff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 50px;
}

.cta-button-secondary {
    border-color: #9d00ff;
    color: #9d00ff;
}

.cta-button::before, .cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button-secondary::before {
    background: linear-gradient(90deg, transparent, rgba(157, 0, 255, 0.3), transparent);
}

.cta-button:hover, .cta-button-secondary:hover {
    background: #00ffff;
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-button-secondary:hover {
    background: #9d00ff;
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.5), 0 0 60px rgba(157, 0, 255, 0.3);
}

.cta-button:hover::before, .cta-button-secondary:hover::before {
    left: 100%;
}

.button-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #00ffff, #9d00ff, #ffd700);
    border-radius: 50px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover .button-glow, .cta-button-secondary:hover .button-glow {
    opacity: 0.7;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Social Proof Ticker */
.ticker-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-logo:hover {
    color: #00ffff;
    transform: scale(1.1);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(157, 0, 255, 0.1));
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(157, 0, 255, 0.2));
}

.learn-more-btn {
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #00ffff;
    color: #0a0a0a;
    transform: translateX(5px);
}

/* Forbes Section */
.forbes-container {
    position: relative;
}

.forbes-image, .story-image, .mission-image {
    animation: floatAnimation 6s ease-in-out infinite;
}

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

/* Testimonial Card */
.testimonial-card {
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Video Container */
.video-play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00ffff, #9d00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
    margin: 0 auto;
}

.video-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 255, 255, 0);
    }
}

/* FAQ Section */
.faq-item {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.05), rgba(0, 255, 255, 0.05));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #00ffff;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #00ffff;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #00ffff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: #a0a0a0;
    line-height: 1.8;
}

/* Social Icons */
.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(157, 0, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    color: #00ffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #00ffff, #9d00ff);
    color: #0a0a0a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 180px;
    height: 60px;
    background: linear-gradient(135deg, #00ffff, #9d00ff);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatCTA 3s ease-in-out infinite;
    color: #0a0a0a;
}

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

.floating-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.6);
}

/* Background Animation Pattern */
#bg-animation {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(157, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Scroll Animations - Applied via JS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Parallax Effects */
.parallax {
    transition: transform 0.5s ease-out;
}

/* Canvas Visualizer */
#visualizer {
    pointer-events: none;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .cta-button, .cta-button-secondary {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .floating-cta {
        width: 140px;
        height: 50px;
        font-size: 14px;
        bottom: 20px;
        right: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        font-size: 18px;
        padding: 15px 25px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 18px;
    }
}

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

/* Loading State */
.loading {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 255, 0.1);
    border-top-color: #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cursor Trail Effect (Optional) */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.6), transparent);
    pointer-events: none;
    z-index: 9999;
    animation: cursorFade 0.8s ease-out forwards;
}

@keyframes cursorFade {
    to {
        opacity: 0;
        transform: scale(2);
    }
}

/* Print Styles */
@media print {
    .floating-cta,
    nav,
    #visualizer {
        display: none;
    }
}
