/* 科技赋能未来 公益引领担当 - 三维网格动态效果banner */
.tech-public-banner {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1a3d 0%, #1e40af 40%, #2563eb 60%, #3b82f6 80%, #60a5fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridParallax 30s linear infinite;
    transform: perspective(500px) rotateX(60deg) translateZ(-100px);
    transform-origin: center top;
    z-index: 1;
}

.tech-floating-spheres {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.tech-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.1));
    animation: float3D 15s ease-in-out infinite;
    transform-style: preserve-3d;
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.2);
}

.tech-sphere-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    opacity: 0.6;
}

.tech-sphere-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: 10%;
    animation-delay: -5s;
    opacity: 0.4;
}

.tech-sphere-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -8s;
    opacity: 0.5;
}

.tech-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 3;
    animation: glowPulse 6s ease-in-out infinite;
}

.tech-pulse-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    animation: lightPulse 6s ease-in-out infinite;
    z-index: 4;
}

.tech-banner-content {
    position: relative;
    /*z-index: 10000 !important;*/
    z-index: 1001 !important;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    padding-top: 0px;
    margin-top: -80px;
}

.tech-main-title {
    font-size: 80px;
    font-weight: 800;
    color: white;
    margin-bottom: 50px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
    letter-spacing: 2px;
    animation: titleFloat 3s ease-in-out infinite;
    white-space: nowrap;
}

.tech-main-title-line1 {
    display: inline;
    font-size: 56px;
}

.tech-main-title-line2 {
    display: inline;
    font-size: 56px;
    margin-left: 20px;
}

.tech-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.tech-modules-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tech-module {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: elementGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.tech-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

/* 数字颜色样式 - 与邮箱图标颜色一致 */
.tech-banner-content .number,
.tech-banner-content span[class*="number"],
.tech-banner-content .count,
.tech-banner-content .statistic {
    filter: brightness(0.7);
    color: inherit;
}

/* 特定数字4165和717的样式 */
.tech-banner-content :contains("4165"),
.tech-banner-content :contains("717") {
    filter: brightness(0.7);
}

.tech-module:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* 动画关键帧 */
@keyframes lightPulse {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes elementGlow {
    0% { box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3); }
    100% { box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes float3D {
    0% {
        transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateZ(50px) rotateX(10deg) rotateY(15deg);
    }
    50% {
        transform: translateZ(100px) rotateX(0deg) rotateY(30deg);
    }
    75% {
        transform: translateZ(50px) rotateX(-10deg) rotateY(15deg);
    }
    100% {
        transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes gridParallax {
    0% {
        transform: perspective(500px) rotateX(60deg) translateZ(-100px) translateX(0) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateZ(-100px) translateX(-50%) translateY(-50%);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .tech-main-title {
        font-size: 56px;
        white-space: nowrap;
    }
    
    .tech-main-title-line1 {
        font-size: 44px;
        display: inline;
    }
    
    .tech-main-title-line2 {
        font-size: 44px;
        display: inline;
        margin-left: 15px;
    }
    
    .tech-subtitle {
        font-size: 18px;
        max-width: 800px;
    }
    
    .tech-module {
        font-size: 16px;
        padding: 18px 22px;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .tech-public-banner {
        height: 500px;
    }
    
    .tech-banner-content {
        padding-top: 50px;
    }
    
    .tech-main-title {
        font-size: 70px;
        white-space: nowrap;
        margin-bottom: 40px;
    }
    
    .tech-main-title-line1 {
        font-size: 60px;
        display: inline;
    }
    
    .tech-main-title-line2 {
        font-size: 60px;
        display: inline;
        margin-left: 10px;
    }
    
    .tech-subtitle {
        font-size: 16px;
        margin-bottom: 50px;
        line-height: 1.6;
    }
    
    .tech-modules-container {
        gap: 15px;
        margin-top: 25px;
    }
    
    .tech-module {
        font-size: 14px;
        padding: 15px 18px;
        min-width: 100px;
    }
    
    .tech-sphere-1 {
        width: 300px;
        height: 300px;
    }
    
    .tech-sphere-2 {
        width: 200px;
        height: 200px;
    }
    
    .tech-sphere-3 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .tech-public-banner {
        height: 350px;
    }
    
    .tech-banner-content {
        padding-top: 40px;
    }
    
    .tech-main-title {
        font-size: 32px;
        white-space: nowrap;
        margin-bottom: 30px;
    }
    
    .tech-main-title-line1 {
         /*font-size: 48px;*/
        font-size: 24px;
        display: inline;
    }
    
    .tech-main-title-line2 {
        /*font-size: 48px;*/
        font-size: 24px;
        display: inline;
        margin-left: 8px;
    }
    
    .tech-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .tech-modules-container {
        gap: 10px;
        margin-top: 20px;
    }
    
    .tech-module {
        font-size: 12px;
        padding: 12px 15px;
        min-width: 80px;
    }
}