/* =========================================
   Solution Page Styles
   ========================================= */

/* Hero */
.solution-hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-16) 0;
  text-align: center;
}

.solution-hero h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.solution-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto;
}

/* Section Titles */
.section-title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  font-size: var(--text-lg);
}

/* Dark Section */
.section--dark {
  background: var(--color-navy);
  padding: var(--space-12) 0;
}

.big-statement {
  font-size: var(--text-2xl);
  color: var(--color-white);
  font-weight: 600;
  margin: 0;
}

/* =========================================
   State Comparison (Liquid vs Crystal)
   ========================================= */

.state-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.state-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 380px;
  flex: 1;
  min-width: 300px;
}

.state-card--liquid {
  border: 2px solid #E2E8F0;
}

.state-card--crystal {
  border: 2px solid var(--color-navy);
  box-shadow: 0 8px 30px rgba(26, 54, 93, 0.15);
}

.state-card__visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.state-card--liquid .state-card__visual {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.state-card--crystal .state-card__visual {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

/* Scattered Dots Animation */
.dots-scattered {
  position: relative;
  width: 120px;
  height: 120px;
}

.dots-scattered span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(180, 83, 9, 0.6);
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

.dots-scattered span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.dots-scattered span:nth-child(2) { top: 60%; left: 5%; animation-delay: 0.3s; }
.dots-scattered span:nth-child(3) { top: 30%; left: 70%; animation-delay: 0.6s; }
.dots-scattered span:nth-child(4) { top: 75%; left: 45%; animation-delay: 0.9s; }
.dots-scattered span:nth-child(5) { top: 20%; left: 40%; animation-delay: 1.2s; }
.dots-scattered span:nth-child(6) { top: 85%; left: 80%; animation-delay: 1.5s; }
.dots-scattered span:nth-child(7) { top: 50%; left: 25%; animation-delay: 1.8s; }
.dots-scattered span:nth-child(8) { top: 5%; left: 85%; animation-delay: 2.1s; }
.dots-scattered span:nth-child(9) { top: 45%; left: 60%; animation-delay: 2.4s; }
.dots-scattered span:nth-child(10) { top: 70%; left: 15%; animation-delay: 2.7s; }
.dots-scattered span:nth-child(11) { top: 35%; left: 90%; animation-delay: 0.2s; }
.dots-scattered span:nth-child(12) { top: 90%; left: 55%; animation-delay: 0.5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, -8px); }
  50% { transform: translate(-3px, 5px); }
  75% { transform: translate(8px, 3px); }
}

/* Organized Dots Grid */
.dots-organized {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dots-organized span {
  width: 12px;
  height: 12px;
  background: var(--color-navy);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(26, 54, 93, 0.3);
}

.state-card__content {
  padding: var(--space-6);
}

.state-card__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: var(--space-2);
}

.state-card__indicator--red {
  background: #EF4444;
}

.state-card__indicator--blue {
  background: var(--color-navy);
}

.state-card__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.state-card__content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.state-card__stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
}

.stat-number--bad {
  color: #DC2626;
}

.stat-number--good {
  color: #059669;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Arrow Between Cards */
.state-arrow {
  flex-shrink: 0;
}

.state-arrow svg {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
}

/* =========================================
   Maturity Model
   ========================================= */

.maturity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.maturity__content h2 {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.maturity__intro {
  font-size: var(--text-lg);
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.maturity__levels {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.maturity__level {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.maturity__level--dim {
  opacity: 0.5;
}

.maturity__level--dim strong,
.maturity__level--dim span {
  color: #64748B;
}

.maturity__level strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 2px;
}

.maturity__level span {
  font-size: var(--text-sm);
  color: #94A3B8;
}

.maturity__level--current strong {
  color: var(--color-white);
}

.maturity__level--target strong {
  color: #60A5FA;
}

.maturity__check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #475569;
  margin-top: 2px;
}

.maturity__check--gold {
  color: var(--color-gold);
}

.maturity__check--blue {
  color: #60A5FA;
}

/* Pyramid Visual */
.maturity__pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pyramid__level {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pyramid__level--4 {
  width: 140px;
  height: 70px;
  background: #3B82F6;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.pyramid__level--3 {
  width: 200px;
  height: 70px;
  background: #475569;
  margin-top: -4px;
}

.pyramid__level--2 {
  width: 260px;
  height: 70px;
  background: #334155;
  margin-top: -4px;
}

.pyramid__level--1 {
  width: 320px;
  height: 70px;
  background: #1E293B;
  margin-top: -4px;
  opacity: 0.6;
}

/* =========================================
   Timeline
   ========================================= */

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: #E2E8F0;
  z-index: 0;
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.timeline__icon {
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.timeline__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
}

.timeline__content {
  max-width: 140px;
}

.timeline__week {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline__content h4 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin: var(--space-1) 0;
}

.timeline__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* =========================================
   Pillars
   ========================================= */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.pillar {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.pillar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pillar__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  border-radius: 12px;
}

.pillar__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-navy);
}

.pillar h3 {
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.pillar__shift {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}

.pillar p:last-child {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.pillars__note {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: var(--space-12);
  font-style: italic;
}

/* =========================================
   CTA Buttons
   ========================================= */

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {
  .solution-hero h1 {
    font-size: var(--text-4xl);
  }

  .state-comparison {
    flex-direction: column;
  }

  .state-card {
    max-width: 100%;
  }

  .state-arrow {
    transform: rotate(90deg);
  }

  .timeline {
    flex-direction: column;
    gap: var(--space-8);
  }

  .timeline__line {
    display: none;
  }

  .timeline__step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-4);
  }

  .timeline__content {
    max-width: none;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .big-statement {
    font-size: var(--text-xl);
  }

  .maturity {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .maturity__pyramid {
    order: -1;
  }

  .pyramid__level--4 { width: 100px; height: 50px; }
  .pyramid__level--3 { width: 140px; height: 50px; }
  .pyramid__level--2 { width: 180px; height: 50px; }
  .pyramid__level--1 { width: 220px; height: 50px; }
}
