/* Homepage hero video and transparent pricing refinements. */

.hero {
  min-height: calc(112vh - var(--header-height));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px clamp(34px, 5.5vw, 88px) 270px;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: center;
  width: 100%;
}

.hero-main-grid .hero-content {
  width: 100%;
  max-width: 760px;
}

.hero-video {
  width: min(100%, 650px);
  justify-self: end;
  transform: translateY(-12px);
}

.hero-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 32px;
  background: rgba(3, 18, 38, 0.88);
  box-shadow:
    0 32px 80px rgba(3, 18, 38, 0.42),
    0 8px 24px rgba(3, 18, 38, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -70px 100px rgba(3, 18, 38, 0.12);
}

.hero-video-card video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--navy-3);
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  padding: 28px;
  text-align: center;
  color: #fff;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 18, 38, 0.18), rgba(3, 18, 38, 0.66)),
    radial-gradient(circle at 50% 32%, rgba(66, 199, 245, 0.22), transparent 36%);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hero-video-card.is-playing .hero-video-placeholder {
  opacity: 0;
  visibility: hidden;
}

.hero-video-play {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(21, 158, 232, 0.96), rgba(66, 199, 245, 0.96));
  box-shadow:
    0 16px 38px rgba(3, 18, 38, 0.34),
    0 0 0 9px rgba(255, 255, 255, 0.08);
}

.hero-video-play svg {
  width: 29px;
  height: 29px;
  margin-left: 4px;
  fill: #fff;
}

.hero-video-placeholder strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 18px rgba(3, 18, 38, 0.5);
}

.hero-video-placeholder > span:last-child {
  max-width: 350px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-services-cta {
  margin-top: 44px;
}

.pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(66, 199, 245, 0.18), transparent 30%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}

.pricing::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -190px;
  bottom: -240px;
  border-radius: 999px;
  border: 70px solid rgba(21, 158, 232, 0.06);
  pointer-events: none;
}

.pricing-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: center;
}

.pricing-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.pricing-lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.pricing-trust-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-trust-list li {
  position: relative;
  padding-left: 34px;
  color: #173557;
  font-weight: 750;
  line-height: 1.45;
}

.pricing-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.price-breakdown {
  padding: 34px;
  border: 1px solid rgba(7, 24, 52, 0.09);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(4, 26, 55, 0.15);
}

.price-line {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(7, 24, 52, 0.09);
}

.price-line:first-child {
  padding-top: 0;
}

.price-amount {
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-detail h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.17rem;
  line-height: 1.25;
}

.price-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.price-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.price-total-copy span,
.price-total-copy strong {
  display: block;
}

.price-total-copy span {
  color: #8edcff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-total-copy strong {
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.price-total-amount {
  flex: 0 0 auto;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .hero {
    min-height: calc(118vh - var(--header-height));
  }

  .hero-inner {
    padding: 58px 44px 260px;
  }

  .hero-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
    gap: 30px;
  }

  .hero-video {
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 76px 28px 238px;
  }

  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-main-grid .hero-content {
    max-width: 700px;
  }

  .hero-video {
    width: min(100%, 720px);
    justify-self: center;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 580px) {
  .hero-inner {
    padding: 66px 20px 224px;
  }

  .hero-main-grid {
    gap: 30px;
  }

  .hero-video-card {
    aspect-ratio: 16 / 10.5;
    border-radius: 22px;
  }

  .hero-video-placeholder {
    padding: 20px 16px;
  }

  .hero-video-play {
    width: 58px;
    height: 58px;
  }

  .hero-video-play svg {
    width: 24px;
    height: 24px;
  }

  .hero-video-placeholder > span:last-child {
    font-size: 0.82rem;
  }

  .hero-services-cta {
    margin-top: 32px;
  }

  .price-breakdown {
    padding: 24px 20px;
  }

  .price-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-total {
    align-items: flex-start;
    flex-direction: column;
  }
}
