

.advanced-container {
    width: 100%;
    max-width: 100vw;
    text-align: center;
    padding: 20px 20px 20px 20px;
    position: relative;
    overflow: hidden;
}

.advanced-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.protection-heading {
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: #0f172a;
    font-weight: 450;
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheading {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: #4a5568;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
    opacity: 0.9;
}

.dynamic-section {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -0.025em;
    height: 1.2em;
    position: relative;
    overflow: hidden;
}

.dynamic-text-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dynamic-text {
    position: absolute;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #667eea;
    opacity: 0;
    transform: translateY(100%);
    will-change: transform, opacity;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@supports not (-webkit-background-clip: text) {
    .dynamic-text {
        background: none;
        color: #667eea;
        text-shadow: 
            0 0 10px rgba(102, 126, 234, 0.5),
            0 0 20px rgba(118, 75, 162, 0.3),
            0 0 30px rgba(240, 147, 251, 0.2);
    }
}

.cta-text {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #718096;
    font-weight: 400;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.tech-highlight {
    color: #3182ce;
    font-weight: 600;
    position: relative;
}

.tech-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #805ad5);
    border-radius: 1px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.6; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.micro-interaction {
    animation: modernBreathe 6s ease-in-out infinite;
}

@keyframes modernBreathe {
    0%, 100% { 
        transform: scale(1);
        filter: blur(0px);
    }
    50% { 
        transform: scale(1.03);
        filter: blur(0.5px);
    }
}

.glass-effect {
    position: relative;
    z-index: 1;
}


/* Mobile-specific styles */
@media (max-width: 768px) {
    .advanced-container {
        width: 100vw;
        max-width: 100vw;
        padding: 40px 0px;
        margin: 0;
    }
    
    .protection-heading {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: 30px;
        width: 100%;
    }
    
    .dynamic-section {
        font-size: clamp(2.2rem, 7.5vw, 3.8rem);
        margin-bottom: 30px;
        height: 1.5em;
        width: 100%;
    }
    
    .dynamic-text-container {
        width: 100%;
        padding: 0;
    }
    
    .dynamic-text {
        font-size: clamp(2.2rem, 7.5vw, 3.8rem);
        padding: 0;
        width: 100%;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .advanced-container {
        width: 100vw;
        max-width: 100vw;
        padding: 30px 0px;
        margin: 0;
    }
    
    .protection-heading {
        font-size: clamp(2rem, 9vw, 3.5rem);
        margin-bottom: 25px;
        width: 100%;
    }
    
    .dynamic-section {
        font-size: clamp(1.8rem, 8.5vw, 3.2rem);
        height: 1.6em;
        width: 100%;
    }
    
    .dynamic-text {
        font-size: clamp(1.8rem, 8.5vw, 3.2rem);
        letter-spacing: -0.02em;
        width: 100%;
        padding: 0;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .advanced-container {
        width: 100vw;
        max-width: 100vw;
        padding: 20px 8px;
        margin: 0;
    }
    
    .protection-heading {
        font-size: clamp(1.8rem, 10vw, 3rem);
        width: 100%;
    }
    
    .dynamic-section {
        font-size: clamp(1.6rem, 9.5vw, 2.8rem);
        width: 100%;
    }
    
    .dynamic-text {
        font-size: clamp(1.6rem, 9.5vw, 2.8rem);
        white-space: normal;
        line-height: 1.1;
        width: 100%;
        padding: 0;
    }
}
