/* 
   --------------------------------------------------------------------------
   CoValu Ethereal Vanguard System (v3.0)
   Theme: Deep Void, Holographic, Kinetic
   --------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
    /* -- PALETTE: Deep Obsidian & Bioluminescence -- */
    --void-bg: #020617;
    --void-deep: #000000;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --neon-blue: #00f0ff;
    --neon-purple: #7000ff;
    --neon-pink: #ff0055;
    --holo-gradient: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    background-color: var(--void-bg);
    color: #f8fafc;
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
    perspective: 1000px;
}

.ethereal-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, #1e1b4b, transparent 60%),
        radial-gradient(circle at 0% 50%, #172554, transparent 50%),
        radial-gradient(circle at 100% 50%, #312e81, transparent 50%);
    opacity: 0.6;
    overflow: hidden;
}

.aurora-beam {
    position: absolute;
    width: 60vw;
    height: 60vh;
    background: conic-gradient(from 180deg at 50% 50%, #00f0ff88 0deg, #7000ff88 180deg, #00f0ff88 360deg);
    filter: blur(120px);
    opacity: 0.2;
    animation: aurora-spin 20s linear infinite;
    mix-blend-mode: screen;
}

@keyframes aurora-spin {
    0% {
        transform: rotate(0deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1.2);
    }
}

.holo-card {
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-edge);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0), inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.holo-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent 0deg, var(--neon-blue) 40deg, transparent 80deg);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate-border 4s linear infinite;
}

.holo-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--neon-blue);
}

.text-display-crystal {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    display: block;
    text-align: center;
}

.text-gradient-holo {
    background: var(--holo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: none;
}

.nav-pill {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-edge);
    border-radius: 9999px;
    transition: all 0.4s var(--ease-elastic);
}

.nav-pill:hover {
    background: rgba(2, 6, 23, 0.9);
    border-color: var(--glass-highlight);
    transform: scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.2);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    min-width: 160px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.5rem;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 240, 255, 0.08);
    color: #00f0ff;
}

.btn-primary {
    background: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* 
   ---------------------------
   PARTNER LOGOS (STRICT FIX)
   ---------------------------
   Prevents explosion and ensures alignment.
*/
.logo-track-container {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 6rem;
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
    align-items: center;
    padding: 2rem 0;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partner-logo {
    height: 40px;
    /* STRICT HEIGHT */
    width: auto;
    max-width: 140px;
    /* Prevent wide logos from dominating */
    object-fit: contain;
    filter: grayscale(100%) brightness(2) opacity(0.5);
    /* Silhouetting */
    transition: all 0.4s ease;
    flex-shrink: 0;
    /* Prevent squishing */
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.1);
    cursor: pointer;
}

/* Footer & Form */
.footer-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.footer-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}