/* ==========================================================================
   PLEXUS AVIATION - Intro Animation Sequence Styles
   Full-viewport animated intro experience
   Version: 1.0.0
   ========================================================================== */

/* ==========================================================================
   1. INTRO WRAPPER - Root container for the entire intro experience
   ========================================================================== */

/* Responsive visibility helpers (intro scenes) */
.scene-living-room .mobile-only,
.scene-jet .mobile-only,
.scene-world-waiting .mobile-only { display: none; }
.scene-living-room .desktop-only,
.scene-jet .desktop-only,
.scene-world-waiting .desktop-only { display: block; }

.intro-wrapper {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro, 9999);
  overflow: hidden;
  background: #0A0A14;
  cursor: default;
}

.intro-wrapper.is-complete {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skip intro button */
.intro-skip {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10001;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.intro-skip:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}


/* ==========================================================================
   1b. INTRO NAVIGATION BAR - Logo, Back button, Hamburger
   ========================================================================== */

.intro-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  pointer-events: auto;
}

body.menu-open .intro-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.intro-nav {
  transition: opacity 0.4s ease;
}

.intro-nav__logo {
  flex-shrink: 0;
}

.intro-nav__logo a {
  display: block;
  line-height: 0;
}

.intro-nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* White logo no longer used — purple logo shown on all slides */
.intro-nav__logo-white {
  display: none !important;
}

.intro-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.intro-nav__back {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-intro-scene="4"] .intro-nav__back {
  display: inline-flex;
}

.intro-nav__back:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.intro-nav__back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.intro-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.intro-nav__hamburger:hover {
  opacity: 0.7;
}

.intro-nav__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
}


/* ==========================================================================
   2. INTRO SCENES - Individual screens in the animation sequence
   ========================================================================== */

.intro-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-scene.active {
  opacity: 1;
  visibility: visible;
}

/* Clickable scene cursor */
.intro-scene[data-clickable="true"] {
  cursor: pointer;
}

.intro-scene[data-clickable="true"].active {
  cursor: pointer;
}


/* ==========================================================================
   3. SCENE 1 - Living Room / Luxury Interior
   ========================================================================== */

.scene-living-room {
  background: #0A0A14;
}

/* Blurred background - hidden on desktop */
.scene-bg-blur {
  display: none;
}

.scene-living-room .scene-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* No overlay — matches Figma (image shown at full brightness) */
.scene-living-room .scene-overlay {
  display: none;
}

/* The chair element in the living room
   Chair.png is a full-frame 2880x1888 transparent PNG (2x of 1440x944 Figma canvas)
   with the chair already positioned in the correct spot.
   We overlay it at 100% so it matches the Figma layout exactly. */
.chair-element {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
}

.chair-element img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  display: block;
}


/* ==========================================================================
   4. SCENE 2 - Private Jet Interior
   ========================================================================== */

.scene-jet {
  background: #0A0A14;
}

.scene-jet .scene-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: left bottom;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.scene-jet.active .scene-bg {
  opacity: 1;
}

.scene-jet .scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 20, 0.08) 0%,
    rgba(10, 10, 20, 0.0) 40%,
    rgba(10, 10, 20, 0.15) 100%
  );
  z-index: 1;
}

/* Table with flowers and tea set in the jet
   JetTable.png is a full-frame 2880x1888 transparent PNG (2x of 1440x944 Figma canvas)
   with the table already positioned in the correct spot. */
