@tailwind base;
@tailwind components;
@tailwind utilities;

/* RADICAL STYLES */
body {
    background-color: #F0F4F9;
    color: #1a1a1a;
    overflow-x: clip;
}

/* Scrollbar Hider Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #094067;
}

::-webkit-scrollbar-thumb {
    background: #FFD23F;
    border: 2px solid #000;
}

/* Brutalist Utilities */
.border-black-3 {
    border: 3px solid #000000;
}

.text-stroke {
    text-shadow: -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white, 2px 2px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white;
    color: transparent;
}

.text-stroke-black {
    text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black, -2px 0 0 black, 2px 0 0 black, 0 -2px 0 black, 0 2px 0 black;
    color: white;
}

/* New class for solid white text with a hollow/outline effect */
.text-hollow-white {
    color: white;
    text-shadow:
        3px 3px 0px #000,
        -1px -1px 0px #000,
        1px -1px 0px #000,
        -1px 1px 0px #000,
        1px 1px 0px #000;
}

/* 3D Flip Utilities */
.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

.backface-hidden {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.rotate-y-180 {
    transform: rotateY(180deg);
}

/* Animation for the Hollow Text */
@keyframes brutal-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        text-shadow: 5px 5px 0px #FFD23F, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;
    }
}

.animate-brutal-pulse {
    display: inline-block;
    animation: brutal-pulse 2s infinite ease-in-out;
}

.text-shadow-retro {
    text-shadow: 4px 4px 0px #000;
}

/* Typing Effect Cursor */
.typing-cursor {
    margin-left: 2px;
    animation: blink 0.7s infinite;
    color: #FFD23F;
    font-weight: 400;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.rotate-hover:hover {
    transform: rotate(-2deg) scale(1.02);
}

/* Pattern Background */
.bg-pattern {
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Sticker Look */
.sticker {
    transform: rotate(-3deg);
    transition: transform 0.2s;
}

.sticker:hover {
    transform: rotate(0deg) scale(1.1);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.closed {
    transform: translateX(100%);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Carousel Additions */
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
    transition: all 0.3s;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 4px;
    background-color: #FFD23F;
}

/* 🧘 Bodhi Sage Mascot & Neobrutalist Speech Bubbles */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0) scale(1);
    }

    25% {
        transform: translateY(-10px) rotate(-5deg) scale(1.02);
    }

    50% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
    }

    75% {
        transform: translateY(-10px) rotate(-3deg) scale(1.02);
    }
}

/* 🧘 Bodhi Sage Mascot & Neobrutalist Speech Bubbles */
/* 🧘 Bodhi Sage Mascot & Neobrutalist Speech Bubbles */
.sage-layer {
    width: 280px !important;
    aspect-ratio: 1 / 1 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
    z-index: 2;
    background: black;
    /* Force Sharp Rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.sage-layer[data-state="IDLE"] {
    transform: translate(-50%, -50%) scale(1.45) translateZ(0);
}

.sage-layer[data-state="RUNNING"] {
    transform: translate(-50%, -50%) scale(1.15) translateZ(0);
}

.sage-layer[data-state="HAPPY"],
.sage-layer[data-state="STARING"],
.sage-layer[data-state="CELEBRATION"],
.sage-layer[data-state="SPEAR"] {
    transform: translate(-50%, -50%) scale(1.15) translateZ(0);
}

.sage-background-circle {
    position: relative;
    width: 160px;
    height: 160px;
    background: black;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.sage-background-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid #FFD23F;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
}

@media (hover: hover) {
    .mascot-container:hover .neobrutal-bubble {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

.neobrutal-bubble.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.neobrutal-bubble {
    position: absolute !important;
    bottom: 180px !important;
    background: #FFD23F !important;
    border: 3px solid #000 !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 10px 10px 0px 0px #000 !important;
    max-width: 320px !important;
    width: 320px !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: #000 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    z-index: 10002 !important;
    pointer-events: none !important;
}

.neobrutal-bubble.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.right-side .neobrutal-bubble {
    right: 0 !important;
}

.left-side .neobrutal-bubble {
    left: 0 !important;
}

.bubble-close {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    width: 30px !important;
    height: 30px !important;
    background: white !important;
    border: 3px solid black !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 4px 4px 0px black !important;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 10 !important;
}

@media (hover: hover) {
    .bubble-close:hover {
        background: #FF5E5E !important;
        /* Neobrutal Red */
        transform: translate(-2px, -2px) !important;
        box-shadow: 6px 6px 0px black !important;
    }
}

