::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111a22;
}

::-webkit-scrollbar-thumb {
    background: #233648;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #324d67;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.glass-card {
    background: rgba(19, 26, 35, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #137fec 50%, #00e676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(to right, #137fec, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] summary ~ * {
    animation: slideDown 0.3s ease-in-out;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #131a23 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
}

.material-symbols-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-pop {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }

    40% {
        transform: translateY(-26px) scale(1.25);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }
}

.algo-float {
    animation: float-pop 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    text-shadow:
        0 0 12px rgba(19, 127, 236, 0.45),
        0 0 22px rgba(19, 127, 236, 0.25);
    will-change: transform;
}

.primary_button {
    margin-right: 15px;
    border-color: #137fec;
}

.primary_button:hover {
    background-color: #137fec1c;
}

.market-btn {
    --tw-text-opacity: 1;
    color: rgb(146 173 201 / var(--tw-text-opacity, 1));
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.375rem;
    flex: 1 1 0%;
}

.market-btn:hover {
    background-color: rgb(255 255 255 / 0.1);
}

#close-btn {
    display: none;
    background: #137fec;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: -30px;
}

#close-btn svg {
    width: 25px;
    height: 25px;
}

@media(max-width:767px) {
    #menu_nav {
        position: fixed;
        width: 70%;
        right: 0;
        top: 0;
        bottom: 0;
        display: none;
        flex-direction: column;
        height: 100vh;
        transform: translate(106%);
        transition: transform 0.3s ease-in-out;

        background: #0a0e14;
        padding-top: 30px;
        z-index: 50;
    }

    #close-btn {
        display: flex;
    }
}

.strategy-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0b1016;
    --theme-color: #137fec;
    --theme-shadow: rgba(19, 127, 236, 0.2);
}

.strategy-card:hover {
    transform: translateY(-8px);
    background-color: #0f151e;
    border-color: var(--theme-color);
    box-shadow: 0 15px 30px -10px var(--theme-shadow);
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--theme-color), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.strategy-card:hover::before {
    opacity: 1;
}

.strategy-card:hover h3,
.strategy-card:hover .card-title {
    color: var(--theme-color) !important;
    transition: color 0.3s;
}

.card-btn {
    transition: all 0.2s;
}

.strategy-card:hover .card-btn {
    background-color: var(--theme-color);
    color: white;
    box-shadow: 0 4px 12px var(--theme-shadow);
    border-color: var(--theme-color);
}

.theme-blue {
    --theme-color: #137fec;
    --theme-shadow: rgba(19, 127, 236, 0.3);
}

.theme-purple {
    --theme-color: #d946ef;
    --theme-shadow: rgba(217, 70, 239, 0.3);
}

.theme-orange {
    --theme-color: #f97316;
    --theme-shadow: rgba(249, 115, 22, 0.3);
}

.theme-green {
    --theme-color: #22c55e;
    --theme-shadow: rgba(34, 197, 94, 0.3);
}

.group[open] .start-now-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    background-color: var(--theme-color) !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.group[open] .start-now-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px -5px var(--theme-shadow);
}

.group[open] .start-now-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.group[open] .start-now-btn:hover::after {
    transform: translateX(100%);
}

.group[open] a[href="contact.php"] {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.group[open] a[href="contact.php"]:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--theme-shadow);
    transform: translateY(-2px);
}

.index-selector .index-pill {
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backface-visibility: hidden;
}

.index-selector .index-pill:hover {
    transform: translateY(-2px);
    border-color: var(--theme-color);
    color: white !important;
    box-shadow: 0 4px 12px var(--theme-shadow);
}

.index-selector .index-pill:active {
    transform: scale(0.95);
    transition: transform 0.1s;
    background-color: var(--theme-color) !important;
}

.index-selector .index-pill.activate {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color);
    box-shadow: 0 0 10px var(--theme-shadow);
    color: white !important;
}

details {
    overflow: hidden;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details > div:not(summary) {
    transform-origin: top;
}
button.market-btn.flex-1.whitespace-nowrap.px-2.active {
    background: #ffffff21;
}




