:root {
    --bg-color: #0F0F0F;
    --primary-color: #E30613;
    --text-color: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
}

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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    /* Hide default cursor for custom cursor on desktop */
    cursor: none; 
}

/* --- WebGL Background --- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* --- Custom Cursor --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cursor.hovered {
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    mix-blend-mode: normal;
}

/* --- UI Layer & Layout --- */
.ui-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 4rem;
    pointer-events: none; /* Let events fall through to canvas if needed, though we track mouse globally */
}

a, button, .magnetic, .logo-large {
    pointer-events: auto;
    cursor: none;
}

/* Main Centered Hero Section */
.centered-hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3rem; /* Space between logo, text, and button */
}

/* Logo */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-large {
    height: 160px; /* Much larger, prominent logo */
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Hero Typography */
.hero-text-container {
    overflow: hidden; /* For clipping the GSAP reveal */
}

.hero-text {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-text .line {
    display: block;
    overflow: hidden; 
    padding: 0.15em 0;
    margin: -0.15em 0;
}

.hero-text .word {
    display: inline-block;
    transform: translateY(110%);
}

/* Centered Call Action */
.main-action-wrapper {
    display: flex;
    justify-content: center;
}

.call-action-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.call-action-center:hover {
    background: rgba(227, 6, 19, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(227, 6, 19, 0.3);
}

.call-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.call-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Footer */
.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    pointer-events: auto;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.center-column {
    align-items: center;
    text-align: center;
}

.right-column {
    align-items: flex-end;
    text-align: right;
}

.icon-text {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.social-action {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.social-action:hover {
    color: var(--primary-color);
}

.mt-3 {
    margin-top: 1rem;
}

/* --- Responsive Mobile Design --- */
@media (max-width: 768px) {
    /* Re-enable default cursor for touch devices */
    body, html, a, button, .magnetic {
        cursor: auto !important;
    }
    .cursor {
        display: none;
    }

    .ui-layer {
        padding: 2rem 1.5rem;
    }

    .centered-hero {
        gap: 2rem;
    }

    .logo-large {
        height: 100px;
    }

    .hero-text {
        font-size: 3rem;
    }

    .call-action-center {
        padding: 1rem 2rem;
    }

    .call-number {
        font-size: 1.2rem;
    }

    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-column, .center-column, .right-column {
        align-items: center;
        text-align: center;
    }
}
