/* ============================================
   SOLUTION DETAILS PAGE STYLES
   ============================================ */

/* ============================================
   SOLUTION HERO SECTION
   ============================================ */
.solution-hero {
  background-color: #f9fafb;
  padding: 6rem 0 4rem;
  border-bottom: 1px solid #e5e7eb;
}

.solution-hero-content {
  max-width: 840px;
}

.solution-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.313rem;
}

.solution-hero-title {
  font-size: 2.875rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.solution-hero-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: #f05a28;
  margin-bottom: 1.75rem;
  max-width: 700px;
}

.solution-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 2.5rem;
  max-width: 700px;
  font-weight: 400;
}

.solution-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.solution-hero-actions .btn-primary {
  padding: 14px 28px;
  font-size: 0.875rem;
  border-radius: 3.5px;
  font-weight: 500;
  background-color: #f05a28;
}

.solution-hero-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background-color: transparent;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 3.5px;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-base);
}

.solution-hero-actions .btn-outline:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.soultion-bold-text {
  font-weight: 600;
  color: #0b1120;
}

/* ============================================
   WHAT THIS SOLUTION SOLVES SECTION
   ============================================ */
.solution-solves-section {
  padding: 4.375rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.solution-solves-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .solution-solves-content {
    flex-direction: column;
    gap: 2rem;
  }
}

.solves-title-col {
  flex: 0 0 40%;
}

.solves-text-col {
  flex: 1;
}

.solves-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
}

.solves-title-underline {
  width: 60px;
  height: 4px;
  background-color: #f05a28;
  margin-top: 1rem;
}

.solves-text-col p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.313rem;
}

.solves-text-col p:last-child {
  margin-bottom: 0;
}

/* ============================================
   CORE CAPABILITIES SECTION
   ============================================ */
.core-capabilities-section {
  padding: 4.375rem 0;
  background-color: #f9fafb;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 1200px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.capability-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.375rem;
  text-align: left;
  transition: all var(--transition-base);
  box-shadow: 0px 1px 2px 0px #0000000d;
}

.capability-card:hover {
  border-color: #f05a28;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.capability-icon {
  width: 42px;
  height: 42px;
  background-color: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem 0;
}

.capability-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.capability-desc {
  font-size: 0.875rem;
  color: #f05a28;
  line-height: 1.5;
  margin: 0;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.capability-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
}

.capability-list li:last-child {
  margin-bottom: 0;
}

.capability-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f05a28;
  font-weight: bold;
}

/* ============================================
   ARCHITECTURE OVERVIEW SECTION
   ============================================ */
.architecture-section {
  padding: 4.375rem 0;
  background-color: #ffffff;
}

.architecture-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .architecture-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Left Column: Text Content */
.architecture-text {
  display: flex;
  flex-direction: column;
  gap: 1.313rem;
}

