/* Products Page Specific Styles */

/* ============================================
   PRODUCTS HERO - MODERN PREMIUM DESIGN
   ============================================ */

.products-hero {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.85) 100%
        ),
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('images/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 166, 80, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 49, 146, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.products-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 1) 100%);
    z-index: 2;
}

.products-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.products-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.products-hero .stat {
    text-align: center;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 160px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.products-hero .stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.products-hero .stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.products-hero .stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(135deg, #00d68f, #00a650);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-hero .stat p {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Product Categories Section */
.product-categories {
    padding: 100px 0;
    background: #f9fafb;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.category-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Products Display Section */
.products-display {
    padding: 100px 0;
}

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card-detailed {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.product-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card-detailed.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.product-image {
    position: relative;
    padding: 0px;
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.05) 0%, rgba(0, 166, 80, 0.05) 50%, rgba(46, 49, 146, 0.05) 100%);
    text-align: center;
}

/* Product Photo Styling */
.product-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00a650;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 40px;
}

.product-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.product-tagline {
    font-size: 1.1rem;
    color: #00a650;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-description {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Product Benefits */
.product-benefits {
    margin-bottom: 25px;
}

.product-benefits h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.product-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.product-benefits li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #4b5563;
}

.product-benefits li i {
    color: #00a650;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Product Specifications */
.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 15px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

/* Product Usage */
.product-usage {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 166, 80, 0.05) 0%, rgba(46, 49, 146, 0.05) 50%, rgba(0, 166, 80, 0.05) 100%);
    border-radius: 15px;
    border-left: 4px solid #00a650;
}

.product-usage h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.product-usage p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Why Choose Products Section */
.why-choose-products {
    padding: 100px 0;
    background: #f9fafb;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-choose-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00a650 0%, #2e3192 50%, #00a650 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.why-choose-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.why-choose-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Product Guarantee Section */
.product-guarantee {
    padding: 100px 0;
}

.guarantee-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.guarantee-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.guarantee-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.7;
}

.guarantee-points {
    list-style: none;
}

.guarantee-points li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #4b5563;
}

.guarantee-points li i {
    color: #00a650;
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.guarantee-visual {
    text-align: center;
}

.guarantee-badge {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #00a650;
}

.guarantee-badge i {
    font-size: 3rem;
    color: #00a650;
    margin-bottom: 20px;
}

.guarantee-badge h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.guarantee-badge p {
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Products CTA Section */
.products-cta {
    background: 
        linear-gradient(135deg, rgba(46, 49, 146, 0.9) 0%, rgba(0, 166, 80, 0.8) 50%, rgba(46, 49, 146, 0.9) 100%),
        url('images/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.products-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.products-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Active Navigation Link */
.nav-link.active {
    color: #00a650;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .products-hero {
        padding: 130px 0 80px;
        min-height: 60vh;
    }

    .products-hero::after {
        height: 80px;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .products-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .products-hero-stats {
        gap: 15px;
    }

    .products-hero .stat {
        min-width: 100px;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .products-hero .stat h3 {
        font-size: 1.6rem;
    }

    .products-hero .stat p {
        font-size: 0.8rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        min-width: 120px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-detailed {
        min-width: auto;
    }

    .product-content {
        padding: 30px 20px;
    }

    .product-benefits ul {
        grid-template-columns: 1fr;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guarantee-badge {
        padding: 30px 20px;
    }

    .products-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .products-hero-subtitle {
        font-size: 1rem;
    }

    .products-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-content h3 {
        font-size: 1.5rem;
    }

    .product-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .guarantee-text h2 {
        font-size: 2rem;
    }

    .products-cta h2 {
        font-size: 1.8rem;
    }

    .products-cta p {
        font-size: 1rem;
    }
}

/* Smooth scrolling improvements */
.products-hero,
.products-cta {
    background-attachment: scroll;
}

@media screen and (min-width: 769px) {
    .products-hero,
    .products-cta {
        background-attachment: fixed;
    }
}

/* Animation classes for filtering */
.product-card-detailed.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category highlight when filtered */
.category-card.active {
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.1) 0%, rgba(0, 166, 80, 0.1) 50%, rgba(46, 49, 146, 0.1) 100%);
}

.category-card.active::before {
    transform: scaleX(1);
}