.bubble-close:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 0px 0px 0px black !important;
}

.mode-selector {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.mode-chip {
    flex: 1 !important;
    background: white !important;
    border: 3px solid black !important;
    padding: 10px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 4px 4px 0px black !important;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: black !important;
    text-align: center;
}

.mode-chip:hover {
    background: #A3E635 !important;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px black !important;
}

.mode-chip:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px black !important;
}

.chat-input-container {
    margin-top: 15px !important;
    display: flex !important;
    border: 3px solid black !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 4px 4px 0px black !important;
}

.sage-input {
    flex-grow: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    outline: none !important;
}

.sage-send {
    background: #A3E635 !important;
    border: none !important;
    border-left: 3px solid black !important;
    padding: 10px 15px !important;
    cursor: pointer !important;
}

.neobrutal-btn {
    background: #f97316 !important;
    color: white !important;
    padding: 12px !important;
    border: 3px solid black !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    display: block !important;
    box-shadow: 4px 4px 0px black !important;
    margin-top: 15px !important;
    text-align: center !important;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
}

.neobrutal-btn:hover {
    background: #ea580c !important;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px black !important;
}

.neobrutal-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px black !important;
}

.mascot-container {
    position: fixed;
    bottom: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    /* Let clicks pass through to the page */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-container.right-side {
    right: 20px;
    align-items: flex-end;
}

.mascot-container.left-side {
    left: 20px;
    align-items: flex-start;
}

.mascot-container>* {
    pointer-events: auto;
    /* Re-enable clicks for the bubble and mascot */
}

/* Ensure Hero section is visible */
#hero {
    position: relative;
    z-index: 1;
}

/* 📱 Mobile Responsiveness for Mascot */
@media (max-width: 768px) {
    .sage-background-circle {
        width: 100px !important;
        height: 100px !important;
    }

    .sage-background-circle::after {
        border-width: 4px !important;
    }

    .sage-layer {
        width: 160px !important;
    }

    .sage-layer[data-state="IDLE"] {
        transform: translate(-50%, -50%) scale(1.3) !important;
    }

    .mascot-container {
        bottom: 10px !important;
    }

    .mascot-container.right-side {
        right: 10px !important;
        left: auto !important;
    }

    .mascot-container.left-side {
        left: 10px !important;
        right: auto !important;
    }

    .neobrutal-bubble {
        max-width: 260px !important;
        padding: 16px !important;
        font-size: 14px !important;
    }

    .bubble-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 22px !important;
        top: -12px !important;
        right: -12px !important;
    }

    .mode-chip {
        padding: 8px !important;
        font-size: 12px !important;
    }
}

