/* Main Custom CSS */

/* Base Typography */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    overflow-x: hidden;
}

/* Neon Text Glow Utilities */
.text-neon-blue {
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

.text-neon-pink {
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
}

.drop-shadow-neon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.shadow-neon-pink {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.shadow-neon-blue {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.shadow-neon-purple {
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.3);
}

/* Grain Overlay */
.bg-grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    mix-blend-mode: overlay;
}

/* Sticky Header State */
.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Video Section */
#hero video {
    filter: contrast(1.1) brightness(0.8);
}

/* Pricing Card Hover */
.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* HERO TEXT ANIMATIONS */
.hero-glitch {
    position: relative;
    /* Neon Pulse Animation: White to Cyan pulse */
    animation: neon-pulse 3s infinite alternate;
}

/* Pseudo-elements for the 'splitting' glitch effect */
.hero-glitch::before,
.hero-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* RESPONSIVE VIDEO EMBEDS */
.aspect-video {
    position: relative;
}

.aspect-video iframe,
.aspect-video embed,
.aspect-video object {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00de;
    /* Pink offset */
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.hero-glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00f3ff;
    /* Blue offset */
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

/* Keyframes */
@keyframes neon-pulse {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.8),
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3);
    }

    20%,
    24%,
    55% {
        text-shadow:
            0 0 20px #fff,
            0 0 40px #0ff,
            0 0 80px #0ff,
            0 0 100px #0ff;
        opacity: 1;
        color: #fff;
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    15% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    20% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    25% {
        clip: rect(90px, 9999px, 90px, 0);
    }

    30% {
        clip: rect(10px, 9999px, 60px, 0);
    }

    40% {
        clip: rect(20px, 9999px, 40px, 0);
    }

    50% {
        clip: rect(80px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    70% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    80% {
        clip: rect(90px, 9999px, 40px, 0);
    }

    90% {
        clip: rect(60px, 9999px, 50px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 10px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(15px, 9999px, 85px, 0);
    }

    5% {
        clip: rect(65px, 9999px, 25px, 0);
    }

    10% {
        clip: rect(15px, 9999px, 95px, 0);
    }

    15% {
        clip: rect(85px, 9999px, 35px, 0);
    }

    20% {
        clip: rect(15px, 9999px, 65px, 0);
    }

    25% {
        clip: rect(45px, 9999px, 15px, 0);
    }

    30% {
        clip: rect(75px, 9999px, 55px, 0);
    }

    35% {
        clip: rect(25px, 9999px, 85px, 0);
    }

    40% {
        clip: rect(55px, 9999px, 35px, 0);
    }

    45% {
        clip: rect(15px, 9999px, 65px, 0);
    }

    50% {
        clip: rect(85px, 9999px, 15px, 0);
    }

    55% {
        clip: rect(35px, 9999px, 95px, 0);
    }

    60% {
        clip: rect(65px, 9999px, 25px, 0);
    }

    65% {
        clip: rect(15px, 9999px, 55px, 0);
    }

    70% {
        clip: rect(95px, 9999px, 35px, 0);
    }

    75% {
        clip: rect(45px, 9999px, 15px, 0);
    }

    80% {
        clip: rect(75px, 9999px, 45px, 0);
    }

    85% {
        clip: rect(25px, 9999px, 75px, 0);
    }

    90% {
        clip: rect(55px, 9999px, 15px, 0);
    }

    95% {
        clip: rect(15px, 9999px, 45px, 0);
    }

    100% {
        clip: rect(85px, 9999px, 15px, 0);
    }
}

/* NAVIGATION POLISH */
.main-navigation ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #00f3ff;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #00f3ff;
}

.main-navigation ul li a:hover::after {
    width: 100%;
}

/* CUSTOM GTRANSLATE STYLES */
.gtranslate-custom-wrapper {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #333;
    display: flex;
    align-items: center;
}

/* Force dark theme on potential GTranslate dropdowns if possible, or basic positioning */
.gtranslate-custom-wrapper select {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 5px;
}

/* Street Style Glitch - Robust Multi-line Support */
.glitch-block {
    position: relative;
    display: inline-block;
    color: white;
}

.glitch-block::before,
.glitch-block::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Partial occlusion for glitch feel */
    opacity: 0.5;
}

.glitch-block::before {
    color: #0ff;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, 2px);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-block::after {
    color: #f0f;
    z-index: -2;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, -2px);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -1px);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(1px, -2px);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 1px);
    }

    100% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(2px, -1px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, -1px);
    }

    20% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-1px, 2px);
    }

    40% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(1px, -2px);
    }

    60% {
        clip-path: inset(50% 0 40% 0);
        transform: translate(-2px, 1px);
    }

    80% {
        clip-path: inset(20% 0 70% 0);
        transform: translate(2px, -1px);
    }

    100% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(-1px, 2px);
    }
}


/* Handwriting Font */
.font-satisfy {
    font-family: 'Satisfy', cursive;
}