/* ─── Button base (standalone – no Andes dependency) ─────────────────────── */

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  padding: 14px 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
}

.landing-btn--loud {
  background-color: #4850E5;
  color: #fff;
  border-radius: 12px;
}

.landing-btn--loud:hover {
  background-color: #3d44c9;
}

.landing-btn--quiet {
  background: transparent;
  color: #282834;
  padding: 8px 16px;
}

.landing-btn--quiet:hover {
  background-color: rgba(40, 40, 52, 0.08);
}

.landing-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.landing-icon-btn:hover {
  background-color: rgba(40, 40, 52, 0.08);
}

/* ─── HeroSection ────────────────────────────────────────────────────────── */

.new-landing-hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 344 / 696;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 8px;
  background-color: #3a2418;
}

/* Background images (responsive) */
.new-landing-hero-section__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.new-landing-hero-section__bg picture {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.new-landing-hero-section__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Navbar (hidden by default – shown on mobile) */
.new-landing-hero-section__navbar {
  display: none;
}

.new-landing-hero-section__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 12px;
}

.new-landing-hero-section__logo-icon {
  display: block;
  width: 32px;
  height: 32px;
}

.new-landing-hero-section__logo-wordmark {
  display: none;
  height: 22px;
  width: auto;
}

.new-landing-hero-section__nav {
  display: none;
}

.new-landing-hero-section__nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 8px;
}

.new-landing-hero-section__hamburger svg {
  width: 24px;
  height: 24px;
}

/* Pill */
.new-landing-hero-section__pill {
  display: inline-block;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
}

/* Content */
.new-landing-hero-section__content {
  padding-inline: 40px;
  padding-top: 60px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 3;
}

.new-landing-hero-section__title {
  width: 694px;
  max-width: 80%;
  font-weight: 700;
  font-size: 128px;
  font-style: normal;
  line-height: 100%;
  letter-spacing: -6.4px;
  color: #fff;
  text-align: left;
  font-feature-settings: 'salt' on, 'calt' off;
  margin: 0;
  text-wrap: balance;
}

.new-landing-hero-section__subtitle {
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: #fff;
  text-align: left;
  margin: 0;
}

/* CTA */
.new-landing-hero-section__cta-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 40px;
  position: relative;
  z-index: 5;
}

.new-landing-hero-section__cta-btn {
  width: auto;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 18px;
}

html.is-webview .new-landing-hero-section__nav-actions, html.is-webview .new-landing-hero-section__logo  {
  display: none;
}

.new-landing-hero-section__pricing {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0;
  color: #fff;
  text-align: left;
  margin: 0;
}

.new-landing-hero-section .landing-btn--quiet,
.new-landing-hero-section .landing-icon-btn {
  color: #fff;
}

/* ─── Tablet (768px – 1024px) ──────────────────────────────────────────── */

@media only screen and (min-width: 768px) {
  .new-landing-hero-section {
    aspect-ratio: unset;
    height: 634px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .new-landing-hero-section {
    min-height: calc(100dvh - 180px);
    height: auto;
    border-radius: 20px;
  }

  .new-landing-hero-section__content {
    position: absolute;
    top: 80px;
    left: 40px;
    padding-top: 0;
    padding-inline: 0;
    gap: 24px;
    width: 694px;
    max-width: calc(100% - 80px);
  }

  .new-landing-hero-section__title {
    font-size: 88px;
    letter-spacing: -4.4px;
    max-width: 694px;
    width: 100%;
  }

  .new-landing-hero-section__subtitle {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
  }

  .new-landing-hero-section__cta-area {
    position: absolute;
    bottom: 40px;
    left: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0;
  }

  .new-landing-hero-section__pricing {
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
  }
}

/* ─── Desktop 1366 (1025px – 1919px) ───────────────────────────────────── */

@media only screen and (min-width: 1025px) {
  .new-landing-hero-section {
    aspect-ratio: unset;
    height: auto;
    min-height: calc(100dvh - 180px);
  }

  .new-landing-hero-section__content {
    position: absolute;
    top: calc(50% - 60px);
    transform: translateY(-50%);
    left: 40px;
    width: 900px;
    padding-inline: 0;
    padding-top: 0;
  }

  .new-landing-hero-section__title {
    width: 100%;
    max-width: 900px;
  }

  .new-landing-hero-section__cta-area {
    position: absolute;
    bottom: 40px;
    left: 40px;
    padding: 0;
  }
}

/* ─── Desktop 1920+ ───────────────────────────────────────────────────── */

@media only screen and (min-width: 1920px) {
  .new-landing-hero-section {
    aspect-ratio: unset;
    height: auto;
    min-height: calc(100dvh - 180px);
  }
}

/* ─── Mobile (max-width: 767px) ───────────────────────────────────────── */

@media only screen and (max-width: 767px) {

  .new-landing-hero-section__nav-actions, .new-landing-hero-section__logo  {
    display: none;
  }  
  
  .new-landing-hero-section {
    aspect-ratio: unset;
    min-height: calc(100dvh - 140px);
    border-radius: 20px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .new-landing-hero-section__bg-img {
    object-position: center bottom;
  }

  .new-landing-hero-section__navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    z-index: 3;
  }

  .new-landing-hero-section__content {
    padding-inline: 24px;
    padding-top: 40px;
    margin-top: -300px;
    text-align: left;
    align-items: flex-start;
    gap: 12px;
  }

  .new-landing-hero-section__title {
    width: auto;
    max-width: 100%;
    font-size: 40px;
    letter-spacing: -1.6px;
    text-align: left;
    font-feature-settings: 'salt' 1, 'calt' 0;
  }

  .new-landing-hero-section__subtitle {
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-align: left;
  }

  .new-landing-hero-section__cta-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 0 24px;
    margin-bottom: 24px;
  }

  .new-landing-hero-section__cta-btn {
    width: 100%;
  }

  .new-landing-hero-section__pricing {
    text-align: center;
  }
}