.jet-table-element {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jet-table-element img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* Chair element as it appears in the jet context
   JetChair.png is a full-frame 2880x1888 transparent PNG (2x of 1440x944 Figma canvas)
   with the jet chair already positioned in the correct spot.
   We overlay it at 100% so it matches the Figma layout exactly. */
.jet-chair-element {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
}

.jet-chair-element img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* Jet window light effect */
.scene-jet .window-glow {
  position: absolute;
  width: 120px;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease 0.5s;
}

.scene-jet.active .window-glow {
  opacity: 1;
}


/* ==========================================================================
   5. TAGLINE - "your flight .... your home"
   ========================================================================== */

.tagline {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.tagline__text {
  font-family: 'Gotham Rounded', 'Quicksand', sans-serif;
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 600;
  color: #6B2FA0;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.tagline.is-visible .tagline__text {
  opacity: 1;
  transform: translateY(0);
}

/* Tagline dots animation */
.tagline__dots {
  display: inline-block;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.tagline.is-visible .tagline__dots {
  opacity: 1;
}

/* Tagline in white variant (for dark scenes) */
.tagline--white .tagline__text {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Tagline split animation - each word animates separately */
.tagline__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tagline.is-visible .tagline__word:nth-child(1) { transition-delay: 0.1s; }
.tagline.is-visible .tagline__word:nth-child(2) { transition-delay: 0.25s; }
.tagline.is-visible .tagline__word:nth-child(3) { transition-delay: 0.4s; }
.tagline.is-visible .tagline__word:nth-child(4) { transition-delay: 0.55s; }
.tagline.is-visible .tagline__word:nth-child(5) { transition-delay: 0.7s; }

.tagline.is-visible .tagline__word {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   6. CLICK PROMPT - "Click anywhere to continue" indicator
   ========================================================================== */

/* First slide tagline visible instantly — no animation */
#tagline-living-room .tagline__word {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

/* Hide tagline on jet scene (2nd slide) */
#tagline-jet {
  display: none;
}

.click-prompt {
  display: none;
}

.click-prompt.is-visible {
  opacity: 1;
  animation: click-prompt-pulse 2.5s ease-in-out infinite;
}

.click-prompt__icon {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.click-prompt__icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: click-dot-pulse 2s ease-in-out infinite;
}

.click-prompt__text {
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes click-prompt-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes click-dot-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}


/* ==========================================================================
   7. SCENE 3 - "The World is Waiting" / Landmarks + Cloud Animation
   ========================================================================== */

.scene-world-waiting {
  background: #4A90D9;
}

/* Blue sky photographic background */
.scene-world-waiting .world-waiting-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
}

.scene-world-waiting .world-waiting-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-world-waiting.active .world-waiting-sky {
  opacity: 1;
}

.scene-world-waiting .scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.0) 40%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 1;
}

/* World landmarks (transparent PNG overlay) */
.world-landmarks {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.world-landmarks img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* Cloud layers — PNG images animated by GSAP */
.world-clouds {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  overflow: hidden;
}

.world-clouds img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Back cloud layer — white fluffy clouds, slower drift */
.world-clouds--back {
  z-index: 1;
}

/* Front cloud layer — watercolor cloud blobs, faster drift */
.world-clouds--front {
  z-index: 4;
}

/* Title content */
.world-waiting-content {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  width: 95%;
  max-width: 1100px;
  pointer-events: none;
}

.world-waiting-title {
  font-family: 'Gotham Rounded', 'Quicksand', sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 4.125rem);
  font-weight: 700;
  color: #6B2FA0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  margin: 0;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
}


/* ==========================================================================
   8. SCENE 3 - Globe Image Map / Continent Selection
   ========================================================================== */

/* Scene background — deep space matching Figma */
.scene-map {
  background:
    radial-gradient(ellipse at 25% 65%, rgba(60, 15, 90, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(15, 30, 100, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at center, #0d0b1e 0%, #070515 55%, #020108 100%);
}

/* Globe container — full viewport, centered */
.world-map-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Static glow behind globe — never changes on hover */
.world-map-container::before {
  content: '';
  position: absolute;
  width: 98.1vh;
  height: 98.1vh;
  max-width: 983px;
  max-height: 983px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 112, 155, 0.5) 0%, rgba(48, 112, 155, 0.3) 40%, rgba(48, 112, 155, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.scene-map.active .world-map-container {
  opacity: 1;
}

/* ── Globe images ─────────────────────────────────────────────── */

/* All globe images stack on top of each other */
.globe-img {
  position: absolute;
  width: auto;
  height: 115.2vh;
  max-height: 1126px;
  max-width: 90vw;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  /* Glow moved to .world-map-container to prevent doubling */
}

.globe-img--visible {
  opacity: 1;
}

/* Brief bright flash on click */
.globe-img--flash {
  filter: brightness(1.4);
  transition: filter 0.15s ease;
}

/* ── Hotspot layer (single transparent div — no per-button events) ── */

.globe-hotspots {
  position: absolute;
  /* Same size & position as .globe-img */
  width: auto;
  height: 115.2vh;
  max-height: 1126px;
  max-width: 90vw;
  aspect-ratio: 1200 / 1183;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  cursor: grab;
}

/* Landscape: constrain globe so it doesn't touch top/bottom edges */
@media (orientation: landscape) and (max-height: 900px) {
  .globe-img {
    height: 92vh !important;
    max-height: none !important;
  }
  .globe-hotspots {
    height: 92vh !important;
    max-height: none !important;
  }
  .world-map-container::before {
    width: 78vh !important;
    height: 78vh !important;
  }
}

/* ── Continent name labels (pointer-events: none — purely visual) ── */

.globe-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: 'Gotham Rounded', 'Quicksand', sans-serif;
  font-size: 0.8125rem;         /* 13px */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 24px rgba(200,80,255,0.9);
  pointer-events: none;
  transition: color 0.2s ease;
}

.globe-label--visible {
  color: #ffffff;
}

/* ── Bottom prompt ────────────────────────────────────────────── */
.globe-prompt {
  display: none;
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scene-map.active .globe-prompt {
  animation: globe-prompt-in 1s ease 0.8s both;
}

@keyframes globe-prompt-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);   }
}


/* ==========================================================================
   8. SCENE 4 - Explore Overlay / Final Scene before main site
   ========================================================================== */

.explore-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.explore-overlay .scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.explore-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.explore-bg-img--mobile {
  display: none;
}

.explore-mobile-title {
  display: none;
}

/* No overlay — matches Figma (image shown at full brightness) */
.explore-overlay .gradient-overlay {
  display: none;
}

.explore-overlay__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Explore text block — centered, upper area matching Figma */
.explore-overlay__text {
  position: absolute;
  z-index: 2;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* Main explore title */
.explore-title {
  font-family: 'Gotham Rounded', 'Quicksand', sans-serif;
  font-weight: 500;
  color: #FFFFFF;
  text-align: left;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* "Explore" — 74px at 1440px = 5.14vw */
.explore-title--medium {
  font-size: clamp(2.5rem, 5.14vw, 74px);
  font-weight: 500;
}

/* Continent name — 154px at 1440px = 10.69vw */
.explore-title--large {
  font-size: clamp(4rem, 10.69vw, 154px);
  font-weight: 700;
  margin-top: -0.15em;
}

.explore-overlay.active .explore-title {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger title lines */
.explore-title:nth-child(2) {
  transition-delay: 0.15s;
}

.explore-title:nth-child(3) {
  transition-delay: 0.3s;
}

/* Explore subtitle */
.explore-subtitle {
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1vw + 0.5rem, 1.125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto var(--space-lg, 2rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.explore-overlay.active .explore-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Explore CTA button */
.explore-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #6B2FA0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s,
              transform 0.8s ease 0.6s,
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.explore-overlay.active .explore-cta {
  opacity: 1;
  transform: translateY(0);
}

.explore-cta:hover {
  background: #8B4FC0;
  box-shadow: 0 8px 30px rgba(107, 47, 160, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.explore-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.explore-cta:hover svg {
  transform: translateX(4px);
}


/* ==========================================================================
   9. SIDE DOTS - Vertical dot navigation (scene indicators)
   ========================================================================== */

.side-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0.625rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.side-dots.is-visible {
  opacity: 1;
}

.side-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.side-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: #fff;
  transform: scale(1.2);
}

.side-dot.is-active {
  width: 12px;
  height: 12px;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 0 10px rgba(255, 255, 255, 0.5);
  transform: scale(1);
}

/* Active dot connecting line */
.side-dot.is-active::before {
  display: none;
}

/* Tooltip for side dots */
.side-dot__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 10, 20, 0.8);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-50%) translateX(5px);
}

.side-dot:hover .side-dot__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ==========================================================================
   10. TRANSITIONS & ANIMATIONS
   ========================================================================== */

/* Fade in/out between scenes */
@keyframes scene-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scene-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Zoom-in reveal for backgrounds */
@keyframes scene-zoom-in {
  from {
    transform: scale(1.1);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Pan across effect (for cinematic feel) */
@keyframes scene-pan {
  from {
    transform: scale(1.15) translateX(-3%);
  }
  to {
    transform: scale(1.05) translateX(3%);
  }
}

/* Float animation for elements */
@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Particle/star twinkle for map scene */
@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
}

/* Globe hotspot pulse paused when reduced-motion is requested */
@media (prefers-reduced-motion: reduce) {
  .globe-hotspot__pulse { animation: none; opacity: 0; }
}


/* ==========================================================================
   11. INTRO PROGRESS BAR
   ========================================================================== */

.intro-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.intro-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6B2FA0, #8B4FC0);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   12. PLEXUS LOGO ANIMATION (centered brand reveal)
   ========================================================================== */

.scene-logo {
  background: #0A0A14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-reveal {
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scene-logo.active .logo-reveal {
  opacity: 1;
  transform: scale(1);
}

.logo-reveal__image {
  width: clamp(120px, 20vw, 240px);
  height: auto;
  margin: 0 auto 1.5rem;
}

.logo-reveal__tagline {
  font-family: 'Baloo Bhaijaan 2', 'Inter', sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.scene-logo.active .logo-reveal__tagline {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   13. RESPONSIVE ADJUSTMENTS FOR INTRO
   ========================================================================== */

/* Laptop */
@media (max-width: 1439px) {
  .side-dots {
    right: 1.5rem;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
  }

  .side-dot {
    width: 9px;
    height: 9px;
  }

  .side-dot.is-active {
    width: 11px;
    height: 11px;
  }

  .intro-nav {
    padding: 1rem 1.5rem;
  }

  .explore-title--large {
    font-size: clamp(2rem, 5vw + 0.5rem, 4rem);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .side-dots {
    right: 1rem;
    gap: 0.625rem;
    padding: 0.625rem 0.5rem;
  }

  .side-dot {
    width: 8px;
    height: 8px;
  }

  .side-dot.is-active {
    width: 10px;
    height: 10px;
  }

  .side-dot__tooltip {
    display: none;
  }

  .intro-nav {
    padding: 0.75rem 1rem;
  }

  .intro-nav__logo img {
    height: 26px;
  }

  .chair-element,
  .jet-chair-element {
    /* Full-frame overlay scales naturally */
  }

  .tagline__text {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
  }

  .globe-hotspot__label {
    font-size: 0.625rem;
  }

  .intro-skip {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Mobile / Tablet portrait */
@media (max-width: 1024px) and (orientation: portrait) {
  .side-dots {
    right: 0.75rem;
    gap: 0.5rem;
    padding: 0.5rem 0.4rem;
  }

  .side-dot {
    width: 7px;
    height: 7px;
  }

  .side-dot.is-active {
    width: 9px;
    height: 9px;
  }

  .intro-nav {
    padding: 0.625rem 0.75rem;
  }

  .intro-nav__logo img {
    height: 22px;
  }

  .intro-nav__back span {
    display: none;
  }

  .intro-nav__back {
    padding: 0.4rem 0.6rem;
  }

  .chair-element,
  .jet-chair-element {
    /* Full-frame overlay scales naturally */
  }

  .tagline {
    bottom: 12%;
    width: 90%;
    white-space: normal;
  }

  .tagline__text {
    font-size: clamp(0.9375rem, 3vw, 1.5rem);
  }

  .click-prompt {
    bottom: 5%;
  }

  .click-prompt__text {
    font-size: 0.625rem;
  }

  .explore-title--large {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }

  .explore-title--medium {
    font-size: clamp(1.125rem, 4vw, 1.75rem);
  }

  .explore-subtitle {
    font-size: 0.875rem;
  }

  .explore-cta {
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
  }

  .globe-hotspot__label {
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
  }

  .intro-skip {
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
  }

  /* Globe on mobile (was 141vh, decreased 10%) */
  .globe-img {
    height: 126.9vh !important;
    max-height: 1238px !important;
    max-width: 99vw !important;
  }

  /* Slide 1: swap desktop/mobile images */
  .scene-living-room .desktop-only { display: none !important; }
  .scene-living-room .mobile-only  { display: block !important; }

  /* Slide 1: hide blur — portrait image fills viewport */
  .scene-living-room .scene-bg-blur {
    display: none;
  }

  /* Slide 1: portrait background covers full viewport */
  .scene-living-room .scene-bg.mobile-only {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 1;
  }

  /* Chair element: full viewport overlay */
  .scene-living-room .chair-element {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
  }

  .scene-living-room .chair-element img.mobile-only {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Tagline: centered, lower on mobile */
  .scene-living-room .tagline {
    position: absolute !important;
    bottom: 12% !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5;
    width: auto !important;
    white-space: nowrap !important;
  }

  .scene-living-room .tagline .tagline__word img {
    width: 75vw !important;
    max-width: 450px !important;
    height: auto !important;
  }

  /* Slide 2: swap desktop/mobile images */
  .scene-jet .desktop-only { display: none !important; }
  .scene-jet .mobile-only  { display: block !important; }

  /* Slide 2: hide blurred bg — portrait image fills viewport */
  .scene-jet .scene-bg-blur--jet {
    display: none;
  }

  /* Slide 2: portrait background covers full viewport */
  .scene-jet .scene-bg.mobile-only {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 1;
  }

  /* Jet table element: full viewport overlay */
  .scene-jet .jet-table-element {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 4 !important;
  }

  .scene-jet .jet-table-element img.mobile-only {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Jet chair element: full viewport overlay */
  .scene-jet .jet-chair-element {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3;
  }

  .scene-jet .jet-chair-element img.mobile-only {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Slide 4 (Explore): blurred background fill on mobile */
  .scene-explore .scene-bg-blur--explore {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(25px);
    -webkit-filter: blur(25px);
    transform: scale(1.1);
    opacity: 0.7;
  }

  .explore-overlay .scene-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    overflow: hidden !important;
  }

  .explore-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .explore-bg-img--desktop {
    display: none !important;
  }

  .explore-bg-img--mobile {
    display: block !important;
  }

  .explore-overlay__text {
    top: 10% !important;
  }

  .explore-title--medium {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }

  .explore-title--large {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
  }

  .explore-mobile-title {
    display: block;
    position: absolute;
    z-index: 3;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #FFFFFF;
    font-family: 'Gotham Rounded', 'Quicksand', sans-serif;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }

  .explore-mobile-title__label {
    display: block;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.05em;
  }

  .explore-mobile-title__name {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .explore-subtitle {
    font-size: 0.875rem !important;
  }

  .explore-cta {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.8125rem !important;
  }

}

/* Slide 3 (Connecting the World): mobile portrait image */
@media (max-width: 1024px) and (orientation: portrait) {
  /* Swap desktop/mobile images */
  .scene-world-waiting .desktop-only { display: none !important; }
  .scene-world-waiting .mobile-only  { display: block !important; }

  /* Hide blur — portrait image fills viewport */
  .scene-world-waiting .scene-bg-blur--world {
    display: none;
  }

  /* Portrait image covers full viewport */
  .scene-world-waiting .world-waiting-sky.mobile-only {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    overflow: hidden;
  }

  .scene-world-waiting .world-waiting-sky.mobile-only img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .scene-world-waiting .world-waiting-content {
    top: 15% !important;
  }

  .scene-world-waiting .world-waiting-title {
    font-size: clamp(1.25rem, 5vw, 2rem) !important;
    color: #fff !important;
  }

}

/* Phones portrait: use fill instead of cover (aspect ratio close to image) */
@media (max-width: 767px) and (orientation: portrait) {
  .scene-living-room .scene-bg.mobile-only {
    background-size: 100% 100% !important;
  }

  .scene-living-room .chair-element img.mobile-only {
    object-fit: fill !important;
  }

  .scene-jet .scene-bg.mobile-only {
    background-size: 100% 100% !important;
  }

  .scene-jet .jet-table-element img.mobile-only {
    object-fit: fill !important;
  }

  .scene-jet .jet-chair-element img.mobile-only {
    object-fit: fill !important;
  }

  .scene-world-waiting .world-waiting-sky.mobile-only img {
    object-fit: fill !important;
  }

  .explore-bg-img {
    object-fit: fill !important;
  }
}

/* Very small phones */
@media (max-width: 374px) {
  .explore-title--large {
    font-size: 1.5rem;
  }

  .tagline__text {
    font-size: 0.875rem;
  }

  .side-dots {
    display: none;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .tagline {
    bottom: 5%;
  }

  .click-prompt {
    bottom: 1%;
  }

  .chair-element,
  .jet-chair-element {
    /* Full-frame overlay scales naturally */
  }

  .explore-title--large {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .side-dots {
    gap: 0.5rem;
  }

  .side-dot {
    width: 6px;
    height: 6px;
  }
}


/* ==========================================================================
   14. REDUCED MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .intro-scene,
  .chair-element,
  .jet-chair-element,
  .tagline__text,
  .tagline__word,
  .tagline__dots,
  .explore-title,
  .explore-subtitle,
  .explore-cta,
  .click-prompt,
  .world-map-container,
  .logo-reveal,
  .logo-reveal__tagline,
  .side-dot,
  .scene-living-room .scene-bg,
  .scene-jet .scene-bg {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .click-prompt.is-visible {
    animation: none;
    opacity: 1;
  }

  .click-prompt__icon::after {
    animation: none;
  }

  .globe-hotspot__pulse {
    animation: none;
    opacity: 0;
  }

  .globe-prompt {
    animation: none;
    opacity: 1;
  }
}
