/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-section.fullwidth-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: all 0.6s ease;
}

.cta-section:hover .cta-background {
    transform: scale(1.05);
}

/* .cta-overlay 样式已完全移除 */

.cta-container {
    position: relative;
    z-index: 2;  /* 原为3，遮罩层移除后改为2（背景为1） */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: ctaFadeInUp 0.8s ease 0.2s forwards;
}

.cta-subtitle {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: ctaFadeInUp 0.8s ease 0.4s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: ctaFadeInUp 0.8s ease 0.6s forwards;
}

.cta-button:hover {
    background: #764ba2;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes ctaFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 装饰性浮动圆圈（保留，不影响背景图片清晰度） */
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 1;  /* 置于背景之上、内容之下 */
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-title {
        font-size: 42px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cta-container {
        padding: 0 15px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .cta-section::before,
    .cta-section::after {
        display: none;
    }
}

/* 顶部装饰线 */
.cta-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: ctaFadeInUp 0.8s ease 0.8s forwards;
}

/* 按钮渐变层（不影响背景图片） */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    opacity: 1;
}