/* Solution Page Styles */

:root {
  --solution-hero-height: clamp(480px, 32vw, 600px);
}

/* Solution Hero Banner */
.solution-hero {
  position: relative;
  height: var(--solution-hero-height);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #081014;
}
.solution-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solution-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,14,18,.88) 0%, rgba(6,14,18,.55) 60%, rgba(6,14,18,.2) 100%);
  content: "";
}
.solution-hero__copy {
  position: relative;
  z-index: 2;
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.solution-hero p.eyebrow {
  margin-bottom: 14px;
  color: var(--blue, #69c9df);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.solution-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.solution-hero__lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65;
}
.solution-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Pain Points 4-Grid */
.solution-painpoints {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: #fff;
}
.solution-painpoints__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.painpoints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.painpoint-card {
  padding: 32px 24px;
  background: #f8fafb;
  border: 1px solid #e2e8ea;
  border-radius: 12px;
  transition: all .3s var(--ease);
}
.painpoint-card:hover {
  transform: translateY(-4px);
  border-color: #bce3ee;
  box-shadow: 0 12px 32px rgba(105, 201, 223, .12);
}
.painpoint-card__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue, #69c9df);
  margin-bottom: 16px;
}
.painpoint-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.painpoint-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Solutions Showcase Section */
.solution-showcase {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: var(--soft);
}
.solution-showcase__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,.03);
  margin-top: 32px;
}
.showcase-block--reverse {
  direction: rtl;
}
.showcase-block--reverse > * {
  direction: ltr;
}
.showcase-block__media {
  overflow: hidden;
  background: var(--steel-tint, #e8ecee);
}
.showcase-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.showcase-block:hover .showcase-block__media img {
  transform: scale(1.03);
}
.showcase-block__copy {
  align-self: center;
  padding: clamp(32px, 4vw, 56px);
}
.showcase-block__copy h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: var(--ink);
}
.showcase-block__copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.showcase-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}
.showcase-list li::before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue, #69c9df);
  content: "";
}

/* Recommended Products Section */
.solution-products {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: #fff;
}
.solution-products__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.product-card-large {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 36px;
  padding: clamp(32px, 4vw, 48px);
  background: var(--surface-muted, #f4f6f6);
  border: 1px solid #e0e6e8;
  border-radius: 16px;
}
.product-card-large__copy h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  color: var(--ink);
}
.product-card-large__copy p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.product-card-large__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.spec-item {
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8ea;
}
.spec-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.spec-item strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.product-card-large__media {
  border-radius: 12px;
  overflow: hidden;
}
.product-card-large__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1101px) {
  .product-card-large--reverse .product-card-large__copy {
    grid-column: 2;
    grid-row: 1;
  }
  .product-card-large--reverse .product-card-large__media {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Cases Gallery */
.solution-cases {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: var(--soft);
}
.solution-cases__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.case-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.case-card:hover img {
  transform: scale(1.05);
}
.case-card__info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(8,16,20,.85) 0%, rgba(8,16,20,.4) 70%, transparent 100%);
  color: #fff;
}
.case-card__info h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
}
.case-card__info p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .painpoints-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-block {
    grid-template-columns: 1fr;
  }
  .showcase-block__media {
    height: 300px;
  }
  .product-card-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .painpoints-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .product-card-large__specs {
    grid-template-columns: 1fr;
  }
}
