﻿#hero {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.82) 34%, rgba(17, 17, 17, 0.35) 58%, rgba(17, 17, 17, 0.08) 100%),
    url("../images/hero-desktop.png") center top / cover no-repeat !important;
}

#hero,
#hero * {
  box-sizing: border-box;
}

#lovable-badge {
  display: none !important;
}

#hero .bg-grid-dark,
#hero .particles-layer,
#hero .scan-line,
#hero .deco-corner-gold,
#hero .reveal-right {
  display: none !important;
}

#hero > .max-w-container {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

#hero > .max-w-container > .flex {
  width: 100%;
}

@media (min-width: 1024px) {
  #hero {
    min-height: 760px !important;
  }

  #hero > .max-w-container {
    padding-top: 120px !important;
    padding-bottom: 64px !important;
  }

  #hero > .max-w-container > .flex {
    display: block !important;
    max-width: 560px;
  }
}

@media (max-width: 1023px) {
  #hero {
    min-height: 680px !important;
    background-position: 68% top !important;
  }

  #hero > .max-w-container {
    padding-top: 72px !important;
    padding-bottom: 48px !important;
  }

  #hero > .max-w-container > .flex {
    display: block !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  #hero {
    min-height: auto !important;
    background-color: #121212 !important;
    background:
      linear-gradient(180deg, transparent 0%, transparent 78%, #121212 100%),
      url("../images/hero-mobile.png") center top / 100% auto no-repeat,
      #121212 !important;
  }

  #hero > .max-w-container {
    min-height: auto !important;
    display: block !important;
    align-items: flex-start !important;
    padding-top: calc((100vw * 0.897) - 18px) !important;
    padding-bottom: 48px !important;
  }

  #hero .h1-split {
    max-width: min(342px, calc(100vw - 48px)) !important;
    font-size: 26px !important;
    line-height: 1.12 !important;
  }

  #hero .h1-split br {
    display: block !important;
  }

  #hero .pb-10 {
    width: min(342px, calc(100vw - 48px));
    min-width: 0;
    max-width: min(342px, calc(100vw - 48px));
  }

  #hero .mt-8 {
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
  }

  #hero p {
    max-width: min(342px, calc(100vw - 48px)) !important;
  }

  #hero .mt-6 > span {
    display: flex !important;
    width: min(342px, calc(100vw - 48px));
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    letter-spacing: 0.04em;
    font-size: 9px !important;
    line-height: 1.4;
  }

  #hero a.btn-gradient {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.study-diagnosis-section .study-diagnosis-inner {
  max-width: 1120px !important;
  text-align: center;
}

.study-diagnosis-section .h2-global,
.study-diagnosis-section .body-text,
.study-diagnosis-section p {
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

.study-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 44px auto 40px;
  width: 100%;
}

.study-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.study-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.06) 0%, rgba(10, 10, 10, 0.22) 38%, rgba(10, 10, 10, 0.96) 100%),
    radial-gradient(circle at 50% 0%, rgba(212, 168, 67, 0.18), transparent 48%);
  pointer-events: none;
}

.study-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.68);
  transform: scale(1.02);
}

.study-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  text-align: center;
}

.study-card-kicker {
  align-self: center;
  margin-bottom: auto;
  border: 1px solid rgba(212, 168, 67, 0.38);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.38);
  color: #d4a843;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.study-card h3 {
  color: #f4f1ea;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.study-card p {
  color: rgba(244, 241, 234, 0.68);
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 0;
  text-align: center !important;
}

.method-werner-visual {
  position: relative;
  height: 580px;
  min-height: 0;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.24);
  border-radius: 8px;
  background: #0f0f0f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.method-werner-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 0%, rgba(17, 17, 17, 0.12) 45%, rgba(17, 17, 17, 0.78) 100%),
    radial-gradient(circle at 50% 16%, rgba(212, 168, 67, 0.18), transparent 48%);
  pointer-events: none;
}

.method-werner-visual::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.method-werner-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.04) brightness(0.9);
  transform: none;
}

.method-werner-visual .method-werner-caption {
  display: none !important;
}

section:has(.method-werner-visual) > .relative {
  padding-top: 72px !important;
  padding-bottom: 96px !important;
}

section:has(.method-werner-visual) {
  height: auto !important;
  min-height: 0 !important;
}

section:has(.method-werner-visual) .lg\:items-center {
  align-items: center !important;
}

section:has(.method-werner-visual) .order-last,
section:has(.method-werner-visual) h2,
section:has(.method-werner-visual) p {
  text-align: left !important;
}

section:has(.method-werner-visual) .particles-layer,
section:has(.method-werner-visual) .scan-line {
  max-height: 100%;
}

section:has(h2.h2-global):has(a[href="#grupo"]) > .relative.max-w-narrow {
  max-width: 860px !important;
}

section:has(h2.h2-global):has(a[href="#grupo"]) > .relative.max-w-narrow .body-text {
  max-width: 760px !important;
}

.platform-xray-grid {
  align-items: flex-start;
}

.platform-xray-copy {
  max-width: 560px;
}

.platform-xray-cards {
  display: grid;
  gap: 18px;
}

.platform-xray-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.24);
  border-radius: 8px;
  background: #141414;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  isolation: isolate;
}

.platform-xray-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.platform-xray-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.08) 0%, rgba(14, 14, 14, 0.52) 48%, rgba(14, 14, 14, 0.96) 100%),
    linear-gradient(90deg, rgba(14, 14, 14, 0.58) 0%, rgba(14, 14, 14, 0.12) 58%, rgba(14, 14, 14, 0.42) 100%);
}

