/*
 * Full-screen GSAP hero — dark theme, full-bleed background image, JEET KHEL branding.
 */

:root {
  --gh-bg-fallback: #08090d;
  --gh-circle-fill: rgba(255, 255, 255, 0.07);
  --gh-circle-border: rgba(255, 255, 255, 0.12);
  /* Shared with .gh-slide__word-left so pagination + product block share one column */
  --gh-left-col: clamp(10px, 8vw, 22vw);
  --gh-left-col-sm: clamp(8px, 3vw, 14px);
  --gh-left-col-width: min(42vw, 360px);
  --gh-text: #f8f9fc;
  --gh-muted: rgba(248, 249, 252, 0.68);
  --gh-subtle: rgba(248, 249, 252, 0.5);
  --gh-header-fg: #f0f2f8;
  --gh-footer-fg: rgba(240, 242, 248, 0.62);
  --gh-accent: #2dd4e8;
  --gh-cta-glow: rgba(45, 212, 232, 0.55);
  --gh-cta-glow-magenta: rgba(236, 72, 153, 0.45);
  --gh-font: "Montserrat", system-ui, sans-serif;
  --gh-slide-ease: power3.inOut;
  --gh-duration: 1.2s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body.gh-body {
  font-family: var(--gh-font);
  -webkit-font-smoothing: antialiased;
  background: var(--gh-bg-fallback);
  color: var(--gh-header-fg);
}

body.gh-body--dark {
  color: var(--gh-header-fg);
}

/* Full-viewport background image + dark scrim for readable light text */
.gh-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gh-page-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.gh-page-bg__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 12, 0.55) 0%, rgba(4, 6, 12, 0.35) 40%, rgba(4, 6, 12, 0.72) 100%),
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(6, 8, 16, 0.25) 0%, rgba(4, 6, 12, 0.65) 100%);
}

/* —— Shell —— */
.gh-app {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* —— Static chrome —— */
.gh-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) clamp(22px, 4vw, 48px);
  pointer-events: none;
}

.gh-header a {
  pointer-events: auto;
}

.gh-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.gh-logo__img {
  display: block;
  height: clamp(40px, 5vw, 64px);
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  object-position: left center;
}

/* CTAs — high-contrast gradient + glow (primary actions) */
@keyframes gh-cta-shine {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 4px 20px rgba(0, 0, 0, 0.35),
      0 0 28px var(--gh-cta-glow),
      0 0 48px var(--gh-cta-glow-magenta);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.28) inset,
      0 6px 28px rgba(0, 0, 0, 0.4),
      0 0 40px var(--gh-cta-glow),
      0 0 64px rgba(45, 212, 232, 0.35);
  }
}

/* Header — Join Now */
.gh-cta--join {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #22d3ee 0%, #2563eb 48%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 28px var(--gh-cta-glow),
    0 0 44px var(--gh-cta-glow-magenta);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  animation: gh-cta-shine 2.6s ease-in-out infinite;
}

.gh-cta--join:hover {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 36px var(--gh-cta-glow),
    0 0 56px rgba(236, 72, 153, 0.5);
}

.gh-cta--join:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gh-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(14px, 2.5vw, 22px) clamp(22px, 4vw, 48px);
  pointer-events: none;
}

.gh-footer__lang {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gh-footer-fg);
}

.gh-footer__lang a {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.2s ease;
}

.gh-footer__lang a:hover {
  color: #fff;
}

.gh-footer__disclaimer {
  margin: 0;
  flex: 1;
  max-width: min(720px, 62vw);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: none;
  text-align: right;
  color: rgba(240, 242, 248, 0.45);
}

@media (max-width: 720px) {
  .gh-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-footer__disclaimer {
    max-width: 100%;
    text-align: left;
  }
}

/* —— Stage —— */
.gh-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gh-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.gh-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* During GSAP transition both slides carry .is-animating so they stay visible above base .gh-slide hidden state */
.gh-slide.is-animating {
  z-index: 5;
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}

/*
 * Center disk — static decoration only (z-index below model). Do not animate
 * in GSAP (transform on the circle was stacking above the model during slides).
 */
