/**
 * Styles de la page products - Rebranding "Neuro-Tech Corporate"
 */

.products-section {
   background:
      linear-gradient(180deg, var(--page-bg) 0%, var(--light-bg-alt) 100%),
      linear-gradient(rgba(15, 159, 182, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 159, 182, 0.03) 1px, transparent 1px);
   background-size: auto, 44px 44px, 44px 44px;
   position: relative;
   overflow: hidden;
   min-height: 80vh;
   padding: 6rem 0;
}

.products-section::before {
   content: '';
   position: absolute;
   top: -12%;
   left: -10%;
   width: 560px;
   height: 560px;
   background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 72%);
   pointer-events: none;
}

.products-section::after {
   content: '';
   position: absolute;
   bottom: -16%;
   right: -10%;
   width: 620px;
   height: 620px;
   background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 74%);
   pointer-events: none;
}

.products-section h1 {
   color: var(--text-emphasis) !important;
   background: none !important;
   -webkit-text-fill-color: var(--text-emphasis) !important;
   font-weight: var(--font-weight-extrabold);
   margin-bottom: 1rem;
}

.products-section .section-description {
   color: var(--text-muted) !important;
   font-size: 1.12rem;
   margin-bottom: 4rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.service-card {
   background: rgba(255, 255, 255, 0.94);
   border: 1px solid rgba(var(--primary-rgb), 0.14);
   border-radius: var(--border-radius-lg);
   padding: 2.35rem 2rem;
   height: 100%;
   transition: all var(--transition-normal);
   position: relative;
   overflow: hidden;
   display: flex;
   flex-direction: column;
   box-shadow: var(--shadow-md);
}

.service-card:hover {
   box-shadow: var(--shadow-lg);
   border-color: rgba(var(--primary-rgb), 0.24);
}

.service-card::before {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: inherit;
   padding: 1px;
   background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.24), rgba(var(--accent-rgb), 0.18));
   -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
   mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
   -webkit-mask-composite: xor;
   mask-composite: exclude;
   opacity: 0;
   pointer-events: none;
   transition: opacity var(--transition-normal);
}

.service-card:hover::before {
   opacity: 1;
}

.service-icon {
   width: 80px;
   height: 80px;
   border-radius: 1.4rem;
   background: linear-gradient(180deg, var(--primary-light) 0%, var(--light-bg) 100%);
   border: 1px solid rgba(var(--primary-rgb), 0.18);
   color: var(--primary-dark);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2.3rem;
   margin-bottom: 1.5rem;
   transition: all var(--transition-normal);
   align-self: flex-start;
   box-shadow: 0 16px 28px rgba(var(--primary-rgb), 0.12);
}

.service-card:hover .service-icon {
}

.service-card h3 {
   font-size: 1.3rem;
   font-weight: var(--font-weight-bold);
   margin-bottom: 1rem;
   color: var(--text-emphasis);
   letter-spacing: 0.02em;
}

.service-card p {
   color: var(--text-color);
   font-size: 1rem;
   line-height: 1.7;
   margin-bottom: 1.5rem;
   flex-grow: 1;
}

.service-features {
   list-style: none;
   padding: 0;
   margin: 0 0 2rem 0;
}

.service-features li {
   display: flex;
   align-items: center;
   margin-bottom: 0.8rem;
   color: var(--text-color);
   font-size: 0.95rem;
}

.service-features li i {
   color: var(--primary-color);
   margin-right: 0.75rem;
   font-size: 0.85rem;
}

.service-price {
   font-size: 1.25rem;
   font-weight: var(--font-weight-bold);
   color: var(--accent-dark);
   margin-bottom: 1.5rem;
   display: block;
}

.service-card .btn {
   width: 100%;
   margin-top: auto;
}

.min-w-200 {
   min-width: 200px;
}
