/* =========================================================
   Cloud Security Pros — Solutions Page Styles
   ========================================================= */

section h1, section h2, section h3 {
  color: rgb(234, 235, 239);
}

/* HERO */
.sol-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.sol-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.sol-hero-line1 {
  display: block;
  color: #3b82f6;
}

.sol-hero-line2 {
  display: block;
  color: rgb(234, 235, 239);
}

.sol-hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* SOLUTION NAV BAR */
.sol-nav-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sol-nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.sol-nav-link:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

/* SECTION */
.sol-section {
  padding: 5rem 2rem;
}

.sol-section--dark {
  background: rgba(255,255,255,0.02);
}

.sol-section-inner {
  max-width: 820px;
  margin: 0 auto;
}

.sol-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.sol-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: rgb(234, 235, 239);
}

.sol-intro {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.sol-intro--accent {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgb(234, 235, 239);
  margin-bottom: 2.5rem;
}

/* PHASES / STEPS */
.sol-phases {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sol-phase {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.sol-phase:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.sol-phase-num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3b82f6;
  padding: 0.35rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.sol-phase-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgb(234, 235, 239);
  margin-bottom: 0.6rem;
}

.sol-phase-content p {
  font-size: 0.975rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* COVERS LIST */
.sol-covers {
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 10px;
}

.sol-covers h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1.25rem;
}

.sol-covers ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.6rem 1.5rem;
}

.sol-covers ul li {
  font-size: 0.95rem;
  color: #cbd5e1;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.sol-covers ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 0.8rem;
}

/* WHO / WHY */
.sol-who,
.sol-why {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border-left: 3px solid #3b82f6;
  background: rgba(255,255,255,0.02);
  border-radius: 0 8px 8px 0;
}

.sol-who h3,
.sol-why h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(234, 235, 239);
  margin-bottom: 0.5rem;
}

.sol-who p,
.sol-why p {
  font-size: 0.975rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

.sol-steps-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(234, 235, 239);
  margin-bottom: 0.5rem;
}

/* DIVIDER */
.sol-divider {
  width: 48px;
  height: 3px;
  background: #3b82f6;
  margin: 0 auto;
  border-radius: 2px;
}

/* CTA */
.sol-cta-wrap {
  padding: 5rem 2rem;
  text-align: center;
  background: rgba(59, 130, 246, 0.05);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.sol-cta {
  max-width: 640px;
  margin: 0 auto;
}

.sol-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: rgb(234, 235, 239);
  margin-bottom: 1rem;
}

.sol-cta p {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sol-cta-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: #3b82f6;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}

.sol-cta-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* STATS BAR */
.sol-stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(59, 130, 246, 0.04);
}

.sol-stat {
  flex: 1;
  min-width: 200px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sol-stat:last-child {
  border-right: none;
}

.sol-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.sol-stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.45;
  max-width: 220px;
  margin: 0 auto;
}

.sol-stat-source {
  font-size: 0.7rem;
  color: #475569;
  margin-top: 0.35rem;
  font-style: italic;
}

/* PROBLEMS SECTION */
.sol-section--problems {
  background: rgba(255,255,255,0.02);
}

.sol-problems-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: rgb(234, 235, 239);
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
}

.sol-problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.sol-problem-card {
  padding: 1.75rem;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 10px;
}

.sol-problem-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(234, 235, 239);
  margin-bottom: 0.6rem;
}

.sol-problem-card p {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* COMPARISON SECTION */
.sol-comparison-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: rgb(234, 235, 239);
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
}

.sol-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sol-comparison-col {
  padding: 2rem;
  border-radius: 10px;
}

.sol-comparison-col--bad {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.sol-comparison-col--good {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.sol-comparison-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.sol-comparison-col--bad .sol-comparison-label {
  color: #ef4444;
}

.sol-comparison-col--good .sol-comparison-label {
  color: #3b82f6;
}

.sol-comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sol-comparison-col li {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.5;
  padding-left: 1.4rem;
  position: relative;
}

.sol-comparison-col--bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 0.75rem;
  top: 0.1rem;
}

.sol-comparison-col--good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 0.8rem;
  top: 0.05rem;
}

/* Solution cards on list page */
.sol-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.sol-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.sol-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.04);
}

.sol-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(234, 235, 239);
  margin: 0;
}

.sol-card p {
  font-size: 0.975rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.sol-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .sol-phase {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .sol-nav-bar {
    flex-direction: column;
    align-items: center;
  }

  .sol-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-width: 50%;
  }

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

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