body {
  background-color: #050505;
  color: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle tactile surface border (Revolut / Apple style) */
.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}

.light-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

/* The 5% Animation: Organic SVG light paths */
.connection-path {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  transition: stroke 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              stroke-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.connection-dot {
  transition: fill 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              r 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-loaded .connection-path {
  animation: drawStroke 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

/* Scroll reveal physics */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Apple Store Full-Bleed Swiper Offset */
.apple-swiper {
  padding-left: max(1.5rem, calc((100vw - 80rem) / 2 + 1.5rem)) !important;
  padding-right: 2rem !important;
}

/* Hide scrollbar on mobile pill selector */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* One-line adaptive logo helper if navbar is ever inverted to light surface */
.nav-light-invert .brand-logo { filter: invert(1); }