/* Support页面样式 */

/* Banner区域 */
.support-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.support-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: bannerShift 20s ease-in-out infinite;
}

.support-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes bannerShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.banner-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 1px;
}

.banner-overlay p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主要内容区 */
.support-main {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.support-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.3), transparent);
}

/* 支持卡片 */
.support-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.support-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card-teachers:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.support-card-students:hover {
    border-color: rgba(240, 147, 251, 0.5);
    box-shadow: 0 20px 60px rgba(240, 147, 251, 0.2);
}

.support-card-exam-officers:hover {
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.2);
}

.support-card-work-based:hover {
    border-color: rgba(67, 233, 123, 0.5);
    box-shadow: 0 20px 60px rgba(67, 233, 123, 0.2);
}

.support-card-training:hover {
    border-color: rgba(250, 112, 154, 0.5);
    box-shadow: 0 20px 60px rgba(250, 112, 154, 0.2);
}

.support-card-contact:hover {
    border-color: rgba(48, 207, 208, 0.5);
    box-shadow: 0 20px 60px rgba(48, 207, 208, 0.2);
}

.support-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.support-card-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.4s ease;
}

.support-card:hover .support-card-header::after {
    width: 100%;
}

.support-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.support-card:hover .support-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.support-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.support-card:hover .support-icon::after {
    opacity: 1;
}

/* 不同卡片使用不同颜色 */
.support-card-teachers .support-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.support-card-students .support-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.support-card-exam-officers .support-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.support-card-work-based .support-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.support-card-training .support-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.support-card-contact .support-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.support-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.support-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.support-list li {
    padding: 14px 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 8px;
}

.support-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.support-card:hover .support-list li::before {
    height: 60%;
}

.support-list li:hover {
    color: #333;
    padding-left: 12px;
    transform: translateX(4px);
}

.support-list li i {
    color: #667eea;
    margin-right: 12px;
    margin-top: 5px;
    flex-shrink: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.support-card:hover .support-list li i {
    transform: scale(1.2);
    color: #764ba2;
}

.support-card-teachers .support-list li i {
    color: #667eea;
}

.support-card-students .support-list li i {
    color: #f5576c;
}

.support-card-exam-officers .support-list li i {
    color: #4facfe;
}

.support-card-work-based .support-list li i {
    color: #43e97b;
}

.support-card-training .support-list li i {
    color: #fa709a;
}

.support-goal {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.support-card:hover .support-goal {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    transform: translateY(-2px);
}

.support-goal strong {
    color: #333;
    font-weight: 600;
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 6px;
}

/* 联系我们卡片特殊样式 - 使用白色背景，与其他卡片保持一致 */
.support-card-contact {
    background: #ffffff;
    color: #333;
}

.support-card-contact .support-card-header {
    border-bottom-color: #f0f0f0;
}

.support-card-contact .support-card-header h3 {
    color: #333;
}

.support-card-contact .support-list li {
    color: #555;
}

.support-card-contact .support-list li i {
    color: #30cfd0;
}

.support-card-contact:hover .support-list li i {
    color: #330867;
}

.support-card-contact .support-goal {
    border-top-color: #f0f0f0;
    color: #666;
}

.support-card-contact .support-goal strong {
    color: #333;
}

.support-contact-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.support-contact-actions .btn {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(48, 207, 208, 0.3);
}

.support-contact-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.support-contact-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

.support-contact-actions .btn:hover {
    background: linear-gradient(135deg, #38d9d9 0%, #4a0c7a 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(48, 207, 208, 0.4);
}

.support-contact-actions .btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.support-contact-actions .btn:hover i {
    transform: translateX(4px);
}

/* 卡片进入动画 */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-card {
    animation: cardFadeIn 0.6s ease-out both;
}

.support-card:nth-child(1) { animation-delay: 0.1s; }
.support-card:nth-child(2) { animation-delay: 0.2s; }
.support-card:nth-child(3) { animation-delay: 0.3s; }
.support-card:nth-child(4) { animation-delay: 0.4s; }
.support-card:nth-child(5) { animation-delay: 0.5s; }
.support-card:nth-child(6) { animation-delay: 0.6s; }

/* 响应式设计 */
@media (max-width: 992px) {
    .banner-overlay h1 {
        font-size: 2.5rem;
    }
    
    .banner-overlay p {
        font-size: 1.1rem;
    }
    
    .support-card {
        padding: 25px;
    }
    
    .support-card-header h3 {
        font-size: 1.3rem;
    }
    
    .support-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .support-banner {
        padding: 120px 0 80px;
    }
    
    .banner-overlay h1 {
        font-size: 2rem;
    }
    
    .banner-overlay p {
        font-size: 1rem;
    }
    
    .support-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .support-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 15px;
    }
    
    .support-card-header h3 {
        font-size: 1.2rem;
    }
    
    .support-list li {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .support-banner {
        padding: 100px 0 60px;
    }
    
    .banner-overlay h1 {
        font-size: 1.8rem;
    }
    
    .support-main {
        padding: 50px 0;
    }
    
}

