:root {
    /* Colors - %85 Black, %65 Grey, Red */
    --black-85: #262626; /* approx 85% black */
    --grey-65: #595959; /* approx 65% grey */
    --red: #e60000; /* Red */
    --red-hover: #cc0000;
    
    --bg-main: #ffffff;
    --text-primary: var(--black-85);
    --text-secondary: var(--grey-65);
    --accent: var(--red);
    --accent-hover: var(--red-hover);
    --border-color: rgba(89, 89, 89, 0.3);
    --input-bg: #ffffff;
    
    /* Typography */
    /* Fallback to Open Sans if Google Sans is not installed locally */
    --font-sans: 'Google Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
    font-family: 'Google Sans';
    src: local('Google Sans Regular'), local('GoogleSans-Regular');
    font-weight: 400;
}

@font-face {
    font-family: 'Google Sans';
    src: local('Google Sans Medium'), local('GoogleSans-Medium');
    font-weight: 500;
}

@font-face {
    font-family: 'Google Sans';
    src: local('Google Sans Bold'), local('GoogleSans-Bold');
    font-weight: 700;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden; /* No scroll */
    height: 100vh;
}

/* Split Layout */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Side - Visual */
.visual-section {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    background-color: var(--black-85); /* Fallback */
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.6) 0%, rgba(38, 38, 38, 0.2) 100%);
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.brand-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start; /* Left aligned */
    text-align: left; /* Left aligned */
    padding: 4rem;
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    animation: fadeInDown 1s var(--transition-smooth);
}

.brand-tagline {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff; /* Always white on the dark image background */
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: fadeInUp 1s var(--transition-smooth) 0.2s both;
}

.brand-tagline strong {
    font-weight: 700;
    font-size: 1.15em;
}

/* Right Side - Content Form */
.content-section {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--bg-main); /* White background */
    position: relative;
}

.content-wrapper {
    max-width: 480px;
    width: 100%;
    animation: fadeIn 1s var(--transition-smooth) 0.4s both;
}

.header-text {
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: rgba(230, 0, 0, 0.08); /* Light Red */
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(230, 0, 0, 0.15);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Form Styles */
.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
}

input[type="email"] {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    outline: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

input[type="email"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(230, 0, 0, 0.1);
}

input[type="email"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Radio Options */
.options-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.radio-label:hover {
    border-color: var(--grey-65);
    background: #fafafa;
}

.radio-label input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.radio-label input[type="radio"]:checked + .custom-radio {
    border-color: var(--accent);
}

.radio-label input[type="radio"]:checked + .custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: scaleIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: rgba(230, 0, 0, 0.03);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1.125rem;
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(230, 0, 0, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230, 0, 0, 0.25);
}

.submit-btn:hover::before {
    left: 100%;
    transition: 0.6s;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    transition: var(--transition-fast);
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.submit-btn.success {
    background: var(--black-85);
    box-shadow: none;
    pointer-events: none;
}

/* Disclaimer */
.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

.mobile-footer {
    display: none;
}

.mobile-footer strong {
    font-weight: 700;
    font-size: 1.15em;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    body {
        height: auto;
        overflow: auto;
    }

    .visual-section {
        width: 100%;
        height: 40vh;
        min-height: 300px;
    }
    
    .brand-content {
        padding: 2rem;
    }
    
    .brand-tagline {
        display: none; /* Hide large tagline on mobile to save space */
    }

    .content-section {
        width: 100%;
        height: auto;
        min-height: 60vh;
        padding: 3rem 1.5rem;
    }
    
    .mobile-footer {
        display: block;
        margin-top: 3rem;
        text-align: center;
        font-size: 0.875rem;
        color: var(--text-secondary);
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .options-group {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
}
