@font-face {
  font-family: Display;
  src: local("SF Pro Display"), local("Helvetica Neue"), sans-serif;
}

:root {
  --apple-bg-dark: #000000;
  --apple-bg-light: #f5f5f7;
  --apple-accent: #ff5e07;
  --apple-accent-glow: rgba(255, 94, 7, 0.4);
  --apple-glass: rgba(255, 255, 255, 0.08);
  --apple-glass-border: rgba(255, 255, 255, 0.15);
  --apple-text-gray: #86868b;
  --apple-text-light: #f5f5f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Display, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--apple-bg-dark);
  color: #fff;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor for liquid custom cursor */
}

/* ==========================================================================
   CUSTOM LIQUID CURSOR
   ========================================================================== */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, background-color 0.2s ease;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

#cursor-text {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.cursor-hover #cursor-ring {
  width: 70px;
  height: 70px;
  background: var(--apple-accent-glow);
  border-color: var(--apple-accent);
}

body.cursor-hover #cursor-text {
  opacity: 1;
}

/* ==========================================================================
   SCROLL PROGRESS BAR & SPATIAL HUD
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff5e07, #ff9f43, #00f2fe);
  z-index: 10001;
  box-shadow: 0 0 10px rgba(255, 94, 7, 0.8);
}

/* ==========================================================================
   WEBGL PARTICLE MATRIX BACKGROUND
   ========================================================================== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ==========================================================================
   TOP NAVIGATION & SPATIAL HUD
   ========================================================================== */
nav {
  height: 70px;
  width: 100%;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-logo {
  font-size: 1.6rem;
  color: #fff;
}

.nav-brand h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e9e9e9;
  letter-spacing: -0.02em;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-pill {
  color: var(--apple-text-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-pill:hover,
.nav-pill.active {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spatial-hud {
  font-family: monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.hud-label {
  color: var(--apple-accent);
  margin-right: 6px;
}

.cta-btn {
  border: none;
  padding: 8px 22px;
  border-radius: 50px;
  background: var(--apple-text-light);
  color: #000;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.cta-btn:hover {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

/* ==========================================================================
   INTERACTIVE TECH SPEC GLASS MODAL
   ========================================================================== */
.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px);
}

.modal-content-glass {
  position: relative;
  width: 90%;
  max-width: 580px;
  background: rgba(25, 25, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.tech-modal.active .modal-content-glass {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-header-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--apple-accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.modal-content-glass h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.modal-content-glass p {
  font-size: 1.05rem;
  color: var(--apple-text-gray);
  line-height: 1.5;
  margin-bottom: 30px;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--apple-text-gray);
}

/* ==========================================================================
   MAIN STRUCTURE & SECTIONS
   ========================================================================== */
#main {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#page {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: black;
}

#page > img {
  display: none;
}

#page > video {
  position: absolute;
  height: 100%;
  width: 85%;
  object-fit: cover;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

#page-bottom {
  height: 20%;
  width: 35%;
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.responsive {
  display: none;
}

#page-bottom > h3 span {
  color: #6e6e73;
  font-size: 1.8vw;
}

#page-bottom > h3 {
  text-align: center;
  color: #fff;
  font-size: 3.25vw;
  font-weight: 500;
  margin-bottom: 10px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#page1,
#page2,
#page3,
#page4,
#page6,
#page8,
#page10,
#page12 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: black;
  filter: brightness(0.4);
  transition: filter 0.8s ease;
}

#page1 > video,
#page2 > video,
#page3 > video,
#page4 > video,
#page6 > video,
#page8 > video,
#page10 > video,
#page12 > video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#page1 > h1,
#page2 > h1,
#page3 > h1,
#page4 > h1,
#page6 > h1,
#page6 > h3,
#page8 > h1,
#page8 > h3,
#page10 > h1,
#page10 > h3,
#page12 > h3,
#page12 > h1 {
  color: #fff;
  font-size: 3.6vw;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;
  white-space: nowrap;
  text-align: center;
  z-index: 999;
  filter: brightness(1) !important;
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   BUTTONS & MICRO-INTERACTIONS
   ========================================================================== */
.interactive-btn {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 50px;
  padding: 12px 36px;
  font-size: 1.1vw;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.glow-button {
  background: var(--apple-accent);
  color: #ffffff;
  box-shadow: 0 10px 25px var(--apple-accent-glow);
}

.glow-button:hover {
  background: #ff6a19;
  box-shadow: 0 15px 35px rgba(255, 94, 7, 0.6);
  transform: translateY(-2px);
}

.glow-link {
  color: var(--apple-accent);
  font-size: 1.6vw;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.glow-link:hover {
  color: #ff8543;
  text-shadow: 0 0 12px var(--apple-accent-glow);
}

#page5 {
  height: 170vh;
  width: 100vw;
  position: relative;
  background-color: #fff;
}

#page5 > img {
  width: 30%;
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
}

#page5 > h3 {
  color: #86868b;
  position: absolute;
  top: 37vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6vw;
  font-weight: 500;
  margin-top: 3vh;
}

#page5 > button {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

#page5-btn {
  height: 20%;
  width: 37%;
  position: absolute;
  top: 17vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#page5 > #vision {
  width: 75%;
  position: absolute;
  top: 55vh;
  left: 50%;
  transform: translateX(-50%);
}

