/* Products page scoped styles */

/* Performance optimization */
.product-card,
.btn-filter,
.segment-card {
  transition-duration: 0.2s !important;
}

/* Hero */
.services-hero { position: relative; padding-top: 140px; padding-bottom: 50px; background-color: #0b163f; }
.services-hero-overlay { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,0.85) 0%, rgba(124,58,237,0.75) 50%, rgba(16,185,129,0.65) 100%); pointer-events: none; }
.services-hero .container, .services-hero .row, .services-hero [class^="col-"] { position: relative; z-index: 1; }

@media (max-width: 991px) {
  .services-hero { padding-top: 120px; }
}
@media (max-width: 767px) {
  .services-hero { padding-top: 100px; }
}

/* Filter bar */
.products-intro { padding: 50px 0 30px; }
.product-filter { display: inline-flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: 0 10px 30px rgba(10, 22, 70, 0.08); border: 1px solid rgba(10, 22, 70, 0.06); }
.btn-filter { border-radius: 999px; padding: 8px 14px; border: none; background: transparent; color: #0b163f; font-weight: 600; }
.btn-filter:hover { background: rgba(47,111,255,0.08); }
.btn-filter.active { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.3); }

/* Grid */
.products-grid-section { padding: 40px 0 50px; }
.product-item { transition: opacity .2s ease, transform .2s ease; }
.product-item.is-hidden { opacity: 0; transform: scale(.98); pointer-events: none; display: none; }

.product-card { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 22, 70, 0.08); border: 1px solid rgba(10, 22, 70, 0.06); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 22, 70, 0.12); }
.product-image { width: 100%; height: 230px; object-fit: contain; background: linear-gradient(180deg, #f8fafc, #eef2ff); }
.product-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.product-caption h6 { font-weight: 700; color: #0b163f; }
.product-caption .badge { background: linear-gradient(135deg, #2563eb, #60a5fa); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11px; }

/* CTA */
.products-cta { padding: 40px 0 70px; }
.products-cta .btn { white-space: nowrap; }

/* Segments section */
.segments-section { padding: 60px 0 60px; }
.segment-card { background: #fff; border-radius: 14px; padding: 28px 22px; box-shadow: 0 10px 30px rgba(10, 22, 70, 0.08); border: 1px solid rgba(10, 22, 70, 0.06); transition: transform .25s ease, box-shadow .25s ease; text-align: center; }
.segment-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 22, 70, 0.12); }
.segment-card h5 { font-weight: 700; color: #0b163f; }
.segment-card p { color: #64748b; line-height: 1.6; }

.segment-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; box-shadow: 0 6px 16px rgba(40, 110, 255, 0.35); }
.segment-icon i { font-size: 24px; }

.bg-gradient-blue { background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.bg-gradient-green { background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.bg-gradient-teal { background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%); }
.bg-gradient-red { background: linear-gradient(135deg, #dc2626 0%, #f87171 100%); }

/* Small shared tweak */
.logo-maxh-100 { max-height: 60px; height: auto; }
