.auth-body {
    margin: 0;
    padding: 0;
    background: var(--bg-secondary);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Visual Side */
.auth-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.visual-background {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.visual-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 500px;
}

.visual-content .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    text-decoration: none;
    color: white;
}

.visual-content .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    -webkit-text-fill-color: white;
}

.visual-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.visual-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.feature-item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.visual-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
    -webkit-text-fill-color: white;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Form Side */
.auth-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 480px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Plan Selector */
.plan-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
}

.plan-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.plan-option:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.plan-option:has(input:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
}

.plan-radio {
    position: relative;
}

.plan-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.plan-radio label {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.plan-radio input[type="radio"]:checked + label {
    border-color: var(--primary-color);
}

.plan-radio input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.plan-info {
    flex: 1;
}

.plan-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.plan-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.plan-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-color);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: white;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-footer {
    text-align: center;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-home {
    margin-top: 2rem;
    text-align: center;
}

.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.back-home a:hover {
    color: var(--primary-color);
}

.back-home svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-section {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .auth-form-section {
        padding: 1.5rem;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .plan-selector {
        padding: 1rem;
    }

    .visual-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

