/* ========================================= */
/*        ZOOM LENSES HERO STYLES           */
/* ========================================= */

/* Zoom Lenses Hero Section */
.lens-category-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.98) 0%, 
        rgba(22, 33, 62, 0.95) 25%, 
        rgba(26, 26, 46, 0.98) 50%, 
        rgba(34, 40, 75, 0.95) 75%, 
        rgba(22, 30, 55, 0.98) 100%
    );
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hero Background Effects */
.lens-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateZ(0);
}

.lens-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 107, 0.4), transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(255, 168, 38, 0.3), transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255, 112, 67, 0.35), transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(255, 107, 107, 0.25), transparent);
    background-repeat: repeat;
    background-size: 220px 160px, 280px 200px, 200px 140px, 320px 230px;
    animation: zoomParticlesFlow 28s linear infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    opacity: 0.6;
}

.lens-hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, transparent 0%, rgba(255, 107, 107, 0.18) 100%),
        radial-gradient(ellipse at 80% 20%, transparent 0%, rgba(255, 168, 38, 0.15) 100%),
        radial-gradient(ellipse at 40% 40%, transparent 0%, rgba(255, 112, 67, 0.12) 100%);
    animation: zoomGradientPulse 20s ease-in-out infinite;
}

/* Hero Content */
.lens-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    transform: translateZ(0);
}

.hero-text-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lens Category Badge */
.lens-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.lens-category-badge:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.6));
}

.badge-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Title */
.lens-category-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    /* Performance optimization */
    will-change: transform, opacity;
}

.hero-title-main {
    display: block;
    color: #ffffff;
    margin-bottom: 0.1em;
    font-weight: 800;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        #ffa726 15%,
        #ff7043 30%, 
        #ff9800 45%,
        #ffab40 60%, 
        #ff6b6b 80%, 
        #ff8a65 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: zoomGradientShift 10s ease-in-out infinite;
    font-weight: 900;
    position: relative;
}

/* Hero Subtitle */
.lens-category-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Quick Specs */
.lens-quick-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.quick-spec {
    text-align: center;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
    border-radius: 15px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quick-spec:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateY(-3px);
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ff8a65;
    font-weight: 700;
}

/* Hero CTA Buttons */
.hero-cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    /* Performance optimization */
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.hero-cta-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 50%, #ff7043 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    border: 2px solid transparent;
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, #ff8a80 0%, #ffb74d 50%, #ff8a65 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
    text-decoration: none;
    color: white;
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: white;
}

.hero-cta-primary .cta-arrow,
.hero-cta-secondary .cta-arrow {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-cta-primary:hover .cta-arrow,
.hero-cta-secondary:hover .cta-arrow {
    transform: translateX(5px);
}

/* Hero Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform: translateZ(0);
}

.floating-lens {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.08;
    animation: floatZoomLens 26s infinite ease-in-out;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(255, 107, 107, 0.4));
    /* Performance optimization */
    will-change: transform;
    transform: translateZ(0);
}

/* Professional Floating Positions */
.floating-1 { top: 12%; left: 6%; animation-delay: 0s; animation-duration: 30s; }
.floating-2 { top: 22%; right: 10%; animation-delay: 4s; animation-duration: 34s; }
.floating-3 { top: 48%; left: 4%; animation-delay: 8s; animation-duration: 32s; }
.floating-4 { top: 65%; right: 8%; animation-delay: 12s; animation-duration: 28s; }
.floating-5 { bottom: 28%; left: 8%; animation-delay: 16s; animation-duration: 31s; }
.floating-6 { bottom: 18%; right: 12%; animation-delay: 20s; animation-duration: 29s; }
.floating-7 { top: 75%; left: 14%; animation-delay: 24s; animation-duration: 33s; }
.floating-8 { top: 38%; right: 18%; animation-delay: 28s; animation-duration: 35s; }

/* Animations */
@keyframes zoomGradientShift {
    0%, 100% { background-position: 0% 50%; }
    20% { background-position: 80% 20%; }
    40% { background-position: 100% 80%; }
    60% { background-position: 20% 100%; }
    80% { background-position: 0% 60%; }
}

@keyframes zoomParticlesFlow {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(15px) rotate(90deg); }
    50% { transform: translateY(-60px) translateX(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(20px) rotate(270deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

@keyframes zoomGradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes floatZoomLens {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.06;
    }
    25% { 
        transform: translateY(-35px) translateX(18px) rotate(12deg) scale(1.3);
        opacity: 0.14;
    }
    50% { 
        transform: translateY(-25px) translateX(-15px) rotate(-8deg) scale(0.8);
        opacity: 0.1;
    }
    75% { 
        transform: translateY(-40px) translateX(12px) rotate(18deg) scale(1.15);
        opacity: 0.18;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lens-category-hero { min-height: 85vh; padding: 80px 0; }
    .lens-hero-content { padding: 0 30px; }
    .lens-quick-specs { gap: 20px; }
    .floating-lens { font-size: 1.3rem; opacity: 0.06; }
}

@media (max-width: 768px) {
    .lens-category-hero { 
        min-height: 80vh; 
        padding: 60px 0;
        margin-left: calc(-50vw + 50%);
    }
    
    .lens-hero-content { padding: 0 25px; }
    
    .lens-quick-specs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .quick-spec {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .floating-lens { display: none; }
}

@media (max-width: 480px) {
    .lens-category-hero { 
        min-height: 75vh; 
        padding: 40px 0;
    }
    
    .lens-hero-content { padding: 0 20px; }
    .lens-category-subtitle { margin-bottom: 2.5rem; }
    .hero-cta-primary, .hero-cta-secondary { 
        padding: 12px 24px; 
        font-size: 0.9rem;
        max-width: 260px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .lens-hero-particles,
    .floating-lens,
    .lens-hero-gradient,
    .hero-title-accent {
        animation: none;
    }
    
    .hero-title-accent {
        background: linear-gradient(135deg, #ff6b6b, #ffa726);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-cta-primary:hover,
    .hero-cta-secondary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .lens-category-hero {
        background: white;
        color: black;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .lens-hero-particles,
    .floating-lens {
        display: none;
    }
}
