/* ============================================
   VANBERT AVIATION — PREMIUM LAYER
   Industry-standard interactive polish
   ============================================ */

/* ============================================
   CUSTOM JET CURSOR (Desktop only)
   Rotates based on movement direction
   ============================================ */
.jet-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
              width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
  opacity: 0;
  will-change: transform;
}

.jet-cursor svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
  filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.6));
  transition: transform 0.3s ease;
}

.jet-cursor.active svg {
  transform: scale(1.3);
  fill: var(--gold-light);
}

.jet-cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
}

.jet-cursor.cursor-visible,
.jet-cursor-trail.cursor-visible {
  opacity: 1;
}

body.cursor-hover .jet-cursor-trail {
  width: 80px;
  height: 80px;
  border-color: var(--gold);
  border-width: 1.5px;
}

body.cursor-hover .jet-cursor {
  width: 40px;
  height: 40px;
}

@media (hover: none), (max-width: 1024px) {
  .custom-cursor, .custom-cursor-outline { display: none; }
}

/* Only hide default cursor when custom cursor is active on desktop */
@media (hover: hover) and (min-width: 1025px) {
  body.custom-cursor-active,
  body.custom-cursor-active * {
    cursor: none !important;
  }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 99999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.5);
}

/* ============================================
   MAGNETIC BUTTONS
   ============================================ */
.magnetic-btn {
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.magnetic-inner {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

/* ============================================
   3D TILT CARDS
   ============================================ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.tilt-card-inner {
  transform-style: preserve-3d;
}

.tilt-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.04) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: inherit;
}

.tilt-card:hover .tilt-card-shine {
  opacity: 1;
}

/* ============================================
   CHARACTER-BY-CHARACTER TEXT REVEAL
   ============================================ */
.text-reveal {
  display: inline-block;
  overflow: hidden;
}

.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotate(8deg);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

.text-reveal .word {
  display: inline-block;
  white-space: nowrap;
}

.text-reveal.revealed .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-section {
  background: var(--charcoal);
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 45s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-secondary);
  font-style: italic;
  flex-shrink: 0;
}

.marquee-item::after {
  content: "✦";
  color: var(--gold);
  font-size: 14px;
  margin-left: 60px;
  font-style: normal;
}

.marquee-item:last-child::after {
  display: none;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   CURRENTLY FLYING TICKER
   ============================================ */
.flights-ticker {
  background: var(--black);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.flights-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b30;
  animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.flights-ticker-track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 60s linear infinite;
  white-space: nowrap;
  padding-left: 160px;
}

.flight-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--sans);
  flex-shrink: 0;
}

.flight-ticker-item strong {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.flight-ticker-item .arrow {
  color: var(--gold);
}

/* ============================================
   ANIMATED ROUTE MAP (SVG)
   ============================================ */
.route-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.route-map-svg .flight-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  stroke-dashoffset: 500;
  animation: drawPath 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  opacity: 0;
}

