:root {
    --bg-color: #ffffff;
    --text-main: #0a0a0b;
    --text-muted: #8e8e93;
    --accent: #000000;
    --success-green: #28a745;
}

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

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    height: 100vh;
    flex-direction: column-reverse;
}

/* --- Left Side: Content --- */
.content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    /* Scales padding from 24px on mobile up to 80px on large desktops */
    padding: clamp(1.5rem, 6vw, 5rem); 
}

/* Brand Identity */
.brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: auto;
}

/* Main Text Container */
.inner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 615px; 
    margin-left: 0;
    margin-right: 0;
}

/* --- UI Elements --- */
.badge {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.badge-success {
    background: var(--success-green);
    font-size: 1.1rem;
    padding: 10px 32px;
    margin-bottom: 30px;
    border-radius: 50px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- Form --- */
.email-form {
    display: flex;
    gap: 12px;
    width: 100%;
}

input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    border-color: var(--accent);
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

button:hover {
    background: #333;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Animation */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Right Side: Image --- */
.image-side {
    flex: 1;
    background: #000000 url('studio.jpg') no-repeat center center;
    background-size: cover;
}

/* --- Desktop Adjustments --- */
@media (min-width: 1024px) {
    .container { 
        flex-direction: row; 
    }
    
    .brand {
        position: absolute;
        top: clamp(3rem, 6vw, 5rem);
        left: clamp(1.5rem, 6vw, 5rem);
    }

    footer {
        position: absolute;
        bottom: clamp(2rem, 6vw, 5rem);
        left: clamp(1.5rem, 6vw, 5rem);
    }
}

/* --- Mobile Adjustments --- */
@media (max-width: 1023px) {
    body { 
        overflow-y: auto; 
    }
    
    .container { 
        height: auto; 
        min-height: 100vh; 
    }
    
    .image-side { 
        height: 40vh; 
        flex: none; 
    }

    .brand {
        margin: 0 auto 40px auto;
        text-align: center;
        width: 100%;
    }

    .inner-content { 
        align-items: center; 
        text-align: center; 
        margin: 0 auto;
    }

    .email-form { 
        flex-direction: column; 
    }

    footer { 
        margin-top: 60px;
        text-align: center; 
        width: 100%; 
    }
}