/* Auth Pages - Design Moderno e Profissional */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Mesma paleta da landing page */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Backgrounds */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.8);
    
    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    /* Borders & Shadows */
    --border: #334155;
    --border-light: #475569;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Radius */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Garantir que não haja scroll horizontal */
* {
    max-width: 100%;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    33% { 
        transform: translateY(-30px) scale(1.05);
        opacity: 0.8;
    }
    66% { 
        transform: translateY(-20px) scale(0.95);
        opacity: 0.9;
    }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Auth Container */
.auth-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    max-height: none;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: visible;
    position: relative;
}

/* Auth Left - Informações */
.auth-left {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.auth-left > * {
    position: relative;
    z-index: 1;
}

/* Brand */
.brand {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.brand h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Features Showcase */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

/* Showcase Stats */
.showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1.25rem;
    flex: 1;
    align-content: center;
}

/* Trial Highlight */
.trial-highlight {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    color: white;
    margin-bottom: 1rem;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.trial-highlight h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trial-highlight p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-item i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.benefit-item i {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-card.featured::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Auth Right - Formulário */
.auth-right {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--bg-primary);
    overflow-y: visible;
    max-height: none;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.user-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow);
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.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 select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.form-group small {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* Password Input */
.password-input {
    position: relative;
}

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

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

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

.forgot-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    width: 100%;
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    width: 100%;
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Security Badge */
.security-badge {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Messages */
.message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.message.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Animação de entrada */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    animation: slideInDown 0.3s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.8;
    pointer-events: none;
    position: relative;
}

.btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn.loading i {
    margin-right: 0.5rem;
}

/* Spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Back to Landing */
.back-to-landing {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        min-height: auto;
        max-height: none;
    }
    
    .auth-left {
        padding: 2rem;
        min-height: auto;
    }
    
    .auth-right {
        max-height: none;
        overflow-y: visible;
    }
    
    .features-showcase {
        gap: 1.5rem;
    }
    
    .showcase-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-card h3 {
        font-size: 0.95rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
    }
    
    .trial-highlight {
        padding: 1.25rem;
    }
    
    .trial-highlight h3 {
        font-size: 1.125rem;
    }
    
    .trust-badges {
        gap: 0.25rem;
    }
    
    .trust-item {
        font-size: 0.7rem;
    }
    
    .benefit-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
        min-height: 100vh;
    }
    
    .auth-container {
        border-radius: var(--radius);
        min-height: auto;
        max-height: none;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ocultar lado esquerdo no mobile */
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }
    
    .auth-form-container {
        max-width: none;
        width: 100%;
    }
    
    .features-showcase {
        gap: 1.25rem;
    }
    
    .showcase-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-item {
        padding: 0.625rem 0.25rem;
    }
    
    .stat-number {
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .trial-highlight {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .trial-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    
    .trial-highlight h3 {
        font-size: 1rem;
    }
    
    .trial-highlight p {
        font-size: 0.8rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .trust-item {
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .benefits-list {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .benefit-item {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .brand h1 {
        font-size: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .user-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
    }
    
    .auth-form {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        align-items: flex-start;
    }
    
    .auth-container {
        overflow: visible !important;
        max-height: none !important;
    }
    
    .auth-right {
        padding: 1rem;
        overflow: visible !important;
        max-height: none !important;
    }
    
    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .brand h1 {
        font-size: 1.25rem;
    }
    
    .form-header h2 {
        font-size: 1.25rem;
    }
    
    .user-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .brand-icon {
        animation: none !important;
    }
    
    body::before,
    body::after {
        animation: none !important;
    }
}

/* Focus styles */
.btn:focus,
input:focus,
select:focus,
.back-btn:focus,
.forgot-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border: #ffffff;
        --text-secondary: #ffffff;
        --bg-secondary: #000000;
    }
    
    .btn-outline {
        border-width: 3px;
    }
}/* 
Estilos específicos para página de registro */
.register-page .auth-container {
    max-width: 1400px;
    min-height: 95vh;
}

.register-page .auth-form-container {
    max-width: 500px;
}

.register-page .auth-form {
    gap: 1rem;
}

.register-page .form-header {
    margin-bottom: 1.25rem;
}

/* Form Row para campos lado a lado */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Plan Selected */
.plan-selected {
    background: var(--bg-glass);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.plan-selected h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.plan-selected p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Links nos termos */
.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Responsive para registro */
@media (max-width: 768px) {
    .register-page .auth-container {
        min-height: auto;
        max-height: none;
    }
    
    .register-page .auth-right {
        max-height: none;
        overflow-y: visible;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .register-page .auth-form {
        gap: 1.25rem;
    }
    
    .plan-selected {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .register-page .auth-form {
        gap: 1rem;
    }
    
    .register-page .form-header {
        margin-bottom: 1rem;
    }
    
    .plan-selected {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .plan-selected h4 {
        font-size: 0.9rem;
    }
    
    .plan-selected p {
        font-size: 0.8rem;
    }
}

/* Melhorar scroll em dispositivos pequenos */
@media (max-height: 700px) and (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .auth-container {
        min-height: auto;
    }
    
    .form-header {
        margin-bottom: 1rem;
    }
    
    .user-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .form-header p {
        font-size: 0.8rem;
    }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 320px) {
    .auth-right {
        padding: 0.75rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
    
    .form-header h2 {
        font-size: 1.125rem;
    }
    
    .user-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}/* 
Animações para os novos componentes */
.stat-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.feature-card.featured {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card.featured:nth-child(1) { animation-delay: 0.2s; }
.feature-card.featured:nth-child(2) { animation-delay: 0.3s; }
.feature-card.featured:nth-child(3) { animation-delay: 0.4s; }

.trial-highlight {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.1s;
}

.trust-item,
.benefit-item {
    animation: fadeInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.trust-item:nth-child(1),
.benefit-item:nth-child(1) { animation-delay: 0.3s; }
.trust-item:nth-child(2),
.benefit-item:nth-child(2) { animation-delay: 0.4s; }
.trust-item:nth-child(3),
.benefit-item:nth-child(3) { animation-delay: 0.5s; }

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

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

/* Hover effects para stats */
.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Pulse animation para trial badge */
.trial-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Melhorar hover dos trust items */
.trust-item:hover,
.benefit-item:hover {
    color: var(--primary);
    transform: translateX(5px);
    transition: all 0.2s ease;
}

.trust-item:hover i,
.benefit-item:hover i {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

/* Responsive adjustments para animações */
@media (prefers-reduced-motion: reduce) {
    .stat-item,
    .feature-card.featured,
    .trial-highlight,
    .trust-item,
    .benefit-item {
        animation: none !important;
    }
    
    .trial-badge {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    /* Reduzir delays em mobile */
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        animation-delay: 0.1s;
    }
    
    .feature-card.featured:nth-child(1),
    .feature-card.featured:nth-child(2),
    .feature-card.featured:nth-child(3) {
        animation-delay: 0.2s;
    }
    
    .trust-item:nth-child(1),
    .trust-item:nth-child(2),
    .trust-item:nth-child(3),
    .benefit-item:nth-child(1),
    .benefit-item:nth-child(2),
    .benefit-item:nth-child(3) {
        animation-delay: 0.3s;
    }
}/* Es
tilos específicos para página de registro - Otimização de espaço */
.register-page .auth-container {
    min-height: 85vh;
    max-height: 88vh;
    overflow: hidden;
}

.register-page .auth-left {
    padding: 1rem;
}

.register-page .auth-right {
    padding: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.register-page .features-showcase {
    gap: 0.75rem;
}

.register-page .trial-highlight {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.register-page .trial-badge {
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
}

.register-page .trial-highlight h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.register-page .trial-highlight p {
    font-size: 0.8rem;
}

.register-page .features-grid {
    gap: 0.5rem;
}

.register-page .feature-card {
    padding: 0.625rem;
}

.register-page .feature-icon {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.register-page .feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
}

.register-page .feature-card p {
    font-size: 0.75rem;
    line-height: 1.3;
}

.register-page .benefits-compact {
    margin-top: 0.75rem;
}

.register-page .benefit-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.register-page .benefit-row i {
    color: var(--success);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.register-page .brand {
    margin-bottom: 0.75rem;
}

.register-page .brand-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.register-page .brand h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.register-page .brand p {
    font-size: 0.875rem;
}

.register-page .auth-footer {
    margin-top: 0.5rem;
}

.register-page .auth-footer p {
    font-size: 0.75rem;
}

/* Otimizações para o formulário de registro */
.register-page .form-header {
    margin-bottom: 1rem;
}

.register-page .user-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.register-page .form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
}

.register-page .form-header p {
    font-size: 0.8rem;
}

.register-page .auth-form {
    gap: 0.875rem;
}

.register-page .form-group {
    gap: 0.375rem;
}

.register-page .form-group label {
    font-size: 0.8rem;
}

.register-page .form-group input,
.register-page .form-group select {
    padding: 0.75rem 0.875rem;
    font-size: 0.8rem;
}

.register-page .form-group small {
    font-size: 0.7rem;
}

.register-page .form-options {
    gap: 0.75rem;
}

.register-page .checkbox-label {
    font-size: 0.8rem;
}

.register-page .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
}

.register-page .form-divider {
    margin: 0.75rem 0;
}

.register-page .security-badge {
    margin-top: 1rem;
    padding: 0.625rem;
    font-size: 0.7rem;
}

.register-page .plan-selected {
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.register-page .plan-selected h4 {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
}

.register-page .plan-selected p {
    font-size: 0.75rem;
}

/* Responsive para registro - sem scroll */
@media (max-width: 1024px) {
    .register-page .auth-container {
        min-height: auto;
        max-height: none;
    }
    
    .register-page .auth-left {
        padding: 1.5rem;
    }
    
    .register-page .auth-right {
        padding: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .register-page .auth-right {
        padding: 1.25rem;
    }
    
    .register-page .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .register-page .auth-form {
        gap: 1rem;
    }
    
    .register-page .form-header {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .register-page .auth-right {
        padding: 1rem;
    }
    
    .register-page .form-header {
        margin-bottom: 1rem;
    }
    
    .register-page .user-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .register-page .form-header h2 {
        font-size: 1.25rem;
    }
    
    .register-page .auth-form {
        gap: 0.875rem;
    }
}

/* Ajuste específico para telas de altura limitada */
@media (max-height: 800px) {
    .register-page .auth-container {
        min-height: 85vh;
        max-height: 90vh;
    }
    
    .register-page .auth-left {
        padding: 1rem;
    }
    
    .register-page .auth-right {
        padding: 1rem;
    }
    
    .register-page .trial-highlight {
        padding: 0.75rem;
    }
    
    .register-page .feature-card {
        padding: 0.75rem;
    }
    
    .register-page .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .register-page .feature-card h3 {
        font-size: 0.85rem;
    }
    
    .register-page .feature-card p {
        font-size: 0.7rem;
    }
    
    .register-page .benefits-list {
        margin-top: 0.5rem;
    }
}

@media (max-height: 700px) {
    .register-page .auth-container {
        min-height: 80vh;
        max-height: 85vh;
    }
    
    .register-page .trial-highlight {
        padding: 0.625rem;
    }
    
    .register-page .trial-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .register-page .trial-highlight h3 {
        font-size: 0.9rem;
    }
    
    .register-page .trial-highlight p {
        font-size: 0.75rem;
    }
    
    .register-page .features-grid {
        gap: 0.5rem;
    }
    
    .register-page .feature-card {
        padding: 0.625rem;
    }
    
    .register-page .benefits-list {
        gap: 0.375rem;
    }
    
    .register-page .benefit-item {
        font-size: 0.7rem;
    }
}

/* Estilos específicos para página de login - Otimização de espaço */
.login-page .auth-container {
    min-height: 85vh;
    max-height: 88vh;
    overflow: hidden;
}

.login-page .auth-left {
    padding: 1rem;
}

.login-page .auth-right {
    padding: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.login-page .features-showcase {
    gap: 0.75rem;
}

.login-page .showcase-stats {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.login-page .stat-item {
    padding: 0.625rem 0.375rem;
}

.login-page .stat-number {
    font-size: 1.25rem;
}

.login-page .stat-label {
    font-size: 0.65rem;
}

.login-page .features-grid {
    gap: 0.5rem;
}

.login-page .feature-card {
    padding: 0.625rem;
}

.login-page .feature-icon {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.login-page .feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
}

.login-page .feature-card p {
    font-size: 0.75rem;
    line-height: 1.3;
}

.login-page .trust-compact {
    margin-top: 0.5rem;
}

.login-page .trust-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.login-page .trust-row i {
    color: var(--success);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.login-page .brand {
    margin-bottom: 0.75rem;
}

.login-page .brand-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.login-page .brand h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-page .brand p {
    font-size: 0.875rem;
}

.login-page .auth-footer {
    margin-top: 0.5rem;
}

.login-page .auth-footer p {
    font-size: 0.75rem;
}

/* Otimizações para o formulário de login */
.login-page .form-header {
    margin-bottom: 1rem;
}

.login-page .user-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.login-page .form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
}

.login-page .form-header p {
    font-size: 0.8rem;
}

.login-page .auth-form {
    gap: 0.875rem;
}

.login-page .form-group {
    gap: 0.375rem;
}

.login-page .form-group label {
    font-size: 0.8rem;
}

.login-page .form-group input,
.login-page .form-group select {
    padding: 0.75rem 0.875rem;
    font-size: 0.8rem;
}

.login-page .form-group small {
    font-size: 0.7rem;
}

.login-page .form-options {
    gap: 0.75rem;
}

.login-page .checkbox-label {
    font-size: 0.8rem;
}

.login-page .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
}

.login-page .form-divider {
    margin: 0.75rem 0;
}

.login-page .security-badge {
    margin-top: 1rem;
    padding: 0.625rem;
    font-size: 0.7rem;
}

/* Responsive para login - sem scroll */
@media (max-width: 1024px) {
    .login-page .auth-container {
        min-height: auto;
        max-height: none;
    }
    
    .login-page .auth-left {
        padding: 1.5rem;
    }
    
    .login-page .auth-right {
        padding: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .login-page .auth-right {
        padding: 1.25rem;
    }
    
    .login-page .auth-form {
        gap: 1rem;
    }
    
    .login-page .form-header {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-page .auth-right {
        padding: 1rem;
    }
    
    .login-page .form-header {
        margin-bottom: 1rem;
    }
    
    .login-page .user-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .login-page .form-header h2 {
        font-size: 1.25rem;
    }
    
    .login-page .auth-form {
        gap: 0.875rem;
    }
}

/* Ajuste específico para telas de altura limitada - Login */
@media (max-height: 800px) {
    .login-page .auth-container {
        min-height: 85vh;
        max-height: 90vh;
    }
    
    .login-page .auth-left {
        padding: 1rem;
    }
    
    .login-page .auth-right {
        padding: 1rem;
    }
    
    .login-page .showcase-stats {
        margin-bottom: 0.375rem;
    }
    
    .login-page .stat-item {
        padding: 0.5rem 0.25rem;
    }
    
    .login-page .feature-card {
        padding: 0.5rem;
    }
    
    .login-page .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
    }
    
    .login-page .feature-card h3 {
        font-size: 0.85rem;
    }
    
    .login-page .feature-card p {
        font-size: 0.7rem;
    }
    
    .login-page .trust-compact {
        margin-top: 0.375rem;
    }
}

@media (max-height: 700px) {
    .login-page .auth-container {
        min-height: 80vh;
        max-height: 85vh;
    }
    
    .login-page .brand {
        margin-bottom: 0.5rem;
    }
    
    .login-page .brand-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }
    
    .login-page .brand h1 {
        font-size: 1.25rem;
    }
    
    .login-page .brand p {
        font-size: 0.8rem;
    }
    
    .login-page .showcase-stats {
        gap: 0.375rem;
        margin-bottom: 0.25rem;
    }
    
    .login-page .stat-item {
        padding: 0.375rem 0.25rem;
    }
    
    .login-page .stat-number {
        font-size: 1.125rem;
    }
    
    .login-page .stat-label {
        font-size: 0.6rem;
    }
    
    .login-page .features-grid {
        gap: 0.375rem;
    }
    
    .login-page .feature-card {
        padding: 0.5rem;
    }
    
    .login-page .feature-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .login-page .feature-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .login-page .feature-card p {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .login-page .trust-compact {
        margin-top: 0.25rem;
    }
    
    .login-page .trust-row {
        font-size: 0.65rem;
    }
    
    .login-page .trust-row i {
        font-size: 0.75rem;
    }
    
    .login-page .auth-footer {
        margin-top: 0.375rem;
    }
    
    .login-page .auth-footer p {
        font-size: 0.7rem;
    }
}/* To
ast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    font-weight: 500;
    font-size: 14px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #10b981;
    color: #065f46;
}

.toast.error {
    border-left-color: #ef4444;
    color: #991b1b;
}

.toast.info {
    border-left-color: #3b82f6;
    color: #1e40af;
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: currentColor;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}/* Aut
o-login Toast */
.auto-login-toast {
    border-left-color: #10b981 !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

.auto-login-cancel {
    background: #ef4444 !important;
    color: white !important;
    border: none !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.auto-login-cancel:hover {
    background: #dc2626 !important;
}

#countdown {
    font-weight: 700;
    color: #059669;
}

/* Melhorar checkbox "Lembre-me" */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    user-select: none !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary) !important;
    cursor: pointer !important;
}

.checkbox-label span {
    font-size: 0.875rem !important;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}