﻿/* ─── PRODUCTS PAGE & PRODUCT DETAILS STYLES ─── */

/* ─── PAGE HEADER ─── */
.page-header {
    background: linear-gradient(160deg, #e8f5f8 0%, #f4faf6 45%, #edf8f4 100%);
    padding: 8rem 2rem 4rem;
    color: var(--text-dark, #333);
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(63,179,204,0.12) 0%, transparent 65%);
        border-radius: 50%;
        pointer-events: none;
    }

.text-center {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 184, 166, 0.1);
    color: var(--teal-dark, #0f766e);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green-accent, #10b981);
    border-radius: 50%;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

    .page-title .gradient-text {
        background: linear-gradient(135deg, var(--teal-dark, #115e59) 0%, var(--teal-light, #14b8a6) 50%, var(--green-accent, #10b981) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-mid, #666);
    line-height: 1.5;
    font-weight: 400;
    max-width: 550px;
    margin: 0 auto;
}

/* ─── PRODUCTS GRID ─── */
.products-section {
    background: var(--white, #ffffff);
    padding: 4rem 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: var(--offwhite, #f8f9fa);
    border-radius: var(--radius-sm, 8px);
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border, #eaeaea);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-sm, 0 4px 10px rgba(0,0,0,0.05));
        background: #ffffff;
    }

.product-icon {
    color: var(--teal-dark, #0f766e);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.product-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #eef6f7;
    border: 1px solid #e2e8f0;
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal-dark, #0f766e);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-mid, #555);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

    .product-features li {
        font-family: 'Inter', sans-serif;
        font-size: 0.8rem;
        color: var(--text-dark, #333);
        margin-bottom: 0.4rem;
        position: relative;
        padding-left: 1.2rem;
        line-height: 1.4;
    }

        .product-features li::before {
            content: '✓';
            color: var(--green-accent, #10b981);
            position: absolute;
            left: 0;
            font-weight: bold;
            font-size: 0.8rem;
        }

.product-btn {
    text-align: center;
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    box-sizing: border-box;
    text-decoration: none;
}

/* ─── PRODUCT DETAILS SECTION ─── */
.product-details-section {
    background: var(--white, #ffffff);
    padding: 3.5rem 2rem 4.5rem;
}

.details-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--offwhite, #f8f9fa);
    border: 1px solid var(--border, #eaeaea);
    border-radius: var(--radius-sm, 8px);
    padding: 2rem;
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.25rem;
    align-items: start;
}

.details-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.details-icon-box {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--teal-dark, #0f766e);
}

    .details-icon-box svg {
        width: 64px;
        height: 64px;
    }

.details-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--teal-dark, #0f766e);
    margin-bottom: 0.75rem;
}

.details-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-mid, #555);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.details-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.details-subhead {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--teal-dark, #0f766e);
    margin-bottom: 0.6rem;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.details-btn-primary,
.details-btn-secondary {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

/* ─── CALL TO ACTION (CTA) SECTION ─── */
.cta-section {
    padding: 4rem 2rem;
    background-color: var(--teal-dark, #0f766e);
    color: #ffffff;
}

.cta-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.cta-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 1.8rem;
    font-weight: 400;
    line-height: 1.5;
}

.cta-actions .btn-white {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    background: #ffffff;
    color: var(--teal-dark, #0f766e);
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

    .cta-actions .btn-white:hover {
        background: #f1f5f9;
    }

/* ─── RESPONSIVE STYLES ─── */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-section,
    .product-details-section,
    .cta-section {
        padding: 2.5rem 1.15rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .details-card {
        padding: 1.25rem;
    }

    .details-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .details-btn-primary,
    .details-btn-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .page-header {
        padding: 6rem 1.25rem 3rem;
    }
}
