/* ==========================================================================
   CHOOSE A PROBLEM. SEE MY APPROACH. (choose-a-problem.css)
   Scoped styling for the interactive UX Case Study Simulator
   Namespace: .problem-solution-page
   ========================================================================== */
.problem-solution-page { position: relative; overflow-x: hidden; }

/* 1. Hero Section */
.solver-hero { position: relative; padding: 150px 0 85px; background-color: var(--bg-primary); overflow: hidden; border-bottom: 1px solid var(--border-subtle); text-align: center; }
.solver-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.solver-hero-glow-l { position: absolute; top: -80px; left: -80px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--gold-tint-15) 0%, transparent 70%); filter: blur(40px); }
.solver-hero-glow-r { position: absolute; bottom: -60px; right: -60px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, var(--gold-tint-12) 0%, transparent 70%); filter: blur(40px); }
.solver-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; border-radius: 999px; background: rgba(18, 20, 23, 0.85); border: 1px solid var(--border-gold); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--gold-primary); margin-bottom: 22px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-tint-15); }
.solver-eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--gold-primary); box-shadow: 0 0 10px var(--gold-primary); animation: solverPulse 2s infinite ease-in-out; }

@keyframes solverPulse { 0%, 100% { transform: scale(0.9); opacity: 0.8; } 50% { transform: scale(1.35); opacity: 1; } }
.solver-heading { font-family: var(--font-heading) !important; font-size: clamp(3.2rem, 6.5vw, 5.4rem) !important; font-weight: 600 !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; max-width: 960px; margin: 0 auto 1.6rem auto; text-shadow: none !important; }
.solver-heading em, .solver-heading .text-gold { font-family: var(--font-heading) !important; font-style: italic !important; color: var(--gold-primary) !important; font-weight: 500 !important; }
.solver-lead { font-family: var(--font-sans) !important; font-size: clamp(1.02rem, 1.25vw, 1.18rem) !important; font-weight: 400 !important; color: var(--text-lead) !important; max-width: 820px !important; margin: 0 auto 2.4rem auto !important; line-height: 1.8 !important; text-shadow: none !important; }
.solver-scroll-indicator { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 28px; color: var(--text-muted); font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: var(--transition-fast); }
.solver-scroll-indicator:hover { color: var(--gold-primary); }
.solver-scroll-mouse { width: 20px; height: 32px; border: 2px solid var(--border-white-20); border-radius: 12px; display: flex; justify-content: center; padding-top: 5px; }
.solver-scroll-wheel { width: 3px; height: 7px; background-color: var(--gold-primary); border-radius: 2px; animation: mouseWheelMove 1.8s infinite ease-in-out; }

@keyframes mouseWheelMove { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* 2. Problem Selection Section */
.problems-section { position: relative; padding: 85px 0 70px; background-color: var(--bg-secondary); }
.section-header-box { margin-bottom: 50px; }
.section-label-gold { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--gold-primary); display: inline-block; margin-bottom: 10px; }
.section-title-editorial { font-family: var(--font-heading) !important; font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.25; }
.problem-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; padding: 30px 26px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); outline: none; }
.problem-card:hover, .problem-card:focus-visible { transform: translateY(-5px); border-color: var(--border-gold); background: var(--bg-card-hover); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px var(--gold-tint-15); }
.problem-card.active { border-color: var(--gold-primary); background: rgba(18, 20, 23, 0.95); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 28px var(--gold-tint-25); }
.problem-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.problem-number { font-family: var(--font-heading) !important; font-size: 1.1rem; font-weight: 600; color: var(--gold-primary); letter-spacing: 1px; }
.problem-icon-pill { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-subtle); display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1.15rem; transition: var(--transition-fast); }
.problem-card:hover .problem-icon-pill, .problem-card.active .problem-icon-pill { background: var(--gold-tint-15); border-color: var(--border-gold); color: var(--gold-primary); transform: scale(1.08); }
.problem-tag-pill { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); background: rgba(255, 255, 255, 0.04); padding: 3px 10px; border-radius: 6px; margin-bottom: 12px; border: 1px solid var(--border-white-05); transition: var(--transition-fast); }
.problem-card:hover .problem-tag-pill, .problem-card.active .problem-tag-pill { color: var(--gold-primary); border-color: var(--border-gold); background: var(--gold-tint-10); }
.problem-card-title { font-family: var(--font-heading) !important; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; color: var(--text-primary); margin-bottom: 10px; line-height: 1.3; }
.problem-card-desc { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; }
.problem-card-action { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.5px; color: var(--gold-primary); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s ease; }
.problem-card:hover .problem-card-action { gap: 12px; }