#page6 > h1,
#page8 > h1,
#page10 > h1,
#page12 > h1 {
  font-size: 5.8vw;
  font-weight: 900;
}

#page6 > h3,
#page8 > h3,
#page10 > h3,
#page12 > h3 {
  font-size: 2vw;
  bottom: 43%;
}

#page7,
#page9,
#page11,
#page13 {
  height: 110vh;
  width: 100vw;
  background-color: #fff;
  display: flex;
}

#page7 > #left,
#page9 > #left,
#page11 > #left,
#page13 > #left {
  width: 40%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding-top: 70px;
}

#page7 > #left > h4,
#page9 > #left > h4,
#page11 > #left > h4,
#page13 > #left > h4 {
  font-size: 2.4vw;
  font-weight: 600;
  color: #1d1d1f;
}

#page7 > #right,
#page9 > #right,
#page11 > #right,
#page13 > #right {
  width: 60%;
  background-color: #fff;
  padding: 70px 140px 0 25px;
}

#page7 > #right > h6,
#page9 > #right > h6,
#page11 > #right > h6,
#page13 > #right > h6 {
  font-size: 1.55vw;
  line-height: 1.4;
  color: #86868b;
  font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE SPATIAL BEFORE & AFTER SLIDER
   ========================================================================== */
.spatial-slider-wrapper {
  margin-top: 35px;
  width: 100%;
}

