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

:root {
    --primary: hsl(194, 100%, 46%);
    --secondary: hsl(189, 100%, 23%);
    --light: hsl(210, 29%, 97%);
    --dark: hsl(210, 11%, 15%);
    --text: hsl(210, 11%, 25%);
    --border: hsl(210, 20%, 90%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--light) 0%, hsl(210, 29%, 93%) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.back-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.back-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 150, 200, 0.2);
}

.back-button a:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(0, 150, 200, 0.3);
}

.container {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    max-height: 80vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.6s ease-out;
}

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

.left-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.left-content {
    position: relative;
    z-index: 2;
}

.left-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideInLeft 0.6s ease-out backwards;
}

.feature-list li:nth-child(1) { animation-delay: 0.1s; }
.feature-list li:nth-child(2) { animation-delay: 0.2s; }
.feature-list li:nth-child(3) { animation-delay: 0.3s; }

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

.feature-list li::before {
    content: '✓';
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-list li span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.right-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.form-container h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.form-container p {
    color: hsl(210, 11%, 50%);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.2rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 150, 200, 0.1);
    background: linear-gradient(to bottom, white, hsl(194, 100%, 98%));
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 150, 200, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 200, 0.3);
}

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

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
    }

    .left-section {
        padding: 2rem;
        min-height: 300px;
    }

    .right-section {
        padding: 2rem;
    }

    .left-content h2 {
        font-size: 1.5rem;
    }

    .form-container h1 {
        font-size: 1.5rem;
    }

    .back-button {
        top: 1rem;
        left: 1rem;
    }

    .back-button a {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}