/* 3. Solution Journey Experience Section */
.journey-section { position: relative; padding: 70px 0 95px; background-color: var(--bg-primary); border-top: 1px solid var(--border-subtle); }

/* Selected Challenge Sticky-friendly Header */
.challenge-banner { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 24px 30px; margin-bottom: 35px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 16px; }

@media (min-width: 768px) {
  .challenge-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.challenge-banner-info { max-width: 680px; }
.challenge-banner-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-primary); display: block; margin-bottom: 4px; }
.challenge-banner-title { font-family: var(--font-heading) !important; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-white); margin-bottom: 4px; }
.challenge-banner-sub { font-size: 0.95rem; color: #e2e8f0; margin-bottom: 0; line-height: 1.55; }
.btn-change-problem { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); color: #f8fafc; font-size: 0.85rem; font-weight: 600; padding: 9px 18px; border-radius: 8px; cursor: pointer; transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-change-problem:hover { background: var(--gold-tint-15); border-color: var(--border-gold); color: var(--gold-primary); }

/* Stepper Bar */
.stepper-container { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; padding: 8px 12px; margin-bottom: 40px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border-white-15) transparent; }
.stepper-track { display: flex; align-items: center; justify-content: space-between; min-width: 840px; margin: 0; padding: 0; list-style: none; }
.step-item-btn { background: transparent; border: 1px solid transparent; color: #d1d5db; font-size: 0.88rem; font-weight: 600; padding: 10px 16px; border-radius: 9px; cursor: pointer; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.step-item-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.step-item-btn.active { background: var(--gold-tint-15); border-color: var(--gold-primary); color: var(--gold-primary); box-shadow: 0 4px 18px var(--gold-tint-20); font-weight: 700; }
.step-num-badge { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); padding: 2px 7px; border-radius: 5px; color: #f8fafc; }
.step-item-btn.active .step-num-badge { background: var(--gold-primary); border-color: var(--gold-primary); color: var(--bg-primary); }

/* Step Content Panes */
.step-pane-wrapper { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 18px; padding: 40px 36px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5); min-height: 480px; position: relative; animation: stepFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes stepFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767px) {
  .step-pane-wrapper { padding: 26px 20px; }
}
.step-pane-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.step-pane-title-wrap { display: flex; align-items: center; gap: 14px; }
.step-icon-lead { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-tint-12); border: 1px solid var(--border-gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-primary); font-size: 1.25rem; }
.step-pane-title { font-family: var(--font-heading) !important; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.015em; color: var(--text-white); margin-bottom: 2px; }
.step-pane-desc { font-size: 0.95rem; color: #e2e8f0; margin-bottom: 0; }

/* Step 1: Problem & Business Impact */
.problem-statement-card { background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border-white-10); border-left: 4px solid var(--gold-primary); border-radius: 10px; padding: 24px; margin-bottom: 28px; }
.statement-lead { font-size: 1.18rem; font-weight: 600; color: var(--text-white); line-height: 1.6; margin-bottom: 0; }
.points-card { background: rgba(18, 20, 23, 0.6); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 22px; height: 100%; }
.points-header { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.points-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.points-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: #f1f5f9; line-height: 1.55; }
.points-list li i { margin-top: 3px; flex-shrink: 0; }

/* Step 2: Research Cards */
.research-quote-card { background: var(--gold-tint-06); border: 1px dashed var(--border-gold); border-radius: 12px; padding: 18px 24px; text-align: center; margin-bottom: 30px; }
.research-quote-card p { font-family: var(--font-heading); font-style: italic; font-size: 1.08rem; color: var(--text-white); margin-bottom: 0; }
.research-card { background: rgba(18, 20, 23, 0.7); border: 1px solid var(--border-card); border-radius: 12px; padding: 24px 20px; height: 100%; transition: var(--transition-fast); }
.research-card:hover { border-color: var(--border-gold); transform: translateY(-3px); background: var(--bg-card-hover); }
.research-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--gold-tint-10); border: 1px solid var(--border-gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-primary); font-size: 1.2rem; margin-bottom: 14px; }
.research-title { font-family: var(--font-heading) !important; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 8px; }
.research-desc { font-size: 0.9rem; color: #e2e8f0; line-height: 1.55; margin-bottom: 0; }

/* Step 3: Insights */
.insight-card { background: rgba(18, 20, 23, 0.7); border: 1px solid var(--border-card); border-radius: 12px; padding: 26px 22px; height: 100%; position: relative; overflow: hidden; }
.insight-number { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; color: var(--gold-primary); text-transform: uppercase; margin-bottom: 10px; }
.insight-lead { font-family: var(--font-heading) !important; font-size: 1.2rem; font-weight: 500; font-style: italic; letter-spacing: -0.01em; color: var(--text-white); line-height: 1.45; margin-bottom: 10px; }
.insight-takeaway { font-size: 0.9rem; color: #e2e8f0; line-height: 1.55; margin-bottom: 0; }

/* Step 4: User Flowchart (Guaranteed 1 Single Line for all 6 Phases) */
.flow-diagram-wrapper { padding: 22px 0 14px; width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; contain: none; }

/* Subtle luxury scrollbar when scrolling on smaller viewports */
.flow-diagram-wrapper::-webkit-scrollbar { height: 5px; }
.flow-diagram-wrapper::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 4px; }
.flow-diagram-wrapper::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.4); border-radius: 4px; }
.flow-diagram-wrapper::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }
.flow-track { display: flex; align-items: stretch; justify-content: space-between; gap: 8px; width: 100%; flex-wrap: nowrap; min-width: 880px; }
.flow-step-item { flex: 1 1 0; min-width: 0; display: flex; }
.flow-step-node { background: rgba(18, 20, 23, 0.85); border: 1px solid var(--border-card); border-radius: 12px; padding: 16px 10px; text-align: center; position: relative; transition: var(--transition-fast); width: 100%; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-start; backdrop-filter: blur(8px); }
.flow-step-node:hover { border-color: var(--gold-primary); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15); }
.flow-step-num { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px; color: var(--gold-primary); text-transform: uppercase; margin-bottom: 6px; }
.flow-step-title { font-family: var(--font-heading) !important; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-white); margin-bottom: 6px; line-height: 1.25; }
.flow-step-desc { font-size: 0.74rem; color: #e2e8f0; line-height: 1.35; margin-bottom: 0; }
.flow-connector, .flow-connector-col { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--gold-primary); font-size: 1.15rem; opacity: 0.75; padding: 0 2px; user-select: none; }

