/* Custom Styles for Cosmic Cranachan */

/* Smooth scroll */
#cursor,
#cursor-follower {
    display: none !important;
}

/* Disable JS cursor globally */
html {
    scroll-behavior: smooth;
}

/* Base body styles */
body {
    cursor: url('cursor.png'), auto;
    /* Use custom image cursor */
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Force custom cursor on all interactive elements */
a,
button,
[role="button"],
input,
select,
textarea,
label,
.cursor-pointer {
    cursor: url('cursor.png'), auto !important;
}

/* Hide scrollbar for cleaner look */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile menu open state */
.mobile-menu-open {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Navigation scrolled state */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.734) !important;
    backdrop-filter: blur(12px) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1) !important;
}

/* Dropdown open state */
.dropdown-open .dropdown-panel {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}



.dropdown-open .dropdown-arrow {
    transform: rotate(180deg) !important;
}

/* Custom animation keyframes for pulse with extended duration */
@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Manifesto word spans */
#manifesto-text span {
    display: inline-block;
    margin-right: 0.3em;
    will-change: opacity;
}

/* Service card initial state for GSAP animation */
.service-card {
    will-change: transform, opacity;
}

/* Process step initial state */
.process-step {
    will-change: transform, opacity;
}

/* Talent row initial state */
.talent-row {
    will-change: transform, opacity;
}

/* Stat label initial state */
.stat-label {
    will-change: transform, opacity;
}

/* Stat divider initial state */
.stat-divider {
    will-change: transform;
    transform-origin: center top;
}

/* Touch device cursor fix */
@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto !important;
    }

    #cursor,
    #cursor-follower {
        display: none !important;
        /* Hide JS cursor elements */
    }
}

/* FAQ Accordion Details */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Paper Background Texture */
.paper-bg {
    background-image: url('paper-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Scroll Progress Line */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
    z-index: 99999;
    pointer-events: none;
    transition: none;
}

/* CTA Horizon Effect */
.cta-horizon-container {
    perspective: 1000px;
    overflow: hidden;
    background: #000;
}

/* U-Shape (Concave) Horizon Glow */
.horizon-glow {
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(237, 136, 78, 0.278) 60%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* U-Shape (Concave) Horizon Edge */
.horizon-edge {
    position: absolute;
    top: -60%;
    left: -10%;
    width: 120%;
    height: 150%;
    background: transparent;
    border-radius: 50%;
    border-bottom: 2px solid rgba(247, 139, 85, 0.8);
    box-shadow: 0 10px 60px rgba(247, 147, 85, 0.196), inset 0 -20px 40px rgba(247, 147, 85, 0.083);
    z-index: 1;
    pointer-events: none;
}

.star-field {
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}