.route-map-svg .flight-path.animate-in {
  animation: drawPath 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes drawPath {
  0% { stroke-dashoffset: 500; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.route-map-svg .airport-dot {
  fill: var(--gold);
  stroke: var(--charcoal);
  stroke-width: 2;
  opacity: 0;
  transform-origin: center;
}

.route-map-svg .airport-dot.animate-in {
  animation: dotPulse 0.6s ease forwards;
}

@keyframes dotPulse {
  0% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

.route-map-svg .airport-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  transform-origin: center;
}

.route-map-svg .airport-ring.animate-in {
  animation: ringExpand 2s ease infinite;
}

@keyframes ringExpand {
  0% { opacity: 0.8; r: 4; }
  100% { opacity: 0; r: 24; }
}

.route-map-svg .airport-label {
  fill: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.route-map-svg .airport-label.animate-in {
  opacity: 1;
  transition-delay: 0.3s;
}

.route-map-svg .plane-icon {
  fill: var(--white);
  stroke: var(--gold);
  stroke-width: 0.5;
  opacity: 0;
}

.route-map-svg .plane-icon.animate-in {
  animation: planeFly 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Route map container */
.animated-route-map {
  background: linear-gradient(145deg, var(--charcoal) 0%, var(--charcoal-warm) 50%, var(--black) 100%);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 1;
}

.animated-route-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(201, 169, 110, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* ============================================
   NOISE TEXTURE OVERLAY (Film Grain)
   ============================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .noise-overlay { display: none; }
}

/* ============================================
   GRADIENT MESH BACKGROUNDS
   ============================================ */
.gradient-mesh {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.gradient-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 110, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(100, 130, 180, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

body.page-leaving {
  overflow: hidden;
}

/* ============================================
   ENHANCED LOADER
   ============================================ */
.page-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.loader-logo {
  opacity: 1 !important;
  animation: loaderReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) both !important;
}

@keyframes loaderReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.loader-tagline {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeInDelayed 1.2s ease forwards;
  animation-delay: 0.6s;
  white-space: nowrap;
}

@keyframes fadeInDelayed {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 0.8; transform: translate(-50%, 0); }
}

.loader-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderBar 1.5s ease forwards;
}

@keyframes loaderBar {
  to { width: 100%; }
}

/* ============================================
   ENHANCED HOVER STATES
   ============================================ */
.fleet-card,
.deal-card,
.deal-row,
.blog-list-card,
.feature-card,
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease,
              background 0.3s ease;
}

.fleet-card:hover,
.deal-card:hover,
.blog-list-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(201, 169, 110, 0.08);
}

/* ============================================
   ENHANCED BUTTON EFFECTS
   ============================================ */
.btn-primary, .btn-ghost, .btn-sm, .search-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before, .search-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}

.btn-primary:hover::before, .search-btn:hover::before {
  transform: translateX(0);
}

/* ============================================
   SPLIT HERO UPGRADE
   ============================================ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.05);
  transition: transform 6s ease-out;
  filter: brightness(0.75) saturate(1.1);
}

.hero:hover .hero-video-bg video {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ============================================
   TEXT STROKE EFFECT (Decorative)
   ============================================ */
.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-stroke: 1px var(--gold);
}

/* ============================================
   LINK UNDERLINE ANIMATION
   ============================================ */
.text-link {
  position: relative;
  display: inline-flex;
}

.text-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.text-link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* ============================================
   IMAGE HOVER ZOOM
   ============================================ */
.fleet-img img,
.blog-img img,
.blog-list-img img,
.article-img img,
.inner-img img,
.map-visual img {
  transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
              filter 0.6s ease;
  will-change: transform;
}

.fleet-card:hover .fleet-img img,
.blog-card:hover .blog-img img,
.blog-list-card:hover .blog-list-img img {
  transform: scale(1.08);
}

/* ============================================
   ENHANCED SCROLL REVEALS
   ============================================ */
.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   SECTION DIVIDERS — Elegant gold line
   ============================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  max-width: 200px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.section-divider .diamond {
  color: var(--gold);
  font-size: 10px;
}

/* ============================================
   CINEMATIC BACKDROP BLUR
   ============================================ */
.cinematic-backdrop {
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
/* ============================================
   FLIGHT TRACKER
   ============================================ */
.tracker-hero { padding: 140px 0 40px; }
.tracker-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.tracker-hero .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: livePulse 1.5s ease infinite; display: inline-block; }

.tracker-section { padding: 40px 0 100px; background: var(--black); }

.tracker-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  margin-bottom: 32px;
}
.tracker-stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-value {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
}

.tracker-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.tracker-map-container {
  background: linear-gradient(160deg, var(--charcoal-warm) 0%, var(--black) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  min-height: 540px;
}

.tracker-map {
  width: 100%;
  aspect-ratio: 5/4;
  position: relative;
}

.tracker-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tracker-map-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.map-compass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.compass-line {
  width: 1px;
  height: 20px;
  background: var(--gold);
}

.map-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--sans);
  letter-spacing: 0.05em;
}
.scale-line { width: 60px; height: 1px; background: var(--text-muted); }

.tracker-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  margin-top: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.active { background: var(--gold); box-shadow: 0 0 8px rgba(201, 169, 110, 0.6); }
.legend-dot.scheduled { background: transparent; border: 1px dashed var(--text-muted); }
.legend-dot.landed { background: var(--text-muted); }

/* Flight pulse animation */
.flight-pulse {
  animation: flightPulse 2s ease infinite;
}
@keyframes flightPulse {
  0% { r: 0; opacity: 0.8; }
  100% { r: 30; opacity: 0; }
}

.flight-marker {
  transition: transform 0.3s ease;
}
.flight-marker:hover {
  transform-origin: center;
}

/* Flight list */
.tracker-list-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tracker-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
}
.tracker-list-header h3 { margin: 0; }