.gh-slide__circle {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(72vmin, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: var(--gh-circle-fill);
  border: 1px solid var(--gh-circle-border);
  box-shadow:
    inset 0 0 80px rgba(45, 212, 232, 0.06),
    0 0 100px rgba(0, 0, 0, 0.35);
}

/* Vignette on dark BG — keep hero type legible (above circle, below type) */
.gh-slide__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 70% at 50% 42%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* z-index 2 — left word (behind model), closer to center + lighter weight */
.gh-slide__word-left {
  position: absolute;
  left: var(--gh-left-col);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 9rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gh-text);
  text-transform: lowercase;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.3);
  max-width: var(--gh-left-col-width);
  pointer-events: none;
}

/* z-index 3 — central figure (female model), anchored bottom-center */
.gh-slide__model {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 3;
  width: min(48vw, 520px);
  height: min(88vh, 760px);
  max-height: 88vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.gh-slide__model img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(88vh, 760px);
  /* Local PNG cutouts: show full figure; transparency preserved */
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* z-index 4 — right block: closer to center model + lighter title weight */
.gh-slide__word-right-wrap {
  position: absolute;
  right: clamp(10px, 8vw, 22vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  pointer-events: none;
  max-width: min(42vw, 360px);
}

.gh-slide__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: rgba(248, 249, 252, 0.72);
}

/* Label + rule group — desktop: stacked, right-aligned; mobile: row (line → label) */
.gh-slide__kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: min(42vw, 360px);
}

.gh-slide__rule {
  display: block;
  width: 100%;
  max-width: min(38vw, 320px);
  height: 1px;
  margin: 0.4rem 0 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

.gh-slide__word-right {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 9rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gh-text);
  text-transform: lowercase;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Global pagination — same left edge + width as .gh-slide__word-left */
.gh-global-nav {
  position: absolute;
  left: var(--gh-left-col);
  bottom: clamp(88px, 14vh, 150px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: end;
  pointer-events: none;
  width: var(--gh-left-col-width);
  max-width: var(--gh-left-col-width);
  box-sizing: border-box;
}

.gh-global-nav .gh-pagination {
  pointer-events: auto;
}

.gh-product-lines {
  margin: 0;
  pointer-events: none;
}

.gh-product-lines p {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(248, 249, 252, 0.88);
}

.gh-product-lines p:last-child {
  margin-bottom: 0;
}

.gh-p-cat {
  font-weight: 800;
  margin-right: 0.4em;
}

.gh-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  pointer-events: auto;
}

.gh-cta-block__rule {
  display: block;
  width: 100%;
  max-width: 112px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(45, 212, 232, 0.2), var(--gh-accent), rgba(236, 72, 153, 0.85));
  margin-bottom: 0.55rem;
}

/* Bottom — Get Started (primary conversion) */
.gh-cta--start {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 15px 34px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 38%, #22d3ee 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 6px 28px rgba(0, 0, 0, 0.45),
    0 0 32px var(--gh-cta-glow-magenta),
    0 0 52px var(--gh-cta-glow);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  animation: gh-cta-shine 2.6s ease-in-out infinite 0.4s;
}

.gh-cta--start:hover {
  filter: brightness(1.1) saturate(1.05);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 44px var(--gh-cta-glow-magenta),
    0 0 72px var(--gh-cta-glow);
}

.gh-cta--start:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gh-cta--join,
  .gh-cta--start {
    animation: none;
  }
}

/* Pagination — light on dark */
.gh-pagination {
  position: relative;
  display: flex;
  gap: clamp(0.65rem, 1.8vw, 1.1rem);
  align-items: baseline;
}

.gh-pagination button {
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(248, 249, 252, 0.38);
  text-transform: none;
  transition: color 0.2s ease;
}

.gh-pagination button.is-active {
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.gh-pagination__underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gh-accent), rgba(236, 72, 153, 0.95));
  border-radius: 1px;
  pointer-events: none;
  will-change: transform, width;
}

/* Arrows — bold angular chevron (square stroke caps) */
.gh-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  min-width: 48px;
  min-height: 48px;
  width: 56px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(248, 249, 252, 0.88);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.gh-arrow:hover {
  color: #fff;
  opacity: 1;
}

.gh-arrow:focus-visible {
  outline: 1px solid rgba(45, 212, 232, 0.6);
  outline-offset: 4px;
}

.gh-arrow--prev {
  left: clamp(8px, 1.5vw, 20px);
}

