/* 联系区域样式 */
.contact {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.2);
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: var(--border-radius);
    padding: 10px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0 15px;
    color: white;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.wechat-id {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: var(--border-radius-xl);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wechat-id:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.wechat-icon {
    color: #07C160;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 页脚样式 */
.footer {
    background-color: #0a0f18;
    color: var(--text-light);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.footer-info {
    margin-top: 20px;
}

.footer-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .wechat-id {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}