/* 联系我们页样式 */
.contact-section {
    padding: 40px 0;
}

.contact-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact-hero h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.contact-card:nth-child(1):hover { border-color: #e74c3c; }
.contact-card:nth-child(2):hover { border-color: #3498db; }
.contact-card:nth-child(3):hover { border-color: #2ecc71; }
.contact-card:nth-child(4):hover { border-color: #f39c12; }

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.contact-card:nth-child(1) .card-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.contact-card:nth-child(2) .card-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
.contact-card:nth-child(3) .card-icon { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.contact-card:nth-child(4) .card-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }

.card-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.card-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.card-content a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.card-content a:hover {
    color: #3498db;
}

.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
}

.contact-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h2 {
        font-size: 28px;
    }

    .contact-card {
        padding: 30px;
    }

    .contact-cta {
        padding: 40px 20px;
    }
}
