/* Request Demo Page Styles */

.request-demo-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #F5F1E8 0%, #E8DCC4 100%);
    position: relative;
}

.request-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/tcm-pattern.svg');
    background-size: 200px 200px;
    opacity: 0.3;
    pointer-events: none;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* Demo Info Section */
.demo-info {
    padding: 2rem 0;
}

.demo-info h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.demo-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.demo-benefits {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.demo-benefits h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.demo-benefits ul {
    list-style: none;
    padding: 0;
}

.demo-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.demo-benefits li svg {
    width: 24px;
    height: 24px;
    color: var(--tcm-jade);
    flex-shrink: 0;
}

.demo-contact {
    background: rgba(139, 69, 19, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.demo-contact h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.demo-contact p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Demo Form Container */
.demo-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.demo-form h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: var(--tcm-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit {
    flex: 1;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: relative;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

/* Form Message */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 168, 107, 0.1);
    color: var(--tcm-jade);
    border: 2px solid var(--tcm-jade);
}

.form-message.error {
    background: rgba(200, 16, 46, 0.1);
    color: var(--tcm-red);
    border: 2px solid var(--tcm-red);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .demo-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .request-demo-section {
        padding: 100px 0 40px;
    }

    .demo-info h1 {
        font-size: 2.5rem;
    }

    .demo-form-container {
        padding: 2rem 1.5rem;
    }

    .demo-form h2 {
        font-size: 1.75rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel {
        order: 2;
    }
}

@media (max-width: 480px) {
    .demo-info h1 {
        font-size: 2rem;
    }

    .demo-subtitle {
        font-size: 1.125rem;
    }

    .demo-form-container {
        padding: 1.5rem 1rem;
    }

    .demo-benefits,
    .demo-contact {
        padding: 1.5rem;
    }
}

/* Language Switch Style */
.language-switch {
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switch:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary) !important;
}