.spatial-slider-container {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-after {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
}

.slider-badge {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.badge-before {
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.badge-after {
  left: 16px;
  background: rgba(255, 94, 7, 0.85);
  color: #fff;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
}

.slider-caption {
  font-size: 0.85rem;
  color: #86868b;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   360° SPIN CANVAS & HOTSPOT PINS
   ========================================================================== */
#page15 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #f5f5f7;
}

#page15 > canvas {
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 99;
  background-color: #f5f5f7;
}

.hotspot-overlay {
  position: absolute;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.hotspot-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  cursor: pointer;
  pointer-events: all;
}

.pin-pulse {
  width: 100%;
  height: 100%;
  background: rgba(255, 94, 7, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255, 94, 7, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 94, 7, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 94, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 94, 7, 0);
  }
}

.pin-label {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hotspot-pin:hover .pin-label {
  opacity: 1;
  transform: translateY(-50%) translateX(6px);
}

/* ==========================================================================
   GLASS CARDS & ELEVATIONS
   ========================================================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

#page16, #page17, #page18, #page19, #page20, #page21 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #f5f5f7;
}

#page16 > h4, #page18 > h4, #page19 > h4, #page21 > h4 {
  position: absolute;
  width: 22vw;
  top: 50%;
  transform: translateY(-50%);
  left: 14vw;
  font-size: 1.4vw;
  z-index: 999;
  color: #86868b;
  padding: 30px;
}

#page17 > h4, #page20 > h4 {
  position: absolute;
  width: 22vw;
  top: 50%;
  transform: translateY(-50%);
  right: 14vw;
  font-size: 1.4vw;
  z-index: 999;
  color: #86868b;
  padding: 30px;
}

#page16 h4 span, #page17 h4 span, #page18 h4 span, #page19 h4 span, #page20 h4 span, #page21 h4 span {
  color: #000;
  font-weight: 700;
}

#page22 {
  height: 120vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  z-index: 100;
  background-color: #fff;
}

.parallax-card {
  height: 90%;
  width: 45%;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.parallax-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#page23 {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#page23 > video {
  height: 100%;
  width: 93.25%;
  object-fit: cover;
  border-radius: 30px;
}

#page24 {
  position: relative;
  height: 152vh;
  width: 100vw;
}

#page24 > h2 {
  font-size: 1.55vw;
  line-height: 1.4;
  font-weight: 500;
  color: #86868b;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
  text-align: center;
  width: 46%;
  margin-bottom: 15%;
}

#page24 > h2 span {
  color: #000;
  font-weight: 700;
}

#page24 > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#page24 > button {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

#page25 {
  position: relative;
  height: 100vh;
  width: 100vw;
  filter: brightness(0.4);
}

#page25 > video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#page25 > h3,
#page25 > h1 {
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;
  white-space: nowrap;
  text-align: center;
  z-index: 999;
}

#page25 > h1 {
  font-size: 6vw;
  font-weight: 900;
}

#page25 > h3 {
  font-size: 1.9vw;
  bottom: 43%;
}

/* ==========================================================================
   SPATIAL AUDIO SYNTHESIZER CANVAS
   ========================================================================== */
#page33 {
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 270px 0 270px;
  text-align: center;
  background-color: #000;
}

#page33 > h5 {
  font-size: 1.8vw;
  color: #fff;
  font-weight: 600;
}

#page33 > h1 {
  font-size: 5.8vw;
  color: #fff;
  margin-top: 10px;
  font-weight: 600;
}

#page33 > h6 {
  font-size: 1.8vw;
  color: #86868b;
  font-weight: 500;
  margin-top: 50px;
}

#page33 > h6 > span {
  color: #fff;
}

#page33-b {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  padding: 0 200px;
  margin: 100px 0;
}

#page33-b > h1 {
  font-size: 2.4vw;
  color: #fff;
  margin-top: 10px;
  font-weight: 600;
}

#page33-b > h6 {
  font-size: 1.6vw;
  color: #86868b;
  font-weight: 500;
  margin-top: 30px;
  width: 70%;
  line-height: 1.4;
}

#page33-c {
  height: 160vh;
  width: 100vw;
  position: relative;
}

#page33-c > video {
  height: 70%;
  width: 100%;
  object-fit: cover;
}

.audio-visualizer-container {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 100;
}

#audio-wave-canvas {
  width: 300px;
  height: 300px;
}

.audio-trigger-btn {
  background: rgba(255, 94, 7, 0.2);
  border: 1px solid var(--apple-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.audio-trigger-btn:hover {
  background: var(--apple-accent);
  box-shadow: 0 0 25px var(--apple-accent-glow);
}

#page33-c > h1 {
  font-size: 2.4vw;
  color: #fff;
  font-weight: 600;
  position: absolute;
  right: 220px;
  bottom: 400px;
  text-align: left;
  width: 29.75%;
}

#page33-c > h6 {
  font-size: 1.6vw;
  color: #86868b;
  font-weight: 500;
  position: absolute;
  right: 220px;
  text-align: left;
  bottom: 80px;
  width: 29.75%;
}

#page34 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #000;
}

#page34 > #troff, #page34 > #tron {
  height: 80%;
  width: 80%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#page34 > #troff {
  z-index: 10;
}

