/* ============================================
   TRAUDIO - Rediseño Light Premium
   Sistema de diseño basado en Mango Space
   Color primario: Azul TRAUDIO #007cfb
   ============================================ */

/* === CSS Variables === */
:root {
  --background: #0a0a0f;
  --foreground: #f1f5f9;
  --primary: #007cfb;
  --primary-light: #3a9dff;
  --primary-dark: #006edc;
  --primary-glow: rgba(0, 124, 251, 0.25);
  --primary-glow-intense: rgba(0, 124, 251, 0.45);
  --card: #12131a;
  --card-hover: #1a1b25;
  --card-border: rgba(255, 255, 255, 0.08);
  --muted: #94a3b8;
  --muted-dark: #cbd5e1;
  --accent-warm: #f59e0b;
  --accent-green: #22c55e;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* === Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 0px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 32px;
  }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force CSS override of native mobile video controls embedded by OS Power-Savers */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === Animations === */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-delayed {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes shiny-text-sweep {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

/* === Animated Shiny Text === */
.shiny-text {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.85) 30%,
      rgba(255, 255, 255, 1) 45%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 0.85) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text-sweep 3.5s ease-in-out infinite normal;
  transition: text-shadow 0.3s ease;
}

.shiny-text:hover {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes bounce-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

/* === Animation Classes === */
.animate-float {
  animation: float 6s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-float-delayed {
  animation: float-delayed 5s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-shimmer {
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% auto;
  will-change: background-position;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-spin-reverse {
  animation: spin-reverse 25s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-gradient {
  animation: gradient-shift 5s ease infinite;
  background-size: 200% 200%;
}

.animate-bounce-subtle {
  animation: bounce-subtle 3s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-pulse-ring {
  animation: pulse-ring 3s ease-in-out infinite;
}

.animation-delay-100 {
  animation-delay: 100ms;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

.animation-delay-500 {
  animation-delay: 500ms;
}

/* === Scroll-triggered fade-in === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* === Marquee Wrapper === */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  gap: 1rem;
  transform: translateZ(0);
  /* Hardware acceleration */
}

.marquee-content {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  animation: marquee 80s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Glassmorphism Card === */
.liquid-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Soft border instead of the heavy shadow definition to keep it clean */
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  /* Native CSS acceleration */
  will-change: transform, box-shadow;
  transform: translateZ(0);
  backface-visibility: hidden;
  box-shadow:
    0 0 6px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.09),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.12),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.liquid-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.15),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.95),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.7),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.8),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.18),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.10),
    0 0 20px rgba(0, 124, 251, 0.2);
}

