/* ===== Solutions Pages - Dark Space / Frontier Theme ===== */

/* ===== Hero ===== */
.sol-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #101828 40%, #1a2340 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sol-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
  animation: heroShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, 5%); }
}

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

.sol-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.sol-hero .hero-tagline {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.sol-hero .hero-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 20px;
}

/* ===== Breadcrumb ===== */
.sol-breadcrumb {
  padding: 16px 0;
  background: rgba(10, 15, 30, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sol-breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.sol-breadcrumb-links a {
  color: #06b6d4;
  font-weight: 500;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sol-breadcrumb-links a:hover {
  color: #6366f1;
}

.sol-breadcrumb-links span {
  color: #94a3b8;
}

/* ===== Section Shared ===== */
.sol-section {
  padding: 100px 0;
  position: relative;
}

.sol-section.alt-bg {
  background: rgba(10, 15, 30, 0.5);
}

.sol-section .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.sol-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #f1f5f9;
  letter-spacing: -0.3px;
}

.sol-section .section-header p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Industry Grid (Index Page) ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 40px 28px 32px;
  text-align: center;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  opacity: 0;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.08);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
}

.industry-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.industry-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.7;
}

.industry-card .card-link {
  color: #06b6d4;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.industry-card:hover .card-link {
  color: #8b5cf6;
  gap: 10px;
}

/* ===== Challenge Cards ===== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px 24px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.challenge-card:hover {
  border-color: rgba(99, 102, 241, 0.15);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.challenge-card .challenge-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  min-width: 36px;
}

.challenge-card .challenge-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.challenge-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.challenge-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== Solution Feature Cards ===== */
.sol-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-feature-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 32px 24px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sol-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  opacity: 0;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sol-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.08);
}

.sol-feature-card:hover::before {
  opacity: 1;
}

.sol-feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
}

.sol-feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.sol-feature-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== Client Badges ===== */
.sol-clients {
  text-align: center;
}

.client-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 14px 28px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-badge:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.05);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.client-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.client-badge:hover img {
  opacity: 1;
}

.client-badge span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.3px;
}

/* ===== CTA Section ===== */
.sol-cta {
  background: linear-gradient(135deg, #0a0e1a 0%, #101828 50%, #1a2340 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sol-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.sol-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.sol-cta p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.sol-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  border-radius: 9999px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.sol-cta .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

/* ===== Footer ===== */
.sol-footer {
  background: #101828;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 0;
}

.sol-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.sol-footer .footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.sol-footer .footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
  color: #cbd5e1;
}

.sol-footer .footer-links h4 {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.sol-footer .footer-links a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: #cbd5e1;
}

.sol-footer .footer-links a:hover {
  color: #06b6d4;
  padding-left: 4px;
}

.sol-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sol-hero {
    padding: 120px 0 60px;
  }

  .sol-hero h1 {
    font-size: 2.4rem;
  }

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

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

  .sol-features-grid {
    grid-template-columns: 1fr;
  }

  .client-badges {
    flex-direction: column;
    align-items: center;
  }

  .sol-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .sol-hero {
    padding: 110px 0 50px;
  }

  .sol-hero h1 {
    font-size: 1.9rem;
  }

  .sol-section {
    padding: 70px 0;
  }

  .sol-cta {
    padding: 70px 0;
  }

  .sol-cta h2 {
    font-size: 1.8rem;
  }

  .sol-section .section-header h2 {
    font-size: 1.8rem;
  }
}
