/* ==========================================================================
   Products Page Styles - TriMap Solutions
   ========================================================================== */

.products-hero {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0a2540 60%, #0d3b66 100%);
  padding: 100px 0 80px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.12) 0%, rgba(0, 201, 167, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.products-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}

.products-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 30px;
  color: #00d4ff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.products-hero h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.products-hero p {
  font-size: 18px;
  color: #adbdcc;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* Filter Controls */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
}

.filter-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* Products Section */
.products-section {
  padding: 50px 0 90px;
  background-color: #f6f9fc;
  position: relative;
  min-height: calc(100vh - 80px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 15px;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.12);
  border-color: rgba(0, 212, 255, 0.5);
}

.product-card.featured {
  border: 1.5px solid rgba(0, 201, 167, 0.6);
  box-shadow: 0 12px 35px rgba(0, 201, 167, 0.12);
}

/* Card Header & Brand Logo Area */
.product-card-header {
  padding: 36px 30px 24px;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f7;
}

.product-card.featured .product-card-header {
  background: linear-gradient(180deg, rgba(0, 201, 167, 0.06) 0%, #ffffff 100%);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.product-card:hover .product-icon-wrapper {
  transform: scale(1.08) rotate(2deg);
}

.product-logo-img-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover .product-logo-img-wrapper {
  transform: scale(1.06);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.card-brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Icon Schemes */
.icon-agrihouse {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.icon-healops {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #38bdf8 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.35);
}

.icon-backoffice {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.product-icon-wrapper i,
.product-icon-wrapper svg {
  font-size: 30px;
  width: 32px;
  height: 32px;
}

.product-titles {
  display: flex;
  flex-direction: column;
}

.product-titles h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.2;
}

.product-titles .product-category {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-badge.live {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.live .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

.status-badge.free-trial {
  background: rgba(0, 212, 255, 0.12);
  color: #0284c7;
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.status-badge.free-trial .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  animation: pulse-cyan 2s infinite;
}

.status-badge.coming-soon,
.status-badge.upcoming {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-badge.coming-soon .pulse-dot,
.status-badge.upcoming .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-amber 2s infinite;
}

@keyframes pulse-amber {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

@keyframes pulse-cyan {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Card Body */
.product-card-body {
  padding: 24px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-description {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
}

.product-features-list li i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.feature-agri { color: #10b981; }
.feature-heal { color: #06b6d4; }
.feature-back { color: #6366f1; }

/* Card Footer & Actions */
.product-card-footer {
  padding: 20px 30px 30px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-product-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-agrihouse {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
}

.btn-agrihouse:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-healops {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
}

.btn-healops:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-backoffice {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
}

.btn-backoffice:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-product-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--primary-color);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-product-secondary:hover {
  background: #e2e8f0;
  color: #0a2540;
}

.btn-coming-soon {
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px dashed #cbd5e1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-coming-soon:hover {
  background: #e2e8f0;
  color: #64748b;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* Modal / Toast for Coming Soon Notifications */
.notify-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.notify-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.notify-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 90%;
  padding: 35px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notify-modal-backdrop.active .notify-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.notify-modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.notify-modal-box p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 22px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--secondary-color);
}

.modal-submit-btn {
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-submit-btn:hover {
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

/* Banner / CTA */
.products-cta-banner {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
  border-radius: 24px;
  padding: 50px 40px;
  margin-top: 70px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.15);
  position: relative;
  overflow: hidden;
}

.products-cta-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-banner-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner-content p {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00d4ff 0%, #00c9a7 100%);
  color: #0a2540;
  font-weight: 800;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.cta-banner-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.5);
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0a2540;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid #f59e0b;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}
/* Note: Media queries for Products page have been moved to css/responsive/products-responsive.css */

