/* ============================================================
   solution.css — Solution Page Styles
   ============================================================ */

/* ---- Solution Page Layout ---- */
.solution-page {
  min-height: 100vh;
}

/* ---- Solution Hero ---- */
.solution-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.solution-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.solution-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,15,30,0.92) 0%, rgba(10,25,41,0.80) 100%);
  z-index: 1;
}

.solution-hero .container {
  position: relative;
  z-index: 2;
}

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

.solution-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.solution-hero-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  max-width: 600px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #42A5F5;
}

.breadcrumb span {
  color: rgba(255,255,255,0.35);
}

.breadcrumb span:last-child {
  color: rgba(255,255,255,0.8);
}

/* ---- Back Button ---- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}

.back-btn:hover {
  color: #42A5F5;
  border-color: #42A5F5;
  background: rgba(66,165,245,0.08);
}

/* ---- Solution Content ---- */
.solution-content {
  padding-bottom: 80px;
}

/* ---- Sol Sections ---- */
.sol-section {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sol-section:last-child {
  border-bottom: none;
}

.sol-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1976D2;
  display: inline-block;
}

.sol-section p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 800px;
}

/* ---- Features Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.feature-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s;
}

.feature-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(66,165,245,0.3);
  transform: translateY(-2px);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #42A5F5;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ---- Topology Container ---- */
.topology-container {
  background: rgba(5,15,30,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  min-height: 200px;
  overflow-x: auto;
}

.topology-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

/* ---- Solution Table ---- */
.sol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sol-table th {
  background: rgba(25,118,210,0.3);
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.sol-table td {
  padding: 12px 16px;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sol-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.sol-table tr:last-child td {
  border-bottom: none;
}

/* ---- Solution CTA ---- */
.sol-cta {
  background: linear-gradient(135deg, rgba(21,101,192,0.2) 0%, rgba(10,25,41,0.4) 100%);
  border: 1px solid rgba(25,118,210,0.3);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}

.sol-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  color: #fff !important;
  margin-bottom: 16px !important;
  border: none !important;
  display: block !important;
  padding: 0 !important;
}

.sol-cta p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .solution-hero {
    min-height: 360px;
    padding: 100px 0 40px;
  }

  .solution-hero-content h1 {
    font-size: 1.75rem;
  }

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

  .sol-cta {
    padding: 32px 24px;
  }

  .sol-table {
    font-size: 0.8rem;
  }

  .sol-table th,
  .sol-table td {
    padding: 10px 12px;
  }
}
