body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #030303;
    font-family: 'Inter', sans-serif;
    color: #fff;
    overflow: hidden;
}

#radarCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.logo-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/logo.jpg');
    background-size: 400px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    /* Apply a deep monochromatic filter to make it look mysterious */
    filter: grayscale(100%) contrast(150%) brightness(0.5);
    /* The mask makes it entirely invisible until the JS illuminates it */
    -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle 0px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    opacity: 0.8;
}

.teaser-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    pointer-events: none; /* Let mouse interact with the canvas */
}

.teaser-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255,255,255,0.1);
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    max-width: 600px;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.email-capture {
    display: flex;
    gap: 15px;
    pointer-events: auto; /* Re-enable clicks for the form */
}

.email-capture input {
    padding: 16px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.6);
    color: #fff;
    width: 320px;
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    font-family: inherit;
}

.email-capture input:focus {
    border-color: #00e5ff;
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.email-capture button {
    padding: 16px 35px;
    border-radius: 30px;
    border: none;
    background: #fff;
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-capture button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
    background: #00e5ff;
}

/* Subtle Glitch Effect */
.glitch {
    position: relative;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(48px, 9999px, 86px, 0); }
    20% { clip: rect(12px, 9999px, 93px, 0); }
    40% { clip: rect(4px, 9999px, 5px, 0); }
    60% { clip: rect(65px, 9999px, 76px, 0); }
    80% { clip: rect(15px, 9999px, 32px, 0); }
    100% { clip: rect(81px, 9999px, 94px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(11px, 9999px, 12px, 0); }
    20% { clip: rect(54px, 9999px, 66px, 0); }
    40% { clip: rect(89px, 9999px, 94px, 0); }
    60% { clip: rect(21px, 9999px, 33px, 0); }
    80% { clip: rect(78px, 9999px, 87px, 0); }
    100% { clip: rect(45px, 9999px, 54px, 0); }
}