.tracker-filter {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  padding: 3px;
  border-radius: 20px;
}
.tracker-filter-btn {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 15px;
  transition: all 0.3s;
}
.tracker-filter-btn.active {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.tracker-list {
  max-height: 500px;
  overflow-y: auto;
  padding: 12px;
}
.tracker-list::-webkit-scrollbar { width: 6px; }
.tracker-list::-webkit-scrollbar-track { background: transparent; }
.tracker-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.flight-item {
  padding: 16px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.3s;
}
.flight-item:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.03);
}

.flight-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.flight-item-id {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.flight-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.flight-status.active { background: rgba(201, 169, 110, 0.15); color: var(--gold); }
.flight-status.scheduled { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
.flight-status.landed { background: rgba(255,255,255,0.04); color: var(--text-muted); }

.flight-item-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.flight-item-airport { display: flex; flex-direction: column; gap: 1px; }
.airport-code-sm { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: 0.03em; }
.airport-time-sm { font-size: 11px; color: var(--text-muted); }
.flight-item-arrow { color: var(--gold); flex-shrink: 0; }

.flight-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--glass-border);
}

.flight-item-progress {
  margin-top: 10px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  overflow: hidden;
}
.flight-item-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 0.8s ease;
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.5);
}

.tracker-update-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--glass-border);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: livePulse 1.5s ease infinite;
}

/* Flight detail panel */
.flight-detail-panel {
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  animation: fadeInUp 0.3s ease;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
}
.detail-header h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}
.detail-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
}
.detail-close:hover { color: var(--gold); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.detail-row { display: flex; flex-direction: column; gap: 4px; }
.detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.detail-value {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
}

.detail-progress { padding-top: 20px; border-top: 1px solid var(--glass-border); }
.detail-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.detail-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.detail-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6);
}

/* ============================================
   HERO VIDEO PLAYER
   ============================================ */
.hero-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.02);
  transition: transform 8s ease-out, filter 0.6s ease;
  filter: brightness(0.72) saturate(1.15);
  cursor: pointer;
}

.hero-video-container.playing .hero-video {
  filter: brightness(1) saturate(1.1);
  transform: translate(-50%, -50%) scale(1.04);
}

/* Play overlay — top-right of hero, always visible below nav */
.hero-video-overlay {
  position: absolute;
  top: 120px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-family: var(--sans);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-video-overlay {
    top: 100px;
    right: 20px;
    padding: 6px;
    gap: 0;
    border-radius: 50%;
  }
  .hero-video-label {
    display: none;
  }
  .hero-video-play-btn {
    width: 48px;
    height: 48px;
  }
}

.hero-video-overlay:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.35);
}

.hero-video-overlay:hover .hero-video-play-btn {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold);
}

.hero-video-overlay:hover .hero-video-label {
  color: var(--black);
}

.hero-video-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  flex-shrink: 0;
}

.hero-video-play-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: playBtnPulse 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes playBtnPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero-video-play-btn svg { margin-left: 3px; }

.hero-video-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Hide the play-CTA when video is playing */
.hero-video-container.playing .hero-video-overlay {
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
}

/* Big central play/pause feedback when state changes */
.hero-video-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-video-pulse.show {
  opacity: 1;
  transform: scale(1);
}

.hero-video-pulse.fade {
  opacity: 0;
  transform: scale(1.2);
}

/* Click-anywhere-to-pause hint on hover while playing */
.hero-video-clickhint {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-video-container.playing:hover .hero-video-clickhint {
  opacity: 1;
}

/* When playing, whole video area = pointer cursor */
.hero-video-container.playing .hero-video {
  cursor: pointer;
}

/* Floating top controls bar when playing — ALWAYS visible */
.hero-video-controls {
  position: absolute;
  top: 100px;
  right: 32px;
  display: flex;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.hero-video-container.playing .hero-video-controls[hidden] {
  display: flex;
}

.hero-video-container.playing .hero-video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-video-ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-video-ctrl-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Progress bar */
.hero-video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 4;
}

.hero-video-container.playing .hero-video-progress[hidden] {
  display: block;
}

.hero-video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.6);
  transition: width 0.1s linear;
}

/* Ensure hero content is above video but below controls.
   Note: scroll-indicator already has position: absolute, so only bump z-index here. */
.hero-content, .booking-module {
  position: relative;
  z-index: 2;
}
.scroll-indicator { z-index: 2; }

/* When playing, the hero content (headline/subtitle) lets clicks pass through
   to the video so the ENTIRE hero area is click-to-pause */
