/* Figma Make shell: Header + Hero only. Pricing and the remaining CMS sections stay untouched. */

.site-header {
  min-height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(235, 247, 255, .14));
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  backdrop-filter: blur(14px) saturate(210%) contrast(116%);
  -webkit-backdrop-filter: blur(14px) saturate(210%) contrast(116%);
}

.site-header__glass {
  background:
    radial-gradient(700px 420px at 20% 0, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(0, 153, 255, .064), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 46%, rgba(0, 0, 0, .032));
}

.site-header__inner,
.hero__inner {
  width: min(1372px, calc(100% - 48px));
}

.site-header__inner {
  min-height: 79px;
}

.main-nav {
  gap: clamp(18px, 2vw, 32px);
}

.main-nav__link {
  color: #292b37;
  font-weight: 600;
}

.login-button {
  width: 96px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0099ff 0%, #0077cc 100%);
  box-shadow: 0 8px 18px rgba(0, 153, 255, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.login-button:hover,
.login-button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #0099ff 0%, #0077cc 100%);
  box-shadow: 0 12px 24px rgba(0, 153, 255, .3);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.hero {
  min-height: 0;
  background:
    radial-gradient(520px 260px at 88% 0, rgba(0, 153, 255, .055), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}

.hero__grid {
  display: none;
}

.hero__inner {
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, .95fr);
  gap: 16px;
  min-height: 0;
  padding: 40px 0;
}

.hero-slider {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background:
    linear-gradient(128deg, #bd5609 0%, #9b6150 20%, #087fbd 58%, #0099ff 72%, #243a55 100%);
  box-shadow: 0 18px 42px rgba(29, 41, 61, .16);
  overflow: hidden;
  transform: none;
}

.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slider::before {
  z-index: 0;
  opacity: .34;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .32) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 68%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 68%, transparent);
}

.hero-slider::after {
  z-index: 0;
  background:
    radial-gradient(420px 250px at 78% 18%, rgba(0, 190, 255, .25), transparent 74%),
    linear-gradient(180deg, transparent 58%, rgba(12, 28, 51, .22));
}

.hero-slider__viewport {
  min-height: 380px;
  border-radius: inherit;
  overflow: hidden;
}

.hero-card {
  z-index: 1;
  min-height: 380px;
  padding: 48px 56px 102px;
  color: #fff;
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  background-image: linear-gradient(90deg, transparent, rgba(15, 35, 61, .22)), var(--hero-slide-image);
  background-position: center, center right;
  background-repeat: no-repeat;
  background-size: cover, contain;
  opacity: 0;
  pointer-events: none;
}

.hero-card.has-media::before {
  opacity: .34;
}

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

.hero .pill {
  height: 32px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .48);
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card__title {
  max-width: 720px;
  margin: 24px 0 14px;
  color: #fff;
  font-size: clamp(30px, 2.45vw, 38px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.025em;
  text-shadow: 0 2px 18px rgba(15, 35, 61, .18);
}

.hero-card p,
.hero-card__description {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.7;
}

.hero-card__actions {
  align-items: center;
  gap: 18px;
}

.hero .button {
  width: auto;
  min-width: 168px;
  height: 48px;
  border-radius: 13px;
  color: #fff;
}

.hero .button--primary {
  border: 1px solid rgba(255, 255, 255, .54);
  color: #fff;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px rgba(12, 28, 51, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero .button--primary:hover,
.hero .button--primary:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .27);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 30px rgba(12, 28, 51, .2);
}

.hero .button--soft {
  min-width: 0;
  padding-right: 4px;
  padding-left: 4px;
  color: rgba(255, 255, 255, .82);
  background: transparent;
}

.hero .button--soft::after {
  content: "\2192";
  margin-left: 6px;
  transition: transform .2s ease;
}

.hero .button--soft:hover,
.hero .button--soft:focus-visible {
  color: #fff;
  background: transparent;
}

.hero .button--soft:hover::after,
.hero .button--soft:focus-visible::after {
  transform: translateX(3px);
}

.hero-slider__controls {
  position: absolute;
  z-index: 5;
  bottom: 28px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .slider-button {
  position: static;
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .27);
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero .slider-button:hover,
.hero .slider-button:focus-visible {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

.hero .slider-button:disabled {
  cursor: default;
  opacity: .45;
  transform: none;
}

.hero .slider-button img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-slider__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  transition: width .24s ease, background .24s ease, transform .2s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot:focus-visible {
  background: rgba(255, 255, 255, .72);
  transform: scale(1.1);
}

.hero-slider__dot.is-active {
  width: 24px;
  background: #fff;
}

.hero-slider__status {
  position: absolute;
  z-index: 5;
  right: 32px;
  bottom: 34px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .05em;
}

.hex-showcase {
  align-self: stretch;
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  height: 380px;
  aspect-ratio: auto;
  transform: none;
  isolation: isolate;
}

.hex-showcase::before,
.hex-showcase__mesh {
  display: none;
}

.hero .hex-card {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  aspect-ratio: auto;
  background: transparent;
  filter: none;
  animation: none;
  transform: none;
  will-change: auto;
}

.hero .hex-card:hover {
  z-index: 2;
  transform: translateY(-2px);
}

.hero .hex-card__body {
  position: absolute;
  inset: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(0, 153, 255, .16);
  border-radius: 12px;
  color: #292b37;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 3px 12px rgba(0, 153, 255, .065);
  transform: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease;
}

.hero .hex-card:hover .hex-card__body,
.hero .hex-card__body:focus-visible {
  border-color: rgba(0, 153, 255, .42);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 153, 255, .13);
  transform: none;
}

.hex-card__visual {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 153, 255, .17);
  border-radius: 10px;
  background: rgba(0, 153, 255, .065);
  overflow: hidden;
}

.hero .hex-card__frame {
  position: absolute;
  inset: 2px;
  width: 30px;
  height: 30px;
  opacity: .2;
  object-fit: contain;
}

.hero .hex-card__icon {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero .hex-card small,
.hero .hex-card--two-line small {
  width: auto;
  margin: 0;
  color: #4a5565;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-align: left;
}

@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }

  .hex-showcase {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 64px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    min-height: 64px;
  }

  .site-header__inner {
    justify-content: flex-start;
    min-height: 64px;
  }

  .logo {
    width: 146px;
    height: 42px;
  }

  .nav-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .login-button {
    display: inline-flex;
    flex: 0 0 72px;
    width: 72px;
    height: 36px;
    margin-left: 8px;
    border-radius: 10px;
    font-size: 13px;
  }

  .main-nav {
    top: 72px;
    max-height: calc(100dvh - 92px);
  }

  .main-nav__submenu a span {
    display: block;
  }

  .main-nav__submenu a span:first-child {
    color: #292b37;
    font-weight: 700;
  }

  .main-nav__submenu a span + span {
    display: -webkit-box;
    margin-top: 4px;
    color: #6a7282;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .hero__inner {
    width: min(calc(100% - 28px), 1372px);
  }

  .hero__inner {
    padding: 24px 0 38px;
  }

  .hero-slider,
  .hero-slider__viewport,
  .hero-card {
    min-height: 376px;
  }

  .hero-slider {
    border-radius: 19px;
  }

  .hero-card {
    padding: 27px 24px 94px;
  }

  .hero .pill {
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
  }

  .hero-card__title {
    margin-top: 20px;
    font-size: 27px;
    line-height: 1.22;
  }

  .hero-card p,
  .hero-card__description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-card__actions {
    align-items: flex-start;
    gap: 2px;
  }

  .hero .button {
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero .button--primary {
    min-width: 150px;
  }

  .hero .button--soft {
    height: 38px;
    padding: 0 4px;
  }

  .hero-slider__controls {
    bottom: 22px;
    left: 24px;
    gap: 9px;
  }

  .hero .slider-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
  }

  .hero-slider__status {
    right: 22px;
    bottom: 28px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .logo {
    width: 132px;
  }

  .nav-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .login-button {
    flex-basis: 62px;
    width: 62px;
    height: 34px;
  }

  .hero-card__title {
    font-size: 25px;
  }

  .hero-card::before {
    width: 64%;
    opacity: .2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__dot,
  .hero .slider-button,
  .hero .hex-card,
  .hero .hex-card__body {
    transition: none;
  }
}
