/* ================================================
   BIZFUNNEL — Products Page Stylesheet
   ================================================ */

/* ---- Active nav link ---- */
.nav-active { color: var(--primary) !important; }
.nav-active::after { width: 100% !important; }

/* ---- Page Hero ---- */
.prod-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0e0f35 55%, #131450 100%);
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.prod-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(85,88,227,.22) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero inner — single centred column */
.prod-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: rgba(255,255,255,.85); }

.prod-hero__text { max-width: 680px; width: 100%; }
.prod-hero__text h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.prod-hero__text > p {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-inline: auto;
}
.prod-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

/* ---- Filter Bar — centred below hero text ---- */
.prod-hero__filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  padding-top: 0;
}

.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  font-family: var(--font);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---- Products List Section ---- */
.prod-list {
  padding: 4rem 0 5rem;
  background: var(--light);
}

/* ---- Product Cards Grid ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

/* Hidden state for filter */
.prod-card.hidden {
  display: none;
}

/* ---- Product Card — vertical (image on top) ---- */
.prod-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Image — top of card */
.prod-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
}
.prod-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.prod-card:hover .prod-card__img { transform: scale(1.07); }

.prod-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 55%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
}

.prod-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  padding: .25rem .75rem;
  border-radius: 100px;
  background: color-mix(in srgb, var(--tag-color, #5558E3) 80%, black 20%);
}

.prod-hot {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: .25rem .65rem;
  border-radius: 100px;
}

/* Body column */
.prod-card__body {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.prod-card__head {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: .75rem;
}

.prod-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.prod-card__head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: .2rem;
}

.prod-card__sub {
  font-size: .8rem;
  color: var(--gray);
  font-weight: 500;
}

.prod-card__desc {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 1.25rem;
}

/* Two-column feature grid — single col on narrow vertical cards */
.prod-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.prod-features-grid h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .45rem;
}
.prod-list-ul {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.prod-list-ul li {
  font-size: .83rem;
  color: var(--dark-2);
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.4;
}
.prod-list-ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: .76rem;
}

/* Card footer */
.prod-card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
  margin-top: auto;
  flex-wrap: wrap;
}
.prod-meta {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  flex: 1;
  min-width: 80px;
}
.prod-meta span {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  font-weight: 600;
}
.prod-meta strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--dark);
}

/* ---- Custom Strip CTA ---- */
.custom-strip {
  background: var(--dark);
  padding: 3.5rem 0;
}
.custom-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.custom-strip h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}
.custom-strip p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 480px;
}
.custom-strip__ctas {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.custom-strip .btn--ghost {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
}
.custom-strip .btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .prod-hero__inner { flex-direction: column; }
  .prod-hero__filter { padding-top: 0; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); }

  .custom-strip__inner { flex-direction: column; align-items: flex-start; }
  .custom-strip__ctas { width: 100%; }
  .custom-strip__ctas .btn { flex: 1; justify-content: center; }
}

@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-hero__trust { gap: .5rem 1rem; }
  .prod-features-grid { grid-template-columns: 1fr; }
  .prod-card__footer { flex-direction: column; align-items: stretch; }
  .prod-card__footer .btn { width: 100%; justify-content: center; }
  .prod-meta { flex-direction: row; justify-content: space-between; align-items: center; }
}
