@import './components/PerformanceHeroDashboard.css';

.sol-hero-grid {
  display: grid;
  gap: clamp(2rem, 3vw, 2.9rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.sol-hero-grid > :first-child {
  min-width: 0;
}

.sol-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sol-hero-lede {
  max-width: 39rem;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
  color: var(--sol-text-muted);
  margin: 0 0 1.75rem;
}

.sol-graph-card--hero {
  width: 100%;
  padding: 0;
  align-self: start;
  background:
    radial-gradient(circle at 16% 18%, rgba(56, 189, 248, 0.16), transparent 34%),
    radial-gradient(circle at 84% 80%, rgba(59, 130, 246, 0.14), transparent 40%),
    linear-gradient(180deg, #0d1526, #0b1220);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 80px rgba(2, 8, 23, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sol-graph-card--hero::before {
  background:
    radial-gradient(circle at 14% 24%, rgba(79, 195, 255, 0.12), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(59, 164, 255, 0.1), transparent 36%);
  opacity: 1;
}

@media (min-width: 980px) {
  #solutions-performance-hero-section .sol-container {
    width: min(1280px, calc(100% - 32px));
  }

  .sol-hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  }

  .sol-hero-grid > :first-child {
    max-width: 40rem;
  }

  .sol-graph-card--hero {
    max-width: 780px;
    justify-self: end;
  }
}

@media (max-width: 860px) {
  .sol-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sol-graph-card--hero {
    max-width: none;
  }
}