#page35 {
  height: 50vh;
  width: 100vw;
  position: relative;
  background-color: #000;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 360px;
  gap: 30px;
}

#page35 > h1 {
  font-size: 2.4vw;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

#page35 > h6 {
  font-size: 1.6vw;
  color: #86868b;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

#page36 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #000;
}

#page36 img {
  height: 75%;
  width: 75%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#page37 {
  height: 45vh;
  width: 100vw;
  position: relative;
  padding: 0 360px;
  background-color: #000;
}

#page37 > h1 {
  font-size: 2.4vw;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

#page37 > h6 {
  font-size: 1.6vw;
  color: #86868b;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin-top: 40px;
}

#page38 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #000;
}

#page38 > img {
  height: 103%;
  width: 103%;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10%;
  filter: brightness(0.3);
}

#page39 {
  height: 120vh;
  width: 100vw;
  position: relative;
  background-color: #000;
  padding: 100px 365.5px;
}

#page39 > h1 {
  font-size: 2.4vw;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

#page39 > h6 {
  font-size: 1.6vw;
  color: #86868b;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin-top: 40px;
}

#page40 {
  height: 155vh;
  width: 100vw;
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #1d1d1f;
}

#page40 > img {
  height: 70px;
  width: 70px;
}

#page40 > h1 {
  font-size: 5.8vw;
  font-weight: 600;
  text-align: center;
}

#page40 > h6, #page40 > h5 {
  font-size: 1.8vw;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
  margin-top: 40px;
  width: 55%;
  color: #1d1d1f;
}

#page41 {
  height: 120vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page41-center {
  width: 93%;
  height: 100%;
  display: flex;
  padding: 40px;
}

#page41-center > #left {
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-left: 60px;
}

#page41-center > #left > img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

#page41-center > #left > h1 {
  font-size: 4.3vw;
  color: #1d1d1f;
}

#page41-center > #left > h6 {
  font-size: 1.8vw;
  color: #86868b;
}

#page41-center > #right {
  height: 100%;
  width: 50%;
  overflow: hidden;
  position: relative;
}

#page41-center > #right > img {
  height: 85%;
  width: 85%;
  position: absolute;
  bottom: 0;
  left: 0;
  object-fit: contain;
}

#page42 {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page42-center {
  width: 93%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 80px;
}

#page42-center > h1 {
  font-size: 4.3vw;
  text-align: center;
  line-height: 1;
  color: #1d1d1f;
}

#page42-center h6 {
  font-size: 1.8vw;
  text-align: center;
  font-weight: 500;
  color: #505050;
}

#page43 {
  height: auto;
  width: 100vw;
  position: relative;
  background-color: #f5f5f7;
  padding: 40px 205px 120px;
  color: #86868b;
}

#page43 p {
  font-size: 0.9vw;
  line-height: 1.4;
}

#page43-footerlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#page43-footerlink > #center > ul li {
  list-style-type: none;
  display: inline-block;
  margin: 0 8px;
}

#page43-footerlink > #center > ul li a, #page43-footerlink > #right > ul > li > a {
  text-decoration: none;
  color: #86868b;
  font-size: 0.9vw;
}

#personal-footer {
  background-color: #f5f5f7;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  padding: 3vh 3vw;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#personal-footer p {
  color: #86868b;
  font-size: 1vw;
  font-weight: 500;
}

#personal-footer .developer-credit {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1vw;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ff5e07, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

#personal-footer .developer-credit:hover {
  transform: scale(1.05);
  letter-spacing: 1.5px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }
  .nav-links, .spatial-hud {
    display: none;
  }
  #page-bottom {
    width: 80%;
  }
  .interactive-btn {
    font-size: 0.9rem;
    padding: 10px 24px;
  }
  #page1 > h1, #page2 > h1, #page3 > h1, #page4 > h1, #page6 > h1, #page8 > h1, #page10 > h1, #page12 > h1 {
    font-size: 6vw;
  }
}
