.contact-form-section {
    padding: 80px 20px;
    background-color: var(--background-secondary, #f9fafb);
    min-height: calc(100vh - 200px);
}

.contact-form-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form-section .section-header h1 {
    font-size: 36px;
    color: var(--text-primary, #111827);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-form-section .section-header p {
    font-size: 18px;
    color: var(--text-secondary, #4b5563);
}

.contact-form-container {
    background: var(--background, #ffffff);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.contact-form {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 16px;
    color: var(--text-primary, #111827);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-hint {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 8px;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary, #3245ff);
    box-shadow: 0 0 0 3px rgba(50, 69, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.button {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.button.primary {
    background-color: var(--primary, #3245ff);
    color: #fff;
}

.button.primary:hover {
    background-color: #1e35e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 69, 255, 0.3);
}

.button.secondary {
    background-color: var(--background-secondary, #f9fafb);
    color: var(--text-primary, #111827);
    border: 1px solid var(--border, #e5e7eb);
}

.button.secondary:hover {
    background-color: var(--border, #e5e7eb);
}

.button.big {
    padding: 16px 40px;
    font-size: 18px;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-info-section {
    background: var(--background, #ffffff);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-info-section h3 {
    font-size: 24px;
    color: var(--text-primary, #111827);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--background-secondary, #f9fafb);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-item .icon {
    font-size: 28px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-item .content h4 {
    font-size: 18px;
    color: var(--text-primary, #111827);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info-item .content p {
    font-size: 16px;
    color: var(--text-secondary, #4b5563);
    margin: 0;
    line-height: 1.5;
}

/* 验证码弹窗样式 */
#captcha-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

#captcha-overlay > div {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    min-width: 350px;
    max-width: 90%;
}

#captcha-overlay h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

#captcha-overlay button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
}

#captcha-overlay button:hover {
    color: #333;
}

@media screen and (max-width: 768px) {
    .contact-form-section {
        padding: 40px 15px;
    }
    
    .contact-form-container,
    .contact-info-section {
        padding: 30px 20px;
    }
    
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
    }
    
    #captcha-overlay > div {
        min-width: 90%;
        padding: 20px;
    }
}

