/* ===== Base ===== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Navbar scroll state ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Aurora / Glow Backgrounds ===== */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.aurora::before {
    background: #7C3AED;
    top: -200px;
    right: -150px;
    animation: float1 14s ease-in-out infinite;
}

.aurora::after {
    background: #06E7D4;
    bottom: -200px;
    left: -150px;
    animation: float2 16s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-60px, 40px) scale(1.15);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -40px) scale(1.1);
    }
}

/* ===== Gradient text ===== */
.gradient-text {
    background: linear-gradient(120deg, #06E7D4 0%, #7C3AED 60%, #06E7D4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ===== Glow card ===== */
.glow-card {
    position: relative;
    background: linear-gradient(160deg, rgba(30, 27, 75, 0.5), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all .35s ease;
}

.glow-card:hover {
    border-color: rgba(6, 231, 212, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -20px rgba(124, 58, 237, 0.5);
}

/* ===== Reveal on scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Marquee ===== */
.marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0A0E1A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#7C3AED, #06E7D4);
    border-radius: 10px;
}

/* ===== Section default padding ===== */
section {
    position: relative;
}

/* ===== Form inputs ===== */
input,
textarea,
select {
    font-family: 'Vazirmatn', system-ui, sans-serif;
}

/* ===== Smooth focus ring ===== */
*:focus {
    outline: none;
}