/* 联系我们页面专用容器 */
.contact-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 页面头部 */
.page-header {
    background: var(--gradient);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* 联系方式容器 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 联系信息 */
.contact-info {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-sub {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

/* 社交媒体 */
.social-section {
    margin-top: 3rem;
}

.social-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.social-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-btn.wechat:hover {
    background: #07c160;
}

.social-btn.weibo:hover {
    background: #e6162d;
}

.social-btn.zhihu:hover {
    background: #0084ff;
}

.social-btn.bilibili:hover {
    background: #00aeec;
}

.social-icon {
    font-size: 1.5rem;
}

/* 联系表单 */
.contact-form-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

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

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

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions .btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* 地图区域 */
.map-section {
    background: var(--bg-light);
    width: 100%;
    overflow: hidden;
}

.map-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    text-align: center;
    color: var(--text-color);
}

.map-marker {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.map-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.map-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.map-hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 常见问题 */
.faq-section {
    background: var(--bg-white);
    width: 100%;
    overflow: hidden;
}

.faq-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.faq-list {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0, 102, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
