:root {
    --bg-color: #020408;
    --card-bg: rgba(6, 10, 20, 0.6);
    --accent-blue: #00f3ff;
    --accent-gold: #ffcc33;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(0, 243, 255, 0.1);
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

/* Background HUD Grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
}

/* Sharp Typography */
h1, h2, h3 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000 url('assets/hero.png?v=20260420_v3') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 95%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 100;
    line-height: 1.2;
    letter-spacing: 0.4em;
    margin-bottom: 30px;
}

#hero h1 span {
    font-weight: 900;
    letter-spacing: 0.1em;
}

#hero h2 {
    font-size: 0.8rem;
    color: var(--accent-blue);
    letter-spacing: 0.8em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Sections */
section {
    padding: clamp(100px, 15vw, 200px) 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8vw;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.tag {
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 20px;
}

/* Grids */
.agent-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Cards */
.agent-card, .project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0; /* Full image look */
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.agent-img {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.agent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.6);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-card:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

.agent-info {
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.agent-info h3 {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
}

.agent-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 15px;
    line-height: 1.8;
}

/* Projects */
.project-card {
    padding: 50px;
    text-align: center;
}

.proj-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.project-card h3 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Forced Mobile Overrides */
@media (max-width: 1024px) {
    .cursor-glow, .vertical-label {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    nav {
        justify-content: center;
        padding: 20px !important;
    }

    .agent-grid, .project-grid, .vision-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 60px !important;
    }

    .agent-img {
        height: 400px;
    }

    #hero h1 {
        font-size: 2.8rem !important;
        letter-spacing: 0.2em !important;
    }
}

/* Glitch & Animations */
.glitch {
    position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

/* Reveal on Scroll handled by JS */
