:root {
    --primary-black: #121212;
    --leipzig-gold: #D4AF37;
    --concrete-silver: #E5E5E5;
    --electric-indigo: #4F46E5;
    --bauhaus-red: #B22222;
    /* A subtle industrial red for accents */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

body {
    background-color: var(--concrete-silver);
    color: var(--primary-black);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Grid System */
.bauhaus-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;
    background-color: rgba(18, 18, 18, 0.1);
}

.grid-cell {
    background-color: var(--concrete-silver);
    padding: 2rem;
    border: 0.5px solid rgba(18, 18, 18, 0.05);
}

/* Hero Section */
.hero-container {
    height: 90vh;
    position: relative;
    overflow: hidden;
    background: var(--primary-black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
    /* Removed blur completely and increased brightness to 80% */
    transition: filter 0.3s ease;
    opacity: 0.9;
}

.viewfinder {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--leipzig-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 9999px rgba(18, 18, 18, 0.7);
    overflow: hidden;
    display: none;
}

.viewfinder-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--hero-img);
    background-size: cover;
    background-attachment: fixed;
    filter: brightness(100%) blur(0);
}

.hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;
}

.kinetic-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 0.8;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 2rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--leipzig-gold);
}

/* Interactive Widget Bar */
.command-bar {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1.5rem;
    z-index: 30;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--leipzig-gold);
    margin-bottom: 0.5rem;
}

.input-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 0;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-bottom-color: var(--leipzig-gold);
}

.cta-btn {
    background: var(--leipzig-gold);
    color: var(--primary-black);
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    background: white;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .command-bar {
        grid-template-columns: 1fr;
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        width: 100%;
        margin-top: -2rem;
    }

    .kinetic-title {
        font-size: 5rem;
    }

    .viewfinder {
        display: none !important;
    }
}

/* Header Refinement */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.logo-icon {
    width: 40px;
    height: 40px;
    fill: var(--leipzig-gold);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}