:root {
    --bg-color: #0F1012;
    /* Dark Asphalt */
    --text-color: #F0F0F0;
    --accent: #FFBF00;
    /* Safety Amber/Gold */
    --concrete: #2a2a2a;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
}

/* Subtle grain texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

#scan-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.4;
    /* Subtle background tech effect */
}

.content {
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    padding: 2rem 0;
}

/* HERO LOGO - The Main Entity */
.hero-logo {
    width: 350px;
    height: auto;
    margin-bottom: 2rem;
    /* KEY FIXES: */
    /* 1. Lift brightness significantly */
    /* 2. Add contrast */
    /* 3. Add a glow (drop-shadow) so dark edges are visible against dark bg */
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));

    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
    filter: brightness(1.5) contrast(1.2) drop-shadow(0 0 35px rgba(255, 255, 255, 0.25));
}

h1 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 800;
    /* Heavy font weight for "Construction" feel */
    margin: 0 0 0.5rem 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.subline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* ROAD LOADING BAR */
.construction-status {
    width: 300px;
    max-width: 100%;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.status-text {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 4px;
    /* Slightly thicker for road marking feel */
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    animation: pave 2.5s infinite ease-in-out;
}

/* PARTNERS */
.partners-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 80%;
    margin: 0 auto;
}

.partner-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.partner-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.p-logo {
    height: 60px;
    /* Big and clear */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.p-logo:hover {
    filter: grayscale(0%) opacity(1) brightness(1.1);
}

/* Crucial Fix for Monrive visibility */
.white-force {
    filter: brightness(0) invert(1) opacity(0.8) !important;
}

.white-force:hover {
    filter: brightness(0) invert(1) opacity(1) !important;
}

/* FOOTER */
footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

.business-info {
    margin-bottom: 0.5rem;
}

.creator-link {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.creator-link:hover {
    color: var(--accent);
}

@keyframes pave {
    0% {
        left: -30%;
        width: 20%;
    }

    50% {
        left: 40%;
        width: 50%;
    }

    100% {
        left: 110%;
        width: 20%;
    }
}

/* Responsive Tweaks */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .hero-logo {
        width: 280px;
    }

    .partner-grid {
        gap: 2rem;
    }

    .p-logo {
        height: 45px;
    }

    .partners-section {
        width: 95%;
    }
}