::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #059669;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0d2a0e;
}

.text-glow {
    text-shadow: 0 0 20px rgba(52, 211, 62, 0.4);
}

.neon-glow {
    text-shadow: 0 0 10px rgba(167, 243, 208, 0.8), 0 0 30px rgba(52, 211, 153, 0.6);
}

.bg-radial {
    background: radial-gradient(circle at center, #1d4d26 0%, #1b4f1a 60%, #07180b 100%);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-jetbrains {
    font-family: 'JetBrains Mono', monospace;
}

.font-crimson {
    font-family: 'Crimson Text', serif;
}

.font-anonymous {
    font-family: 'Anonymous Pro', monospace;
}

header {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-mask {
    position: relative;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}


#cta-btn {
    box-shadow: 0 0 40px rgba(95, 188, 154, 0.4);
}

.section-about {
    background-color: #0e260a;
    border-radius: 40px;
}

.scroll-top-btn {
    background: #000;
    box-shadow: 0 0 15px rgba(52, 211, 92, 0.3);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 30px;
    right: 20px;
}


spline-viewer {
    position: relative;
}

.spline-cover {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 140px;
    height: 40px;
    background: radial-gradient(circle,
            rgba(6, 47, 22, 0.9),
            rgb(6, 47, 18));
    pointer-events: none;
}


.scroll-top-btn:hover {
    box-shadow: 0 0 25px rgba(52, 211, 92, 0.5);
    transform: scale(1.1);
}

.dropdown-btn {
    font-size: small;
}

.dropdown-menu {
    width: 50px;
    height: 70px;
}

.dropdown-menu>ul>li:hover {
    border: #fff 1px solid;
    border-radius: 10%;
}

.lan {
    padding-inline: 5px;
}

.dropdown-menu>ul {
    height: 100%;
    width: 100%;
}

.login-btn {
    position: relative;
}

.login-btn-a {
    position: absolute;
}

.how-it-worked-container {
    background: linear-gradient(135deg, #0f762c 0%, #064e1a 100%);
    border-radius: 40px;
    box-shadow: -10px 6px 18px 8px #093f14;
}

.grid-item-label {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

.divider-vertical {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.divider-horizontal {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100%;
}

.device-box {
    background-color: #262c27;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.device-box:hover {
    transform: translateY(-5px);
}

.area {
    font-size: 60px;
}

.mission-box {
    background-color: #061702;
    border-radius: 60px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.footer-container {
    background-color: #0a260c;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    margin: auto;
    width: 85%;
    height: 380px;
}

.footer-cta-pill {
    width: 330px;
    height: 65px;
    background-color: #000;
    color: #4cde4a;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
}

.model {
    position: absolute;
    width: 40%;
    height: 140%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(31, 31, 31, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite;
    transform: translateX(-40px);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }

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

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 84, 0.25), transparent 100%);
    filter: blur(120px);
    z-index: -1;

}


.about-text {
    color: #e5e7eb;
    opacity: 0.85;
    line-height: 1.8;
    line-height: 40px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    position: relative;
}

img,
video,
canvas,
svg,
spline-viewer {
    max-width: 100%;
}

.glass-panel {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

spline-viewer {
    width: 100%;
    height: 100%;
}


.mag-btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.mag-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity .3s;
}

.mag-btn:hover::after {
    opacity: .5;
}

.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim .6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.blur-trigger {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(15px);
}

.blur-animate {
    animation: blurFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.25s;
}

.delay-3 {
    animation-delay: 0.4s;
}

.delay-4 {
    animation-delay: 0.55s;
}

@keyframes blurFadeIn {
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

@layer utilities {

    .scroll-perspective {
        perspective: 1000px;
    }

    .card-trigger {
        opacity: 0;
        filter: blur(16px);
        transform: translateY(40px) scale(0.93) rotateX(15deg);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity, filter;
    }

    .card-visible {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0) scale(1) rotateX(0deg);
    }

    .card-delay-1 {
        transition-delay: 0ms;
    }

    .card-delay-2 {
        transition-delay: 100ms;
    }

    .card-delay-3 {
        transition-delay: 200ms;
    }

    .card-delay-4 {
        transition-delay: 300ms;
    }
}

@layer utilities {

    .fade-left-trigger {
        opacity: 0;
        filter: blur(15px);
        transform: translateX(-40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .fade-right-trigger {
        opacity: 0;
        filter: blur(20px);
        transform: translateX(50px) scale(0.95);
        transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
            filter 1s cubic-bezier(0.16, 1, 0.3, 1),
            transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .element-visible {
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0) scale(1);
    }

    .stagger-1 {
        transition-delay: 0ms;
    }

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

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

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


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.25s ease-out forwards;
}

.modal-content-active {
    transform: scale(1) !important;
    opacity: 1 !important;
}