/* Homepage Specific Styles */

.banner-area-v2 {
    position: relative;
    padding: 120px 0 90px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-glow-v2 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(62, 146, 204, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.banner-grid-v2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.banner-text-v2 h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.banner-text-v2 p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.banner-actions-v2 {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-catalog-v2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 22px 45px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3c72 100%);
    color: white;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.25);
    border: none;
}

.btn-catalog-v2:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(10, 36, 99, 0.35);
    background: linear-gradient(135deg, #1e3c72 0%, var(--primary-light) 100%);
    color: #fff;
}

.btn-secondary-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 45px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    color: var(--primary);
    border: 2px solid #e0e6ed;
    transition: 0.4s;
}

.btn-secondary-v2:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(62, 146, 204, 0.1);
}

.banner-stats-v2 {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f4f8;
}

.stat-item-v2 h4 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 900;
}

.stat-item-v2 p {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.banner-image-v2 {
    position: relative;
    height: 100%;
}

.banner-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.categories-v2 {
    padding: 80px 0;
    background: #fff;
}

.section-header-v2 {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-v2 h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.sub-badge-v2 {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(62, 146, 204, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.category-card-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card-v2 {
    height: 240px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.04);
    transition: 0.5s;
    background: #fff;
    border: 2px solid #f8f9fb;
}

.category-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(10, 36, 99, 0.08);
    border-color: rgba(62, 146, 204, 0.1);
}

.icon-box-v2 {
    width: 80px;
    height: 80px;
    background: #f4f8fc;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.icon-box-v2 i {
    font-size: 38px;
    color: var(--primary);
    transition: 0.4s;
}

.category-card-v2:hover .icon-box-v2 {
    background: var(--primary);
    transform: scale(1.05) rotate(5deg);
}

.category-card-v2:hover .icon-box-v2 i {
    color: #fff;
}

.card-content-v2 h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--primary);
}

.explore-link-v2 {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-light);
    opacity: 0.7;
}

.products-v2 {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #f4f8fc 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    transition: 0.4s;
    border: 1px solid #f0f4f8;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(10, 36, 99, 0.08);
    border-color: var(--primary-light);
}

.product-img {
    height: 260px;
    background: #fdfdfd;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.01);
}

.product-img img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08) translateY(-5px);
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
    height: 3.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
}

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 15px;
    background: #f1f5f9;
    color: var(--primary);
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.product-card:hover .btn-add-cart {
    background: var(--primary);
    color: #fff;
}

.view-all-container-v2 {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all-v2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: #fff;
    border: 2px solid #e0e6ed;
    color: var(--primary);
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.05);
}

.btn-view-all-v2:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(62, 146, 204, 0.15);
}

.testimonials {
    background: var(--primary);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.t-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.t-author {
    font-weight: 700;
    color: var(--primary-light);
    margin-top: 20px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .banner-area-v2 {
        padding: 50px 0 60px;
        text-align: center;
    }

    .banner-grid-v2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .banner-text-v2 h1 {
        font-size: 2.2rem;
    }

    .banner-text-v2 p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .banner-stats-v2 {
        justify-content: center;
        gap: 30px;
    }

    .stat-item-v2 h4 {
        font-size: 1.5rem;
    }

    .banner-image-v2 {
        display: none !important;
    }

    .category-card-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .section-header-v2 h2,
    .testimonials .section-header h2 {
        font-size: 1.8rem;
    }

    .card-content-v2 h3 {
        font-size: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .banner-text-v2 h1 {
        font-size: 1.8rem;
    }

    .category-card-grid-v2,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .banner-text-v2 .btn-catalog-v2,
    .banner-text-v2 .btn-secondary-v2,
    .banner-text-v2 .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    .banner-text-v2 p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .banner-actions-v2 {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .banner-stats-v2 {
        flex-direction: column;
        gap: 20px;
    }
}