/* ==========================================================================
   TIMEOPERA FEATURES HUB & CATEGORY ARCHITECTURE
   Styles for:
   - Breadcrumbs: Product > Features > [Category]
   - Live Star Features Carousel
   - Top Selected Feature Spotlight
   - Complete Category Capability Catalog
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BREADCRUMBS
   -------------------------------------------------------------------------- */
.features-breadcrumb-wrap {
  padding: 16px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.features-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

.features-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.features-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.features-breadcrumb a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.features-breadcrumb-sep {
  color: var(--text-faint);
  display: inline-block;
  font-size: 11px;
}

.features-breadcrumb .current-crumb {
  color: var(--accent-blue);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. CATEGORY & HUB HERO
   -------------------------------------------------------------------------- */
.category-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
}

.category-hero-content {
  max-width: 960px;
}

.category-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  background-color: var(--accent-blue-soft);
  color: var(--accent-blue);
  border: 1px solid rgba(30, 58, 138, 0.15);
}

.category-badge.commercial {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.category-badge.approvals {
  background-color: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.category-badge.user-mgmt {
  background-color: #f5f3ff;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.category-hero h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.category-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 820px;
}

.category-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.category-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.category-stat-pill strong {
  font-size: 15px;
  color: var(--accent-blue);
  font-weight: 800;
}

/* Category Switcher Tabs */
.category-switcher-nav {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-switch-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-switch-btn:hover {
  color: var(--accent-teal, #10B981);
}

.category-switch-btn.active {
  color: #047857;
  border-bottom-color: var(--accent-teal, #10B981);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. FEATURE HERO SHOWCASE SECTION (PRIMARY HERO)
   -------------------------------------------------------------------------- */
.feature-hero-section,
.spotlight-section {
  padding: 24px 0 48px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
}

.category-switcher-nav.hero-switcher {
  margin-top: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.category-overview-card,
.spotlight-showcase,
.spotlight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3.5px solid var(--accent-teal, #10B981);
  border-radius: 16px;
  box-shadow: 0 8px 30px -4px rgba(16, 185, 129, 0.07), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  padding: 32px 36px;
  position: relative;
  transition: all 0.25s ease;
}

@media (max-width: 900px) {
  .feature-hero-section,
  .spotlight-section {
    padding: 16px 0 32px;
  }

  .category-overview-card,
  .spotlight-showcase,
  .spotlight-card {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

/* Category Overview Split Layout (Commercial Hours: Left text, Right clean screenshot) */
.overview-split-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .overview-split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.overview-content-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  justify-content: center;
}

.overview-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.overview-pillar-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--accent-teal-soft, #e7f8f2);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.overview-badge-cat {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.overview-badge-count {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f0fdf9;
  color: #065f46;
  border: 1px solid #bbf7d0;
}

.overview-headline {
  font-size: clamp(24px, 2.7vw, 32px);
  font-weight: 800;
  color: #0b1220;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.overview-lead-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.overview-lead-desc.full-width-lead {
  max-width: 920px;
  font-size: 15px;
}

/* Category Overview Stats Grid */
.overview-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.overview-stats-grid.no-image-stats {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
}

@media (max-width: 840px) {
  .overview-stats-grid,
  .overview-stats-grid.no-image-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.overview-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.overview-stat-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.overview-stat-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Category Overview Highlights Grid */
.overview-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.overview-highlights-grid.no-image-highlights {
  margin-top: 14px;
}

@media (max-width: 840px) {
  .overview-highlights-grid,
  .overview-highlights-grid.no-image-highlights {
    grid-template-columns: 1fr;
  }
}

.overview-highlight-card {
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overview-hl-title {
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  letter-spacing: -0.01em;
}

.overview-hl-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: #334155;
  margin: 0;
}

/* Overview Clean Screenshot Image Card */
.overview-media-col {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.overview-image-card {
  width: 100%;
  height: 100%;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.overview-feature-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  display: block;
}

/* Full Width Container for categories without images */
.category-overview-card.no-image .overview-full-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.image-block-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
}

.image-block-icon {
  width: 42px;
  height: 42px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.image-block-title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
}

.image-block-caption {
  font-size: 11.5px;
  color: #94a3b8;
  max-width: 240px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. LIVE STAR FEATURES CAROUSEL
   -------------------------------------------------------------------------- */
.star-carousel-section {
  padding: 60px 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.star-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.star-carousel-header-left {
  max-width: 100%;
  width: 100%;
}

.star-carousel-header-left h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.star-carousel-header-left p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 8px;
  max-width: 100%;
  line-height: 1.6;
}

/* =========================================================================
   MINIMALIST COLORFUL EXECUTIVE SHOWCASE
   ========================================================================= */

/* Filter Tabs */
.star-carousel-tabs,
.flagship-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 auto 36px auto;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.star-tab-btn {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.star-tab-btn:hover {
  background: #ffffff;
  color: var(--accent-teal, #10B981);
  border-color: #a7f3d0;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.08);
}

.star-tab-btn.active {
  background: var(--accent-teal, #10B981);
  color: #ffffff;
  border-color: var(--accent-teal, #10B981);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.star-tab-btn .badge-count {
  font-size: 11.5px;
  font-weight: 750;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.07);
  color: #475569;
  transition: all 0.2s ease;
}

.star-tab-btn.active .badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 3-Pillar Capability Board */
.flagship-showcase-container {
  width: 100%;
}

.flagship-board-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 1024px) {
  .flagship-board-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.flagship-pillar-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--accent-teal, #10B981);
  border-radius: 12px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 6px 16px -4px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 160px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flagship-pillar-col:hover {
  box-shadow: 0 4px 20px -4px rgba(16, 185, 129, 0.12);
}

.flagship-col-num-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-teal-soft, #e7f8f2);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.flagship-col-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  background: var(--accent-teal-soft, #e7f8f2);
  color: #047857;
  border: 1px solid #a7f3d0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.flagship-col-footer-btn:hover {
  background: var(--accent-teal, #10B981);
  color: #ffffff;
  border-color: var(--accent-teal, #10B981);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.flagship-col-header {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.flagship-col-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.flagship-col-num-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}

.flagship-col-count {
  font-size: 12px;
  font-weight: 650;
  color: #64748b;
}

.flagship-col-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.flagship-col-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  margin-top: auto;
}

.flagship-col-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 415px;
  max-height: 415px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 4px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

/* Custom Sleek Scrollbar */
.flagship-col-cards::-webkit-scrollbar {
  width: 5px;
}

.flagship-col-cards::-webkit-scrollbar-track {
  background: transparent;
}

.flagship-col-cards::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.flagship-col-cards::-webkit-scrollbar-thumb:hover {
  background: #6ee7b7;
}

/* Feature Item Row (Clean, Unified Site Teal Theme) */
.enterprise-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.enterprise-feature-row:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #6ee7b7;
  box-shadow: 0 6px 16px -3px rgba(16, 185, 129, 0.12);
}

.enterprise-feature-row:hover .feat-row-arrow {
  color: var(--accent-teal, #10B981);
  transform: translateX(3px);
}

.feat-row-left {
  flex-shrink: 0;
  padding-top: 1px;
}

/* Unified Site Teal Micro-Badges */
.feat-row-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #f0fdf9;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.feat-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.feat-row-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.feat-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.feat-row-arrow {
  width: 13px;
  height: 13px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.feat-row-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flagship-col-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.flagship-col-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.flagship-col-footer-btn svg {
  transition: transform 0.2s ease;
}

.flagship-col-footer-btn:hover svg {
  transform: translateX(3px);
}

/* Single Category Focused View */
.flagship-category-focused-view {
  width: 100%;
}

.flagship-category-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.flagship-category-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--accent-teal, #10B981);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
}

.flagship-category-banner .flagship-col-num-badge {
  background: var(--accent-teal-soft, #e7f8f2);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.flagship-cat-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent-teal, #10B981);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.flagship-cat-banner-cta:hover {
  background: var(--accent-teal-hover, #059669);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.flagship-cat-banner-info {
  max-width: 680px;
}

.flagship-cat-banner-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.flagship-cat-banner-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.flagship-cat-banner-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.flagship-cat-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.flagship-cat-banner-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.flagship-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

@media (max-width: 1024px) {
  .flagship-category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .flagship-category-cards-grid {
    grid-template-columns: 1fr;
  }
  .flagship-category-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Enterprise Grid Card for Single Category View */
.enterprise-grid-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 22px 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.enterprise-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.enterprise-grid-card:hover {
  border-color: #6ee7b7;
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.12);
}

.enterprise-grid-card .grid-card-cta {
  color: var(--accent-teal, #10B981);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.enterprise-grid-card:hover .grid-card-cta {
  color: #047857;
}


.grid-card-title {
  font-size: 15.5px;
  font-weight: 750;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.grid-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.grid-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 750;
  transition: transform 0.2s ease;
}

.enterprise-grid-card:hover .grid-card-cta {
  transform: translateX(3px);
}

.star-card-category-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.star-feature-card .feature-id-badge,
.star-feature-card .feature-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.star-card-title,
.star-feature-card h3 {
  font-size: 18px;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.38;
  margin: 0 0 14px 0;
  letter-spacing: -0.015em;
  display: block;
}

.star-tagline-callout {
  position: relative;
  background: #f8fafc;
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 9px 12px 9px 10px;
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.star-tagline-quote-glyph {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 0.8;
  color: #3b82f6;
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
  margin-top: 1px;
}

.star-tagline-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #1e40af;
  line-height: 1.5;
  margin: 0;
  font-style: normal;
}

/* Fallback for previous markup if cached */
.star-feature-card .star-tagline {
  font-size: 12.5px;
  font-weight: 500;
  color: #1e40af;
  line-height: 1.5;
  background: #f8fafc;
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.star-desc,
.star-feature-card .star-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.star-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
}

.star-card-bottom .role-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
}

.star-card-bottom .role-icon {
  width: 13px;
  height: 13px;
  stroke: #94a3b8;
  flex-shrink: 0;
}

.star-card-bottom .card-cta {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.star-card-bottom .cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.star-feature-card:hover .card-cta {
  color: #1d4ed8;
}

.star-feature-card:hover .cta-arrow {
  transform: translateX(4px);
}

/* Carousel Nav Controls & Scrubber */
.star-carousel-controls-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.star-carousel-progress {
  flex: 1;
  max-width: 300px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.star-carousel-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.star-carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.star-carousel-counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.star-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-nav-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.star-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   5. COMPLETE CATEGORY CAPABILITIES CATALOG (MODERN CARD GRID & LIST)
   -------------------------------------------------------------------------- */
.category-catalog-section {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
}

.catalog-section-header {
  margin-bottom: 24px;
}

.catalog-section-header .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal, #10B981);
  margin-bottom: 6px;
}

.catalog-section-header h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.catalog-section-header p {
  color: #475569;
  font-size: 14.5px;
  max-width: 720px;
  line-height: 1.5;
}

/* Modern Capability Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.catalog-search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 12px;
  width: 100%;
  max-width: 320px;
  transition: all 0.2s ease;
  position: relative;
}

.catalog-search-box:focus-within {
  border-color: var(--accent-teal, #10B981);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.catalog-search-box svg {
  color: #64748b;
  flex-shrink: 0;
}

.catalog-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  outline: none;
  color: #0f172a;
  margin-left: 8px;
}

.catalog-search-box input::placeholder {
  color: #94a3b8;
}

.catalog-search-clear {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: none;
  transition: color 0.15s ease;
}

.catalog-search-clear:hover {
  color: #0f172a;
}

.catalog-search-clear.visible {
  display: inline-block;
}

/* Filter Tabs */
.catalog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.catalog-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.catalog-tab-btn:hover {
  background: #ffffff;
  color: var(--accent-teal, #10B981);
  border-color: #a7f3d0;
}

.catalog-tab-btn.active {
  background: var(--accent-teal, #10B981);
  color: #ffffff;
  border-color: var(--accent-teal, #10B981);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.catalog-tab-count {
  font-size: 11px;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.3;
}

.catalog-tab-btn.active .catalog-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Toolbar Right Side */
.catalog-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.catalog-count-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.catalog-count-pill strong {
  color: #0f172a;
}

/* View Mode Switcher */
.catalog-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px;
}

.catalog-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.catalog-view-btn:hover {
  color: #0f172a;
}

.catalog-view-btn.active {
  background: #ffffff;
  color: #047857;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Grid View (Default) with Dense Auto-Flow */
.category-feature-grid.view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  width: 100%;
}

@media (max-width: 1080px) {
  .category-feature-grid.view-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .category-feature-grid.view-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Compact Feature Card */
.capability-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  outline: none;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  will-change: transform;
}

/* STRICTLY NO SCALE ON HOVER - Hover is subtle border/shadow only */
.capability-card:hover {
  border-color: #6ee7b7;
  box-shadow: 0 6px 20px -3px rgba(16, 185, 129, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.cap-card-role-snippet {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Views toggling inside capability card */
.cap-card-compact-view {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  animation: compactViewFadeIn 0.4s ease forwards;
}

@keyframes compactViewFadeIn {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.cap-card-expanded-view {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* EXPANDED FEATURE CARD: SCALES UP TO 4 FEATURES CARDS (2 cols x 2 rows) */
.capability-card.is-expanded {
  grid-column: span 2;
  grid-row: span 2;
  background: #ffffff;
  border: 2px solid var(--accent-teal, #10B981);
  border-radius: 14px;
  box-shadow: 0 18px 45px -8px rgba(16, 185, 129, 0.22), 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 24px 28px;
  z-index: 5;
  cursor: default;
  display: block;
  animation: expandCardScaleUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expandCardScaleUp {
  0% {
    opacity: 0.75;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.capability-card.is-expanded .cap-card-compact-view {
  display: none;
}

.capability-card.is-expanded .cap-card-expanded-view {
  display: flex;
  animation: expandContentFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expandContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .capability-card.is-expanded {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .capability-card.is-expanded {
    grid-column: span 1;
    grid-row: auto;
    padding: 18px 16px;
  }
}

.cap-card-expanded-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.cap-expanded-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.cap-expanded-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cap-role-pill {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2.5px 8px;
  border-radius: 5px;
}

.cap-standard-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 9999px;
}

.cap-card-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cap-card-close-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
  transform: translateY(-1px);
}

.cap-expanded-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap-expanded-title {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.015em;
}

.cap-expanded-tagline {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  line-height: 1.45;
  margin: 0;
}

.cap-expanded-summary {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.cap-expanded-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .cap-expanded-insights {
    grid-template-columns: 1fr;
  }
}

.cap-insight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}

.cap-insight-box.challenge {
  border-left: 3.5px solid #f59e0b;
}

.cap-insight-box.solution {
  border-left: 3.5px solid var(--accent-teal, #10B981);
}

.cap-insight-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 4px;
}

.cap-insight-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.cap-expanded-workflow {
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 14px;
}

.cap-workflow-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
  margin-bottom: 8px;
}

.cap-workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap-workflow-step {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.cap-workflow-step .step-num {
  font-size: 10.5px;
  font-weight: 800;
  background: var(--accent-teal, #10B981);
  color: #ffffff;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-expanded-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.cap-meta-item {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.cap-meta-lbl {
  font-weight: 700;
  color: #1e293b;
}

.cap-meta-val {
  color: #475569;
}

.cap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.cap-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cap-id-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

.cap-star-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

.cap-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cap-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
  transition: color 0.15s ease;
}

.capability-card:hover .cap-card-title {
  color: var(--accent-teal, #10B981);
}

.cap-card-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cap-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.cap-type-indicator {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.cap-spotlight-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-teal, #10B981);
  white-space: nowrap;
  transition: transform 0.15s ease, color 0.15s ease;
}

.capability-card:hover .cap-spotlight-action {
  transform: translateX(3px);
  color: #047857;
}

/* List View (Table-like Directory) */
.category-feature-grid.view-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.capability-list-row {
  display: grid;
  grid-template-columns: 85px minmax(220px, 1.4fr) minmax(280px, 2.8fr) 110px;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 0;
  outline: none;
}

.capability-list-row:hover {
  border-color: #6ee7b7;
  background: #f0fdf9;
}

/* Expanded List Row */
.capability-list-row.is-expanded {
  border: 2px solid var(--accent-teal, #10B981);
  background: #ffffff;
  box-shadow: 0 6px 20px -4px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cap-list-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.cap-list-expanded-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.capability-list-row .list-close {
  display: none;
}

.capability-list-row.is-expanded .list-close {
  display: inline-flex;
}

.capability-list-row.is-expanded .list-expand-hint {
  display: none;
}

.capability-list-row .cap-list-expanded-content {
  display: none;
}

.capability-list-row.is-expanded .cap-list-expanded-content {
  display: flex;
  animation: expandContentFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.capability-list-row.active-spotlight {
  border: 2px solid var(--accent-teal, #10B981);
  background: #f0fdf9;
}

.cap-list-col-id {
  min-width: 0;
}

.cap-list-col-title {
  min-width: 0;
}

.cap-list-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cap-list-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.capability-list-row:hover .cap-list-title {
  color: var(--accent-teal, #10B981);
}

.cap-star-pill-mini {
  font-size: 10.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 9999px;
  white-space: nowrap;
}

.cap-list-col-desc {
  min-width: 0;
}

.cap-list-desc {
  font-size: 12.5px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.cap-list-col-role {
  min-width: 0;
}

.cap-role-pill-mini {
  font-size: 11.5px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.cap-list-col-action {
  text-align: right;
  min-width: 0;
}

@media (max-width: 960px) {
  .capability-list-row {
    grid-template-columns: 75px minmax(180px, 1fr) minmax(140px, 1fr) 90px;
  }
  .cap-list-col-desc {
    display: none;
  }
}

@media (max-width: 640px) {
  .capability-list-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }
  .cap-list-col-action {
    text-align: left;
    margin-top: 4px;
  }
}

/* Empty State */
.catalog-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  width: 100%;
}

.catalog-empty-icon {
  width: 44px;
  height: 44px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.catalog-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.catalog-empty-desc {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-empty-reset-btn {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.catalog-empty-reset-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

/* --------------------------------------------------------------------------
   6. 3-CATEGORY HUBS OVERVIEW GRID (FOR /product/features/ HUB)
   -------------------------------------------------------------------------- */
.category-hub-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.pillar-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
}

.pillar-top {
  margin-bottom: 24px;
}

.pillar-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card.commercial .pillar-icon-badge {
  background: #ecfdf5;
  color: #059669;
}

.pillar-card.approvals .pillar-icon-badge {
  background: #eff6ff;
  color: #2563eb;
}

.pillar-card.users .pillar-icon-badge {
  background: #f5f3ff;
  color: #7c3aed;
}

.pillar-icon-badge svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pillar-features-preview {
  margin-top: 16px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-features-preview li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features-preview li::before {
  content: "•";
  color: var(--accent-teal);
  font-weight: bold;
}

.pillar-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .star-feature-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 290px;
  }
}

@media (max-width: 640px) {
  .spotlight-card {
    padding: 24px 18px;
  }
  .star-feature-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-search-box {
    max-width: 100%;
  }
}
