/**
 * Premium Section Styling System
 * Professional camera section layout and design
 * Version: 2.0.0 - Enhanced Professional Design
 */

/* =================================== */
/*        PREMIUM SECTION             */
/* =================================== */

.premium-section {
    margin: 0;
    padding: 100px 0 120px 0;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 30%, 
        #0f1629 60%, 
        #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: premiumBgFloat 18s cubic-bezier(0.22, 0.9, 0.36, 1) infinite alternate;
    z-index: 0;
    opacity: 0.95;
    transform: translate3d(0,0,0) scale(1);
}

/* Smooth transform/opacity animation instead of swapping background values */
@keyframes premiumBgFloat {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1);
        opacity: 0.90;
        filter: blur(0px);
    }
    50% {
        transform: translate3d(12px, -8px, 0) scale(1.01);
        opacity: 1;
        filter: blur(.25px);
    }
    100% {
        transform: translate3d(-8px, 12px, 0) scale(1.02);
        opacity: 0.92;
        filter: blur(.5px);
    }
}

.premium-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 35px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.premium-badge {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.25) 0%, 
        rgba(255, 140, 0, 0.20) 50%, 
        rgba(255, 215, 0, 0.25) 100%);
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.premium-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
}

.premium-badge:hover::before {
    left: 100%;
}

.premium-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffed4e 25%, 
        #fbbf24 50%, 
        #f59e0b 75%, 
        #ffd700 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: none;
    animation: titleShine 4s ease-in-out infinite;
    letter-spacing: -1px;
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.premium-subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 950px;
    margin: 0 auto 60px auto;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Premium Stats - Horizontal Layout with Beautiful Styling */
.premium-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    flex-wrap: nowrap; /* Prevent wrapping to keep all items on one line */
}

.premium-stats .stat-item {
    background: linear-gradient(145deg, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    flex: 1 1 auto; /* Allow items to grow equally */
    max-width: 200px; /* Prevent items from getting too wide */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.premium-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #f59e0b, #ffd700);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: statGlow 2s linear infinite;
}

@keyframes statGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.premium-stats .stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(145deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-stats .stat-item:hover::before {
    opacity: 1;
}

.premium-stats .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.premium-stats .stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.premium-stats .stat-label {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

/* Premium Features */
.premium-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto 70px auto;
    max-width: 1100px;
}

.feature-tag {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.18) 0%, 
        rgba(255, 140, 0, 0.12) 100%);
    color: #ffd700;
    padding: 15px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 140, 0, 0.25) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
}

.feature-tag:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .premium-container {
        padding: 0 30px;
    }
    
    .premium-stats {
        gap: 20px;
        max-width: 900px;
    }
    
    .premium-stats .stat-item {
        padding: 20px 12px;
        min-width: 90px;
    }
}

@media (max-width: 768px) {
    .premium-section {
        padding: 60px 0 80px 0;
    }
    
    .premium-container {
        padding: 0 25px;
    }
    
    .premium-stats {
        flex-direction: column;
        gap: 20px;
        max-width: 400px;
    }
    
    .premium-stats .stat-item {
        width: 100%;
        max-width: none;
        padding: 25px 20px;
        min-width: auto;
    }
    
    .premium-stats .stat-icon {
        font-size: 2rem;
    }
    
    .premium-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .premium-title {
        font-size: 2.2rem;
    }
    
    .premium-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .premium-container {
        padding: 0 20px;
    }
    
    .premium-stats {
        flex-direction: column;
        gap: 15px;
        max-width: 320px;
    }
    
    .premium-stats .stat-item {
        width: 100%;
        padding: 20px 15px;
    }
    
    .premium-stats .stat-icon {
        font-size: 1.8rem;
    }
    
    .premium-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .premium-stats .stat-label {
        font-size: 0.7rem;
    }
}
