/* ================================
   开学活动板块样式
   ================================ */
.school-activity-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.school-activity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 113, 227, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b35 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.activity-title {
    margin-bottom: 15px;
}

.title-main {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    color: #1d1d1f;
    font-weight: 600;
}

.activity-subtitle {
    font-size: 1.2rem;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 50px;
}

.activity-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* 三人成团活动卡片 */
.team-purchase-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, #ff3b30, #ff6b35);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: badge-shake 3s ease-in-out infinite;
}

@keyframes badge-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.card-background-effect {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
}

.team-icon i {
    font-size: 2.5rem;
    color: white;
}

.team-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.team-desc {
    font-size: 1rem;
    color: #86868b;
}

.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
}

.original-price,
.team-price {
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 8px;
    font-weight: 600;
}

.original-price .price-value {
    font-size: 2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 600;
}

.team-price .price-value {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.price-unit {
    font-size: 0.9rem;
    color: #86868b;
}

.save-tag {
    display: inline-block;
    background: linear-gradient(135deg, #30d158, #34d399);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 8px;
}

.discount-arrow {
    font-size: 2rem;
    color: #ff3b30;
    animation: arrow-move 1.5s ease-in-out infinite;
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.team-benefits {
    margin-bottom: 30px;
}

.team-benefits h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(0, 113, 227, 0.1);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 1rem;
    color: #1d1d1f;
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

.team-cta {
    text-align: center;
}

.btn-team-purchase {
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
    transition: all 0.3s ease;
}

.btn-team-purchase:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 59, 48, 0.4);
    color: white;
    text-decoration: none;
}

.cta-hint {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #86868b;
}

.highlight-number {
    color: #ff3b30;
    font-weight: 700;
}

/* 免息分期活动卡片 */
.installment-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.installment-header {
    text-align: center;
    margin-bottom: 40px;
}

.installment-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0071e3, #00a8ff);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.installment-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title-icon {
    font-size: 2rem;
}

.installment-subtitle {
    font-size: 1rem;
    color: #86868b;
}

.installment-highlight {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.monthly-payment {
    text-align: center;
    margin-bottom: 20px;
}

.payment-label {
    display: block;
    font-size: 1rem;
    color: #86868b;
    margin-bottom: 10px;
}

.payment-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-note {
    display: block;
    font-size: 0.9rem;
    color: #86868b;
    margin-top: 5px;
}

.installment-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-tag i {
    color: #30d158;
    font-size: 1.2rem;
}

.installment-example {
    margin-bottom: 30px;
}

.installment-example h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: center;
}

.installment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.option-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.option-item.recommended {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #0071e3;
}

.option-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #0071e3;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.option-period {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.option-monthly {
    font-size: 1.1rem;
    color: #0071e3;
    font-weight: 600;
    margin-bottom: 5px;
}

.option-total {
    font-size: 0.85rem;
    color: #86868b;
}

.installment-footer {
    text-align: center;
}

.footer-text {
    font-size: 0.95rem;
    color: #86868b;
    margin-bottom: 20px;
}

.footer-text i {
    margin-right: 5px;
}

.btn-installment {
    background: linear-gradient(135deg, #0071e3, #00a8ff);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

.btn-installment:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.4);
    color: white;
    text-decoration: none;
}

