/* ===== Solutions Pages Shared Styles ===== */

/* Hero */
.sol-hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
}

.sol-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sol-hero .container {
  position: relative;
  z-index: 1;
}

.sol-hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.sol-hero-text {
  flex: 1;
}

.sol-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.sol-hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.sol-hero-text .hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  color: rgba(30, 40, 55, 0.72); /* Override global white — solution pages use light backgrounds */
}

.sol-hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sol-hero-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 340px;
}

.sol-icon-card {
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.sol-icon-card:hover {
  transform: translateY(-4px);
}

.sol-icon-card svg {
  margin-bottom: 10px;
}

.sol-icon-card span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Pain Points */
.pain-section {
  background: #fff;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-card {
  background: #fef5f5;
  border: 1px solid #fde2e2;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pain-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e03131;
  font-size: 1.1rem;
}

.pain-card p {
  font-size: 0.93rem;
  color: #495057;
  line-height: 1.5;
}

.pain-card strong {
  display: block;
  color: #212529;
  margin-bottom: 4px;
}

/* Solution / How */
.how-sol-section {
  background: #f8fdf9;
}

.how-sol-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.how-sol-step {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-sol-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2fb147;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.how-sol-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #212529;
}

.how-sol-step p {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
}

/* Benefits */
.benefits-sol-section {
  background: #fff;
}

.benefits-sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-sol-card {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.bs-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(47, 177, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-sol-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #212529;
}

.benefit-sol-card p {
  font-size: 0.92rem;
  color: #495057;
  line-height: 1.6;
}

/* Use Cases */
.usecase-section {
  background: rgb(4, 42, 12);
  color: #fff;
}

.usecase-section .section-title {
  color: #fff;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.usecase-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
  transition: background 0.2s ease;
}

.usecase-card:hover {
  background: rgba(255,255,255,0.1);
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #2fb147;
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* Sol CTA */
.sol-cta-section {
  background: #f8fdf9;
  text-align: center;
}

.sol-cta-inner {
  max-width: 600px;
}

.sol-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.sol-cta-inner p {
  font-size: 1.05rem;
  color: #495057;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Section Desc */
.section-desc {
  font-size: 1.05rem;
  color: #495057;
  line-height: 1.7;
  text-align: center;
  max-width: 650px;
  margin: -30px auto 40px;
}

/* Color Themes */
.theme-blue .sol-hero { background: linear-gradient(135deg, #eef3ff 0%, #dbe6ff 50%, #f4f7ff 100%); }
.theme-blue .sol-badge { background: rgba(59,130,246,0.1); color: #3b82f6; }
.theme-blue .sol-icon-card { background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.12); }
.theme-blue .sol-icon-card span { color: #3b82f6; }

.theme-orange .sol-hero { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fffbf5 100%); }
.theme-orange .sol-badge { background: rgba(234,88,12,0.1); color: #ea580c; }
.theme-orange .sol-icon-card { background: rgba(234,88,12,0.05); border: 1px solid rgba(234,88,12,0.12); }
.theme-orange .sol-icon-card span { color: #ea580c; }

.theme-purple .sol-hero { background: linear-gradient(135deg, #f3f0ff 0%, #e9e2ff 50%, #f9f7ff 100%); }
.theme-purple .sol-badge { background: rgba(124,58,237,0.1); color: #7c3aed; }
.theme-purple .sol-icon-card { background: rgba(124,58,237,0.05); border: 1px solid rgba(124,58,237,0.12); }
.theme-purple .sol-icon-card span { color: #7c3aed; }

.theme-teal .sol-hero { background: linear-gradient(135deg, #edfcf5 0%, #d5f5e6 50%, #f4fdf8 100%); }
.theme-teal .sol-badge { background: rgba(13,148,136,0.1); color: #0d9488; }
.theme-teal .sol-icon-card { background: rgba(13,148,136,0.05); border: 1px solid rgba(13,148,136,0.12); }
.theme-teal .sol-icon-card span { color: #0d9488; }

.theme-rose .sol-hero { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fffbfb 100%); }
.theme-rose .sol-badge { background: rgba(225,29,72,0.1); color: #e11d48; }
.theme-rose .sol-icon-card { background: rgba(225,29,72,0.05); border: 1px solid rgba(225,29,72,0.12); }
.theme-rose .sol-icon-card span { color: #e11d48; }

/* Responsive */
@media (max-width: 768px) {
  .sol-hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .sol-hero-inner {
    flex-direction: column;
    gap: 36px;
  }

  .sol-hero-text {
    text-align: center;
  }

  .sol-hero-icon-grid {
    max-width: 280px;
  }

  .pain-grid,
  .how-sol-steps {
    grid-template-columns: 1fr;
  }

  .benefits-sol-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}