.platform-xray-card-content {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
}

.platform-xray-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 168, 67, 0.38);
  border-radius: 4px;
  background: rgba(212, 168, 67, 0.16);
  color: #d4a843;
}

.platform-xray-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  color: #fcfbf8;
}

.platform-xray-card p {
  max-width: 420px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(252, 251, 248, 0.72);
}

.for-you-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 36px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 42px 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: rgba(252, 251, 248, 0.62);
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
}

.for-you-section > .relative {
  padding-bottom: 112px !important;
}

.for-you-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 42px;
}

.for-you-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.for-you-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 17, 17, 0.76);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

.for-you-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #d4a843;
}

.for-you-visual {
  position: relative;
  min-height: 560px;
  align-self: end;
  overflow: visible;
  padding: 0;
  margin-right: -42px;
}

.for-you-visual::before {
  content: "";
  position: absolute;
  inset: 12% -16% -18% 6%;
  z-index: 0;
  border-radius: 45%;
  background: rgba(212, 168, 67, 0.12);
  transform: rotate(-14deg);
}

.for-you-visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 558px;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(0.96) contrast(1.02);
}

.group-events-section .bg-bg-surface > svg.text-accent,
.not-for-you-section .bg-bg-surface > svg.text-accent {
  display: block;
  margin-bottom: 18px !important;
}

.group-events-section .bg-bg-surface > svg.text-accent + .font-heading,
.not-for-you-section .bg-bg-surface > svg.text-accent + .font-heading {
  margin-top: 0 !important;
  line-height: 1.28;
}

.invite-split-copy {
  max-width: 590px;
}

.invite-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(320px, 48%);
  align-items: center;
  gap: 64px;
}

.invite-split-copy h2,
.invite-split-copy p {
  text-align: left !important;
}

.invite-split-copy .body-text {
  max-width: 560px;
}

.invite-split-cta {
  align-items: flex-start !important;
}

.invite-split-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 640px;
  margin-left: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.invite-split-visual::before {
  display: none;
}

.invite-split-visual::after {
  display: none;
}

.invite-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.progress-proof-card {
  width: min(760px, calc(100vw - 48px)) !important;
  max-width: min(760px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

section:has(.progress-proof-card) > .relative {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) {
  width: min(760px, calc(100vw - 48px)) !important;
  max-width: min(760px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.progress-proof-card > .flex {
  flex-wrap: nowrap;
  justify-content: center;
}

section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) > .flex {
  flex-wrap: nowrap;
  justify-content: center;
}

.progress-proof-card .text-gradient-gold {
  font-size: clamp(56px, 7vw, 96px) !important;
  white-space: nowrap;
}

section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) .text-gradient-gold {
  font-size: clamp(56px, 7vw, 96px) !important;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .progress-proof-card {
    width: min(342px, calc(100vw - 48px)) !important;
    max-width: min(342px, calc(100vw - 48px)) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .progress-proof-card > .flex {
    gap: 10px !important;
  }

  .progress-proof-card .text-gradient-gold {
    font-size: clamp(42px, 13vw, 56px) !important;
  }

  section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) {
    width: min(342px, calc(100vw - 48px)) !important;
    max-width: min(342px, calc(100vw - 48px)) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) > .flex {
    gap: 10px !important;
  }

  section:has(.text-gradient-gold) div:has(> .flex .text-gradient-gold):has(> p) .text-gradient-gold {
    font-size: clamp(42px, 13vw, 56px) !important;
  }
}

@media (max-width: 1180px) {
  .study-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .study-cards-grid {
    grid-template-columns: 1fr;
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
  }

  .study-card,
  .study-card-content {
    min-height: 300px;
  }
}

@media (max-width: 1023px) {
  .platform-xray-copy {
    max-width: 100%;
  }

  .for-you-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px 0;
  }

  .for-you-copy {
    padding-bottom: 0;
  }

  .for-you-visual {
    min-height: 360px;
    display: block;
    padding: 0;
    margin: 18px -24px 0;
    overflow: hidden;
  }

  .for-you-visual img {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
  }

  .invite-split-copy {
    max-width: 100%;
  }

  .invite-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .invite-split-visual {
    order: -1;
    width: 100%;
    max-width: 460px;
    height: 520px;
    margin: 0 auto;
  }

  .invite-split-cta {
    align-items: flex-start !important;
  }

  section:has(.method-werner-visual) {
    height: auto !important;
  }

  section:has(.method-werner-visual) > .relative {
    padding-bottom: 48px !important;
  }

  .method-werner-visual {
    height: 460px;
    min-height: 0;
    max-width: 420px;
    margin: 0 auto 32px;
  }

  .method-werner-visual img {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .study-diagnosis-section {
    overflow-x: hidden;
  }

  .study-diagnosis-section .study-diagnosis-inner {
    width: min(300px, calc(100vw - 64px));
    max-width: min(300px, calc(100vw - 64px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .study-diagnosis-section .h2-global {
    max-width: min(300px, calc(100vw - 64px)) !important;
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .study-diagnosis-section .body-text,
  .study-diagnosis-section p {
    max-width: min(300px, calc(100vw - 64px)) !important;
  }

  .study-cards-grid {
    width: min(300px, calc(100vw - 64px));
    max-width: min(300px, calc(100vw - 64px));
  }

  .study-card h3 {
    font-size: 22px;
  }

  .study-card p {
    max-width: 100% !important;
    font-size: 12px;
  }

  .method-werner-visual {
    height: 390px;
    max-width: min(342px, calc(100vw - 48px));
  }

  .method-werner-visual img {
    min-height: 0;
  }
}
