﻿/* 联系我们页特有样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(rgba(15, 32, 55, 0.85), rgba(15, 32, 55, 0.85)), url('https://minimax-algeng-chat-tts.oss-cn-wulanchabu.aliyuncs.com/ccv2%2F2026-04-03%2FMiniMax-M2.7%2F1687257157088627%2Fd49c1bfe5fe3613fe87f8163a8f5031dfc8a19e1eb5bb1e54135728e43c80366..webp?Expires=1775308740&OSSAccessKeyId=LTAI5tGLnRTkBjLuYPjNcKQ8&Signature=%2FM%2BSyC9sBKVBfL9tYPE38F90VeY%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    margin-top: -80px;
}

.page-header .container {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 900px;
}

.page-header h1 {
    color: #ffffff !important;
    margin-bottom: 30px !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: -1px !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.page-header p {
    color: #f0f9ff !important;
    font-size: 1.25rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
}

/* 联系信息区域 */
.contact-info {
    padding: 60px 0;
    background-color: white;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.info-details {
    order: 1;
}

.info-map {
    order: 2;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(49, 130, 206, 0.3);
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: #7f8c8d;
    margin-bottom: 0;
}

/* 联系表单区域 */
.contact-form {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.form-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.form-content h2 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.form-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3182ce 0%, #2c5282 100%);
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* 常见问题区域 */
.faq-section {
    padding: 60px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3182ce 0%, #2c5282 100%);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .info-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-details,
    .info-map {
        order: unset;
    }

    .info-map {
        height: 300px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

/* 动画效果 */
.info-item,
.form-content,
.faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

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

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