/* ========== 联系我们页面专用样式 ========== */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1a2c42 0%, #2c3e50 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(52, 152, 219, 0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(52, 152, 219, 0.05) 50%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.5;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* 联系内容区域 */
.contact-content {
    padding: 60px 0;
    background-color: white;
}

.contact-main {
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
    font-weight: 600;
}

/* 微信联系区域 */
.contact-wechat {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.qr-code-large {
    text-align: center;
    flex-shrink: 0;
}

.qr-code-large img {
    width: 250px;
    height: 250px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.qr-code-large img:hover {
    transform: scale(1.05);
}

.qr-code-large p {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

.wechat-info {
    flex: 1;
    min-width: 250px;
}

.wechat-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.wechat-id-text {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* 复制按钮样式 */
.copy-btn {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.copy-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

/* 联系提示 */
.contact-tips {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.contact-tips p {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 其他联系方式 */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.contact-detail h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-detail p {
    color: #555;
    font-size: 1.1rem;
    margin: 0;
}

/* FAQ样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Toast通知样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #27ae60;
}

.toast.error {
    background-color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-wechat {
        gap: 30px;
    }
    
    .qr-code-large img {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 30px 20px;
        margin-bottom: 25px;
    }
    
    .contact-card h2 {
        font-size: 1.5rem;
        padding-left: 12px;
    }
    
    .contact-wechat {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .qr-code-large img {
        width: 200px;
        height: 200px;
    }
    
    .wechat-info {
        text-align: center;
    }
    
    .wechat-id-text {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .faq-item {
        padding: 20px 15px;
    }
    
    .toast {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-card h2 {
        font-size: 1.3rem;
    }
    
    .qr-code-large img {
        width: 180px;
        height: 180px;
    }
    
    .wechat-id-text {
        font-size: 1.2rem;
    }
    
    .copy-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .contact-tips p {
        font-size: 0.9rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}