body {
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d2ff00; }

.motion-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #d2ff00;
}
.text-outline-white {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}
.text-outline-white:hover {
    color: #ffffff;
    -webkit-text-stroke: 1px transparent;
    transition: all 0.3s ease;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100vw;
    position: relative;
}

/* STRICT SLIDER CSS TO PREVENT BREAKING */
.slider-track {
    display: flex;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    width: 100%;
}
.hero-slide, .portfolio-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 0.95;
}

.hero-subtitle {
    font-size: 3rem;
    line-height: 0.9;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 6rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 4.5rem;
    }
}

@media (max-width: 420px) {

    .hero-title {
        font-size: 2rem;
        line-height: 0.95;
    }

    .hero-subtitle {
        font-size: 2.4rem;
        line-height: 0.9;
    }

}

.slider-dot {
    transition: all 300ms ease;
}
.slider-dot[aria-current="true"] {
    background-color: #d2ff00;
    width: 2.75rem;
}

.accordion-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion-wrapper.open {
    grid-template-rows: 1fr;
}
.accordion-inner {
    overflow: hidden;
}

.bg-grid {
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    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)'/%3E%3C/svg%3E");
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.1) translate(4%, 6%); opacity: 0.6; }
    100% { transform: scale(0.9) translate(-4%, -2%); opacity: 0.3; }
}

.hover-elevate {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hover-elevate:hover {
    transform: translateY(-8px);
    border-color: rgba(210, 255, 0, 0.3);
    box-shadow: 0 20px 40px -10px rgba(210, 255, 0, 0.15);
    background-color: rgba(26, 26, 26, 0.9);
}

.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 4rem;
    padding-top: 2rem;
    padding-inline: 1.5rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.horizontal-stack-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    transform-origin: center bottom;
}

@media (min-width: 768px) {
    .horizontal-scroll-wrapper {
        justify-content: center;
        overflow-x: visible;
        padding-inline: 0;
        gap: 0;
    }
    .horizontal-stack-card {
        flex: 0 0 320px;
        margin-left: -130px; 
        box-shadow: -15px 0 30px -10px rgba(0,0,0,0.7);
    }
    .horizontal-stack-card:first-child {
        margin-left: 0;
        box-shadow: 0 0 30px -10px rgba(0,0,0,0.5);
    }
    
    .horizontal-stack-card:hover, .horizontal-stack-card.active-touch {
        transform: translateY(-40px) rotate(2deg) scale(1.05) !important;
        z-index: 50 !important;
        box-shadow: 0 40px 60px -15px rgba(0,0,0,0.9), 0 0 30px rgba(210,255,0,0.15) !important;
    }
    
    .horizontal-scroll-wrapper:hover .horizontal-stack-card:not(:hover) {
        opacity: 0.5;
        transform: translateX(15px) scale(0.95);
    }
}

@keyframes coachBreathing {
    0%, 100% { transform: scaleY(1) scaleX(1) translateY(0); }
    50% { transform: scaleY(1.01) scaleX(0.99) translateY(-1px); }
}
.coach-idle {
    animation: coachBreathing 4s ease-in-out infinite;
}
.coach-container:hover .coach-idle {
    transform: scale(1.04);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
    animation-play-state: paused;
}
.coach-click {
    animation: coachSquish 350ms ease-out forwards;
}
@keyframes coachSquish {
    0% { transform: scale(1.04); }
    40% { transform: scale(0.98, 0.95); }
    70% { transform: scale(1.03, 1.05); }
    100% { transform: scale(1.04); }
}
.paper-texture {
    background-color: #FFFDF7;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}