/* Form Pages Styles */

/* Form Hero */
.form-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.demo-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.form-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.form-hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.demo-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.benefit-item i {
    color: #10b981;
    font-size: 20px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: #f8fafc;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.form-centered {
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Info */
.contact-info {
    position: sticky;
    top: 100px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.info-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
}

.method-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.social-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* Form Container */
.form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    color: #64748b;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    font-size: 13px;
    color: #64748b;
    margin-top: 5px;
}

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

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

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

.checkbox-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-block {
    width: 100%;
}

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 15px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Demo Info */
.demo-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.demo-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.demo-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
}

.highlight-content p {
    font-size: 14px;
    color: #64748b;
}

.demo-cta {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #cbd5e1;
}

.demo-cta p {
    font-size: 15px;
    color: #475569;
}

.demo-cta strong {
    color: #2563eb;
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.auth-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.register-box {
    max-height: 90vh;
    overflow-y: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 16px;
    color: #64748b;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.input-with-icon input {
    padding-left: 45px;
}

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

.forgot-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-google {
    color: #ea4335;
}

.btn-microsoft {
    color: #00a4ef;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

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

.auth-info {
    color: white;
}

.auth-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
}

.info-list i {
    color: #10b981;
    font-size: 24px;
    margin-top: 2px;
}

.trial-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trial-cta p {
    font-size: 16px;
}

.trial-cta strong {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-hero {
        padding: 120px 0 60px;
    }
    
    .form-hero-title {
        font-size: 36px;
    }
    
    .form-hero-description {
        font-size: 16px;
    }
    
    .demo-benefits {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .form-hero-title {
        font-size: 28px;
    }
    
    .contact-methods {
        gap: 20px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
