/* MISTER SIX - Luxury Grooming Aesthetic & Ultra-Modern Typography */

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

:root {
  --color-bg-dark: #05070c;
  --color-card-dark: #0b0e17;
  --color-border-dark: rgba(255, 255, 255, 0.08);
  
  /* Formula signature colors */
  --color-cool-cyan: #00d2ff;
  --color-cool-glow: rgba(0, 210, 255, 0.4);
  --color-confident-red: #ff2a4a;
  --color-confident-glow: rgba(255, 42, 74, 0.45);
  --color-warm-purple: #b537f2;
  --color-warm-glow: rgba(181, 55, 242, 0.4);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Prompt', 'Kanit', -apple-system, sans-serif;
  background-color: var(--color-bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #06080e;
}
::-webkit-scrollbar-thumb {
  background: #1c2333;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff2a4a;
}

/* Glassmorphism 2.0 (Deep Obsidian Luxury Finish) */
.glass-panel {
  background: linear-gradient(145deg, rgba(16, 20, 31, 0.72) 0%, rgba(8, 11, 18, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Luxury Typography Effects */
.text-metallic {
  background: linear-gradient(180deg, #ffffff 10%, #e2e8f0 55%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-crimson {
  text-shadow: 0 0 25px rgba(255, 42, 74, 0.65), 0 0 10px rgba(255, 42, 74, 0.4);
}

.section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Button Shimmer (Luxury Sheen Sweep) */
.btn-luxury-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-luxury-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShimmerSweep 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events-none;
}

@keyframes btnShimmerSweep {
  0% { left: -60%; }
  25%, 100% { left: 160%; }
}

/* Stage Pedestal Glow under Bottles */
.bottle-pedestal-glow {
  position: absolute;
  bottom: 0px;
  left: 8%;
  right: 8%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255, 42, 74, 0.45) 0%, rgba(181, 55, 242, 0.25) 45%, rgba(0, 210, 255, 0.25) 75%, transparent 90%);
  filter: blur(12px);
  border-radius: 50%;
  pointer-events-none;
  z-index: 5;
}

/* Neon Glows */
.glow-red {
  box-shadow: 0 0 25px rgba(255, 42, 74, 0.45);
}

.glow-cyan {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

.glow-purple {
  box-shadow: 0 0 25px rgba(181, 55, 242, 0.4);
}

.text-glow-red {
  text-shadow: 0 0 20px rgba(255, 42, 74, 0.6);
}

.text-glow-cyan {
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

.text-glow-purple {
  text-shadow: 0 0 20px rgba(181, 55, 242, 0.6);
}

/* ===================================================
   Header & Navigation Bar Styles
   =================================================== */
.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-logo-img {
  height: 32px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s ease, filter 0.25s ease;
}

@media (min-width: 640px) {
  .header-logo-img {
    height: 36px;
    max-height: 40px;
  }
}

.header-logo-link:hover .header-logo-img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(255, 42, 74, 0.45));
}

/* ===================================================
   Hero Section: Neon Smoke Background & Dark Overlay 
   =================================================== */
.hero-section {
  position: relative;
  background-image: url('../assets/images/hero-smoke-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
}

/* Hero Background Motion Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events-none;
}

/* Dark Overlay Layer (30% - 40% darkness with bottom fade transition) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 14, 0.35) 0%,
    rgba(7, 9, 14, 0.30) 40%,
    rgba(7, 9, 14, 0.45) 75%,
    rgba(7, 9, 14, 0.98) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 2;
  pointer-events-none;
}

/* Layering: Ensure all hero content sits above the background and overlay */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Subtle Bottle Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.01);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 5.5s ease-in-out infinite 1s;
}

.animate-float-delayed-2 {
  animation: floatSlow 5.2s ease-in-out infinite 2s;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Mobile Frame Mockup Container for Desktop view */
.mobile-device-wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background-color: #07090e;
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 100px rgba(181, 55, 242, 0.1);
}

@media (min-width: 640px) {
  .desktop-device-border {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Quiz & Dynamic Slide Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

.animate-slide-right {
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-scale {
  animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shimmer-bar {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Comparison Table Mobile Scroll Styling */
.table-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.table-scroll-container::-webkit-scrollbar {
  height: 4px;
}

.table-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.table-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 74, 0.5);
  border-radius: 4px;
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 20;
  background-color: #0d111a;
}