.glass-card {
  background: rgba(18, 19, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transform: translateZ(0);
  /* Force HW acceleration */
}

@media (max-width: 768px) {
  .glass-card {
    /* Significantly reduce heavy math operations on mobile GPUs */
    background: rgba(18, 19, 26, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.glass-card-hover:hover {
  background: rgba(26, 27, 37, 0.9);
  border-color: rgba(0, 124, 251, 0.3);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* === Dark (now Light) Card === */
.dark-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.dark-card:hover {
  background: var(--card-hover);
  border-color: rgba(0, 124, 251, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 124, 251, 0.15);
}

/* === Featured Card === */
.featured-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary), transparent 50%, var(--primary-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* === Rotating Gradient Border Animation === */
@property --btn-rotation {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes btn-rotate-gradient {
  0% {
    --btn-rotation: 0deg;
  }

  100% {
    --btn-rotation: 360deg;
  }
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  background: conic-gradient(from var(--btn-rotation),
      var(--primary) 0deg,
      rgba(255, 255, 255, 0.9) 60deg,
      var(--primary-light) 120deg,
      var(--primary) 180deg,
      rgba(255, 255, 255, 0.9) 240deg,
      var(--primary-light) 300deg,
      var(--primary) 360deg);
  z-index: -2;
  animation: btn-rotate-gradient 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--primary);
  z-index: -1;
  transition: background 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  background: var(--primary-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow-intense);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  background: conic-gradient(from var(--btn-rotation),
      rgba(255, 255, 255, 0.08) 0deg,
      rgba(255, 255, 255, 0.35) 60deg,
      rgba(255, 255, 255, 0.08) 120deg,
      rgba(255, 255, 255, 0.35) 180deg,
      rgba(255, 255, 255, 0.08) 240deg,
      rgba(255, 255, 255, 0.35) 300deg,
      rgba(255, 255, 255, 0.08) 360deg);
  z-index: -2;
  animation: btn-rotate-gradient 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  z-index: -1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  color: var(--foreground);
  transform: translateY(-2px);
}

/* === Button Animation Modifiers (Hero section swap) === */

/* btn-primary with inner glow: makes ::after semi-transparent so gradient shines through */
.btn-primary.btn-shimmer::after {
  background: rgba(0, 124, 251, 0.82);
}

.btn-primary.btn-shimmer:hover::after {
  background: rgba(58, 157, 255, 0.82);
}

/* btn-outline border-only: masks inner area so only the 2px ring is visible */
.btn-outline.btn-border-only::before {
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* === Badge Pill === */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 124, 251, 0.1);
  border: 1px solid rgba(0, 124, 251, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* === Floating Badge === */
.floating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(18, 19, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* === Orb Background === */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-primary {
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.orb-secondary {
  background: radial-gradient(circle, rgba(0, 110, 220, 0.1) 0%, transparent 70%);
}

/* === Hero Background Media (shared base for video + animated webp) === */
.hero-bg-media {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg-media.fade-in {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.65);
  z-index: 1;
}

/* Poster fallback legacy */
.hero-video-bg.video-poster-fallback {
  object-fit: cover;
  background-color: #0a0a0f;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-media {
    animation: none !important;
    transition: none !important;
  }

  .hero-bg-media.fade-in {
    opacity: 1;
  }
}

/* === Section Title === */
.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary);
}

/* === Icon Circle === */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  flex-shrink: 0;
}

.icon-circle-sm {
  width: 36px;
  height: 36px;
}

.icon-circle-lg {
  width: 56px;
  height: 56px;
}

/* === Price Tag === */
.price-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Circular Animation (Hero) — Speaker System === */
.hero-ring-container {
  position: relative;
  width: 320px;
  height: 320px;
}

/* Wrapper: unified bass breathing + vibration for ALL rings */
.hero-ring-speaker {
  position: absolute;
  inset: 0;
  animation: speaker-breathe-vibrate 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: transform;
}

/* Outer ring */
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 124, 251, 0.25);
  animation: spin-reverse 12s linear infinite;
}

/* Inner ring */
.hero-ring-inner {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px solid rgba(0, 124, 251, 0.35);
  animation: spin-slow 8s linear infinite;
}

/* Third ring — extra outer layer */
.hero-ring-outer {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 124, 251, 0.15);
  animation: spin-slow 18s linear infinite;
}

/* === Orbiting Badges Animation === */
.hero-orbit-container {
  z-index: 20;
}

.orbiting-badge-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbit-spin-forward 30s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  will-change: transform;
}

.orbiting-badge-radius {
  transform: translateX(200px);
  /* Primary desktop radius */
  will-change: transform;
}

@media (max-width: 1024px) {
  .orbiting-badge-radius {
    transform: translateX(150px);
    /* Tablet radius */
  }
}

@media (max-width: 640px) {
  .orbiting-badge-radius {
    transform: translateX(120px);
    /* Mobile radius */
  }
}

.orbiting-badge {
  /* Counter-rotate to remain upright */
  animation: orbit-spin-backward 30s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  will-change: transform;

  /* Reset positional defaults from .floating-badge */
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0;
  /* Allow clicking while passing */
}