/* 大一新生双国一退款保障卡片 - 已废弃，使用guarantee-ultimate.css替代 */
/* .freshman-guarantee-card {
    background: linear-gradient(135deg, #ffffff, #fff5f5);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    margin-top: 40px;
    border: 3px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, #ff3b30, #ff6b35, #ffd700);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.freshman-guarantee-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatAnimation 6s ease-in-out infinite;
}

.freshman-guarantee-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatAnimation 8s ease-in-out infinite reverse;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.guarantee-badge-special {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.35);
    animation: badgePulse 2s ease-in-out infinite;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 25px rgba(255, 59, 48, 0.35);
    }
    50% { 
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 59, 48, 0.45);
    }
}

.guarantee-header {
    text-align: center;
    margin-bottom: 40px;
}

.guarantee-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.title-highlight {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.title-main {
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    animation: titleBounce 3s ease-in-out infinite;
}

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

.title-sub {
    color: #1d1d1f;
    font-size: 1.8rem;
}

.guarantee-subtitle {
    font-size: 1.3rem;
    color: #86868b;
    font-weight: 600;
}

.guarantee-content {
    position: relative;
    z-index: 2;
}

.guarantee-main-offer {
    background: linear-gradient(135deg, #fff9f0, #fff5f5);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 2px solid rgba(255, 59, 48, 0.1);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.08);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    animation: iconRotate 10s linear infinite;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.offer-icon i {
    font-size: 2.5rem;
    color: white;
    animation: iconRotateReverse 10s linear infinite;
}

@keyframes iconRotateReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.offer-text h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.offer-description {
    font-size: 1.2rem;
    color: #86868b;
    line-height: 1.8;
}

.emphasis {
    color: #ff3b30;
    font-weight: 800;
    font-size: 1.3rem;
    padding: 0 5px;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 59, 48, 0.2) 60%);
}

.guarantee-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.guarantee-features .feature-item {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 59, 48, 0.1);
}

.guarantee-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.3);
}

.guarantee-features .feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.guarantee-features .feature-content {
    text-align: center;
}

.guarantee-features .feature-content strong {
    font-size: 1.1rem;
    color: #1d1d1f;
    display: block;
    margin-bottom: 8px;
}

.guarantee-features .feature-content p {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

.guarantee-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 20px;
}

.guarantee-stats .stat-item {
    text-align: center;
}

.guarantee-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.guarantee-stats .stat-label {
    font-size: 0.95rem;
    color: #86868b;
    font-weight: 600;
}

.guarantee-stats .stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, #e9ecef, transparent);
}

.guarantee-cta {
    text-align: center;
    margin: 40px 0 30px;
}

.btn-guarantee {
    background: linear-gradient(135deg, #ff3b30, #ff6b35);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(255, 59, 48, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-guarantee:hover::before {
    left: 100%;
}

.btn-guarantee:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 59, 48, 0.45);
    color: white;
    text-decoration: none;
}

.guarantee-cta .cta-hint {
    margin-top: 15px;
    font-size: 1rem;
    color: #ff3b30;
    font-weight: 600;
    animation: hintBlink 2s ease-in-out infinite;
}

@keyframes hintBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.guarantee-terms {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 12px;
    border-left: 4px solid #0071e3;
}

.guarantee-terms p {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.6;
    margin: 0;
}

.guarantee-terms i {
    color: #0071e3;
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .activity-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guarantee-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .school-activity-section .title-main {
        font-size: 2.2rem;
    }
    
    .school-activity-section .title-sub {
        font-size: 1.2rem;
    }
    
    .team-purchase-card,
    .installment-card,
    .freshman-guarantee-card {
        padding: 30px 20px;
    }
    
    .price-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .installment-options {
        grid-template-columns: 1fr;
    }
    
    .guarantee-title {
        font-size: 1.8rem;
    }
    
    .guarantee-title .title-main {
        font-size: 2.2rem;
    }
    
    .guarantee-title .title-sub {
        font-size: 1.4rem;
    }
    
    .guarantee-main-offer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .guarantee-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .guarantee-stats .stat-divider {
        width: 80px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .activity-container {
        grid-template-columns: 1fr;
    }
    
    .school-activity-section .title-main {
        font-size: 1.8rem;
    }
    
    .payment-amount {
        font-size: 2.5rem;
    }
}

/* 注释掉所有旧的guarantee相关样式，避免与新设计冲突 */
.freshman-guarantee-card,
.freshman-guarantee-card * {
    all: unset !important;
}