/* Step 5: Wireframe Mode (Low-fidelity Blueprint) */
.wireframe-disclaimer { background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--gold-primary); padding: 10px 18px; font-size: 0.88rem; color: #e2e8f0; border-radius: 4px; margin-bottom: 24px; }
.wireframe-shell { background: #0b0d10; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 12px; padding: 16px; font-family: var(--font-sans); }
.wf-header { height: 42px; border-bottom: 1px dashed rgba(255, 255, 255, 0.15); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; margin-bottom: 16px; }
.wf-box { background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 6px; }
.wf-layout-body { display: flex; gap: 16px; }
.wf-sidebar { width: 170px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.wf-main-content { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }
.wf-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.wf-summary-card { padding: 12px; height: 70px; display: flex; flex-direction: column; justify-content: space-between; }
.wf-table { width: 100%; border-collapse: collapse; }
.wf-table th { padding: 10px; border-bottom: 1px dashed rgba(255, 255, 255, 0.18); font-size: 0.78rem; font-weight: 600; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.5px; }
.wf-table td { padding: 10px; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); font-size: 0.82rem; font-weight: 500; color: #f8fafc; }

/* Step 6: UI Design with Before / After Toggle */
.comparison-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 26px; background: rgba(0, 0, 0, 0.35); padding: 6px; border-radius: 999px; width: fit-content; margin-left: auto; margin-right: auto; border: 1px solid var(--border-subtle); }
.btn-toggle-compare { background: transparent; border: none; color: #e2e8f0; font-size: 0.84rem; font-weight: 600; padding: 8px 20px; border-radius: 999px; cursor: pointer; transition: var(--transition-fast); }
.btn-toggle-compare.active { background: var(--gold-primary); color: var(--bg-primary); box-shadow: 0 4px 16px var(--gold-tint-30); font-weight: 700; }
.ui-mockup-frame { background: var(--bg-secondary); border: 1px solid var(--border-card); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.ui-mockup-topbar { background: var(--bg-card); border-bottom: 1px solid var(--border-subtle); padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; }
.ui-mockup-badge-state { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.badge-state-before { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-state-after { background: var(--gold-tint-15); color: var(--gold-primary); border: 1px solid var(--border-gold); }
.ui-mockup-inner { padding: 24px; }

/* Step 7: Interactive Prototype Sandbox */
.proto-sandbox-box { background: var(--bg-secondary); border: 1px solid var(--border-card); border-radius: 14px; overflow: hidden; box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55); }
.proto-navbar { background: var(--bg-card); border-bottom: 1px solid var(--border-subtle); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.proto-filter-pills { display: flex; align-items: center; gap: 8px; }
.proto-filter-btn { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); color: #e2e8f0; font-size: 0.78rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; cursor: pointer; transition: var(--transition-fast); }
.proto-filter-btn.active { background: var(--gold-primary); color: var(--bg-primary); border-color: var(--gold-primary); font-weight: 700; }
.proto-content-grid { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.proto-task-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; transition: var(--transition-fast); }
.proto-task-card:hover { border-color: var(--border-gold); background: var(--bg-card-hover); }
.proto-task-left { display: flex; align-items: center; gap: 14px; }
.proto-task-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-white-20); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: var(--transition-fast); }
.proto-task-check.checked { background: var(--gold-primary); border-color: var(--gold-primary); color: var(--bg-primary); }
.proto-task-info h5 { font-family: var(--font-heading) !important; font-size: 0.95rem; font-weight: 600; color: var(--text-white); margin-bottom: 2px; }
.proto-task-info p { font-size: 0.82rem; color: #cbd5e1; margin-bottom: 0; }
.proto-action-btn { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-subtle); color: var(--text-primary); font-size: 0.78rem; font-weight: 600; padding: 6px 16px; border-radius: 6px; cursor: pointer; transition: var(--transition-fast); }
.proto-action-btn:hover { background: var(--gold-primary); color: var(--bg-primary); border-color: var(--gold-primary); }
.proto-live-alert { padding: 10px 18px; background: var(--gold-tint-08); border-top: 1px solid var(--border-gold); font-size: 0.82rem; color: var(--gold-primary); display: flex; align-items: center; gap: 8px; }

/* Step 8: Validation */
.validation-workflow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; background: rgba(18, 20, 23, 0.6); padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border-subtle); }
.valid-step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.valid-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-tint-15); border: 1px solid var(--border-gold); color: var(--gold-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.valid-arrow { color: var(--gold-primary); font-size: 1.1rem; }
.questions-card { background: rgba(18, 20, 23, 0.6); border: 1px solid var(--border-card); border-radius: 12px; padding: 22px; height: 100%; }
.result-card { background: linear-gradient(145deg, rgba(200, 155, 60, 0.12), rgba(18, 20, 23, 0.9)); border: 1px solid var(--border-gold); border-radius: 12px; padding: 26px 22px; height: 100%; }
.result-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--bg-primary); background: var(--gold-primary); padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.result-title { font-family: var(--font-heading) !important; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-white); margin-bottom: 10px; }

