/* 联系我们页面样式 */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 联系方式卡片 */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: #303133;
    margin-bottom: 8px;
}

.contact-details p {
    color: #606266;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-details .highlight {
    color: rgba(0,157,217,1);
    font-weight: 600;
    font-size: 16px;
}

.contact-details small {
    color: #909399;
    font-size: 13px;
}

/* 常见问题快速链接 */
.faq-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.faq-section h3 {
    font-size: 18px;
    color: #303133;
    margin-bottom: 15px;
}

.faq-links {
    display: grid;
    gap: 10px;
}

.faq-link {
    color: #606266;
    text-decoration: none;
    padding: 10px 15px;
    background: #f5f7fa;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-link:hover {
    background: rgba(0,157,217,0.1);
    color: rgba(0,157,217,1);
}

/* 留言表单 */
.form-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.form-section h2 {
    font-size: 24px;
    color: #303133;
    margin-bottom: 10px;
}

.form-section p {
    color: #909399;
    font-size: 14px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #606266;
    font-size: 14px;
    font-weight: 500;
}

.form-group label span {
    color: #f56c6c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dcdfe6;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0,157,217,1);
    box-shadow: 0 0 0 3px rgba(0,157,217,0.1);
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: #909399;
    font-size: 12px;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: rgba(0,157,217,1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #0099d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,157,217,0.3);
}

.btn-submit:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
    transform: none;
}

/* 成功提示 */
.success-message {
    background: #f0f9ff;
    border: 1px solid #b3d8ff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #409eff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message::before {
    content: '✓';
    font-size: 20px;
    font-weight: bold;
}

/* 错误提示 */
.error-message {
    background: #fef0f0;
    border: 1px solid #fde2e2;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #f56c6c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message::before {
    content: '✕';
    font-size: 20px;
    font-weight: bold;
}

/* 验证码样式 */
.captcha-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    min-width: 100px;
    text-align: center;
    user-select: none;
}

.captcha-btn {
    padding: 12px 20px;
    background: #f5f7fa;
    border: 2px solid #dcdfe6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
}

/* 响应式 */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 20px;
    }

    .form-section {
        padding: 20px;
    }
}
