/* Premium Products Section Styles - Corporate Edition */
.products-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0e1f 0%, #0d1123 50%, #0f1429 100%);
    padding: 5rem 0;
}

/* Header Decoration - More Refined */
.products-header {
    padding: 3rem 0;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.decoration-line {
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.4), transparent);
    position: relative;
}

.decoration-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.8), transparent);
    animation: line-shimmer 3s ease-in-out infinite;
}

@keyframes line-shimmer {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.decoration-line.left {
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.4));
}

.decoration-line.right {
    background: linear-gradient(90deg, rgba(0, 168, 255, 0.4), transparent);
}

.decoration-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow:
        0 4px 20px rgba(0, 102, 204, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.decoration-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: icon-shine 4s ease-in-out infinite;
}

@keyframes icon-shine {

    0%,
    100% {
        transform: rotate(0deg) translate(-50%, -50%);
    }

    50% {
        transform: rotate(180deg) translate(-50%, -50%);
    }
}

.section-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 136, 255, 0.2);
    border-radius: 30px;
    color: #4da6ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.gradient-text {
    background: linear-gradient(120deg, #0088ff, #00b4ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Trust Indicators - More Professional */
.trust-indicators {
    padding: 2rem;
    background: rgba(13, 17, 35, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 136, 255, 0.08);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(0, 136, 255, 0.05);
    transform: translateY(-2px);
}

.trust-item i {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Premium Category Pills - High-End Tech Design */
.category-tabs-wrapper {
    position: relative;
    z-index: 2;
    margin: 4rem 0 3rem 0;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.category-tabs-premium {
    padding: 0.75rem;
    background: rgba(10, 14, 25, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    display: inline-flex;
    gap: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.category-pill-premium {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    padding-right: 2rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 210px;
    overflow: hidden;
}

/* Inactive Background (Default) */
/* Hover State */
.category-pill-premium:hover {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Active State */
.category-pill-premium.active {
    background: linear-gradient(135deg, rgba(30, 40, 60, 0.8), rgba(20, 25, 45, 0.9));
    border-color: rgba(0, 136, 255, 0.3);
    color: white;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(0, 136, 255, 0.05);
}

/* Active Indicator Line */
.category-pill-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0088ff, transparent);
    opacity: 0;
    transform: scaleX(0.5);
    transition: all 0.4s ease;
}

/* Hover State */
.category-pill-premium.active::after {
    opacity: 1;
    transform: scaleX(1);
    box-shadow: 0 -2px 10px rgba(0, 136, 255, 0.5);
}

/* Remove old before element to prevent conflict */
.category-pill-premium::before {
    display: none;
}

/* Content Layering */
.pill-icon,
.pill-content,
.new-badge,
.pill-glow {
    position: relative;
    z-index: 5;
    /* Always on top */
    pointer-events: none;
}

/* Icon Styling */
.pill-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 5;
}

.category-pill-premium:hover .pill-icon {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.category-pill-premium.active .pill-icon {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    transform: scale(1.05);
}

.pill-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
}

/* Text Styling */
.pill-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pill-desc {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}



/* New Badge */
.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 136, 255, 0.15);
    border: 1px solid rgba(0, 136, 255, 0.3);
    color: #4da6ff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none;
    z-index: 10;
}

.category-pill-premium.active .new-badge {
    background: #0088ff;
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
}

/* Reset Glow */
.pill-glow {
    display: none;
}

/* Tab Content */
.products-tab-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

/* Background Decoration - More Subtle */
.section-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.6;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08), transparent 70%);
    filter: blur(80px);
}

.circle-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
    animation: float-circle 25s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: float-circle 20s ease-in-out infinite reverse;
}

@keyframes float-circle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 136, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}

/* Responsive - Corporate */
@media (max-width: 768px) {
    .category-pill-premium {
        min-width: auto;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 0.8rem;
    }

    .pill-content {
        align-items: center;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem !important;
        padding: 1.5rem;
    }

    .decoration-line {
        width: 60px;
    }

    .products-section {
        padding: 3rem 0;
    }
}