@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --font-family-dm-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-white: rgba(255, 255, 255, 1);
  --bg-cream: #F7F3E9;
  --purple-brand: #6528E0;
  --purple-dark: #2B0054;
  --purple-tint: #F3EEFA;
  --orange-brand: #E87A00;
  --orange-tint: #FAF1E6;
  --ink-color: #20261F;
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-cream);
  font-family: var(--font-family-dm-sans);
  color: var(--ink-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================================
   Desktop 1440 Layout
   ======================================================== */
.desktop-1440-10 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 1440px;
  background-color: var(--bg-cream);
  position: relative;
}

.programs-container-desktop {
  position: relative;
  width: 100%;
  max-width: 1440px;
  line-height: 0;
}

.desktop-programs-11 {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   Mobile 390 Layout
   ======================================================== */
.mobile-390-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 480px;
  background-color: var(--bg-cream);
  position: relative;
}

.programs-container-mobile {
  position: relative;
  width: 100%;
  max-width: 480px;
  line-height: 0;
}

.mobile-programs-2 {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   Interactive Hotspots - Desktop
   ======================================================== */

/* Maxwell Top Logo Hotspot */
.hotspot-desktop-logo {
  position: absolute;
  left: 39.93%;
  top: 10.40%;
  width: 19.51%;
  height: 13.33%;
  border-radius: 8px;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  text-decoration: none;
}
.hotspot-desktop-logo:hover {
  background-color: rgba(101, 40, 224, 0.05);
  box-shadow: 0 0 0 2px rgba(101, 40, 224, 0.25), 0 4px 14px rgba(43, 0, 84, 0.1);
}
.hotspot-desktop-logo:focus-visible {
  outline: 2px solid var(--purple-brand);
  outline-offset: 2px;
}

/* Cards Hotspots - Desktop */
.hotspot-card-desktop {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  border-radius: 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hotspot-card-desktop--eualeg {
  left: 21.88%;
  top: 31.64%;
  width: 24.65%;
  height: 58.42%;
}
.hotspot-card-desktop--eualeg:hover {
  box-shadow: 0 12px 36px rgba(101, 40, 224, 0.16);
}

.hotspot-card-desktop--ipv {
  left: 53.33%;
  top: 31.64%;
  width: 24.65%;
  height: 58.42%;
}
.hotspot-card-desktop--ipv:hover {
  box-shadow: 0 12px 36px rgba(232, 122, 0, 0.16);
}

/* Action Buttons - Desktop (nested inside cards) */
.hotspot-btn-desktop {
  position: absolute;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.hotspot-btn-desktop--eualeg {
  left: 11.55%;
  top: 87.04%;
  width: 42.82%;
  height: 6.19%;
}
.hotspot-btn-desktop--eualeg:hover,
.hotspot-card-desktop--eualeg:hover .hotspot-btn-desktop--eualeg {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(101, 40, 224, 0.5), 0 6px 18px rgba(101, 40, 224, 0.35);
  transform: translateY(-1px);
}
.hotspot-btn-desktop--eualeg:active {
  transform: translateY(1px) scale(0.98);
}
.hotspot-btn-desktop--eualeg:focus-visible {
  outline: 3px solid var(--purple-brand);
  outline-offset: 2px;
}

.hotspot-btn-desktop--ipv {
  left: 11.27%;
  top: 87.04%;
  width: 42.82%;
  height: 6.19%;
}
.hotspot-btn-desktop--ipv:hover,
.hotspot-card-desktop--ipv:hover .hotspot-btn-desktop--ipv {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(232, 122, 0, 0.5), 0 6px 18px rgba(232, 122, 0, 0.35);
  transform: translateY(-1px);
}
.hotspot-btn-desktop--ipv:active {
  transform: translateY(1px) scale(0.98);
}
.hotspot-btn-desktop--ipv:focus-visible {
  outline: 3px solid var(--orange-brand);
  outline-offset: 2px;
}

/* ========================================================
   Interactive Hotspots - Mobile
   ======================================================== */
.hotspot-mobile-logo {
  position: absolute;
  left: 26.92%;
  top: 5.50%;
  width: 47.44%;
  height: 6.42%;
  border-radius: 6px;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  text-decoration: none;
}
.hotspot-mobile-logo:hover {
  background-color: rgba(101, 40, 224, 0.05);
  box-shadow: 0 0 0 2px rgba(101, 40, 224, 0.2);
}
.hotspot-mobile-logo:focus-visible {
  outline: 2px solid var(--purple-brand);
  outline-offset: 2px;
}

.hotspot-card-mobile {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  border-radius: 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hotspot-card-mobile--eualeg {
  left: 14.10%;
  top: 17.23%;
  width: 71.28%;
  height: 37.21%;
}
.hotspot-card-mobile--eualeg:hover {
  box-shadow: 0 8px 24px rgba(101, 40, 224, 0.16);
}

.hotspot-card-mobile--ipv {
  left: 14.10%;
  top: 57.10%;
  width: 70.00%;
  height: 36.57%;
}
.hotspot-card-mobile--ipv:hover {
  box-shadow: 0 8px 24px rgba(232, 122, 0, 0.16);
}

.hotspot-btn-mobile {
  position: absolute;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.hotspot-btn-mobile--eualeg {
  left: 11.87%;
  top: 87.19%;
  width: 42.45%;
  height: 5.91%;
}
.hotspot-btn-mobile--eualeg:hover,
.hotspot-card-mobile--eualeg:hover .hotspot-btn-mobile--eualeg {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(101, 40, 224, 0.5), 0 4px 12px rgba(101, 40, 224, 0.3);
}
.hotspot-btn-mobile--eualeg:active {
  transform: scale(0.97);
}

.hotspot-btn-mobile--ipv {
  left: 11.36%;
  top: 87.22%;
  width: 42.86%;
  height: 6.02%;
}
.hotspot-btn-mobile--ipv:hover,
.hotspot-card-mobile--ipv:hover .hotspot-btn-mobile--ipv {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(232, 122, 0, 0.5), 0 4px 12px rgba(232, 122, 0, 0.3);
}
.hotspot-btn-mobile--ipv:active {
  transform: scale(0.97);
}

/* ========================================================
   Footer Styles
   ======================================================== */
.desktop-footer-12 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 64px;
  width: 100%;
  background-color: rgba(43, 0, 84, 0.97);
  box-sizing: border-box;
}

.text-13 {
  font-family: var(--font-family-dm-sans);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin: 0;
  white-space: nowrap;
}

.group-7-14 {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.group-7-14:hover {
  opacity: 0.92;
  transform: translateX(3px);
}
.group-7-14:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 4px;
}

.text-17 {
  font-family: var(--font-family-dm-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-white);
  margin: 0;
  white-space: nowrap;
}

.arrow-right-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.group-7-14:hover .arrow-right-circle,
.group-8-6:hover .arrow-right-circle {
  transform: translateX(3px);
}

.icon-16, .icon-9 {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile Footer */
.mobile-footer-3 {
  width: 100%;
  background-color: rgba(43, 0, 84, 0.97);
  padding: 20px 20px;
}

.desktop-footer-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}

.text-5 {
  font-family: var(--font-family-dm-sans);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  order: 2;
}

.group-8-6 {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  order: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.group-8-6:hover {
  opacity: 0.92;
  transform: translateX(2px);
}
.group-8-6:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 4px;
}

.text-7 {
  font-family: var(--font-family-dm-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-white);
  margin: 0;
}

/* ========================================================
   Loading Screen (Exact Category Image instead of bubble)
   ======================================================== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  z-index: 9999;
  background-color: var(--bg-cream);
  transition: background-color 0.4s ease;
  box-sizing: border-box;
}

.loading--eualeg {
  background-color: var(--purple-tint);
}

.loading--ipv {
  background-color: var(--orange-tint);
}

/* Category Image Container */
.loading-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: loadingImgPulse 2s ease-in-out infinite;
}

.loading--eualeg .loading-image-container {
  border: 2.5px solid var(--purple-brand);
  box-shadow: 0 12px 36px rgba(101, 40, 224, 0.22), 0 0 0 1px rgba(101, 40, 224, 0.3);
}

.loading--ipv .loading-image-container {
  border: 2.5px solid var(--orange-brand);
  box-shadow: 0 12px 36px rgba(232, 122, 0, 0.22), 0 0 0 1px rgba(232, 122, 0, 0.3);
}

.loading-image {
  width: 270px;
  max-width: 80vw;
  height: auto;
  border-radius: 17px;
  display: block;
}

@keyframes loadingImgPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.progress-track {
  width: 250px;
  max-width: 75vw;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 2.9s cubic-bezier(0.2, 0, 0.2, 1);
}

.loading--eualeg .progress-fill {
  background: var(--purple-brand);
}

.loading--ipv .progress-fill {
  background: var(--orange-brand);
}

.loading-text {
  font-size: 16px;
  font-family: var(--font-family-dm-sans);
  color: var(--ink-color);
  max-width: 360px;
  line-height: 1.6;
  margin: 0;
}

.loading-text strong {
  font-weight: 700;
}

.loading-cancel-btn {
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--ink-color);
  font-family: var(--font-family-dm-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.loading-cancel-btn:hover {
  border-color: rgba(0, 0, 0, 0.35);
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}
.loading-cancel-btn:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
