/* ==========================================================================
   QUEBIC LABS — Homepage Patch
   Version: 2.1.0
   Loaded only on front page. Fine-tunes featured products grid,
   how-it-works steps, purity guarantee, and CTA banner sections.
   ========================================================================== */

/* ── Featured Products section ── */
.featured-products {
    padding: 80px 60px;
    background: var(--bg);
}
.featured-products .section-header {
    margin-bottom: 48px;
}
.featured-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0;
}
.featured-products .product-card {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.featured-products .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,245,255,0.3);
}
.featured-products .product-card-image {
    height: 200px;
    background: var(--bg4);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.featured-products .product-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.88) contrast(1.08) saturate(1.15);
    transition: transform 0.45s ease;
}
.featured-products .product-card:hover .product-card-image img {
    transform: scale(1.06);
}
.featured-products .product-card-info {
    padding: 18px 18px 8px;
    flex: 1; display: flex; flex-direction: column;
}
.featured-products .product-card-title {
    font-size: 1rem; font-weight: 700; margin-bottom: 5px;
    color: var(--text);
}
.featured-products .product-card-price {
    font-size: 1.3rem; font-weight: 900; color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0,245,255,0.3);
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid var(--border);
}
.featured-products .section-cta {
    text-align: center; margin-top: 40px;
}

/* ── How It Works section ── */
.how-it-works {
    padding: 80px 60px;
    background: var(--bg2);
}
.how-it-works .section-header {
    margin-bottom: 48px;
}
.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.how-it-works .step-card {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-top: 2px solid var(--neon-cyan);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease, border-color 0.3s ease;
}
.how-it-works .step-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(0,245,255,0.5);
    box-shadow: 0 0 20px rgba(0,245,255,0.15),
                0 0 40px rgba(0,245,255,0.08),
                0 8px 32px rgba(0,0,0,0.4);
    border-top-color: var(--neon-cyan);
}
.how-it-works .step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(0,245,255,0.1);
    border: 2px solid var(--neon-cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 900; color: var(--neon-cyan);
    margin: 0 auto 18px;
}
.how-it-works .step-icon {
    margin-bottom: 16px; display: flex; justify-content: center;
}
.how-it-works .step-card h3 {
    font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--neon-cyan); margin-bottom: 12px; font-weight: 700;
}
.how-it-works .step-card p {
    font-size: 0.84rem; color: var(--text2); line-height: 1.6;
}

/* ── Purity Guarantee section ── */
.purity-guarantee {
    padding: 80px 60px;
    background: var(--bg2);
}
.purity-guarantee .guarantee-card {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-top: 3px solid var(--neon-green);
    border-radius: 12px;
    padding: 48px 40px;
    max-width: 800px; margin: 0 auto;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease, border-color 0.3s ease;
}
.purity-guarantee .guarantee-card:hover {
    transform: translateY(-6px);
    border-color: rgba(57,255,20,0.4);
    box-shadow: 0 0 20px rgba(57,255,20,0.12),
                0 0 40px rgba(57,255,20,0.06),
                0 8px 32px rgba(0,0,0,0.4);
    border-top-color: var(--neon-green);
}
.purity-guarantee .guarantee-stats {
    display: flex; justify-content: center; gap: 48px;
    flex-wrap: wrap; margin-top: 32px;
}
.purity-guarantee .stat-number {
    display: block; font-size: 2rem; font-weight: 900;
    color: var(--neon-cyan); text-shadow: 0 0 20px rgba(0,245,255,0.3);
    margin-bottom: 4px;
}
.purity-guarantee .stat-label {
    font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text3); font-weight: 600;
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 50px 60px;
    background: var(--bg);
    text-align: center;
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .featured-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-it-works .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .featured-products,
    .how-it-works,
    .purity-guarantee,
    .cta-banner {
        padding: 40px 20px;
    }
    .featured-products .products-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works .steps-grid {
        grid-template-columns: 1fr;
    }
    .purity-guarantee .guarantee-stats {
        gap: 24px;
    }
}