/* 🏢 Counseling Modal Styles */
.counseling-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.neobrutal-modal {
    position: relative;
    background: #FFD23F;
    border: 4px solid black;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    padding: 40px;
    box-shadow: 20px 20px 0px black;
    display: flex;
    flex-direction: column;
    z-index: 2;
    animation: modalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
    from {
        transform: scale(0.8) translateY(40px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: 3px solid black;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 4px 4px 0px black;
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.modal-chat-display {
    flex-grow: 1;
    background: white;
    border: 3px solid black;
    margin: 20px 0;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: inset 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.sage-message,
.user-message {
    padding: 15px 20px;
    border: 3px solid black;
    font-weight: 700;
    max-width: 85%;
    line-height: 1.4;
}

.sage-message {
    align-self: flex-start;
    background: #FFD23F;
    box-shadow: 5px 5px 0px black;
}

.user-message {
    align-self: flex-end;
    background: #A3E635;
    box-shadow: -5px 5px 0px black;
}

.modal-input-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#sage-modal-input {
    width: 100%;
    height: 100px;
    background: white;
    border: 3px solid black;
    padding: 15px;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    resize: none;
    box-shadow: 4px 4px 0px black;
}

.sage-hidden {
    display: none !important;
}

/* Bubble positioning handled above */

.neobrutal-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 25px;
    height: 25px;
    background: #FFD23F;
    /* Match cynical bg or lime green */
    border-right: 4px solid #000;
    border-bottom: 4px solid #000;
    transform: rotate(45deg);
    box-shadow: 4px 4px 0px 0px #000;
}

.right-side .neobrutal-bubble::after {
    right: 30px;
}

.left-side .neobrutal-bubble::after {
    left: 30px;
}

/* Cynical Variant Tail Match */
.neobrutal-bubble.cynical::after {
    background: #FFD23F;
}

.flip-side-btn,
.toggle-dialogue-btn,
.close-mascot-btn {
    position: absolute;
    bottom: -5px;
    width: 48px;
    height: 48px;
    background: #FFD23F;
    border: 3px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 0px black;
    z-index: 10001;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: black;
    pointer-events: auto;
}

.flip-side-btn svg,
.toggle-dialogue-btn svg,
.close-mascot-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 3px;
}

/* Flip Button Positioning */
.right-side .flip-side-btn {
    left: -10px;
}

.left-side .flip-side-btn {
    right: -10px;
}

/* Toggle Dialogue Button Positioning */
.right-side .toggle-dialogue-btn {
    right: -10px;
}

.left-side .toggle-dialogue-btn {
    left: -10px;
}

/* Close Mascot Button Positioning */
.close-mascot-btn {
    bottom: auto;
    top: -5px;
    right: -5px;
    width: 36px;
    height: 36px;
    background: #ff4d4d;
}

.close-mascot-btn svg {
    width: 18px;
    height: 18px;
}

.flip-side-btn:hover,
.toggle-dialogue-btn:hover,
.close-mascot-btn:hover {
    background: #fff;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 6px 6px 0px black;
}

.flip-side-btn:active,
.toggle-dialogue-btn:active,
.close-mascot-btn:active {
    transform: scale(0.9);
    box-shadow: 2px 2px 0px black;
}

@media (hover: hover) {
    .mascot-container:hover .neobrutal-bubble {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.neobrutal-bubble.cynical {
    background: #FFD23F;
    /* TBT Yellow */
}

.neobrutal-bubble.cynical::after {
    background: #FFD23F;
}



.scroll-progress-ring {
    box-shadow: 0 0 20px #FFD23F;
    pointer-events: none;
}


/* Additional Utilities */
.bg-grid {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

.text-outline-white-thin {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* Premium Animation Upgrade */
.reveal-hidden {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.8) translateY(40px) rotate(-3deg);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Premium Back-Out Easing */
    will-change: transform, opacity, filter;
}

.reveal-up {
    transform: translateY(80px) scale(0.9) rotate(2deg);
}

.reveal-left {
    transform: translateX(-80px) scale(0.9) rotate(-5deg);
}

.reveal-right {
    transform: translateX(80px) scale(0.9) rotate(5deg);
}

.reveal-scale {
    transform: scale(0.6) rotate(-10deg);
}

/* NEW: Premium Animation Variants */
.reveal-rotate-left {
    transform: translateY(50px) rotate(-15deg) scale(0.8);
}

.reveal-rotate-right {
    transform: translateY(50px) rotate(15deg) scale(0.8);
}

.reveal-skew-left {
    transform: translateY(50px) skewX(-15deg) scale(0.8);
}

.reveal-skew-right {
    transform: translateY(50px) skewX(15deg) scale(0.8);
}

.reveal-blur-in {
    filter: blur(40px);
    opacity: 0;
    transform: scale(1.2);
}

.reveal-active {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1) rotate(0) skewX(0);
}


/* Staggered Delay for Child Elements */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.stagger-5 {
    transition-delay: 500ms;
}

.stagger-6 {
    transition-delay: 600ms;
}

.stagger-7 {
    transition-delay: 700ms;
}

.stagger-8 {
    transition-delay: 800ms;
}

/* 🧘 Bodhi Sage Floating Animation */
@keyframes sageFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

#bodhi-sage-container {
    animation: sageFloat 6s ease-in-out infinite;
}

/* Harsh Reality Animation - Glitchy Entry */
@keyframes reveal-glitch {
    0% {
        clip-path: inset(100% 0 0 0);
        transform: skewX(-10deg);
    }

    10% {
        clip-path: inset(80% 0 0 0);
        transform: skewX(10deg);
    }

    20% {
        clip-path: inset(60% 0 0 0);
        transform: skewX(-5deg);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: skewX(0);
    }
}

.reveal-glitch.reveal-active {
    animation: reveal-glitch 0.6s steps(10) forwards;
}

/* 🎯 Predictor Result Cards */
#predictor-results-grid>div {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
.flip-side-btn:active,
.toggle-dialogue-btn:active,
.close-mascot-btn:active {
    transform: scale(0.9);
    box-shadow: 2px 2px 0px black;
}

@media (hover: hover) {
    .mascot-container:hover .neobrutal-bubble {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.neobrutal-bubble.cynical {
    background: #FFD23F;
    /* TBT Yellow */
}

.neobrutal-bubble.cynical::after {
    background: #FFD23F;
}



.scroll-progress-ring {
    box-shadow: 0 0 20px #FFD23F;
    pointer-events: none;
}


/* Additional Utilities */
.bg-grid {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

.text-outline-white-thin {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* Premium Animation Upgrade */
.reveal-hidden {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.8) translateY(40px) rotate(-3deg);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Premium Back-Out Easing */
    will-change: transform, opacity, filter;
}

.reveal-up {
    transform: translateY(80px) scale(0.9) rotate(2deg);
}

.reveal-left {
    transform: translateX(-80px) scale(0.9) rotate(-5deg);
}

.reveal-right {
    transform: translateX(80px) scale(0.9) rotate(5deg);
}

.reveal-scale {
    transform: scale(0.6) rotate(-10deg);
}

/* NEW: Premium Animation Variants */
.reveal-rotate-left {
    transform: translateY(50px) rotate(-15deg) scale(0.8);
}

.reveal-rotate-right {
    transform: translateY(50px) rotate(15deg) scale(0.8);
}

.reveal-skew-left {
    transform: translateY(50px) skewX(-15deg) scale(0.8);
}

.reveal-skew-right {
    transform: translateY(50px) skewX(15deg) scale(0.8);
}

.reveal-blur-in {
    filter: blur(40px);
    opacity: 0;
    transform: scale(1.2);
}

.reveal-active {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1) rotate(0) skewX(0);
}


/* Staggered Delay for Child Elements */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.stagger-5 {
    transition-delay: 500ms;
}

.stagger-6 {
    transition-delay: 600ms;
}

.stagger-7 {
    transition-delay: 700ms;
}

.stagger-8 {
    transition-delay: 800ms;
}

/* 🧘 Bodhi Sage Floating Animation */
@keyframes sageFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

#bodhi-sage-container {
    animation: sageFloat 6s ease-in-out infinite;
}

/* Harsh Reality Animation - Glitchy Entry */
@keyframes reveal-glitch {
    0% {
        clip-path: inset(100% 0 0 0);
        transform: skewX(-10deg);
    }

    10% {
        clip-path: inset(80% 0 0 0);
        transform: skewX(10deg);
    }

    20% {
        clip-path: inset(60% 0 0 0);
        transform: skewX(-5deg);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: skewX(0);
    }
}

.reveal-glitch.reveal-active {
    animation: reveal-glitch 0.6s steps(10) forwards;
}

/* 🎯 Predictor Result Cards */
#predictor-results-grid>div {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#predictor-results-grid>div:hover {
    transform: translate(-8px, -8px);
    box-shadow: 15px 15px 0px 0px #000;
    border-color: #094067;
}

/* Pricing Card Sub-caption Single Line Uniformity */
.price-caption-single-line {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    margin-top: 4px !important;
    color: #6b7280 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

@media (max-width: 420px) {
    .price-caption-single-line {
        font-size: 9px !important;
        letter-spacing: -0.04em !important;
    }
}

@media (max-width: 360px) {
    .price-caption-single-line {
        font-size: 8px !important;
        letter-spacing: -0.05em !important;
    }
}

/* Mobile Slider Flex Styles (Robust Flex) */
@media (max-width: 767px) {
    .mobile-slider {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 2.5rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        align-items: stretch !important;
    }
    .mobile-slider::-webkit-scrollbar {
        display: none;
    }
    .mobile-slider > * {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        max-width: none !important;
        height: auto !important;
        scroll-snap-align: start !important;
    }
}
