/* ========================================
   JDL Overseas CTA区域样式
   Call-to-Action Section Styles
   ======================================== */

/* ========== CTA主容器 ========== */
.cta-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e6e2a 0%, #28a745 50%, #5cb85c 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ========== 装饰性背景图案 ========== */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 装饰性圆圈 */
.cta-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}

.cta-decoration-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
    animation: float1 12s ease-in-out infinite;
}

.cta-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -30px;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
    animation: float2 10s ease-in-out infinite;
}

.cta-decoration-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
    animation: float3 14s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, 20px) scale(1.15);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, -15px) scale(1.08);
    }
}

/* ========== CTA内容容器 ========== */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ========== 图标装饰 ========== */
.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cta-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ========== 标题 ========== */
.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 描述文本 ========== */
.cta-description {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.15);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ========== 按钮容器 ========== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ========== 主按钮（立即联系） ========== */
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: white;
    color: #28a745;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    background: #f8f9fa;
}

.cta-btn-primary svg {
    width: 20px;
    height: 20px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover svg {
    transform: translateX(5px);
}

/* ========== 次要按钮（浏览产品） ========== */
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    min-width: 180px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn-secondary:hover::before {
    left: 0;
}

.cta-btn-secondary:hover {
    color: #28a745;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.cta-btn-secondary svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.cta-btn-secondary:hover svg {
    transform: rotate(360deg);
}

/* ========== 特色徽章 ========== */
.cta-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-badge:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.cta-badge svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .cta-section {
        padding: 80px 20px;
    }
    
    .cta-title {
        font-size: 40px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .cta-decoration-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .cta-badges {
        gap: 15px;
        margin-top: 40px;
    }
    
    .cta-badge {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .cta-decoration-1,
    .cta-decoration-2 {
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 50px 16px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .cta-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .cta-description {
        font-size: 15px;
    }
    
    .cta-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== 无障碍支持 ========== */
@media (prefers-reduced-motion: reduce) {
    .cta-section,
    .cta-section::before,
    .cta-decoration-1,
    .cta-decoration-2,
    .cta-decoration-3,
    .cta-icon,
    .cta-title,
    .cta-description,
    .cta-buttons,
    .cta-badges {
        animation: none !important;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary,
    .cta-badge {
        transition: none !important;
    }
}





