body {
    margin: 0;
    font-family: 'Inter', 'Outfit', sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
    background-color: #0b0b0b;
}

.landing-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Hero Section / Left Side */
.hero-section {
    flex: 1;
    position: relative;
    background-image: url('/static/images/landing_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 10, 20, 0.8) 0%, rgba(15, 5, 20, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    background: rgba(10, 15, 30, 0.6);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 120, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6b8bff, #b56bff, #6b8bff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: textShine 4s linear infinite;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

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

.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px) translateY(0);
    color: #fff;
}

.feature-list li::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Auth Section / Right Side */
.auth-section {
    flex: 0 0 500px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.03), -20px 0 50px rgba(0, 0, 0, 0.8);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    animation: slideIn 0.8s ease forwards;
}

.auth-logo {
    display: block;
    width: 220px;
    margin: 0 auto 30px auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #777;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #fff;
    border-bottom: 2px solid #6b8bff;
}

.auth-tab:hover {
    color: #ddd;
}

.form-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-view.active {
    display: block;
}

.form-view h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.form-view p.subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

/* Inputs & Buttons */
input {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

input:focus {
    outline: none;
    border-color: #6b8bff;
    background-color: rgba(30, 30, 45, 0.8);
    box-shadow: 0 4px 15px rgba(107, 139, 255, 0.2), inset 0 0 0 1px rgba(107, 139, 255, 0.5);
    transform: translateY(-2px);
}

.pwd-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.pwd-wrapper input {
    margin-bottom: 0 !important;
    padding-right: 50px !important;
}

.pwd-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.pwd-toggle:hover {
    color: #fff;
}

button[type="submit"] {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.3s;
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease-in-out;
}

button[type="submit"]:hover::before {
    left: 150%;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 108, 183, 0.4);
    filter: brightness(1.2);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #777;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider:not(:empty)::before { margin-right: .5em; }
.divider:not(:empty)::after { margin-left: .5em; }

/* Premium Google Button */
.google-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.google-btn .google-icon-wrapper {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.google-btn .google-icon {
    width: 22px;
    height: 22px;
}

.google-btn .btn-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

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

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

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

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

.branding-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

.branding-footer a {
    color: #b56bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.branding-footer a:hover {
    color: #6b8bff;
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .landing-wrapper {
        flex-direction: column;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 0.95rem;
    }
    
    .auth-section {
        flex: auto;
        width: 100%;
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .auth-logo {
        width: 180px;
        margin-bottom: 20px;
    }
}
