@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;600&display=swap');

:root {
    --accent: #2563eb;
    /* A vibrant tech blue that aligns with the logo */
    --accent-dark: #000080;
    /* The deep navy from the logo */
    --bg-dark: #000000;
    --zinc-900: #09090b;
    --zinc-800: #18181b;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    cursor: none;
    /* Hide default for custom */
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Premium Outline Text */
.outline-text {
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent);
    transition: transform 0.1s ease;
}

.custom-cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease, top 0.2s ease, left 0.2s ease;
    opacity: 0.5;
}

/* Dynamic Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

/* Page Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Shadow Header */
#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

/* Card Hover Effects */
.group:hover .outline-text {
    color: var(--accent);
    -webkit-text-stroke: 0px transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--zinc-800);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Hover over clickable elements for cursor */
.clickable-hover {
    transform: scale(3.5);
    background: rgba(37, 99, 235, 0.1) !important;
    border-width: 0px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor,
    .custom-cursor-follower {
        display: none;
    }

    .outline-text {
        -webkit-text-stroke: 0.5px var(--accent);
    }
}

/* Products Dropdown */
.products-dropdown:hover .products-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.products-dropdown:hover .products-arrow {
    transform: rotate(180deg);
}