/* ==========================================================================
   Nebula Estate — custom styles
   (Utility classes come from Tailwind; this file only holds what Tailwind
   can't express cleanly.)
   ========================================================================== */

/* ---------- Base ---------- */
body {
    background-color: #08080c;
    color: #f3f4f6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* ---------- Glass surfaces ---------- */
.glass-panel {
    background: rgba(17, 17, 26, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
    background: rgba(8, 8, 12, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

/* ---------- Glow effects ---------- */
.glow-effect {
    box-shadow: 0 0 35px -5px rgba(59, 130, 246, 0.25);
}

.glow-hover:hover {
    box-shadow: 0 0 25px 2px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

/* ---------- Desktop nav link with animated underline ---------- */
.nav-link {
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link:hover::after {
    width: 100%;
}

/* ---------- Client logo marquee ---------- */
.mask-gradient {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-item {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.brand-item:hover {
    color: #60a5fa;
}

@media (min-width: 768px) {
    .brand-item {
        font-size: 1.25rem;
    }
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #08080c;
}

::-webkit-scrollbar-thumb {
    background: #1e1e2d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* ---------- Respect reduced-motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .animate-marquee,
    .animate-ping,
    .animate-pulse-glow {
        animation: none !important;
    }
}
