/* ============================================
   OPERIX — Product Page Styles
   ============================================ */

/* ============================================
   PRODUCT HERO
   ============================================ */

/* --- Centered Variant --- */

.product-hero-centered {
  padding-top: 9.5rem;
  padding-bottom: var(--section-py);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-hero-centered::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;
}

.product-hero-centered .hero-content {
  position: relative;
  z-index: 1;
}

.product-hero-centered .product-suite-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.product-hero-centered .product-hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  max-width: 720px;
  margin: 0 auto 1rem;
}

.product-hero-centered .product-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.product-hero-centered .product-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-hero-centered .product-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.product-hero-centered .product-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.product-hero-centered .hero-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.product-hero-centered .hero-stat .bi {
  color: var(--accent);
}

/* --- Split Variant --- */

.product-hero-split {
  padding-top: 9rem;
  padding-bottom: var(--section-py);
  position: relative;
  overflow: hidden;
}

.product-hero-split::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.product-hero-split .hero-content {
  position: relative;
  z-index: 1;
}

.product-hero-split .product-suite-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.product-hero-split .product-hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: 1rem;
}

.product-hero-split .product-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.product-hero-split .product-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-hero-split .product-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.product-hero-split .product-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-hero-split .hero-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.product-hero-split .hero-stat .bi {
  color: var(--accent);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-narrative p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1rem;
}

.problem-bullet-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.section-light .problem-bullet-card {
  background-color: var(--surface-2);
}

.problem-bullet-card .bullet-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.25rem;
}

.problem-bullet-card .bullet-text {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0;
  line-height: var(--lh-normal);
}

/* ============================================
   FRAMEWORK / SOLUTION
   ============================================ */

.framework-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2.5rem;
}

.framework-flow-item {
  flex: 1;
  text-align: center;
  padding: 1.25rem 0.75rem;
  position: relative;
}

.framework-flow-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  transform: translateY(-50%);
  width: 2px;
  height: 40%;
  background-color: var(--accent-mid);
}

.framework-flow-item:last-child::after {
  display: none;
}

.framework-flow-item .flow-number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.framework-flow-item .flow-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
}

.phase-detail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.section-light .phase-detail-card {
  background-color: var(--surface-2);
}

.phase-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
}

.phase-detail-card .phase-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.phase-detail-card .phase-prompts {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 0.625rem;
}

.phase-detail-card .phase-detail-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.phase-detail-card .phase-detail-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0.75rem;
}

.phase-detail-card .phase-deliverable {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  background-color: var(--accent-dim);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* ============================================
   WHAT IS INSIDE (FILES)
   ============================================ */

.file-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  transition: border-color var(--transition-base);
}

.section-light .file-card {
  background-color: var(--surface-2);
}

.file-card:hover {
  border-color: var(--border-hover);
}

.file-card .file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.file-card .file-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.file-card .file-format {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--muted);
  background-color: var(--surface-2);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.625rem;
}

.section-light .file-card .file-format {
  background-color: var(--surface);
}

.file-card .file-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

/* ============================================
   DELIVERABLES
   ============================================ */

.deliverable-detail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.section-light .deliverable-detail-card {
  background-color: var(--surface-2);
}

.deliverable-detail-card .del-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.deliverable-detail-card .del-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.deliverable-detail-card .del-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0.75rem;
}

