:root {
    --primary-color: #00f0ff;
    /* Electric Blue */
    --secondary-color: #00ff9d;
    /* Eco Green */
    --bg-dark: #0a0a0a;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-dark);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #050510;
    /* Fallback/Base color */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    /* Split left and right */
    align-items: center;
    height: 100%;
    padding: 5%;
    gap: 20px;
    perspective: 1500px;
}

.glass-card {
    background: rgba(10, 20, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    padding: 3rem;
    max-width: 400px;
    /* Slightly narrower */
    width: 100%;
    text-align: left;
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.2),
        inset 0 0 20px rgba(0, 240, 255, 0.1);
    transform-style: preserve-3d;
    position: relative;
    /* transition: transform 0.3s ease; Remove hover wobble if it's annoying */
}

/* Left Card Style */
.left-card {
    transform: rotateY(45deg) translateZ(50px);
}

.left-card::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 10%;
    height: 80%;
    width: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border-radius: 2px;
}

/* Right Card Style */
.right-card {
    transform: rotateY(-45deg) translateZ(50px);
}

.right-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10%;
    height: 80%;
    width: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border-radius: 2px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--text-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

input[type="email"] {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 60%;
    outline: none;
    transition: border-color 0.3s;
}

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

button {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.4);
    background: #4df4ff;
}

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        padding: 5px;
        gap: 5px;
    }

    .glass-card {
        padding: 0.8rem;
        max-width: 49%;
        width: 100%;
    }

    /* Base Typography adjustments for mobile */
    h2 {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.8rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    input[type="email"] {
        padding: 8px 12px;
    }

    button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Restore poles */
    .left-card::before,
    .right-card::before {
        display: block;
    }
}

/* PORTRAIT: Make it bigger (User said 0.5 was too small) */
@media (max-width: 768px) and (orientation: portrait) {
    .content-wrapper {
        align-items: flex-start;
        /* Move to top */
        padding-top: 20%;
        /* Add space from top edge */
    }

    .left-card {
        transform: rotateY(25deg) scale(0.75) !important;
        /* Bigger */
        transform-origin: left top;
        /* Adjust origin for top alignment */
        margin-right: -15%;
    }

    .right-card {
        transform: rotateY(-25deg) scale(0.75) !important;
        /* Bigger */
        transform-origin: right top;
        /* Adjust origin for top alignment */
        margin-left: -15%;
    }
}

/* LANDSCAPE: Decrease to 50% (User request) */
@media (max-width: 900px) and (orientation: landscape) {
    .content-wrapper {
        padding: 10px;
    }

    .left-card {
        transform: rotateY(35deg) scale(0.5) !important;
        /* Smaller */
        transform-origin: left center;
        margin-right: -10%;
    }

    .right-card {
        transform: rotateY(-35deg) scale(0.5) !important;
        /* Smaller */
        transform-origin: right center;
        margin-left: -10%;
    }
}