/* RISKOS Progressive Disclosure & Information Architecture */
.progressive-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 5;
}

/* ── Section Titles & Badges ── */
.pd-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 12px;
}

.pd-badge.badge-green {
  background: rgba(81, 207, 102, 0.1);
  color: #51cf66;
  border-color: rgba(81, 207, 102, 0.25);
}

.pd-badge.badge-purple {
  background: rgba(204, 93, 232, 0.1);
  color: #cc5de8;
  border-color: rgba(204, 93, 232, 0.25);
}

.pd-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f3f4f6;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.pd-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: #9ca3af;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Persona Selector ── */
.persona-selector-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.persona-pill-group {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.persona-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.persona-btn:hover {
  color: #ffffff;
}

.persona-btn.active {
  background: #22d3ee;
  color: #090a0f;
  box-shadow: 0 2px 10px rgba(34, 211, 238, 0.3);
}

/* ── Level 1: Primary Onboarding Cards ── */
.onboarding-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.onboarding-card {
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.onboarding-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.onboarding-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.08);
}

.onboarding-card:hover::before {
  opacity: 1;
}

.onboarding-card.card-featured {
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(180deg, #10141f 0%, #0d0f15 100%);
}

.ob-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ob-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #22d3ee;
}

.ob-target-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
}

.ob-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.ob-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #9ca3af;
  margin: 0 0 18px 0;
}

.ob-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-feature-item {
  font-size: 0.8rem;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ob-feature-item i {
  color: #51cf66;
  font-size: 0.75rem;
}

.ob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.ob-cta-btn:hover {
  background: #22d3ee;
  color: #090a0f;
  border-color: #22d3ee;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.25);
}

.ob-cta-btn.btn-primary {
  background: #22d3ee;
  color: #090a0f;
  border-color: #22d3ee;
}

.ob-cta-btn.btn-primary:hover {
  background: #67e8f9;
  border-color: #67e8f9;
}

/* ── Pro Banner (Bottom of Level 1) ── */
.pro-terminal-banner {
  background: linear-gradient(90deg, #111420 0%, #171628 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

.pro-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pro-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #c084fc;
  flex-shrink: 0;
}

.pro-banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.pro-banner-desc {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.pro-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: #a855f7;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.pro-banner-btn:hover {
  background: #c084fc;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.45);
}

/* ── Level 2: 6 Capability Cards Grid ── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.cap-card {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.cap-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  background: #11131a;
}

.cap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cap-icon {
  font-size: 1.2rem;
  color: #22d3ee;
}

.cap-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.cap-desc {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.cap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.cap-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cap-link:hover {
  text-decoration: underline;
}

/* ── Level 3: System Pipeline Map ── */
.pipeline-card {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 50px;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.pipeline-node {
  background: #13151f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 14px;
  min-width: 170px;
  flex: 1;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pipeline-node:hover {
  border-color: #22d3ee;
  transform: translateY(-2px);
  background: #171b29;
}

.node-step-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: #22d3ee;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.node-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.node-sub {
  font-size: 0.72rem;
  color: #9ca3af;
}

.pipeline-connector {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Data Truth & Audit Banner ── */
.truth-audit-banner {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.truth-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.truth-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.truth-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0fdf4;
  margin: 0 0 2px 0;
}

.truth-desc {
  font-size: 0.8rem;
  color: #a7f3d0;
  margin: 0;
  line-height: 1.4;
}

.truth-btn {
  background: #10b981;
  color: #022c22;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.truth-btn:hover {
  background: #34d399;
}

/* ── Responsive Overrides ── */
@media (max-width: 992px) {
  .onboarding-cards-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-terminal-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .onboarding-cards-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .truth-audit-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .truth-btn {
    width: 100%;
    text-align: center;
  }

  .pipeline-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .pipeline-connector {
    transform: rotate(90deg);
    align-self: center;
    margin: 4px 0;
  }
}

/* Ensure Page Container Expands Naturally */
.page {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  height: auto !important;
  overflow-y: visible !important;
}

.hero {
  flex-shrink: 0;
}

.financial-metrics {
  margin-top: auto;
}
