/* ===========================
   Hero Section
   =========================== */

.hero-section {

    background:
        linear-gradient(
            135deg,
            rgba(108,61,214,.05),
            rgba(232,62,140,.03),
            rgba(255,154,61,.04)
        );

    color: var(--dark-color);

    min-height: 650px;

    display: flex;

    align-items: center;
}

.hero-section h1 {

    font-weight: 700;

    margin-bottom: 1rem;

    text-shadow:
        2px 2px 4px rgba(0,0,0,.08);
}

.hero-section .lead {

    font-size: 1.25rem;

    margin-bottom: 2rem;

    opacity: .95;
}

.hero-title {

    font-size: 3rem;

    font-weight: 800;

    line-height: 1.1;

    color: var(--dark-color);
}

.hero-subtitle {

    font-size: 1.25rem;

    color: var(--text-muted);

    max-width: 600px;
}

.hero-content {

    max-width: 600px;
}

.hero-product {

    max-width: 750px;

    width: 100%;

    filter:
        drop-shadow(
            0 20px 40px rgba(0,0,0,.12)
        );
}

/* ===========================
   Hero Features
   =========================== */

.hero-feature {

    background: white;

    border-radius: 12px;

    min-height: 180px;

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 10px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.05);
}

.hero-feature-icon {

    font-size: 1.8rem;
}

/* ===========================
   Hero Benefits
   =========================== */
.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.hero-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 999px;
    border:
        1px solid rgba(108,61,214,.12);
    box-shadow:
        0 4px 10px rgba(0,0,0,.03);
    font-size: .9rem;
    color: #444;
    transition: .3s;
}

.hero-benefits span:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow:
        0 8px 20px rgba(108,61,214,.08);
}

/* ===========================
   Categories Section
   =========================== */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: white;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    min-height: 220px;
    border:
        1px solid rgba(108,61,214,.08);
    box-shadow:
        0 4px 12px rgba(0,0,0,.03);
    transition: .3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 15px 30px rgba(0,0,0,.08);
}

.category-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(108,61,214,.08),
            rgba(232,62,140,.08)
        );
    margin-bottom: 20px;
    transition: .3s;
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: .3s;
}

.category-card:hover .category-icon {
    background: var(--brand-gradient);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-card h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
}

/* ===========================
   Featured Products
   =========================== */

.product-section {

    background:
        linear-gradient(
            135deg,
            rgba(108,61,214,.05),
            rgba(232,62,140,.03),
            rgba(255,154,61,.04)
        );
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border:
        1px solid rgba(108,61,214,.08);
    box-shadow:
        0 4px 15px rgba(0,0,0,.05);
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0,0,0,.10);
    border-color:
        rgba(108,61,214,.20);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s ease;
}

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

.product-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            rgba(108,61,214,.04),
            rgba(232,62,140,.04)
        );
}

.product-placeholder i {
    font-size: 3rem;
    color: #c8c8c8;
}

.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title {
    color: var(--dark-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ===========================
   Mobile
   =========================== */

@media (max-width:768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-benefits {
        justify-content: center;
    }

    .product-image,
    .product-placeholder {
        height: 200px;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-footer .btn {
        width: 100%;
    }

    .product-price {
        text-align: center;
    }
}