/* ============================================
   OPERIX — Product Index & Suite Overview Styles
   Covers:
     /products                 (catalog)
     /products/[category]      (suite overview)
   Does NOT duplicate:
     suite-card, tag-pill, section-label,
     section-heading, cta-section, badge-accent
     — all already defined in page-home.css,
       components.css, and global.css
   ============================================ */


/* ============================================
   1. SHARED PAGE HERO
   Used by catalog and all suite overview pages.
   ============================================ */

.products-page-hero {
  padding-top: 9.5rem;
  padding-bottom: var(--section-py);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.products-page-hero .hero-content {
  position: relative;
  z-index: 1;
}

.products-page-hero .hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  max-width: 720px;
  margin: 0.5rem auto 1rem;
}

.products-page-hero .hero-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin: 0 auto;
}

.products-page-hero .hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.products-page-hero .hero-meta-item {
  font-size: var(--text-sm);
  color: var(--muted);
}

.products-page-hero .hero-meta-item .bi {
  color: var(--accent);
  margin-right: 0.375rem;
}


/* ============================================
   2. BACK LINK
   "← All Products" navigation link used on
   suite overview pages.
   ============================================ */

.suite-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--transition-fast);
}

.suite-back-link:hover {
  color: var(--text);
}


/* ============================================
   3. CATALOG SUITE ROWS
   Two-column layout on /products:
   left = suite info, right = product grid.
   ============================================ */

.catalog-suite-row {
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.catalog-suite-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* --- Suite Info (left column) --- */

.suite-info-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.suite-info-tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 1.25rem;
}

.suite-info-counts {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.suite-info-count {
  font-size: var(--text-xs);
  color: var(--muted);
}

.suite-info-count .bi {
  color: var(--accent);
  margin-right: 0.375rem;
}


/* ============================================
   4. SUITE OVERVIEW — WHY A SUITE SECTION
   Two-column layout with prose on left
   and numbered sequence card on right.
   ============================================ */

.suite-overview-prose p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1rem;
}

.suite-overview-prose p:last-child {
  margin-bottom: 0;
}

/* --- Sequence Card (numbered steps panel) --- */

.suite-sequence-card {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.suite-sequence-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.suite-sequence-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.suite-sequence-item:first-child {
  padding-top: 0;
}

.suite-sequence-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background-color: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--accent);
  flex-shrink: 0;
}

.suite-sequence-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.125rem;
}

.suite-sequence-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0;
}


/* ============================================
   5. SUITE PRODUCT GRID SECTION HEADING
   Small overrides for the product grid
   section inside suite overview pages.
   ============================================ */

.suite-grid-section .suite-card {
  height: 100%;
}

/* Highlight the live card more prominently
   on suite overview vs home page. */
.suite-grid-section .suite-card.suite-live {
  border-color: var(--accent-mid);
  box-shadow: var(--shadow-glow);
}


/* ============================================
   6. NOTIFY INLINE FORM
   Shared across catalog and suite overview
   notify sections. Complements the footer
   notify form styles already in components.css.
   ============================================ */

.products-notify-form {
  max-width: 440px;
  margin: 0 auto;
}

.products-notify-form .input-group {
  margin-bottom: 0.5rem;
}

.products-notify-form .notify-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.products-notify-form .notify-note .bi {
  color: var(--accent);
  margin-right: 0.25rem;
}


/* ============================================
   7. BUSINESS AUTOMATION PACK PLACEHOLDER
   Minimal extra styles for the coming-soon
   suite placeholder page.
   ============================================ */

.suite-placeholder-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.suite-placeholder-redirect {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 1rem;
}

.suite-placeholder-redirect a {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.suite-placeholder-redirect a:hover {
  color: var(--text);
}


/* ============================================
   8. RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
  .products-page-hero .hero-title {
    font-size: var(--text-4xl);
  }

  .suite-sequence-card {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .catalog-suite-row {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .products-page-hero .hero-title {
    font-size: var(--text-3xl);
  }

  .products-page-hero .hero-meta {
    gap: 1rem;
  }

  .suite-info-counts {
    gap: 0.875rem;
  }

  .suite-sequence-card {
    padding: 1.25rem;
  }

  .suite-sequence-item {
    gap: 0.75rem;
  }
}