.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    radial-gradient(1100px 520px at 76% 14%, rgba(37, 99, 235, .22), transparent 62%),
    radial-gradient(900px 460px at 6% 90%, rgba(37, 99, 235, .14), transparent 64%),
    linear-gradient(180deg, #060d1b 0%, #04080f 72%);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background-image: radial-gradient(circle, rgba(96, 165, 250, .38) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
}

.hero-sub {
  margin-top: 22px;
  max-width: 380px;
  font-size: 16px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-media {
  perspective: 1000px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, .18),
    0 28px 70px rgba(2, 8, 23, .75),
    0 0 90px rgba(37, 99, 235, .22);
  transform: rotateY(-18deg) rotateX(3deg);
  transform-origin: left center;
}

.sol-screens {
  padding-block: 56px;
}

.screen-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.screen-tile {
  flex: 0 0 calc((100% - 90px) / 10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 6px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-1);
}

.screen-tile-mark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.screen-tile-logo {
  height: 26px;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  opacity: .92;
}

.screen-tile-name {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.sol-core {
  padding-block: 56px;
  background: var(--bg-1);
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.core-card {
  background: var(--surface);
}

.core-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 18px;
}

.core-icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.core-icon-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}

.core-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.core-card p {
  font-size: 14px;
  line-height: 1.65;
}

.core-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.sol-workflow {
  padding-block: 64px;
}

.sol-workflow .workflow {
  margin-top: 44px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sol-brands {
  padding-block: 56px;
  background: var(--bg-1);
}

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.brand-card {
  flex: 0 0 calc((100% - 72px) / 5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-card-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color .2s ease;
}

.brand-card:hover .brand-card-tile {
  border-color: var(--accent);
}

.brand-card-mark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}

.brand-card-url {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.brand-card-tile--reelz { background: linear-gradient(150deg, #3b0f14, #150507); }
.brand-card-tile--reelz .brand-card-mark { color: #f04452; }
.brand-card-tile--documentary { background: linear-gradient(150deg, #2a2114, #100c07); }
.brand-card-tile--dieu { background: linear-gradient(150deg, #10192e, #050810); }
.brand-card-tile--knekt { background: linear-gradient(150deg, #2a1810, #0f0805); }
.brand-card-tile--court { background: linear-gradient(150deg, #1c1c1f, #08080a); }

.brand-more {
  margin-top: 22px;
  text-align: center;
}

.brand-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.sol-why {
  padding-block: 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-item .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
  color: var(--accent);
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.section--light .why-item p {
  color: var(--light-muted);
}

.sol-cta {
  padding-block: 88px;
}

.brand-card-logo {
  height: 30px;
  width: auto;
  max-width: 72%;
  object-fit: contain;
}

.cta-banner--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  text-align: left;
  position: relative;
  padding-left: 56px;
}

.cta-banner--split::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 44px;
  bottom: 44px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.cta-banner--split h2 {
  margin-bottom: 8px;
}

.cta-banner--split p {
  margin-bottom: 0;
  max-width: 480px;
  margin-inline: 0;
}

.cta-banner-actions {
  display: flex;
  flex: none;
  gap: 14px;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 38px;
  }

  .screen-tile {
    flex-basis: calc((100% - 40px) / 5);
  }

  .core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-grid > .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .sol-workflow .workflow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 40px;
  }

  .brand-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-media img {
    transform: none;
  }

  .hero h1,
  .hero-sub {
    max-width: none;
  }

  .cta-banner--split {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cta-banner-actions {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .sol-screens,
  .sol-core,
  .sol-brands,
  .sol-why {
    padding-block: 48px;
  }

  .screen-tile {
    flex-basis: calc((100% - 20px) / 3);
    flex-grow: 1;
  }

  .core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-card {
    text-align: center;
  }

  .core-card .core-icon {
    margin-inline: auto;
  }

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

  .brand-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .cta-banner--split {
    padding: 36px 24px 36px 40px;
  }

  .cta-banner--split::before {
    left: 16px;
    top: 36px;
    bottom: 36px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }

  .screen-tile {
    flex-basis: calc((100% - 10px) / 2);
  }

  .cta-banner-actions {
    flex-direction: column;
  }

  .cta-banner-actions .btn {
    width: 100%;
  }
}