.hero-video-container.playing ~ .hero-content {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Booking module stays interactive (users can still book while video plays) */
.hero-video-container.playing ~ .booking-module {
  opacity: 0.7;
  transition: opacity 0.6s ease;
}

.hero-video-container.playing ~ .booking-module:hover {
  opacity: 1;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video-play-btn::before { animation: none; }
  .hero-video, .hero-video-container.playing .hero-video { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 768px) {
  .hero-video-play-btn { width: 72px; height: 72px; }
  .hero-video-controls { bottom: 80px; right: 20px; }
  .hero-video-ctrl-btn { width: 36px; height: 36px; }
}

/* ============================================
   RESORTS INDEX GRID
   ============================================ */
.resorts-grid-section { padding: 80px 0 120px; background: var(--charcoal-warm); }
.resorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.resort-tile {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.resort-tile:hover {
  border-color: rgba(201, 169, 110, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 169, 110, 0.08);
}
.resort-tile-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
}
.resort-tile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.resort-tile:hover .resort-tile-img { transform: scale(1.05); }
.resort-tile-content {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resort-tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.resort-tile-location {
  color: var(--text-muted);
  font-weight: 500;
}
.resort-tile-airport {
  color: var(--gold);
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 3px;
  letter-spacing: 0.12em;
}
.resort-tile h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--white);
}
.resort-tile p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.resort-tile-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  transition: gap 0.3s ease;
}
.resort-tile:hover .resort-tile-cta {
  color: var(--gold-light);
  letter-spacing: 0.15em;
}

@media (max-width: 1024px) {
  .resorts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .resorts-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TRAVEL INFO PAGE
   ============================================ */
.tfo-jumplinks { padding: 32px 0; background: var(--charcoal); border-bottom: 1px solid var(--glass-border); }
.jumplinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.jumplink {
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.3s;
}
.jumplink:hover { border-color: var(--gold); color: var(--gold); }

.tfo-content { padding: 80px 0; }

.tfo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.tfo-sidebar {
  position: sticky;
  top: 100px;
}
.tfo-sidebar h4 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
}
.tfo-nav { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.tfo-nav a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all 0.3s;
}
.tfo-nav a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
}

.tfo-sidebar-cta {
  padding: 24px;
  border-radius: 8px;
}
.tfo-sidebar-cta .eyebrow { margin-bottom: 8px; }
.tfo-sidebar-cta h4 {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}
.tfo-sidebar-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.tfo-main > .tfo-article:first-child { margin-top: 0; }

.tfo-article {
  padding: 48px 0;
  border-bottom: 1px solid var(--glass-border);
  scroll-margin-top: 100px;
}
.tfo-article:last-child { border-bottom: none; }
.tfo-article h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 20px;
}
.tfo-article h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 32px 0 14px;
}
.tfo-article p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.tfo-article ul {
  margin: 12px 0 24px;
  padding-left: 24px;
}
.tfo-article li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.tfo-article strong { color: var(--white); font-weight: 600; }
.tfo-article a { color: var(--gold); }

/* FBO Cards */
.tfo-fbo-card {
  padding: 24px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.tfo-fbo-card:hover { border-color: rgba(201, 169, 110,0.25); }
.fbo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.fbo-header h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: 0.01em;
}
.fbo-code {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding: 4px 10px;
  background: rgba(201, 169, 110,0.1);
  border-radius: 3px;
}
.fbo-address {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-family: var(--sans);
}
.fbo-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.tfo-callout {
  margin: 28px 0;
  padding: 24px 28px;
  background: linear-gradient(145deg, rgba(201, 169, 110,0.05) 0%, var(--glass-bg) 100%);
  border: 1px solid rgba(201, 169, 110,0.15);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}
.tfo-callout h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  padding: 0;
  border: none;
}
.tfo-callout p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .magnetic-btn, .tilt-card { transform: none !important; }
  .marquee-item { font-size: 20px; }
  .noise-overlay { opacity: 0.03; }

  .tracker-layout { grid-template-columns: 1fr; }
  .tracker-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }

  .tfo-layout { grid-template-columns: 1fr; gap: 40px; }
  .tfo-sidebar { position: relative; top: 0; }
  .jumplinks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .jumplinks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-outline { display: none; }
  .marquee-track { animation-duration: 30s; }
  .flights-ticker-track { animation-duration: 40s; padding-left: 120px; }
  .flights-ticker-label { padding: 8px 12px; font-size: 10px; }
  .loader-tagline { font-size: 14px; bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .flights-ticker-track, .airport-ring { animation: none !important; }
  .tilt-card, .magnetic-btn { transform: none !important; }
  .text-reveal .char { opacity: 1; transform: none; transition: none; }
  .flight-path { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
