:root {
    --bg-color: #000;
    --fg-color: #fff;
    --accent: #00f3ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    * { cursor: none; }
}

body {
    background: var(--bg-color);
    color: var(--fg-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

.text-outline-white {
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.font-black { font-weight: 900; }

#custom-cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    display: none;
}

@media (min-width: 768px) {
    #custom-cursor, .cursor-follower { display: block; }
}

.cursor-active .cursor-follower {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

section {
    position: relative;
    z-index: 2;
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after {
    transform: translateX(0);
}

.horizontal-item {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .horizontal-item { padding: 2rem; }
}

.image-reveal-container {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal-container.revealed {
    clip-path: inset(0 0 0% 0);
}

body {
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}

#autonomy {
    transition: background-color 0.8s ease;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 0.9;
    }
}
