/* Hair Wig Palace - Antigravity & Weightless Theme Styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-primary-dark: #0f172a;
  --color-primary-slate: #1e293b;
  --color-gold-300: #e2c079;
  --color-gold-400: #d4af37;
  --color-gold-500: #c59b27;
  --color-gold-600: #a67c1e;
  --color-bronze: #8c5e1e;
  --color-pearl: #fafbfc;
  --color-surface-soft: #f4f6f9;
  --color-border-glass: rgba(255, 255, 255, 0.85);
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --shadow-antigravity: 0 25px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
  --shadow-levitate: 0 35px 60px -15px rgba(212, 175, 55, 0.15), 0 20px 30px -10px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #fafbfc;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(244, 246, 249, 1) 0%, rgba(250, 251, 252, 1) 50%, rgba(245, 241, 232, 0.5) 100%);
}

.font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Ambient Canvas Background */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Antigravity Floating Keyframes */
@keyframes antigravity-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.4deg);
  }
}

@keyframes antigravity-float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(-0.5deg);
  }
}

@keyframes antigravity-float-reverse {
  0%, 100% {
    transform: translateY(-8px) rotate(0.3deg);
  }
  50% {
    transform: translateY(8px) rotate(-0.3deg);
  }
}

@keyframes gentle-sway {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-6px) rotate(1.5deg);
  }
}

@keyframes orb-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

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

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes gold-pulse-ring {
  0% {
    transform: scale(0.97);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(212, 175, 55, 0);
  }
  100% {
    transform: scale(0.97);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Antigravity Animation Classes */
.float-element {
  animation: antigravity-float 6s ease-in-out infinite;
}

.float-element-slow {
  animation: antigravity-float-slow 8.5s ease-in-out infinite;
}

.float-element-reverse {
  animation: antigravity-float-reverse 7s ease-in-out infinite;
}

.sway-element {
  animation: gentle-sway 5s ease-in-out infinite;
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.glass-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-antigravity);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-levitate);
  border-color: rgba(212, 175, 55, 0.35);
}

.glass-dark-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

/* Gold Gradient Accents */
.text-gold-gradient {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 40%, #e2c079 70%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-bright {
  background: linear-gradient(135deg, #d4af37 0%, #f7e199 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #c59b27 0%, #d4af37 50%, #b08218 100%);
}

.bg-gold-gradient:hover {
  background: linear-gradient(135deg, #d4af37 0%, #e5c358 50%, #c59b27 100%);
}

.badge-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(245, 222, 145, 0.22) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #8c5e1e;
}

/* Ambient Floating Orbs (Background Glows) */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: orb-pulse 10s ease-in-out infinite alternate;
}

.ambient-orb-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 70%);
}

.ambient-orb-slate {
  background: radial-gradient(circle, rgba(148, 163, 184, 0.16) 0%, rgba(148, 163, 184, 0) 70%);
}

.ambient-orb-warm {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
}

/* 3D Tilt Wrapper */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.tilt-inner {
  transform: translateZ(24px);
}

.tilt-inner-deep {
  transform: translateZ(48px);
}

/* Magnetic Button Pull */
.magnetic-btn {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* WhatsApp Pulse Widget */
.whatsapp-pulse-btn {
  animation: pulse-ring 2.2s infinite;
}

.gold-pulse-btn {
  animation: gold-pulse-ring 2.5s infinite;
}

/* Interactive Slider & Switcher */
.comparison-slider-container {
  position: relative;
  user-select: none;
  overflow: hidden;
  border-radius: 1.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Light beam / glow effect */
.antigravity-glow {
  position: relative;
}

.antigravity-glow::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(35px);
}

/* Modal Animations */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* FAQ Accordion Styling */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
