/* =================================== */
/*        LENS HERO SECTION STYLES    */
/* =================================== */

/* Lens Categories Page */
.lens-categories-page {
    margin: 0 !important;
    padding: 0 !important;
}

/* Lens Hero Section */
.lens-hero-section {
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f3443 100%);
    padding: 150px 20px 100px !important;
    margin: 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background Elements */
.lens-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.lens-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.3" fill="rgba(102,126,234,0.2)"/><circle cx="40" cy="80" r="0.4" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="30" r="0.2" fill="rgba(118,75,162,0.15)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.lens-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 75% 70%, rgba(17, 153, 142, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
}

/* Hero Content */
.lens-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto; /* Center horizontally */
    padding: 0 2rem;
    width: 100%;
    animation: heroFadeInUp 1.2s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.badge-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.badge-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lens-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 20px; /* Center the title */
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, rgba(102, 126, 234, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lens-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 40px; /* Center the subtitle */
    line-height: 1.4;
    font-weight: 400;
    max-width: 700px;
    text-align: center;
}

/* Hero Stats Grid */
.lens-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 50px auto;
    width: 100%;
}

.hero-stat,
.premium-stat-card {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat:hover,
.premium-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.hero-stat::before,
.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-stat:hover::before,
.premium-stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.hero-btn-secondary {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 2px solid rgba(34, 197, 94, 0.4);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-lens-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: floatAround 15s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.lens-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.lens-2 {
    top: 30%;
    right: 15%;
    animation-delay: -3s;
}

.lens-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: -6s;
}

.lens-4 {
    bottom: 35%;
    right: 10%;
    animation-delay: -9s;
}

/* Animations */
@keyframes float {
    0% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(30px) translateY(-30px); }
    66% { transform: translateX(-20px) translateY(20px); }
    100% { transform: translateX(0px) translateY(0px); }
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lens-hero-title {
        font-size: 3.5rem;
    }
    
    .lens-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .premium-stats-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .lens-hero-title {
        font-size: 3.2rem;
    }
    
    .premium-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        gap: 20px;
    }
    
    .hero-stat,
    .premium-stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .lens-hero-content {
        padding: 0 1.5rem;
    }
    
    .lens-hero-title {
        font-size: 2.8rem;
    }
    
    .lens-hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .premium-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .floating-lens-element {
        font-size: 1.5rem;
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .lens-hero-title {
        font-size: 2.2rem;
    }
    
    .lens-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .premium-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-stat,
    .premium-stat-card {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}
