/* --- Category Hero --- */
.category-hero {
    background: linear-gradient(135deg, var(--navy), #0a1120);
    color: var(--white);
    padding: 20px 5% 100px;
    position: relative;
    overflow: hidden;
}

.category-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.category-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.category-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract glowing lens effect instead of standard image for modern feel */
.lens-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,57,53,0.2) 0%, rgba(229,57,53,0) 70%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lens-glow::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 40px rgba(229,57,53,0.3);
    animation: pulse 3s infinite ease-in-out;
}

.lens-glow i {
    font-size: 4rem;
    color: var(--white);
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: inset 0 0 20px rgba(229,57,53,0.2); }
    50% { transform: scale(1.05); box-shadow: inset 0 0 60px rgba(229,57,53,0.5); }
    100% { transform: scale(0.95); box-shadow: inset 0 0 20px rgba(229,57,53,0.2); }
}

/* --- Products Grid Section --- */
.products-section {
    padding: 120px 5%;
    background-color: #f4f6f9; /* Cool premium gray */
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px rgba(0,0,0,0.08);
}

.product-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

/* Dark gradient overlay for image to make the icon pop */
.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-content {
    padding: 0 35px 40px; /* 0 top padding because of overlapping icon */
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Overlapping Icon */
.product-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-top: -35px; /* Overlaps the image */
    margin-bottom: 25px;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.2);
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: translateY(-5px);
}

.product-card h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 800;
}

.product-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Modern Pill Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; /* Pushes list to the bottom so cards align perfectly */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.product-card:hover .feature-list li {
    background: rgba(229, 57, 53, 0.05);
}

.feature-list i {
    color: var(--primary);
    font-size: 1rem;
}

/* --- Partner Brands Section --- */
.partner-brands-section {
    padding: 80px 0;
    background-color: var(--navy);
    overflow: hidden;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.brands-title {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    font-weight: 600;
}

.brands-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.brands-marquee::before, .brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--navy), transparent);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--navy), transparent);
}

.marquee-content {
    display: flex;
    gap: 80px;
    align-items: center;
    white-space: nowrap;
    animation: scroll-marquee 25s linear infinite;
}

.brand-logo {
    color: rgba(255,255,255,0.7);
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo i {
    color: var(--primary);
    font-size: 2.4rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    color: var(--white);
    transform: scale(1.05);
}

.brand-logo:hover i {
    opacity: 1;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

/* --- Benefits Section --- */
.benefits-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-content {
    flex: 1.2;
}

.benefits-content h2 {
    font-size: 2.6rem;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.benefits-content > p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.b-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.benefits-image {
    flex: 0.8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .category-hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-container {
        flex-direction: column;
    }
    
    .benefits-image {
        order: -1; /* Image on top on mobile */
    }
}

@media (max-width: 768px) {
    .category-hero { padding: 120px 5% 60px; }
    .category-hero h1 { font-size: 2.5rem; }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card { padding: 30px; }
    .benefits-content h2 { font-size: 2.2rem; }
}