.architecture-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.architecture-icon {
  width: 42px;
  height: 42px;
  background-color: #f05a281a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.architecture-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}

.architecture-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Right Column: Architecture Diagram */
.architecture-diagram {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.813rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Diagram Tabs */
.diagram-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.diagram-tab {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  padding: 0.5rem 1rem;
  background-color: var(--bg-white);
  border-radius: 6px;
  transition: all 0.2s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

/* Core Intelligence Block */
.diagram-core-block {
  background-color: #0f172a;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  height: 7rem;
}

.core-block-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

/* Bottom Row Blocks */
.diagram-bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.diagram-block {
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.diagram-block-api {
  background-color: #f05a281a;
  border: 1px solid #f05a2833;
  height: 3.5rem;
}

.diagram-block-ui {
  background-color: #fef3f2;
  border: 1px solid #fee4e2;
}

.block-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f05a28;
  text-align: center;
}

@media (max-width: 640px) {
  .diagram-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
}

/* ============================================
   FROM PROBLEM TO SOLUTION SECTION
   ============================================ */
.problem-solution-section {
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding-bottom: 5rem;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.lifecycle-section .section-title {
  text-align: center;
}

@media (min-width: 768px) {
  .lifecycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .lifecycle-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lifecycle-card {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 1.313rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifecycle-card:hover {
  border-color: #f05a28;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transform: translateY(-4px);
}

.lifecycle-content {
  position: relative;
  z-index: 2;
}

.lifecycle-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.lifecycle-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.lifecycle-number {
  position: absolute;
  right: -5px;
  font-size: 8rem;
  font-weight: 800;
  color: #f9fafb;
  line-height: 1;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

/* ============================================
   TYPICAL USE CASES SECTION
   ============================================ */
.use-cases-section {
  padding: 4.375rem 0;
  background-color: #f9fafb;
}

.use-cases-section .section-header {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-subtitle {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563;
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 602px;
  width: 100%;
}

.use-cases-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .use-cases-list {
    grid-template-columns: 1fr;
  }
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.use-case-item:hover {
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.use-case-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.use-case-text {
  font-size: 1rem;
  color: #111827;
  font-weight: 500;
  line-height: 1.5;
}

.use-cases-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .use-case-item {
    max-width: 23.875rem;
    width: 100%;
  }
}

/* ============================================
   OUTCOMES DELIVERED SECTION
   ============================================ */
.outcomes-delivered-section {
  padding: 4.375rem 0;
  background-color: #ffffff;
}

.outcomes-main-title {
  margin-bottom: 1.75rem;
}

.outcomes-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .outcomes-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Left Column: Metrics */
.outcomes-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

@media (max-width: 640px) {
  .outcomes-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.outcome-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.outcome-number {
  font-size: 2rem;
  font-weight: 800;
  color: #f05a28;
  line-height: 1;
}

.outcome-label {
  font-size: 0.75rem;
  color: #4b5563;
  font-weight: 400;
  line-height: 1.4;
}

/* Right Column: Visualization Placeholder */
.outcomes-visualization {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visualization-placeholder {
  background-color: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 224px;
}

.visualization-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
}

.visualization-subtext {
  font-size: 0.625rem;
  font-weight: 400;
  color: #d1d5db;
  text-align: center;
}

/* ============================================
   REGULATED ENVIRONMENT SECTION
   ============================================ */
.regulated-environment-section {
  background-color: #0b1120;
  padding: 3.5rem 0;
  color: #ffffff;
}

.regulated-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.regulated-icon-wrapper-container {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 1.313rem;
}

.regulated-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(240, 90, 40, 0.1);
  border: 1px solid rgba(240, 90, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.regulated-text {
  flex: 1;
  max-width: 588px;
}

.regulated-title {
  font-size: 1.313rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
  line-height: 1.2;
}

.regulated-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #9ca3af;
}

.btn-dark-outline {
  background-color: transparent;
  color: #f3f4f6;
  border: 1px solid #374151;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-dark-outline:hover {
  background-color: #1f2937;
  border-color: #4b5563;
}

.arrow-icon {
  font-family: sans-serif;
}

@media (min-width: 768px) {
  .regulated-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================
   WHY THIS SOLUTION WORKS SECTION
   ============================================ */
.why-works-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.why-works-section .section-title {
  margin-bottom: 3rem;
}

.why-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1200px) {
  .why-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-works-grid {
    grid-template-columns: 1fr;
  }
}

.why-works-card {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 1.313rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.why-works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.why-works-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.why-works-icon svg {
  width: 32px;
  height: 32px;
}

.why-works-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0;
  line-height: 1.4;
  text-align: center;
}

.why-works-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
  background-color: #0f172a;
  color: #ffffff;
  padding: 6rem 0;
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  gap: 2.188rem;
  align-items: center;
  text-align: center;
}

.final-cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  line-height: 1.2;
  max-width: 700px;
}

.final-cta-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 644px;
  margin: 0 auto;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.final-cta-buttons .btn-primary {
  background-color: #f05a28;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.938rem 1.75rem;
  border-radius: 3.5px;
  line-height: 1.5;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0px 20px 25px -5px rgba(240, 90, 40, 0.2);
}

.final-cta-buttons .btn-primary:hover {
  background-color: #d94e22;
  transform: translateY(-1px);
}

.final-cta-buttons .btn-secondary {
  background-color: transparent;
  color: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.938rem 1.75rem;
  border-radius: 3.5px;
  line-height: 1.5;
  border: 1px solid #4b5563;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.final-cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #9ca3af;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .solution-hero {
    padding: 4rem 0 3rem;
  }

  .solution-hero-title {
    font-size: 2rem;
  }

  .final-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .final-cta-buttons .btn-primary,
  .final-cta-buttons .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================
   COMMON UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.section-label {
  color: #f05a28 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.text-center .section-label {
  justify-content: center;
}
