:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --accent: #22d3ee;
    --navy: #0f172a;
    --slate: #475569;
    --border: #e2e8f0;
    --bg-page: #ffffff;
    --glass: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-page);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

.full-screen-layout {
    display: flex;
    min-height: 100vh;
}

/* Marketing Panel (Left) */
.marketing-side {
    flex: 1.2;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 80px;
}

.marketing-side::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%;
    width: 40%; height: 40%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 2;
    opacity: 0.6;
}

.marketing-side::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 2;
}

.hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
    transition: transform 10s ease-in-out;
}

.marketing-side:hover .hero-img {
    transform: scale(1.1);
}

.brand-section {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.8s ease-out;
}

.logo-wrap {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-text {
    font-size: 1.75rem; 
    font-weight: 800; 
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content {
    margin-top: auto;
    position: relative;
    z-index: 4;
    max-width: 580px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #fff 60%, rgba(255,255,255,0.5));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    transition: all 0.3s;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 24px; height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Auth Panel (Right) */
.auth-side {
    flex: 0.8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.form-box {
    width: 100%;
    max-width: 440px;
    animation: fadeIn 1.2s ease-out;
}

.form-header {
    margin-bottom: 48px;
}

.h2-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.h2-subtitle {
    color: var(--slate);
    font-size: 1.05rem;
}

/* Inputs */
.input-row { margin-bottom: 28px; }
.label-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.input-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.input-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 16px;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.submit-btn:hover { 
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 var(--primary-glow);
}

.submit-btn:active { transform: scale(0.98); }

.sign-up-link {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: var(--slate);
}

.sign-up-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

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

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

@media (max-width: 1150px) {
    .marketing-side { padding: 40px; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 1024px) {
    .marketing-side { display: none; }
    .auth-side { flex: 1; background: #f8fafc; padding: 40px; }
    .form-box { background: #fff; padding: 50px; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
}

/* Registration Specifics */
.auth-side.register-layout { 
    align-items: flex-start; 
    padding-top: 80px; 
    overflow-y: auto;
}

.form-box.wide { 
    max-width: 560px; 
}

.grid-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .grid-cols { grid-template-columns: 1fr; gap: 0; }
}
