/* Extracted from index.html */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #030014;
    color: #ffffff;
    overflow-x: hidden;
}

/* Scroll Snap for Sections */
main {
    scroll-snap-type: y proximity;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}


.gradient-text {
    background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
    display: inline-block;
    padding-right: 0.25em;
}


.glow-border {
    position: relative;
}

.glow-border::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #a855f7, #ec4899, #f97316);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.glow-border:hover::after {
    opacity: 1;
}

/* Navbar Scroll State */
#navbar.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(3, 0, 20, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030014;
}

::-webkit-scrollbar-thumb {
    background: #4a044e;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #701a75;
}

/* Animations from Hero.tsx */
.perspective-1000 {
    perspective: 1000px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 7s ease-in-out infinite;
}

/* Shimmer Animation for Shining Text */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    animation: shimmer 3s ease-in-out infinite;
}

/* Auto Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Screenshot Carousel */
.screenshot-phone {
    width: 280px;
    will-change: transform, opacity;
}

.screenshot-phone img {
    user-select: none;
    -webkit-user-drag: none;
}