/* ============================================
   OPERIX — Home Page Styles
   ============================================ */

/* ============================================
   Section Variants — Dark & Light
   ============================================ */

.section-dark {
  background-color: var(--bg);
}

.section-light {
  background-color: var(--surface);
}

.section-surface-2 {
  background-color: var(--surface-2);
}

/* ============================================
   HERO
   ============================================ */

/* --- Hero Centered Variant --- */

.hero-centered {
  padding-top: 10rem;
  padding-bottom: var(--section-py);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-centered::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-centered .hero-content {
  position: relative;
  z-index: 1;
}

.hero-centered .hero-headline {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.hero-centered .hero-subheadline {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-centered .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Hero Split Variant --- */

.hero-split {
  padding-top: 9rem;
  padding-bottom: var(--section-py);
  position: relative;
  overflow: hidden;
}

.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;
}

.hero-split .hero-content {
  position: relative;
  z-index: 1;
}

.hero-split .hero-headline {
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: 1.25rem;
}

.hero-split .hero-subheadline {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-split .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Hero Product Mockup Card --- */

.hero-product-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero-product-card .product-badge {
  margin-bottom: 1rem;
}

.hero-product-card .product-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero-product-card .product-subtitle {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: var(--lh-normal);
}

.hero-product-card .product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-product-card .product-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.hero-product-card .product-stat .bi {
  color: var(--accent);
  font-size: var(--text-sm);
}

.hero-product-card .product-phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.hero-product-card .phase-item {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.hero-product-card .phase-item .phase-number {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--accent);
  margin-right: 0.375rem;
}

.hero-product-card .product-cta-row {
  display: flex;
  gap: 0.75rem;
}

/* ============================================
   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;
}

/* ============================================
   BRAND POSITIONING
   ============================================ */

.brand-statement {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 680px;
}

.pillar-card {
  text-align: center;
  padding: 1.5rem;
}

.pillar-card .pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-lg);
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.pillar-card .pillar-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.pillar-card .pillar-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

/* ============================================
   FEATURED PRODUCT
   ============================================ */

.featured-product-section .product-highlight {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.section-light .product-highlight {
  background-color: var(--surface-2);
}

.featured-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.featured-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.featured-stat-item .bi {
  color: var(--accent);
}

.deliverable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.deliverable-item {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.section-light .deliverable-item {
  background-color: var(--surface);
}

.deliverable-item .deliverable-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.25rem;
}

.deliverable-item .deliverable-text {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 0;
  line-height: var(--lh-normal);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.phase-step {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2.5rem;
}

.phase-step:last-child {
  padding-bottom: 0;
}

.phase-step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-mid), transparent);
}

.phase-step:last-child::before {
  display: none;
}

.phase-step .phase-number-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--accent-dim);
  border: 2px solid var(--accent-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--accent);
}

.phase-step .phase-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.phase-step .phase-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
  max-width: 560px;
}

/* --- How It Works Horizontal Variant --- */

.phase-card-horizontal {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.section-light .phase-card-horizontal {
  background-color: var(--surface-2);
}

.phase-card-horizontal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
}

.phase-card-horizontal .phase-num {
  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.625rem;
}

.phase-card-horizontal .phase-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.phase-card-horizontal .phase-card-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

/* ============================================
   SUITE ROADMAP
   ============================================ */

.suite-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 .suite-card {
  background-color: var(--surface-2);
}

.suite-card:hover {
  border-color: var(--border-hover);
}

.suite-card .suite-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.75rem;
}

.suite-card .suite-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.suite-card .suite-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0.75rem;
}

.suite-card.suite-live {
  border-color: var(--accent-mid);
}

/* ============================================
   TRUST SIGNALS — Card Variant
   ============================================ */

.trust-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.section-light .trust-card {
  background-color: var(--surface-2);
}

.trust-card .trust-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);
  margin-bottom: 0.75rem;
}

.trust-card .trust-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: 0.25rem;
}

.trust-card .trust-text {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

/* --- Trust Signals — Checkmark Variant --- */

.trust-checklist {
  list-style: none;
  padding: 0;
  max-width: 640px;
}

.trust-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--lh-normal);
}

.trust-checklist li:last-child {
  border-bottom: none;
}

.trust-checklist li .bi {
  color: var(--accent);
  font-size: var(--text-lg);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-checklist li strong {
  color: var(--text);
  font-weight: var(--fw-semibold);
}

/* ============================================
   EMAIL CAPTURE
   ============================================ */

.email-capture-section .capture-form {
  max-width: 480px;
}

.email-capture-section .capture-form .input-group {
  margin-bottom: 0.5rem;
}

.email-capture-section .capture-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 0.5rem;
}

.email-capture-section .capture-note .bi {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
  .hero-centered,
  .hero-split {
    padding-top: 7.5rem;
  }

  .hero-centered .hero-headline,
  .hero-split .hero-headline {
    font-size: var(--text-4xl);
  }

  .hero-product-card .product-phases {
    grid-template-columns: 1fr;
  }

  .deliverable-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .hero-centered .hero-headline,
  .hero-split .hero-headline {
    font-size: var(--text-3xl);
  }

  .hero-centered .hero-buttons,
  .hero-split .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-centered .hero-buttons .btn,
  .hero-split .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .featured-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .phase-step {
    padding-left: 3rem;
  }

  .hero-product-card {
    padding: 1.5rem;
  }

  .hero-product-card .product-cta-row {
    flex-direction: column;
  }
}