/* pages/static/css/style.css */

:root {
    --brand-purple: #9b59b6;
    --brand-dark: #1a1a1a;
    --text-light: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-dark);
    color: white;
    height: 100vh;
    overflow: hidden;
}

/* BACKGROUND VIDEO */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Darker video so text is readable */
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
    z-index: 0;
}

/* HERO SECTION */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* LOGO IMAGES */
.logo-img {
    max-width: 180px; /* Good size for Desktop */
    margin-bottom: 2rem;
    display: block;
}

/* TYPOGRAPHY */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* FORM ELEMENTS */
.beta-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    width: 100%;
    max-width: 480px;
}

.beta-input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    flex-grow: 1;
    outline: none;
}

.beta-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.btn-purple {
    background-color: var(--brand-purple);
    color: white;
    border-radius: 40px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    transform: translateY(-2px);
    background-color: #8e44ad;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .logo-img { max-width: 140px; }
    h1 { font-size: 2.2rem; }
    .beta-form { 
        flex-direction: column; 
        background: transparent; 
        backdrop-filter: none; 
        border: none; 
    }
    .beta-input { 
        background: rgba(255,255,255,0.15); 
        border-radius: 12px; 
        margin-bottom: 12px; 
        text-align: center; 
        border: 1px solid rgba(255,255,255,0.1);
    }
    .btn-purple { width: 100%; }
}

/* --- FIX FOR UGLY AUTOFILL BOX --- */

/* 1. Force the background to stay dark/transparent */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    /* This trick uses a shadow to cover the ugly blue background */
    -webkit-box-shadow: 0 0 0 30px #2c2c2c inset !important; 
    
    /* This forces the text to be white */
    -webkit-text-fill-color: white !important;
    
    /* This maintains the rounded corners */
    border-radius: 0px !important; 
}

/* 2. Fix the corners so the white box doesn't look square */
.beta-form {
    overflow: hidden; /* Clips the square corners of the input */
}