/* ===================================
   VARIABLES & RESET - PPS HERO
   ==================================== */

:root {
  --pps-orange-primary: #f36e36;
  --pps-orange-light: #ff8c52;
  --pps-orange-dark: #d95a28;
  --pps-text-white: #ffffff;
  --pps-text-gray: #e0e0e0;
  --pps-text-dim: #a8a8a8;
  --pps-glass-bg: rgba(255, 255, 255, 0.08);
  --pps-glass-border: rgba(255, 255, 255, 0.15);
  --pps-transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================================
   SMOOTH SCROLL WITH LENIS - PPS
   ==================================== */

html {
  scroll-behavior: smooth;
}

html.lenis-pps {
  height: auto;
}

.lenis-pps-smooth {
  scroll-behavior: auto !important;
}

.lenis-pps-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-pps-stopped {
  overflow: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: #0a0a0a;
  color: var(--pps-text-white);
}

/* ===================================
   HERO CONTAINER - PPS ISOLATED
   ==================================== */

.hero-aviation-pps {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* ===================================
   BACKGROUND LAYERS - PPS
   ==================================== */

.hero-bg-layers-pps {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-pps {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s var(--pps-transition-smooth);
  will-change: opacity;
}

.hero-bg-pps-active {
  opacity: 1;
}

.overlay-layer-pps {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(10, 10, 10, 0.87) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===================================
   AIRPLANE PARALLAX - PPS
   ==================================== */

.airplane-parallax-pps {
  position: fixed;
  bottom: -300px;
  left: 50%;
  width: 800px;
  max-width: 90vw;
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 60px 40px rgba(0, 0, 0, 0.3));
  opacity: 0;
  transform: translate3d(-50%, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.airplane-parallax-pps img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   CONTENT WRAPPER - PPS
   ==================================== */

.hero-content-wrapper-pps {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem;
  margin: 0 auto;
}

/* ===================================
   SLIDES CONTAINER - PPS
   ==================================== */

.content-slides-pps {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-slide-pps {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(50px);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s var(--pps-transition-smooth);
  pointer-events: none;
  will-change: transform, opacity;
}

.content-slide-pps-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) translateX(0);
  pointer-events: auto;
}

.slide-content-pps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

/* ===================================
   SLIDE BADGE - PPS
   ==================================== */

.slide-badge-pps {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.4rem;
  background: var(--pps-glass-bg);
  border: 1px solid var(--pps-glass-border);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: fit-content;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pps-orange-light);
  animation: badge-in-pps 0.6s ease 0.2s backwards;
}

.badge-svg-pps {
  width: 20px;
  height: 20px;
  color: var(--pps-orange-primary);
}

@keyframes badge-in-pps {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   SLIDE HEADING - PPS
   ==================================== */

.slide-heading-pps {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--pps-text-white);
  animation: heading-in-pps 0.8s ease 0.3s backwards;
  text-align: center;
}

.text-highlight-pps {
  display: inline-block;
  background: linear-gradient(135deg, var(--pps-orange-primary), var(--pps-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

@keyframes heading-in-pps {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   TAGLINE & TEXT - PPS
   ==================================== */

.slide-tagline-pps {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--pps-text-gray);
  animation: tagline-in-pps 0.8s ease 0.4s backwards;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.slide-tagline-pps strong {
  color: var(--pps-text-white);
  font-weight: 700;
}

.slide-text-pps {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: var(--pps-text-dim);
  max-width: 700px;
  margin: 0 auto;
  animation: text-in-pps 0.8s ease 0.5s backwards;
  text-align: center;
}

@keyframes tagline-in-pps {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes text-in-pps {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   BUTTONS - PPS
   ==================================== */

.slide-buttons-pps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  animation: buttons-in-pps 0.8s ease 0.6s backwards;
  width: 100%;
}

.btn-primary-pps,
.btn-glass-pps {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s var(--pps-transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 50;
  will-change: transform;
}

.btn-primary-pps {
  background: linear-gradient(135deg, var(--pps-orange-primary), var(--pps-orange-light));
  color: #ffffff;
  border: none;
}

.btn-primary-pps:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.arrow-svg-pps {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-primary-pps:hover .arrow-svg-pps {
  transform: translateX(5px);
}

.btn-glass-pps {
  background: var(--pps-glass-bg);
  color: var(--pps-text-white);
  border: 1px solid var(--pps-glass-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.btn-glass-pps:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

@keyframes buttons-in-pps {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   METRICS - PPS
   ==================================== */

.slide-metrics-pps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  animation: metrics-in-pps 0.8s ease 0.7s backwards;
  width: 100%;
}

.metric-item-pps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.metric-num-pps {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--pps-orange-primary), var(--pps-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.metric-txt-pps {
  font-size: 0.85rem;
  color: var(--pps-text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes metrics-in-pps {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   DOTS NAVIGATION - PPS
   ==================================== */

.dots-navigation-pps {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 100;
  pointer-events: auto;
}

.dot-btn-pps {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--pps-transition-smooth);
  z-index: 50;
}

.dot-center-pps {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.35s var(--pps-transition-smooth);
  position: relative;
  order: 1;
  will-change: transform;
}

.dot-center-pps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dot-text-pps {
  position: absolute;
  left: 32px;
  padding: 0.8rem 1.5rem;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pps-text-gray);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-15px);
  transition: all 0.35s var(--pps-transition-smooth);
  pointer-events: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  order: 2;
}

.dot-btn-pps:hover .dot-text-pps {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dot-btn-pps:hover .dot-center-pps {
  background: rgba(243, 110, 54, 0.3);
  border-color: var(--pps-orange-primary);
  transform: scale(1.3);
}

.dot-btn-pps:hover .dot-center-pps::before {
  opacity: 1;
  background: var(--pps-orange-primary);
}

.dot-btn-pps-active .dot-center-pps {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--pps-orange-primary), var(--pps-orange-light));
  border-color: var(--pps-orange-light);
  border-width: 3px;
}

.dot-btn-pps-active .dot-center-pps::before {
  opacity: 0;
}

.dot-btn-pps-active .dot-text-pps {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(243, 110, 54, 0.25), rgba(255, 140, 82, 0.2));
  border-color: rgba(243, 110, 54, 0.4);
  color: var(--pps-text-white);
  font-size: 1.05rem;
}

/* ===================================
   RESPONSIVE DESIGN - PPS
   ==================================== */

@media (max-width: 1200px) {
  .dots-navigation-pps {
    right: 1.5rem;
    gap: 2rem;
  }

  .dot-center-pps {
    width: 18px;
    height: 18px;
  }

  .dot-btn-pps-active .dot-center-pps {
    width: 22px;
    height: 22px;
  }

  .dot-text-pps {
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem;
  }
}

@media (max-width: 1024px) {
  .hero-content-wrapper-pps {
    padding: 0 1.5rem;
  }

  .dots-navigation-pps {
    display: none;
  }

  .content-slides-pps {
    min-height: 60vh;
  }

  .airplane-parallax-pps {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .hero-aviation-pps {
    padding: 7rem 0 4rem;
  }

  .hero-content-wrapper-pps {
    padding: 0 1.25rem;
  }

  .slide-content-pps {
    gap: 1.5rem;
  }

  .slide-heading-pps {
    font-size: 2.2rem;
  }

  .slide-tagline-pps {
    font-size: 1.1rem;
  }

  .slide-text-pps {
    font-size: 0.95rem;
  }

  .slide-buttons-pps {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-pps,
  .btn-glass-pps {
    width: 100%;
    max-width: 350px;
    justify-content: center;
  }

  .slide-metrics-pps {
    gap: 2rem;
  }

  .metric-num-pps {
    font-size: 1.8rem;
  }

  .metric-txt-pps {
    font-size: 0.75rem;
  }

  .airplane-parallax-pps {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .hero-aviation-pps {
    padding: 6rem 0 3rem;
  }

  .hero-content-wrapper-pps {
    padding: 0 1rem;
  }

  .slide-badge-pps {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .slide-heading-pps {
    font-size: 1.9rem;
  }

  .slide-tagline-pps {
    font-size: 1.05rem;
  }

  .slide-text-pps {
    font-size: 0.9rem;
  }

  .slide-metrics-pps {
    gap: 1.5rem;
  }

  .metric-num-pps {
    font-size: 1.6rem;
  }

  .btn-primary-pps,
  .btn-glass-pps {
    max-width: 100%;
  }

  .airplane-parallax-pps {
    max-width: 400px;
  }
}

/* ===================================
   ACCESSIBILITY - PPS
   ==================================== */

.btn-primary-pps:focus,
.btn-glass-pps:focus,
.dot-btn-pps:focus {
  outline: 3px solid rgba(243, 110, 54, 0.7);
  outline-offset: 4px;
}

.btn-primary-pps:focus:not(:focus-visible),
.btn-glass-pps:focus:not(:focus-visible),
.dot-btn-pps:focus:not(:focus-visible) {
  outline: none;
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS - PPS
   ==================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .airplane-parallax-pps {
    transform: translate3d(-50%, 0, 0) !important;
  }

  .content-slide-pps {
    transition: none !important;
  }

  .hero-bg-pps {
    transition: none !important;
  }
}

/* Browser-specific backdrop-filter fallback */
@supports not (backdrop-filter: blur(20px)) {
  .slide-badge-pps,
  .btn-glass-pps,
  .dot-text-pps {
    background: rgba(17, 17, 17, 0.95);
  }
}

/* ===================================
   PRINT STYLES - PPS
   ==================================== */

@media print {
  .dots-navigation-pps,
  .airplane-parallax-pps {
    display: none;
  }
  
  .hero-aviation-pps {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .content-slide-pps {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-bg-pps {
    opacity: 0.3 !important;
  }
}

/* ===================================
   LOADING STATE - PPS
   ==================================== */

.hero-aviation-pps.loading-pps .content-slide-pps,
.hero-aviation-pps.loading-pps .airplane-parallax-pps {
  opacity: 0;
  pointer-events: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .slide-badge-pps,
  .btn-glass-pps {
    border-width: 2px;
  }

  .text-highlight-pps {
    text-decoration: underline;
  }
}
