/* Landing Page V2: Hero Block */

.landing-page-v2-hero {
  position: relative;
  background-color: #FFFFFF;
  overflow: hidden;
  padding: 3rem 0;
}

.landing-page-v2-hero__rays {
  position: absolute;
  width: 1300px;
  height: 1300px;
  right: -220px;
  top: -160px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #E0F5F6 0deg 6deg, #FFFFFF 6deg 12deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
}

.landing-page-v2-hero__container {
  position: relative;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.landing-page-v2-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-page-v2-hero__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #022D33;
  margin: 0;
}

.landing-page-v2-hero__subtext {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1E4A50;
  max-width: 540px;
  margin: 20px 0 0;
}

.landing-page-v2-hero__subtext p {
  margin: 0 0 1em;
}

.landing-page-v2-hero__subtext p:last-child {
  margin-bottom: 0;
}

.landing-page-v2-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-page-v2-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.landing-page-v2-hero__cta--primary {
  background-color: #FB522C;
  color: #FFFFFF;
}

.landing-page-v2-hero__cta--primary:hover {
  background-color: #d9421f;
}

.landing-page-v2-hero__cta--secondary {
  background-color: #F6F6F6;
  color: #022D33;
}

.landing-page-v2-hero__cta--secondary:hover {
  background-color: #eaeaea;
}

/* Text rollover on hover — matches the site-wide .btn / webinar-hero pattern:
   the label swaps for a duplicate of itself (via data-content) sliding up. */
.landing-page-v2-hero__cta span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
}

.landing-page-v2-hero__cta span div {
  backface-visibility: hidden;
  transition: transform 0.44s cubic-bezier(0.165, 0.84, 0.44, 1) 50ms;
}

.landing-page-v2-hero__cta span div::after {
  content: attr(data-content);
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
}

.landing-page-v2-hero__cta:hover span div {
  transform: translateY(calc(-100% - 10px)) translateZ(0);
}

.landing-page-v2-hero__media {
  position: relative;
  width: 100%;
  height: 280px;
}

.landing-page-v2-hero__media-main {
  position: absolute;
  left: 0;
  top: 10px;
  width: 78%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(2, 45, 51, 0.2);
}

.landing-page-v2-hero__media-accent {
  position: absolute;
  height: auto;
  border-radius: 8px;
}

.landing-page-v2-hero__media-accent--1 {
  right: 4%;
  top: 0;
  width: 34%;
  max-width: 160px;
  transform: rotate(4deg);
  z-index: 2;
}

.landing-page-v2-hero__media-accent--2 {
  left: 2%;
  bottom: 0;
  width: 30%;
  max-width: 140px;
  transform: rotate(-8deg);
  z-index: 2;
}

/* md: 768px */
@media (min-width: 768px) {
  .landing-page-v2-hero {
    padding: 4rem 0;
  }

  .landing-page-v2-hero__heading {
    font-size: 48px;
  }

  .landing-page-v2-hero__subtext {
    font-size: 18px;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .landing-page-v2-hero {
    padding: 5rem 0;
  }

  .landing-page-v2-hero__container {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .landing-page-v2-hero__content {
    width: 54%;
    flex-shrink: 0;
  }

  .landing-page-v2-hero__heading {
    font-size: 60px;
  }

  .landing-page-v2-hero__media {
    flex-grow: 1;
    height: 480px;
  }

  .landing-page-v2-hero__media-main {
    top: 30px;
    width: 520px;
    max-width: none;
  }

  .landing-page-v2-hero__media-accent--1 {
    width: 190px;
    max-width: none;
    left: 340px;
    right: auto;
    top: 0;
  }

  .landing-page-v2-hero__media-accent--2 {
    width: 170px;
    max-width: none;
    left: -10px;
    bottom: 40px;
  }
}