@keyframes orbit-spin-forward {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-backward {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

/* Continuous orbit (pause on hover disabled per request) */

/* Conic gradient glow */
.hero-ring-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--primary) 25%, transparent 50%);
  opacity: 0.3;
  animation: speaker-glow-pulse 2.4s ease-in-out infinite, spin-slow 10s linear infinite;
}

/* === Speaker Animation Keyframes === */

/* Combined breathing + vibration: bass kick with jitter on the rings */
@keyframes speaker-breathe-vibrate {
  0% {
    transform: scale(1) translate(0, 0);
  }

  5% {
    transform: scale(1.04) translate(0.8px, -0.5px);
  }

  10% {
    transform: scale(1.1) translate(-0.6px, 0.8px);
  }

  15% {
    transform: scale(1.07) translate(0.5px, 0.3px);
  }

  20% {
    transform: scale(1.02) translate(-0.8px, -0.6px);
  }

  25% {
    transform: scale(0.97) translate(0.4px, 0.7px);
  }

  30% {
    transform: scale(0.99) translate(-0.3px, -0.4px);
  }

  38% {
    transform: scale(1.01) translate(0.6px, -0.3px);
  }

  45% {
    transform: scale(1.06) translate(-0.5px, 0.6px);
  }

  50% {
    transform: scale(1.04) translate(0.7px, -0.7px);
  }

  55% {
    transform: scale(1.01) translate(-0.6px, 0.5px);
  }

  62% {
    transform: scale(0.98) translate(0.3px, -0.4px);
  }

  70% {
    transform: scale(1) translate(-0.4px, 0.3px);
  }

  80% {
    transform: scale(0.99) translate(0.2px, -0.2px);
  }

  90% {
    transform: scale(1) translate(-0.1px, 0.1px);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* Glow intensity pulse synced to bass hit */
@keyframes speaker-glow-pulse {

  0%,
  100% {
    opacity: 0.2;
  }

  10% {
    opacity: 0.65;
  }

  25% {
    opacity: 0.15;
  }

  45% {
    opacity: 0.5;
  }

  60% {
    opacity: 0.15;
  }
}

/* === Navbar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* === WhatsApp Float Button === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateZ(0);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
  z-index: -1;
}

/* === Mobile Overlay === */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* === Mobile Menu (slide-in panel) === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: rgba(12, 12, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.mobile-menu-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Package List === */
.package-list {
  list-style: none;
  padding: 0;
}

.package-list li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: var(--muted-dark);
  line-height: 1.5;
}

.package-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* === Gradient Line === */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.2;
}

/* === Scroll to Top === */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 19, 26, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* === 3D Carousel === */
.carousel-3d-container {
  width: 100%;
  overflow: hidden;
}

.carousel-3d-scene {
  perspective: 800px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.carousel-3d-scene:active {
  cursor: grabbing;
}

.carousel-3d-cylinder {
  position: relative;
  width: 180px;
  height: 180px;
  transform-style: preserve-3d;
  will-change: transform;
}

.carousel-3d-face {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel-3d-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.carousel-3d-face:hover {
  box-shadow: 0 10px 30px rgba(0, 124, 251, 0.3), 0 0 12px rgba(0, 124, 251, 0.15);
}

/* Lightbox overlay for expanded image */
.carousel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.carousel-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-lightbox.active img {
  transform: scale(1);
}

@media (max-width: 640px) {
  .carousel-3d-scene {
    height: 260px;
    perspective: 500px;
  }

  .carousel-3d-cylinder,
  .carousel-3d-face {
    width: 140px;
    height: 140px;
  }

  .carousel-3d-face {
    border-radius: 16px;
  }
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 210;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 640px) {

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-ring-container {
    width: 220px;
    height: 220px;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero-ring-container {
    width: 180px;
    height: 180px;
  }
}

/* === Smart Navbar === */
.navbar {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease;
  transform: translateY(0);
  will-change: transform;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}