/* Stepper Bottom Nav Controls */
.stepper-bottom-nav { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-subtle); padding-top: 24px; flex-wrap: wrap; gap: 16px; }
.btn-step-nav { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-white-15); color: var(--text-primary); font-size: 0.85rem; font-weight: 600; padding: 10px 22px; border-radius: 8px; cursor: pointer; transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 8px; }
.btn-step-nav:hover:not(:disabled) { background: var(--gold-tint-15); border-color: var(--border-gold); color: var(--gold-primary); }
.btn-step-nav:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-step-next { background: var(--gold-primary); color: var(--bg-primary); border-color: var(--gold-primary); font-weight: 700; }
.btn-step-next:hover:not(:disabled) { background: var(--gold-hover); color: var(--bg-primary); box-shadow: 0 4px 16px var(--gold-tint-35); }
.step-counter-label { font-size: 0.85rem; color: #e2e8f0; font-weight: 600; letter-spacing: 1px; }

/* Selected Challenge Section High-Contrast Global Overrides */
.journey-section .text-muted, .step-pane-wrapper .text-muted, .proto-sandbox-box .text-muted { color: #cbd5e1 !important; }
.journey-section .text-secondary, .step-pane-wrapper .text-secondary, .proto-sandbox-box .text-secondary { color: #e2e8f0 !important; }
.journey-section .border-secondary, .step-pane-wrapper .border-secondary { border-color: rgba(255, 255, 255, 0.22) !important; }

/* 4. Final CTA Section */
.solver-cta-section { position: relative; padding: 95px 0 90px; background-color: var(--bg-secondary); border-top: 1px solid var(--border-subtle); text-align: center; }
.solver-cta-title { font-family: var(--font-heading) !important; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text-white); max-width: 820px; margin: 0 auto 20px; line-height: 1.22; }
.solver-cta-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-secondary); max-width: 700px; margin: 0 auto 36px; line-height: 1.7; }

/* Responsive adjustments */

@media (max-width: 767px) {
  .solver-hero { padding: 125px 0 65px; }
  .problems-section { padding: 60px 0 50px; }
  .journey-section { padding: 50px 0 65px; }
  .stepper-container { padding: 6px 8px; }
  .wf-layout-body { flex-direction: column; }
  .wf-sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
}
