/* ==========================================
   MR. WIDE AWAKE - BRAND STYLE SHEET
   Color Palette:
   - Cosmic Purple: #7C3AED
   - Spirit Cyan: #06B6D4
   - Enlighten Gold: #F59E0B
   - Deep Black: #0A0A1A
   - Accent Pink: #EC4899
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #0A0A1A;
    color: #F5F5F4;
    overflow-x: hidden;
}

/* Cosmic Background Effect */
.cosmic-bg {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%),
        #0A0A1A;
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(
        135deg,
        #F59E0B 0%,
        #EC4899 25%,
        #7C3AED 50%,
        #06B6D4 75%,
        #F59E0B 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 8s ease infinite;
}

/* Glowing Border Effect */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #7C3AED, #06B6D4, #F59E0B, #EC4899);
    background-size: 300% 300%;
    animation: gradient 4s ease infinite;
    z-index: -1;
    opacity: 0.7;
    filter: blur(8px);
}

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

::-webkit-scrollbar-track {
    background: #12122B;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7C3AED, #06B6D4);
    border-radius: 4px;
}

/* Video Background Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 26, 0.7) 0%,
        rgba(10, 10, 26, 0.5) 50%,
        rgba(10, 10, 26, 0.9) 100%
    );
}

/* Particle Effect Container */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(245, 158, 11, 0.6);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px -12px rgba(124, 58, 237, 0.25),
        0 0 0 1px rgba(124, 58, 237, 0.1);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Modal Backdrop */
.modal-backdrop {
    backdrop-filter: blur(8px);
    background: rgba(10, 10, 26, 0.8);
}

/* Form Input Styles */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    outline: none;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #F59E0B;
    color: #0A0A1A;
}

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Portfolio Filter */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #7C3AED, #06B6D4);
    color: white;
}

/* Awareness Tool Styles */
.awareness-meter {
    background: linear-gradient(90deg,
        #7C3AED 0%,
        #06B6D4 33%,
        #F59E0B 66%,
        #EC4899 100%
    );
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* WordPress admin bar compensation so the fixed nav doesn't hide under it */
html[lang] body.admin-bar nav.fixed {
    top: 32px;
}
@media screen and (max-width: 782px) {
    html[lang] body.admin-bar nav.fixed {
        top: 46px;
    }
}