.gh-arrow--next {
  right: clamp(8px, 1.5vw, 20px);
}

.gh-arrow__svg {
  display: block;
  width: 44px;
  height: 44px;
}

@media (max-width: 900px) {
  .gh-slide__model {
    width: 100%;
    height: 100%;
    bottom: 90px;
  }

  .gh-global-nav {
    bottom: clamp(88px, 20vh, 130px);
  }
}

/*
 * Mobile (reference: centered stack — headline / headline / subline / pagination / details / CTA)
 */
@media (max-width: 640px) {
  html,
  body {
    height: 100%;
    min-height: 100dvh;
  }

  .gh-app {
    min-height: 100dvh;
    height: 100dvh;
    height: 100svh;
  }

  .gh-header {
    padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 12px
      max(14px, env(safe-area-inset-left));
  }

  .gh-logo__img {
    height: clamp(32px, 9vw, 48px);
    max-width: min(200px, 52vw);
  }

  .gh-cta--join {
    padding: 9px 18px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .gh-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 10px max(14px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .gh-footer__disclaimer {
    max-width: 100%;
    text-align: left;
    font-size: 0.5rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  .gh-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: max(72px, env(safe-area-inset-top)) 1.25rem max(200px, calc(env(safe-area-inset-bottom) + 168px));
  }

  .gh-slide__circle {
    width: min(92vmin, 480px);
    top: 50%;
    opacity: 0.95;
  }

  .gh-slide__model {
    width: 100%;
    height: 100%;
    max-height: 78vh;
    opacity: 0.92;
  }

  .gh-slide__model img {
    max-height: min(58vh, 480px);
  }

  .gh-slide__word-left {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 4;
    max-width: 100%;
    width: 100%;
    text-align: center;
    font-size: clamp(2.35rem, 13vw, 3.75rem);
    margin: 0;
    align-self: center;
  }

  .gh-slide__word-right-wrap {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    z-index: 4;
    max-width: 100%;
    width: 100%;
    align-items: center;
    align-self: center;
    margin-top: -0.12em;
    text-align: center;
  }

  .gh-slide__word-right {
    order: -1;
    font-size: clamp(2.35rem, 13vw, 3.75rem);
    text-align: center;
  }

  .gh-slide__kicker {
    order: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: min(22rem, calc(100vw - 2.5rem));
    margin-top: 0.65rem;
    gap: 0.65rem;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }

  .gh-slide__kicker .gh-slide__rule {
    order: 1;
    flex: 1 1 auto;
    min-width: 1.5rem;
    max-width: none;
    width: auto;
    margin: 0;
    height: 1px;
  }

  .gh-slide__kicker .gh-slide__label {
    order: 2;
    flex-shrink: 0;
    letter-spacing: 0.18em;
    font-size: 0.62rem;
  }

  .gh-global-nav {
    top: 25%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: max(72px, calc(env(safe-area-inset-bottom) + 52px));
    width: min(92vw, 360px);
    max-width: 92vw;
    align-items: center;
    text-align: center;
  }

  .gh-pagination {
    justify-content: center;
    width: 100%;
    padding-top: 14px;
    margin-bottom: 2px;
  }

  .gh-pagination button {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .gh-pagination button.is-active {
    font-size: 0.8rem;
    font-weight: 800;
  }

  .gh-pagination__underline {
    bottom: auto;
    top: 2px;
    height: 2px;
  }

  .gh-product-lines {
    width: 100%;
  }

  .gh-product-lines p {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .gh-cta-block {
    align-items: center;
    width: 100%;
  }

  .gh-cta-block__rule {
    max-width: min(240px, 70vw);
    margin: 0 auto;
  }

  .gh-cta--start {
    text-align: center;
    width: 100%;
    max-width: min(20rem, 88vw);
    min-width: 0;
    padding: 14px 24px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .gh-arrow {
    top: min(50%, calc(50% - env(safe-area-inset-top, 0px) * 0.15));
    min-width: 44px;
    min-height: 44px;
    width: 48px;
    height: 48px;
  }

  .gh-arrow--prev {
    left: max(6px, env(safe-area-inset-left));
  }

  .gh-arrow--next {
    right: max(6px, env(safe-area-inset-right));
  }

  .gh-arrow__svg {
    width: 40px;
    height: 40px;
  }
}
