:root {
    --bg-color: #030712;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    height: 100vh;
    /* Full viewport height */
    overflow: hidden;
    /* No scroll on desktop */
    background-image: radial-gradient(circle at 50% 50%, #0f172a 0%, #030712 100%);
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 50% 60%;
    }
}

/* Background animated globes - Adjusted for split layout */
.background-globes {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    /* Only under text side */
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite linear;
    /* Smooth continuous loop */
}

.globe-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
    animation-duration: 25s;
}

.globe-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -50px;
    right: 20%;
    animation-duration: 18s;
    animation-delay: -5s;
    animation-direction: reverse;
    /* Vary direction */
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, 50px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Split Layout */
.split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Side: Content */
.content-side {
    flex: 1;
    /* Takes up available space, usually 50% or more depending on image */
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    max-width: 50%;
    overflow-y: auto;
    /* Allow scroll if content is too tall */
}

/* Right Side: Image */
.image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
    max-width: 50%;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* transition: transform 10s ease; Remove transition in favor of animation */
    animation: zoomBreath 15s infinite alternate ease-in-out;
}

@keyframes zoomBreath {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Removed hover effect as it conflicts with the continuous loop */
/* .image-side:hover .cover-image {
    transform: scale(1.05);
} */

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 20%);
    /* Blend into text side */
    z-index: 2;
    pointer-events: none;
}

/* Typography & Elements */
.logo-text {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    align-self: flex-start;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 600px;
}

/* Form */
.notify-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin-top: 20px;
}

input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 20px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

button {
    background: white;
    color: black;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

button:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

footer {
    margin-top: 40px;
}

footer p {
    font-size: 0.8rem;
    color: #8f8f8f;
    margin: 0;
}

/* Global Top Status (Desktop) */
.top-status {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0.9;
}

/* Responsive */
/* Glass Animation */
.glass-panel {
    position: relative;
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .content-side {
        padding: 40px;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
    }

    .split-container {
        flex-direction: column-reverse;
        /* Stacks: Content bottom, Image top (because reverse, wait. Default is row. Column is top-down. If I want Image top, I should just use column and order, or column-reverse if image is second in DOM but I want it first?
        DOM: Content Side (1), Image Side (2).
        Column: 1 then 2.
        Column-Reverse: 2 then 1. 
        So Image Side (2) will be at TOP. Correct. */
        height: auto;
    }

    .content-side,
    .image-side {
        max-width: 100%;
        flex: auto;
    }

    .image-side {
        height: 35vh;
        min-height: 250px;
    }

    .content-side {
        padding: 40px 24px;
    }

    .glass-panel {
        padding: 24px;
        /* Reduced padding on mobile */
    }

    .top-status {
        font-size: 1.5rem;
        /* Fix huge font size on mobile */
        margin-bottom: 12px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .background-globes {
        width: 100%;
        height: 100%;
        /* Ensure full height coverage too */
    }
}