/* Solutions page */

.solutions-page main {
  padding-bottom: 0;
}

/* Hero — deep blue grid banner */
.sol-hero {
  position: relative;
  overflow: hidden;
}

.sol-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 50% 100%, rgba(56, 189, 248, 0.38) 0%, transparent 58%),
    linear-gradient(165deg, #0b1523 0%, #12304a 48%, #1a4a6b 100%);
  z-index: 0;
}

.sol-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(148, 210, 255, 0.14) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 88%);
}

.sol-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  z-index: 0;
  pointer-events: none;
}

.sol-hero-glow--1 {
  width: 300px;
  height: 300px;
  top: 8%;
  left: 12%;
  background: rgba(59, 130, 246, 0.28);
}

.sol-hero-glow--2 {
  width: 260px;
  height: 260px;
  bottom: 0;
  right: 10%;
  background: rgba(34, 211, 238, 0.22);
}

.sol-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.sol-hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 2.35vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

@media (min-width: 768px) {
  .sol-hero-title {
    white-space: nowrap;
  }
}

.sol-hero-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: var(--font-size-lg);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.9);
}

/* One-stop cards */
.sol-suite {
  padding: 64px 0;
}

.sol-suite .section-header {
  margin-bottom: 40px;
}

.sol-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px 24px 56px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.sol-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.92;
  z-index: 0;
}

.sol-card > * {
  position: relative;
  z-index: 1;
}

.sol-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glass-shadow-hover);
}

.sol-card--blue {
  background: linear-gradient(160deg, #3b9eff 0%, #2563eb 100%);
}

.sol-card--navy {
  background: linear-gradient(160deg, #2d3a5c 0%, #1a1c2e 100%);
}

.sol-card--purple {
  background: linear-gradient(160deg, #a78bfa 0%, #7c3aed 100%);
}

.sol-card--slate {
  background: linear-gradient(160deg, #64748b 0%, #334155 100%);
}

.sol-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.sol-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}

.sol-card p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.65;
  opacity: 0.92;
  flex: 1;
}

.sol-card-num {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  opacity: 0.35;
  line-height: 1;
}

/* Scenarios 2x2 */
.sol-scenarios {
  padding: 64px 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.scenario-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.scenario-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(243, 239, 232, 0.9) 100%);
  display: grid;
  place-items: center;
}

.scenario-thumb i {
  font-size: 40px;
  color: var(--brand);
  opacity: 0.7;
}

.scenario-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
}

.scenario-card p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Highlight splits */
.sol-highlight {
  padding: 48px 0;
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}

.highlight-row--reverse .highlight-copy {
  order: 2;
}

.highlight-row--reverse .highlight-visual {
  order: 1;
}

.highlight-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.highlight-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: var(--font-size-base);
}

.highlight-visual {
  min-height: 240px;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
}

.chart-mock {
  width: 100%;
  max-width: 320px;
}

.api-mock {
  width: 100%;
  max-width: 340px;
}

/* CTA */
.sol-cta {
  padding: 48px 0 80px;
}

.sol-cta-banner {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.sol-cta-banner::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(59, 158, 255, 0.2);
  top: 20%;
  left: 15%;
  filter: blur(2px);
}

.sol-cta-banner::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 107, 0, 0.15);
  bottom: 20%;
  right: 18%;
  transform: rotate(12deg);
}

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

.sol-cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-bold);
}

.sol-cta-banner p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.sol-cta-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.sol-cta-deco--sphere {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  top: 24px;
  right: 12%;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.sol-cta-deco--cube {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  bottom: 28px;
  left: 10%;
}

@media (max-width: 1024px) {
  .sol-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .highlight-row,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .highlight-row--reverse .highlight-copy,
  .highlight-row--reverse .highlight-visual {
    order: unset;
  }

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