/* =================================================
   PRODUCTS SECTION - FULL RESPONSIVE & PROFESSIONAL
   Namespace: product-
   ================================================= */

/* Section */
.product-section {
    width: 100%;
    padding: 90px 20px;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #ffffff;
    overflow: hidden;
}

/* Container */
.product-container {
    max-width: 1280px;
    margin: auto;
}

/* Section Title */
.product-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.product-section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #38bdf8;
}

.product-section-title p {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 650px;
    margin: auto;
    line-height: 1.6;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card */
.product-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: #38bdf8;
    box-shadow: 0 18px 45px rgba(56, 189, 248, 0.25);
}

/* Image */
.product-card-img {
    height: 200px;
    background: linear-gradient(135deg, #020617, #020617);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

/* Content */
.product-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #38bdf8;
}

.product-card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
    flex: 1;
}

/* Button */
.product-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 26px;
    border-radius: 30px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.45);
}

.product-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */

/* Tablet */
@media (max-width: 992px) {
    .product-section {
        padding: 70px 18px;
    }

    .product-section-title h2 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .product-section {
        padding: 60px 15px;
    }

    .product-section-title h2 {
        font-size: 30px;
    }

    .product-section-title p {
        font-size: 15px;
    }

    .product-card-img {
        height: 180px;
    }

    .product-card-content h3 {
        font-size: 20px;
    }

    .product-card-content p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .product-section-title h2 {
        font-size: 26px;
    }

    .product-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card-img img,
    .product-btn {
        transition: none !important;
    }

    .product-card:hover,
    .product-card:hover .product-card-img img,
    .product-btn:hover {
        transform: none;
    }
}