.deliverable-detail-card .del-contains {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.deliverable-detail-card .del-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverable-detail-card .del-list li {
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.deliverable-detail-card .del-list li::before {
  content: '\F26A';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: var(--text-xs);
}

/* ============================================
   WHO THIS IS FOR
   ============================================ */

.audience-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.section-light .audience-card {
  background-color: var(--surface-2);
}

.audience-card.audience-yes {
  border-left: 3px solid var(--success);
}

.audience-card.audience-no {
  border-left: 3px solid var(--danger);
}

.audience-card .audience-heading {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

.audience-card.audience-yes .audience-heading {
  color: var(--success);
}

.audience-card.audience-no .audience-heading {
  color: var(--danger);
}

.audience-card .audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-card .audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 0.375rem 0;
  line-height: var(--lh-normal);
}

.audience-card.audience-yes .audience-list li .bi {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.audience-card.audience-no .audience-list li .bi {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================================
   COMPARISON
   ============================================ */

.comparison-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-grid .comp-cell {
  padding: 0.875rem 1rem;
  font-size: var(--text-sm);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.comparison-grid .comp-cell:nth-child(4n) {
  border-right: none;
}

.comparison-grid .comp-header {
  background-color: var(--surface-2);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--text);
}

.comparison-grid .comp-header.comp-highlight {
  background-color: var(--accent-dim);
  color: var(--accent);
}

.comparison-grid .comp-feature {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--text);
  font-size: var(--text-sm);
  background-color: var(--surface);
}

.section-light .comparison-grid .comp-feature {
  background-color: var(--surface-2);
}

.comparison-grid .comp-cell .bi-check-circle-fill {
  color: var(--accent);
  font-size: var(--text-base);
}

.comparison-grid .comp-cell .bi-x-circle-fill {
  color: var(--danger);
  opacity: 0.5;
  font-size: var(--text-base);
}

.comparison-grid .comp-cell .bi-dash-circle {
  color: var(--muted);
  opacity: 0.4;
  font-size: var(--text-base);
}

.comparison-grid .comp-cell.comp-this {
  background-color: rgba(0, 229, 204, 0.04);
}

/* Last row no bottom border */
.comparison-grid .comp-cell:nth-last-child(-n+4) {
  border-bottom: none;
}

/* ============================================
   REQUIREMENTS
   ============================================ */

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.requirement-item .req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.requirement-item .req-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.125rem;
}

.requirement-item .req-text {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0;
  line-height: var(--lh-normal);
}

.not-needed-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.not-needed-list li {
  font-size: var(--text-xs);
  color: var(--muted);
  background-color: var(--surface-2);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.not-needed-list li .bi {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.product-final-cta {
  background-color: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-final-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.product-final-cta .cta-content {
  position: relative;
  z-index: 1;
}

.product-final-cta .cta-price {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-final-cta .cta-trust {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 1.25rem;
}

.product-final-cta .cta-trust .bi {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
  .product-hero-centered .product-hero-title,
  .product-hero-split .product-hero-title {
    font-size: var(--text-4xl);
  }

  .framework-flow {
    flex-direction: column;
    gap: 0.5rem;
  }

  .framework-flow-item::after {
    display: none;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid .comp-header {
    display: none;
  }

  .comparison-grid .comp-feature {
    background-color: var(--surface-2);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    border-right: none;
  }

  .comparison-grid .comp-cell {
    border-right: none;
    padding: 0.625rem 1rem;
  }

  .comparison-grid .comp-cell::before {
    font-size: var(--text-xs);
    color: var(--muted);
    margin-right: 0.5rem;
    font-weight: var(--fw-medium);
  }
}

@media (max-width: 575.98px) {
  .product-hero-centered .product-hero-title,
  .product-hero-split .product-hero-title {
    font-size: var(--text-3xl);
  }

  .product-hero-centered .product-hero-buttons,
  .product-hero-split .product-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .product-hero-centered .product-hero-stats,
  .product-hero-split .product-hero-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .product-final-cta {
    padding: 2rem 1.5rem;
  }
}


/* ============================================
   PROBLEM AWARENESS
   ============================================ */

.problem-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: border-color var(--transition-base);
}

.section-light .problem-card {
  background-color: var(--surface-2);
}

.problem-card:hover {
  border-color: var(--border-hover);
}

.problem-card .problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(248, 113, 113, 0.1);
  color: var(--danger);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.problem-card .problem-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.problem-card .problem-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}
