/* Vector Logo — Custom CSS (supplements compiled Tailwind) */

/* Google Fonts are loaded in header.php via <link> */

/* ---- Core overrides identical to React index.css ---- */
::selection {
    background: #F5F5F5;
    color: #050505;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #1a1a1d; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #F5F5F5; }

/* Custom cursor */
.vl-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F5F5F5;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
    mix-blend-mode: difference;
}
.vl-cursor-dot.is-hover {
    width: 48px;
    height: 48px;
    background: #F5F5F5;
}
@media (max-width: 768px) {
    .vl-cursor-dot { display: none; }
}

/* Card hover lift */
.vl-lift {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.5s ease;
    will-change: transform;
}
.vl-lift:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}

/* Outline text */
.text-stroke {
    -webkit-text-stroke: 1px rgba(245, 245, 245, 0.35);
    color: transparent;
}
.text-stroke-accent {
    -webkit-text-stroke: 1px rgba(245, 245, 245, 0.55);
    color: transparent;
}

/* Grain overlay */
.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Marquee animation */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.vl-marquee-track {
    display: flex;
    animation: marquee 40s linear infinite;
    width: max-content;
}

/* Scroll reveal animation */
.vl-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.vl-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero text reveal */
.vl-hero-line {
    display: block;
    overflow: hidden;
}
.vl-hero-line > span {
    display: block;
    transform: translateY(110%);
    animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroSlideUp {
    to { transform: translateY(0); }
}
.vl-hero-line:nth-child(1) > span { animation-delay: 0.15s; }
.vl-hero-line:nth-child(2) > span { animation-delay: 0.27s; }
.vl-hero-line:nth-child(3) > span { animation-delay: 0.39s; }

/* Accordion */
.vl-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}
.vl-accordion-item.is-open .vl-accordion-content {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}
.vl-accordion-trigger svg {
    transition: transform 0.2s ease;
}
.vl-accordion-item.is-open .vl-accordion-trigger svg {
    transform: rotate(180deg);
}

/* Toast */
.vl-toast {
    pointer-events: auto;
    padding: 12px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    animation: toastIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.vl-toast.success { background: #050505; color: #F5F5F5; }
.vl-toast.error { background: #2a0a08; color: #F5F5F5; border-color: rgba(232,51,41,0.3); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Select dropdown custom style */
select option {
    background: #0A0A0C;
    color: #F5F5F5;
}

/* CountUp */
.vl-countup { display: inline-block; }
