/* Custom Properties for Luxury Design System */
:root {
  --color-dark-bg: #090807; /* Extremely dark warm bronze/charcoal */
  --color-preloader-bg: #0c0b0a;
  --color-gold: #dfc384; /* Elegant champagne-gold */
  --color-gold-muted: rgba(223, 195, 132, 0.4);
  --color-white: #ffffff;
  --color-text-muted: #8e857b; /* Elegant warm taupe/grey */
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-dark-bg);
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fullscreen Canvas Styling */
#cinema-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
  /* Subtly enhance visual contrast and color intensity */
  filter: brightness(1.05) contrast(0.97) saturate(1.02);
  transform: translateZ(0); /* Hardware acceleration hint */
}

/* Cinematic Overlay: Vignette & Luxury Warm Tint */
.cinematic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  /* Subtle vignette with soft warm tint (champagne & rose tones) */
  background: radial-gradient(
    circle at center,
    rgba(253, 250, 242, 0.03) 0%,
    rgba(223, 195, 132, 0.04) 50%,
    rgba(12, 10, 8, 0.28) 100%
  );
  mix-blend-mode: soft-light;
}

/* Content Wrapper overlaying fixed background */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: none; /* Let pointer events pass to sections or interactable cards */
}

/* Individual Scroll Section taking full viewport height */
.scroll-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto; /* Enable mouse events inside individual sections */
  padding: 4rem 2rem;
}

/* Luxury Spacing Placeholder inside each section */
.section-placeholder {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  border: 1px solid rgba(223, 195, 132, 0.25);
  padding: 4rem 8rem;
  border-radius: 4px;
  background-color: rgba(12, 11, 10, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Luxury Minimalist Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-preloader-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), 
              visibility 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Preloader UI Design */
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 350px;
  width: 80%;
}

.preloader-tag {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: pulse-gold 3s ease-in-out infinite;
}

.preloader-progress-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.preloader-percentage {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums; /* Prevent text shifting */
}

.preloader-bar-bg {
  width: 100%;
  height: 1px; /* Minimal hairline loader */
  background-color: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-gold);
  transition: width 0.3s cubic-bezier(0.1, 0.8, 0.25, 1);
  box-shadow: 0 0 8px var(--color-gold);
}

.preloader-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* Soft gold glow pulse animation */
@keyframes pulse-gold {
  0%, 100% {
    opacity: 0.7;
    text-shadow: 0 0 0px rgba(223, 195, 132, 0);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(223, 195, 132, 0.3);
  }
}

/* Hide default browser scrollbars for cinematic purity while maintaining scrollability */
/* Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}
/* IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ==========================================
   Hero Section Styling
   ========================================== */

#hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 8%; /* Premium left margin */
  padding-right: 8%;
}

.hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 10;
  will-change: transform, opacity;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  display: block;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 6.25rem; /* ~25% increase from 5rem */
  font-weight: 300;
  line-height: 1.08; /* Slightly tighter for editorial look */
  color: #faf8f5; /* Ivory white */
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title .accent {
  color: var(--color-gold);
  display: block; /* Stack beautiful self */
  font-style: italic;
  font-weight: 200;
  margin-top: 0.2rem;
}

.hero-title .gold-highlight {
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(223, 195, 132, 0.35);
  font-weight: 300;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 200;
  line-height: 1.6;
  color: #c8c2b9; /* Ivory-grey muted */
  max-width: 580px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Floating Glassmorphic Logo */
.hero-logo-container {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 2rem;
  animation: float-logo 7s ease-in-out infinite;
  will-change: transform;
}

.luxury-glass-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(14, 12, 11, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 195, 132, 0.12);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-glass-logo:hover {
  border-color: rgba(223, 195, 132, 0.4);
  background: rgba(223, 195, 132, 0.03);
  box-shadow: 0 40px 80px rgba(223, 195, 132, 0.12),
              0 0 30px rgba(223, 195, 132, 0.05);
}

.logo-crest {
  width: 110px;
  height: 110px;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(223, 195, 132, 0.2));
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.logo-text-elite {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: #faf8f5;
  letter-spacing: 0.25em;
  line-height: 1;
  margin-left: 0.25em;
}

.logo-text-clinic {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--color-gold);
  letter-spacing: 0.4em;
  line-height: 1;
  margin-left: 0.4em;
  opacity: 0.95;
}

@keyframes float-logo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Luxury Glassmorphism Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background: rgba(223, 195, 132, 0.1);
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 30px rgba(223, 195, 132, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover {
  background: var(--color-gold);
  color: #0c0b0a;
  box-shadow: 0 10px 40px rgba(223, 195, 132, 0.3),
              0 0 15px rgba(223, 195, 132, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  color: #f5f3f0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Responsive adjustments for Hero */
@media (max-width: 768px) {
  #hero {
    padding-left: 6%;
    padding-right: 6%;
    justify-content: center;
    align-items: center;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 4rem; /* 25% increase from 3.2rem */
    line-height: 1.1;
  }

  .hero-tag {
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    margin-bottom: 1.2rem;
  }

  .hero-logo-container {
    display: none !important; /* Hide logo on mobile */
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================
   Treatments Section Styling
   ========================================== */

#treatments {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: transparent;
}

.treatments-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  will-change: transform, opacity;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-subtitle-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1.2;
  color: #f5f3f0;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-description {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: #bfaea0;
  max-width: 650px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  width: 100%;
}

/* Premium Floating Glassmorphism Cards */
.treatment-card {
  position: relative;
  background: rgba(14, 12, 11, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 195, 132, 0.12);
  border-radius: 4px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  /* Limit transition properties to prevent conflict with GSAP animations */
  transition: border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(223, 195, 132, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.treatment-card:hover::before {
  opacity: 1;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 195, 132, 0.45);
  background: rgba(223, 195, 132, 0.03);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45),
              0 0 30px rgba(223, 195, 132, 0.05);
}

.treatment-card .card-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 200;
  color: var(--color-gold);
  opacity: 0.8;
  display: block;
  margin-bottom: 1.8rem;
  transition: all 0.4s ease;
  line-height: 1;
}

.treatment-card:hover .card-num {
  color: #ffffff;
  opacity: 1;
  transform: scale(1.05);
}

.treatment-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.treatment-card .card-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: #a3998e;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* Responsive adjustments for Treatments */
@media (max-width: 1024px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  #treatments {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .section-title {
    font-size: 2.6rem;
  }
  
  .treatments-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .treatment-card {
    padding: 2.8rem 2rem;
  }
}

/* ==========================================
   AI Beauty Analysis Section Styling
   ========================================== */

#ai-analysis {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: transparent;
}

.ai-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  will-change: transform, opacity;
}

.ai-glass-panel {
  width: 100%;
  max-width: 1000px;
  background: rgba(14, 12, 11, 0.42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(223, 195, 132, 0.15);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

/* Step Content Container */
.ai-step-content {
  padding: 5rem 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ai-step-content.hidden {
  display: none !important;
}

.step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: #f5f3f0;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-align: center;
}

.step-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #8e857b;
  margin-bottom: 3.5rem;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* STEP 1: Selection Grid */
.analysis-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.analysis-select-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(223, 195, 132, 0.1);
  border-radius: 4px;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.analysis-select-card:hover {
  border-color: var(--color-gold);
  background: rgba(223, 195, 132, 0.02);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 25px rgba(223, 195, 132, 0.05);
}

.card-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(223, 195, 132, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--color-gold);
  background: rgba(14, 12, 11, 0.5);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.analysis-select-card:hover .card-icon-wrapper {
  border-color: var(--color-gold);
  background: rgba(223, 195, 132, 0.08);
  box-shadow: 0 0 20px rgba(223, 195, 132, 0.15);
  transform: translateY(-2px);
}

.analysis-icon {
  width: 26px;
  height: 26px;
}

.analysis-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.analysis-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: #a3998e;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  letter-spacing: 0.01em;
}

.analysis-card-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.analysis-select-card:hover .analysis-card-link {
  opacity: 0.8;
}

/* STEP 2: Photo Upload Styling */
.step-header-with-back {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin-bottom: 0.8rem;
}

.back-step-btn {
  position: absolute;
  left: 0;
  background: none;
  border: none;
  color: #8e857b;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.back-step-btn:hover {
  color: var(--color-gold);
}

.back-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.back-step-btn:hover .back-icon {
  transform: translateX(-4px);
}

.ai-upload-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.ai-drop-zone {
  position: relative;
  width: 100%;
  height: 300px;
  border: 1px dashed rgba(223, 195, 132, 0.25);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.005);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ai-drop-zone:hover {
  border-color: var(--color-gold);
  background: rgba(223, 195, 132, 0.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.ai-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 2rem;
}

.upload-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(223, 195, 132, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(12, 10, 8, 0.5);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ai-drop-zone:hover .upload-icon-wrapper {
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(223, 195, 132, 0.12);
  transform: translateY(-3px);
}

.upload-icon {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.upload-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.upload-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: #8e857b;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* STEP 3: AI Processing State */
.ai-processing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.gold-loading-ring-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 2.5rem;
}

.gold-loading-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 3.5;
}

.ring-fill {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
  filter: drop-shadow(0 0 6px rgba(223, 195, 132, 0.4));
  transition: stroke-dashoffset 0.1s linear;
}

.loading-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.processing-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.processing-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  min-height: 1.5em;
  opacity: 0.9;
}

/* STEP 4: Results Dashboard */
.results-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(223, 195, 132, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  width: 100%;
}

.diagnostic-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.btn-reset-wizard {
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
}

.results-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  width: 100%;
  align-items: start;
}

.results-metrics-panel {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(223, 195, 132, 0.08);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Metric Display Components */
.result-metric-card {
  margin-bottom: 2.2rem;
}

.result-metric-card:last-child {
  margin-bottom: 0;
}

.metric-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.8rem;
}

.metric-card-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: #8e857b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metric-card-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-gold);
}

.metric-bar-bg {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: var(--color-gold);
  border-radius: 2px;
  width: 0%;
  box-shadow: 0 0 8px var(--color-gold);
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

/* Beauty Consultant Narrative Quote Style */
.consultant-assessment-wrapper {
  display: flex;
  flex-direction: column;
}

.consultant-quote-box {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #e5e2dd;
  font-weight: 300;
  border-left: 2px solid var(--color-gold);
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.consultant-summary-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a3998e;
  font-weight: 300;
}

/* Treatment Recommendations grid */
.recommendations-container-new {
  margin-bottom: 2.5rem;
}

.rec-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #8e857b;
  margin-top: 0.3rem;
  font-weight: 300;
}

.recommended-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.rec-card {
  background: rgba(223, 195, 132, 0.015);
  border: 1px solid rgba(223, 195, 132, 0.08);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.rec-card:hover {
  background: rgba(223, 195, 132, 0.04);
  border-color: var(--color-gold);
  transform: translateX(4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rec-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rec-card-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #f5f3f0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.rec-card-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  font-weight: 400;
}

.rec-card-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.rec-card-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.rec-card:hover .rec-card-btn svg {
  transform: translateX(3px);
}

/* WhatsApp Consultation Block */
.wa-cta-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn-whatsapp-luxury {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(223, 195, 132, 0.07) 0%, rgba(223, 195, 132, 0.01) 100%);
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.15rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.btn-whatsapp-luxury:hover {
  background: var(--color-gold);
  color: #0c0b0a;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(223, 195, 132, 0.22),
              0 0 15px rgba(223, 195, 132, 0.1);
}

.wa-icon {
  width: 16px;
  height: 16px;
}

.wa-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #8e857b;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .results-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .ai-step-content {
    padding: 3.5rem 2rem;
  }
  
  .analysis-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .analysis-select-card {
    padding: 2.5rem 1.8rem;
  }
  
  .results-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .btn-reset-wizard {
    width: 100%;
    justify-content: center;
  }
  
  .results-metrics-panel {
    padding: 2.2rem 1.8rem;
  }
  
  .ai-drop-zone {
    height: 260px;
  }
}

/* ==========================================
   Before & After Section Styling
   ========================================== */

#before-after {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: transparent;
}

.ba-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

/* Trust Statistics Row */
.ba-stats-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 900px;
  margin-bottom: 5rem;
  border-bottom: 1px solid rgba(223, 195, 132, 0.12);
  padding-bottom: 3rem;
  gap: 2rem;
}

.ba-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.ba-stat-num-wrapper {
  display: flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-weight: 200;
  color: #f5f3f0;
}

.ba-stat-number {
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ba-stat-plus {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-left: 0.1rem;
}

.ba-stat-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #8e857b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.8rem;
}

/* Widescreen Content Grid */
.ba-content-grid {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  width: 100%;
  max-width: 1080px;
  align-items: center;
}

.ba-slider-column {
  flex: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ba-cards-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Luxury Drag Slider */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 380px;
  border-radius: 4px;
  border: 1px solid rgba(223, 195, 132, 0.15);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  will-change: width;
}

.ba-before {
  /* Width dynamically updated in JS to fit slider width */
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--color-gold);
  transform: translateX(-50%);
  z-index: 30;
  pointer-events: none;
  will-change: left;
}

.ba-handle-line {
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-preloader-bg);
  border: 1px solid var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ba-slider:hover .ba-handle-button {
  background: var(--color-gold);
  color: #0c0b0a;
  box-shadow: 0 0 15px var(--color-gold), 0 4px 25px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.05);
}

.ba-handle-button svg {
  width: 16px;
  height: 16px;
}

/* Custom Text Labels */
.ba-label {
  position: absolute;
  bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  background: rgba(12, 11, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ba-label-before {
  left: 1.5rem;
}

.ba-label-after {
  right: 1.5rem;
}

/* Additional Preview Cards */
.ba-preview-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(14, 12, 11, 0.42);
  border: 1px solid rgba(223, 195, 132, 0.12);
  border-radius: 4px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, border-color, background;
  opacity: 0;
  transform: translateY(20px);
}

.ba-preview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 195, 132, 0.45);
  background: rgba(223, 195, 132, 0.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(223, 195, 132, 0.05);
}

.ba-card-preview-thumb {
  width: 68px;
  height: 68px;
  border-radius: 4px;
  border: 1px solid rgba(223, 195, 132, 0.15);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-size: cover;
  background-position: center;
}

.ba-preview-card:hover .ba-card-preview-thumb {
  transform: scale(1.05) rotate(1deg);
}

/* Artistic abstract gradients for thumbnails */
.ba-thumb-hydra {
  background: linear-gradient(135deg, rgba(223, 195, 132, 0.1) 0%, rgba(12, 11, 10, 0.8) 100%),
              radial-gradient(circle at center, rgba(223, 195, 132, 0.3) 0%, rgba(20, 30, 45, 0.5) 100%);
}

.ba-thumb-rejuv {
  background: linear-gradient(135deg, rgba(223, 195, 132, 0.1) 0%, rgba(12, 11, 10, 0.8) 100%),
              radial-gradient(circle at center, rgba(223, 195, 132, 0.25) 0%, rgba(45, 20, 25, 0.5) 100%);
}

.ba-thumb-laser {
  background: linear-gradient(135deg, rgba(223, 195, 132, 0.1) 0%, rgba(12, 11, 10, 0.8) 100%),
              radial-gradient(circle at center, rgba(223, 195, 132, 0.2) 0%, rgba(20, 45, 30, 0.5) 100%);
}

.ba-card-details {
  display: flex;
  flex-direction: column;
}

.ba-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.ba-card-metrics {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #8e857b;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Responsive adjustments for Before/After */
@media (max-width: 900px) {
  .ba-stats-row {
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .ba-stat-item {
    flex: 1 1 40%;
  }
  
  .ba-content-grid {
    flex-direction: column;
    gap: 3rem;
  }
  
  .ba-slider-column, .ba-cards-column {
    width: 100%;
    max-width: 580px;
  }
}

@media (max-width: 500px) {
  .ba-stat-item {
    flex: 1 1 100%;
  }
  
  .ba-stat-number {
    font-size: 3.2rem;
  }
  
  .ba-slider {
    height: 280px;
  }
  
  .ba-label {
    bottom: 1rem;
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
  
  .ba-label-before { left: 1rem; }
  .ba-label-after { right: 1rem; }
}

/* ==========================================
   Reviews & Social Proof Section Styling
   ========================================== */

#reviews {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: transparent;
}

.reviews-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  width: 100%;
  margin-bottom: 5rem;
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  background: rgba(14, 12, 11, 0.42);
  border: 1px solid rgba(223, 195, 132, 0.12);
  border-radius: 4px;
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  transform: translateY(25px);
  will-change: transform, opacity;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 195, 132, 0.4);
  background: rgba(223, 195, 132, 0.03);
  box-shadow: 0 45px 80px rgba(0, 0, 0, 0.45);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(223, 195, 132, 0.08);
  border: 1px solid rgba(223, 195, 132, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #f5f3f0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.client-stars {
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  color: #aba398;
  line-height: 1.65;
  position: relative;
  letter-spacing: 0.01em;
}

/* Bottom Grid for rating and badges */
.reviews-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  width: 100%;
}

.bottom-column {
  background: rgba(14, 12, 11, 0.3);
  border: 1px solid rgba(223, 195, 132, 0.1);
  border-radius: 4px;
  padding: 2.8rem 2.2rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

/* Google Rating Card */
.google-rating-card {
  align-items: center;
  text-align: center;
}

.google-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.google-icon {
  width: 24px;
  height: 24px;
}

.google-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.google-stars-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.google-stars {
  font-size: 0.95rem;
  color: var(--color-gold);
}

.rating-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: #ffffff;
}

.rating-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #8e857b;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Trust Badges List */
.trust-badges-list {
  gap: 1.2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.badge-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #e5e2dd;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Social Proof Stats Sidebar style */
.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp-num-wrapper {
  display: flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-weight: 200;
  color: #f5f3f0;
}

.sp-number {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.sp-plus {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-left: 0.05rem;
}

.sp-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #8e857b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* Responsive adjustments for Reviews */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  
  .reviews-bottom-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2.5rem 1.8rem;
  }
}

/* ==========================================
   Contact & Booking Section Styling
   ========================================== */

#contact {
  padding-top: 8rem;
  padding-bottom: 6rem;
  background-color: transparent;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

.contact-content-grid {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  width: 100%;
  max-width: 1080px;
  align-items: stretch;
}

.contact-actions-column {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-column {
  flex: 1;
  display: flex;
}

/* Consultation Booking Panel */
.booking-cta-box {
  background: rgba(14, 12, 11, 0.42);
  border: 1px solid rgba(223, 195, 132, 0.12);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.booking-box-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.booking-box-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #8e857b;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.booking-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.booking-buttons .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem;
}

/* Premium WhatsApp card */
.whatsapp-booking-card {
  background: rgba(14, 12, 11, 0.42);
  border: 1px solid rgba(223, 195, 132, 0.12);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  gap: 1.8rem;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wa-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #25d366;
  background: rgba(37, 211, 102, 0.04);
  flex-shrink: 0;
}

.wa-icon {
  width: 26px;
  height: 26px;
}

.wa-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.wa-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.wa-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #8e857b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-wa-chat {
  color: #ffffff;
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 0.75rem;
  padding: 0.7rem 1.5rem;
}

.btn-wa-chat:hover {
  background: #25d366;
  color: #0a0908;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
  border-color: #25d366;
  transform: translateY(-2px);
}

/* Floating Luxury Info Card */
.luxury-contact-card {
  background: rgba(14, 12, 11, 0.45);
  border: 1px solid rgba(223, 195, 132, 0.15);
  border-radius: 4px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: #f5f3f0;
  margin-bottom: 2.2rem;
  letter-spacing: 0.02em;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #8e857b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.info-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #e5e2dd;
  font-weight: 300;
  line-height: 1.5;
}

/* Final Statement Branding conclusion */
.final-statement-wrapper {
  margin-top: 8rem;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(223, 195, 132, 0.12);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.final-statement {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 200;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(223, 195, 132, 0.15);
  animation: slow-glow 4s ease-in-out infinite alternate;
  margin-right: -0.28em; /* Offset for center alignment */
}

@keyframes slow-glow {
  0% {
    text-shadow: 0 0 8px rgba(223, 195, 132, 0.12);
    opacity: 0.85;
  }
  100% {
    text-shadow: 0 0 25px rgba(223, 195, 132, 0.45);
    opacity: 1;
  }
}

/* Responsive adjustments for Contact */
@media (max-width: 900px) {
  .contact-content-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .contact-actions-column, .contact-card-column {
    width: 100%;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  #contact {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  
  .whatsapp-booking-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .wa-details {
    align-items: center;
    text-align: center;
  }
  
  .final-statement {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    margin-right: -0.18em;
  }
}

/* ==========================================
   Floating AI Beauty Assistant Widget Styles
   ========================================== */

.ai-assistant-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1100;
  font-family: var(--font-sans);
}

/* Chat Toggle Button */
.ai-assistant-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(14, 12, 11, 0.85);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
              0 0 15px rgba(223, 195, 132, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  animation: float-pulse 3s ease-in-out infinite;
}

.ai-assistant-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
              0 0 25px rgba(223, 195, 132, 0.45);
  color: #ffffff;
  background: var(--color-gold);
}

.ai-assistant-btn:hover .chat-icon {
  color: #0c0b0a;
}

.ai-assistant-btn .chat-icon {
  width: 24px;
  height: 24px;
  transition: color 0.3s ease;
}

/* Tooltip */
.btn-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(14, 12, 11, 0.9);
  border: 1px solid rgba(223, 195, 132, 0.3);
  color: var(--color-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ai-assistant-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat Panel */
.ai-assistant-panel {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 380px;
  height: 600px;
  max-height: 80vh;
  background: rgba(12, 11, 10, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(223, 195, 132, 0.2);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1101;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: bottom right;
}

.ai-assistant-panel.hidden {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

/* Header */
.assistant-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(223, 195, 132, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(223, 195, 132, 0.02);
}

.assistant-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.assistant-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #b3904d);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(223, 195, 132, 0.3);
}

.avatar-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  animation: avatar-pulse 2s infinite;
  opacity: 0.6;
}

.avatar-initials {
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 0.95rem;
  color: #0c0b0a;
}

.assistant-info {
  display: flex;
  flex-direction: column;
}

.assistant-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
}

.assistant-status {
  font-size: 0.75rem;
  color: #8e857b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #2ec4b6;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #2ec4b6;
}

.close-assistant-btn {
  background: none;
  border: none;
  color: #8e857b;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-assistant-btn:hover {
  color: #ffffff;
}

.close-assistant-btn svg {
  width: 20px;
  height: 20px;
}

/* Messages Body */
.assistant-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scroll-behavior: smooth;
}

/* Scrollbar styles */
.assistant-messages::-webkit-scrollbar {
  width: 4px;
}

.assistant-messages::-webkit-scrollbar-track {
  background: transparent;
}

.assistant-messages::-webkit-scrollbar-thumb {
  background: rgba(223, 195, 132, 0.15);
  border-radius: 2px;
}

.assistant-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(223, 195, 132, 0.3);
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: message-fade-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.message-bubble {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.assistant-message {
  align-self: flex-start;
}

.assistant-message .message-bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px 14px 14px 14px;
  color: #e5dfd8;
}

.assistant-message .greeting-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.user-message {
  align-self: flex-end;
}

.user-message .message-bubble {
  background: rgba(223, 195, 132, 0.08);
  border: 1px solid rgba(223, 195, 132, 0.2);
  border-radius: 14px 2px 14px 14px;
  color: #ffffff;
}

/* Typing Indicator */
.typing-indicator {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px 14px 14px 14px;
  color: #8e857b;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Quick Actions Area */
.quick-actions-container {
  padding: 0.8rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.quick-actions-title {
  font-size: 0.75rem;
  color: #8e857b;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-action-btn {
  background: rgba(223, 195, 132, 0.03);
  border: 1px solid rgba(223, 195, 132, 0.25);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.quick-action-btn:hover {
  background: var(--color-gold);
  color: #0c0b0a;
  border-color: var(--color-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 195, 132, 0.15);
}

/* Footer / Inputs */
.assistant-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(14, 12, 11, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.assistant-chat-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.assistant-chat-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all 0.4s ease;
}

.assistant-chat-form input:focus {
  outline: none;
  border-color: rgba(223, 195, 132, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(223, 195, 132, 0.05);
}

.assistant-send-btn {
  background: rgba(223, 195, 132, 0.08);
  border: 1px solid rgba(223, 195, 132, 0.3);
  color: var(--color-gold);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.assistant-send-btn:hover {
  background: var(--color-gold);
  color: #0c0b0a;
  border-color: var(--color-gold);
}

.assistant-send-btn svg {
  width: 18px;
  height: 18px;
}

/* WhatsApp Link (Always Visible) */
.btn-wa-transition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.btn-wa-transition:hover {
  background: #25d366;
  color: #0c0b0a;
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
  transform: translateY(-1px);
}

.wa-icon-small {
  width: 16px;
  height: 16px;
}

/* Animations */
@keyframes float-pulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 195, 132, 0.2);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 195, 132, 0.4);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 195, 132, 0.2);
  }
}

@keyframes avatar-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

@keyframes message-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustment for Widget & Mobile Optimizations (Phase 9) */

/* 1. Global Glassmorphism Performance Capping for Mobile */
@media (max-width: 768px) {
  .ai-glass-panel,
  .treatment-card,
  .ai-assistant-panel,
  .section-placeholder,
  .btn,
  .booking-cta-box,
  .whatsapp-booking-card,
  .luxury-contact-card,
  .testimonial-card,
  .bottom-column {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}

/* 2. Global Touch Targets Enhancement (min 48px) */
@media (max-width: 768px) {
  /* Buttons */
  .btn {
    min-height: 48px;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }
  
  /* Chatbot Elements */
  .close-assistant-btn {
    width: 44px;
    height: 44px;
  }
  
  .assistant-send-btn {
    width: 48px;
    height: 48px;
  }
  
  .assistant-chat-form input {
    height: 48px;
  }
  
  .btn-wa-transition {
    min-height: 48px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
  
  .quick-action-btn {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
  
  /* Slider Handle touch target */
  .ba-handle-button {
    width: 48px;
    height: 48px;
  }
}

/* 3. Section Spacing & Header Margins Refinements */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.8rem;
  }
  
  .scroll-section {
    padding: 3rem 1.25rem;
  }
  
  .hero-actions {
    gap: 0.8rem;
  }
}

/* 4. Fine-grained Typography Scaling */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
  
  .final-statement {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    margin-right: -0.12em;
  }
}

/* 5. Section Specific Layout Polish */
@media (max-width: 480px) {
  /* AI Analysis section container adjustments */
  .ai-column {
    padding: 2.2rem 1.25rem;
  }
  
  .ai-drop-zone {
    height: 270px;
  }
  
  .metrics-grid {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  /* Before & After section */
  .ba-stat-item {
    padding: 1.5rem 1rem;
  }
  
  .ba-stat-number {
    font-size: 2.5rem;
  }
  
  .ba-slider {
    height: 240px;
  }
  
  /* Reviews Section */
  .testimonial-card {
    padding: 2rem 1.25rem;
  }
  
  .reviews-bottom-grid {
    gap: 1.2rem;
  }
  
  .bottom-column {
    padding: 2rem 1.25rem;
  }
  
  .social-proof-stats {
    gap: 1.2rem;
  }
  
  .sp-number {
    font-size: 2rem;
  }
  
  /* Contact section */
  .booking-cta-box {
    padding: 2.2rem 1.25rem;
  }
  
  .booking-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .booking-buttons .btn {
    width: 100%;
  }
  
  .whatsapp-booking-card {
    padding: 2.2rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  
  .luxury-contact-card {
    padding: 2.2rem 1.25rem;
  }
}

/* 6. Chatbot Mobile Responsive Refinements */
@media (max-width: 500px) {
  .ai-assistant-widget {
    bottom: 24px;
    right: 24px;
  }
  
  .ai-assistant-panel {
    bottom: 96px;
    right: 20px;
    left: 20px;
    width: auto;
    height: 62vh;
  }
  
  .assistant-header {
    padding: 1rem 1.25rem;
  }
  
  .assistant-messages {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .quick-actions-container {
    padding: 0.8rem 1.25rem;
  }
  
  .assistant-footer {
    padding: 0.8rem 1.25rem 1.25rem 1.25rem;
  }
}

/* ==========================================================================
   PHASE 8.5: TREATMENT DETAIL EDITORIAL FULLSCREEN EXPERIENCE
   ========================================================================== */

/* Page Blur State */
.content-wrapper.modal-blur-active,
#cinema-canvas.modal-blur-active {
  filter: blur(15px);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .content-wrapper.modal-blur-active,
  #cinema-canvas.modal-blur-active {
    filter: blur(8px); /* Cap backdrop blur on mobile for performance */
  }
}

/* Modal Viewport & Backdrop */
.treatment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.treatment-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 8, 7, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-modal.active .modal-backdrop {
  opacity: 1;
}

@media (max-width: 768px) {
  .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* Modal Window Upward Animation */
.modal-window {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.treatment-modal.active .modal-window {
  transform: translateY(0);
  opacity: 1;
}

/* Close & Nav Buttons styling */
.modal-close-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(9, 8, 7, 0.5);
  border: 1px solid rgba(223, 195, 132, 0.2);
  color: var(--color-gold);
  cursor: pointer;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

.modal-close-btn:hover {
  background: rgba(223, 195, 132, 0.15);
  border-color: var(--color-gold);
  transform: rotate(90deg) scale(1.05);
}

.modal-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(9, 8, 7, 0.5);
  border: 1px solid rgba(223, 195, 132, 0.15);
  color: var(--color-gold);
  cursor: pointer;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-nav-arrow svg {
  width: 24px;
  height: 24px;
}

.modal-nav-arrow.arrow-left {
  left: 40px;
}

.modal-nav-arrow.arrow-right {
  right: 40px;
}

.modal-nav-arrow:hover {
  background: rgba(223, 195, 132, 0.15);
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 1024px) {
  .modal-nav-arrow {
    display: none; /* Hide arrow navigation on tablets/mobile, use swipe */
  }
}

/* Dots Indicator */
.modal-dots-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 12px;
  background: rgba(9, 8, 7, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(223, 195, 132, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-dots-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(223, 195, 132, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dots-indicator .dot.active {
  background: var(--color-gold);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(223, 195, 132, 0.5);
}

/* Slider Viewport */
.modal-viewport {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.modal-slides-inner {
  display: flex;
  width: 600vw;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.treatment-slide {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide-scroll-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--color-dark-bg);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Slide Section - Hero styling */
.slide-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.slide-section.section-hero {
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-slide.active .hero-bg-img {
  transform: scale(1.02);
}

.hero-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 8, 7, 0.3) 0%, rgba(9, 8, 7, 0.2) 40%, rgba(9, 8, 7, 0.9) 100%),
              radial-gradient(circle at center, transparent 20%, rgba(9, 8, 7, 0.6) 100%);
  z-index: 2;
}

.hero-editorial-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.editorial-num {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  opacity: 0.8;
  border-bottom: 1px solid rgba(223, 195, 132, 0.3);
  padding-bottom: 0.5rem;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-white);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.editorial-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--color-gold);
  font-weight: 300;
  max-width: 750px;
  line-height: 1.4;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Scroll down indicator prompt */
.scroll-prompt {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  animation: promptPulse 2.5s infinite ease-in-out;
  cursor: pointer;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-white);
}

.scroll-arrow-icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.scroll-arrow-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes promptPulse {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 0.9; }
}

/* Section Content Layouts */
.section-content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.8rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.editorial-divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold-muted);
  margin: 0 auto 2.5rem auto;
}

/* Section Nedir? */
.section-nedir {
  background: linear-gradient(to bottom, rgba(9, 8, 7, 0.9) 0%, rgba(12, 11, 10, 0.95) 100%);
  padding: 8rem 2rem;
}

.section-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.9;
  color: #d8d2ca;
}

/* Section Nasıl Çalışır? (Timeline) */
.section-timeline {
  background: #0c0b0a;
  padding: 8rem 2rem;
}

.section-timeline .section-content-wrapper {
  max-width: 900px;
}

.timeline-container {
  position: relative;
  padding: 3rem 0;
  margin-top: 2rem;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(223, 195, 132, 0.15);
}

.timeline-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
  width: 100%;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-number-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #090807;
  border: 1px solid rgba(223, 195, 132, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold);
  font-weight: 400;
}

.step-content {
  width: 42%;
  padding: 2.2rem;
  text-align: left;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step:nth-child(even) .step-content {
  text-align: left;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: #bfaea0;
}

/* Section Beklenen Sonuçlar */
.section-results {
  background: linear-gradient(to bottom, #0c0b0a 0%, #090807 100%);
  padding: 8rem 2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: 4px;
  background: rgba(223, 195, 132, 0.02);
  border: 1px solid rgba(223, 195, 132, 0.05);
}

.result-check {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
}

.result-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: #e5dfd8;
  line-height: 1.5;
}

/* Section Kimler İçin Uygundur? */
.section-suitability {
  background: #090807;
  padding: 8rem 2rem;
}

.section-suitability .section-content-wrapper {
  max-width: 900px;
}

.suitability-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.suitability-card {
  padding: 3rem 2rem;
  border-radius: 4px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
}

.suitability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 195, 132, 0.25);
  background: rgba(223, 195, 132, 0.06);
}

.suitability-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: #e8e2d9;
}

/* Section Call To Action */
.section-cta {
  background: linear-gradient(to bottom, #090807 0%, #0c0b0a 100%);
  padding: 10rem 2rem 12rem 2rem;
  border-top: 1px solid rgba(223, 195, 132, 0.08);
}

.section-cta .section-content-wrapper {
  max-width: 650px;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.cta-subtext {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: #bfaea0;
  margin-bottom: 3rem;
}

.cta-buttons-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Glassmorphism Panels and Borders */
.glass-panel {
  background: rgba(12, 11, 10, 0.55);
  border: 1px solid rgba(223, 195, 132, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 4px;
}

.glass-panel:hover {
  border-color: rgba(223, 195, 132, 0.22);
  background: rgba(12, 11, 10, 0.65);
}

/* Animations & Fade-ins */
.slide-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-slide.active .slide-section {
  opacity: 1;
  transform: translateY(0);
}

/* Delayed transition for sections */
.treatment-slide.active .section-nedir { transition-delay: 0.1s; }
.treatment-slide.active .section-timeline { transition-delay: 0.2s; }
.treatment-slide.active .section-results { transition-delay: 0.3s; }
.treatment-slide.active .section-suitability { transition-delay: 0.4s; }
.treatment-slide.active .section-cta { transition-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 991px) {
  .editorial-title {
    font-size: 4.2rem;
  }
  .editorial-slogan {
    font-size: 1.8rem;
  }
  .step-content {
    width: 45%;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .modal-close-btn {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .slide-section {
    padding: 4rem 1.5rem;
  }
  
  .editorial-title {
    font-size: 3rem;
    letter-spacing: 0.1em;
  }
  
  .editorial-slogan {
    font-size: 1.45rem;
  }
  
  .scroll-prompt {
    bottom: 90px;
  }
  
  .section-heading {
    font-size: 2.2rem;
  }
  
  .section-text {
    font-size: 1.15rem;
    line-height: 1.7;
  }
  
  /* Timeline Mobile (Left aligned) */
  .timeline-line {
    left: 20px;
    transform: none;
  }
  
  .timeline-step {
    flex-direction: column !important;
    align-items: flex-start;
    margin-bottom: 3rem;
  }
  
  .step-number-box {
    left: 20px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
  }
  
  .step-number {
    font-size: 0.95rem;
  }
  
  .step-content {
    width: calc(100% - 45px);
    margin-left: 45px;
    padding: 1.5rem;
    text-align: left !important;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .result-item {
    padding: 1.2rem;
  }
  
  .suitability-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .suitability-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .cta-heading {
    font-size: 2.5rem;
  }
  
  .cta-buttons-wrapper {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .cta-buttons-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .editorial-title {
    font-size: 2.4rem;
  }
  .editorial-slogan {
    font-size: 1.25rem;
  }
  .section-heading {
    font-size: 1.85rem;
  }
}

/* Slide Meta Details (Session Duration & Estimated Pricing) */
.meta-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  width: 100%;
}

.meta-detail-item {
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
}

.meta-detail-item:hover {
  border-color: rgba(223, 195, 132, 0.25);
  background: rgba(223, 195, 132, 0.05);
  transform: translateY(-4px);
}

.meta-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--color-white);
  font-weight: 300;
}

@media (max-width: 768px) {
  .meta-details-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.5rem;
  }
  .meta-detail-item {
    padding: 1.5rem;
  }
  .meta-value {
    font-size: 1.4rem;
  }
}

/* Luxury Language Switcher Styling */
.luxury-lang-switcher {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(12, 11, 10, 0.45);
  border: 1px solid rgba(223, 195, 132, 0.15);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.luxury-lang-switcher:hover {
  border-color: rgba(223, 195, 132, 0.3);
  background: rgba(12, 11, 10, 0.6);
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(245, 243, 240, 0.5);
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.lang-btn:hover {
  color: var(--color-gold);
}

.lang-btn.active {
  color: var(--color-gold);
  font-weight: 400;
  text-shadow: 0 0 8px rgba(223, 195, 132, 0.4);
}

/* RTL Layout Direction Overrides */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .luxury-lang-switcher {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .hero-content {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .hero-logo-container {
  left: auto;
  right: 15%;
}

html[dir="rtl"] .ai-assistant-widget {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .ai-assistant-panel {
  right: auto;
  left: 30px;
  transform-origin: bottom left;
}

html[dir="rtl"] .btn-tooltip {
  right: auto;
  left: 75px;
  transform: translateX(-10px);
}

html[dir="rtl"] .assistant-footer .assistant-chat-form {
  flex-direction: row;
}

html[dir="rtl"] .assistant-chat-form button {
  transform: scaleX(-1);
}

/* Flip arrows or icons for RTL */
html[dir="rtl"] .back-icon,
html[dir="rtl"] .rec-card-btn svg,
html[dir="rtl"] .ba-handle-button svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .contact-info-list .info-item {
  flex-direction: row;
}

html[dir="rtl"] .info-icon {
  margin-right: 0;
  margin-left: 1.5rem;
}

html[dir="rtl"] .client-info {
  align-items: flex-start;
  margin-left: 0;
  margin-right: 1.2rem;
}

html[dir="rtl"] .testimonial-header {
  flex-direction: row;
}

html[dir="rtl"] .trust-badge .badge-icon {
  margin-right: 0;
  margin-left: 0.8rem;
}

html[dir="rtl"] .rec-card:hover {
  transform: translateX(-4px);
}

html[dir="rtl"] .rec-card:hover .rec-card-btn svg {
  transform: translateX(-3px) scaleX(-1);
}

/* Mobile Chatbot Specific Override Layout (Phase 14) */
@media (max-width: 768px) {
  .ai-assistant-panel.mobile-chat-widget {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 92vh !important;
    max-height: 92vh !important;
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    border-top: 1px solid rgba(223, 195, 132, 0.3) !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8) !important;
    transform-origin: bottom center !important;
    background: rgba(12, 11, 10, 0.95) !important; /* solid/opaque black background for mobile */
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .ai-assistant-panel.mobile-chat-widget.hidden {
    opacity: 0 !important;
    transform: translateY(100%) scale(1) !important;
    pointer-events: none !important;
  }

  /* Grab handle at the top center */
  .ai-assistant-panel.mobile-chat-widget::before {
    content: '' !important;
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 45px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 2px !important;
    z-index: 10 !important;
  }

  /* Header adjustments */
  .mobile-chat-widget .assistant-header {
    padding: 1.8rem 1.5rem 1.2rem 1.5rem !important; /* extra padding for safe area and grab handle */
    border-bottom: 1px solid rgba(223, 195, 132, 0.2) !important;
  }

  .mobile-chat-widget .assistant-avatar {
    width: 52px !important;
    height: 52px !important;
  }

  .mobile-chat-widget .avatar-initials {
    font-size: 1.15rem !important;
  }

  .mobile-chat-widget .assistant-name {
    font-size: 24px !important; /* Header title: 24px */
    font-weight: 400 !important;
  }

  .mobile-chat-widget .assistant-status {
    font-size: 16px !important; /* Online status: 16px */
    color: #a3998e !important;
  }

  .mobile-chat-widget .close-assistant-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Messages area */
  .mobile-chat-widget .assistant-messages {
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }

  .mobile-chat-widget .message {
    max-width: 90% !important;
  }

  .mobile-chat-widget .message-bubble {
    padding: 1rem 1.25rem !important;
    font-size: 18px !important; /* Chat messages: minimum 18px */
    line-height: 1.5 !important;
  }

  .mobile-chat-widget .assistant-message .greeting-title {
    font-size: 20px !important;
    margin-bottom: 0.5rem !important;
  }

  /* Quick Actions Area */
  .mobile-chat-widget .quick-actions-container {
    padding: 1rem 1.5rem !important;
    background: rgba(14, 12, 11, 0.3) !important;
  }

  .mobile-chat-widget .quick-actions-title {
    font-size: 14px !important;
    margin-bottom: 0.8rem !important;
  }

  .mobile-chat-widget .quick-actions-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Two-column grid */
    gap: 0.8rem !important;
    width: 100% !important;
  }

  .mobile-chat-widget .quick-action-btn {
    font-size: 18px !important; /* Quick action buttons: minimum 18px */
    height: 56px !important; /* Minimum height: 56px */
    padding: 0 !important;
    border-radius: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(223, 195, 132, 0.03) !important;
    border: 1px solid rgba(223, 195, 132, 0.25) !important;
    color: var(--color-gold) !important;
  }

  /* Last button full width */
  .mobile-chat-widget .quick-action-btn:last-child {
    grid-column: span 2 !important; /* Last button full width */
  }

  /* Footer / Inputs */
  .mobile-chat-widget .assistant-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem !important;
    background: rgba(14, 12, 11, 0.95) !important; /* Opaque footer */
    gap: 1rem !important;
  }

  .mobile-chat-widget .assistant-chat-form {
    display: flex !important;
    gap: 0.8rem !important;
  }

  .mobile-chat-widget .assistant-chat-form input {
    font-size: 18px !important; /* Input text: minimum 18px */
    padding: 1rem 1.25rem !important;
    border-radius: 10px !important;
    height: 56px !important;
  }

  .mobile-chat-widget .assistant-send-btn {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
  }

  .mobile-chat-widget .assistant-send-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* WhatsApp button: Full width, Sticky at bottom, Always visible, Minimum height: 60px */
  .mobile-chat-widget .btn-wa-transition {
    font-size: 18px !important; /* Minimum 18px */
    padding: 0 !important;
    height: 60px !important; /* Minimum height: 60px */
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(37, 211, 102, 0.08) !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    color: #25d366 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .mobile-chat-widget .btn-wa-transition:hover {
    background: #25d366 !important;
    color: #0c0b0a !important;
    border-color: #25d366 !important;
  }

  .mobile-chat-widget .wa-icon-small {
    width: 22px !important;
    height: 22px !important;
  }
}

/* ==========================================
   RTL Layout Reset & Text Alignment
   ========================================== */
html[dir="rtl"] {
  direction: ltr !important;
}

html[dir="rtl"] body {
  direction: ltr !important;
}

/* Make text elements RTL */
html[dir="rtl"] p,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] span:not(.btn):not(.lang-btn):not(.avatar-initials):not(.client-avatar):not(.preloader-percentage):not(.loading-percentage):not(.card-num):not(.result-check),
html[dir="rtl"] li,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] blockquote {
  direction: rtl;
  text-align: right;
}

/* Ensure centered elements stay centered or have correct alignments */
html[dir="rtl"] .section-header,
html[dir="rtl"] .section-header h2,
html[dir="rtl"] .section-header p,
html[dir="rtl"] .section-subtitle-tag {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .btn,
html[dir="rtl"] .btn span {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .preloader-content,
html[dir="rtl"] .preloader-percentage,
html[dir="rtl"] .preloader-status {
  text-align: center;
  direction: ltr; /* Keep preloader content centered and LTR for percent */
}

/* Hero Content alignment */
html[dir="rtl"] .hero-content {
  align-items: flex-start; /* Keep aligned to the left of its column */
  text-align: right;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .hero-tag {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start; /* Keep aligned to the left of the column */
}

/* UI Components that contain text but should maintain layout alignment */
html[dir="rtl"] .analysis-select-card {
  text-align: center;
}
html[dir="rtl"] .analysis-select-card * {
  text-align: center;
}

html[dir="rtl"] .testimonial-card {
  text-align: right;
}

html[dir="rtl"] .client-info {
  text-align: right;
}

html[dir="rtl"] .client-name,
html[dir="rtl"] .client-stars {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .google-rating-card {
  text-align: center;
}
html[dir="rtl"] .google-rating-card * {
  text-align: center;
}

html[dir="rtl"] .booking-cta-box {
  text-align: left;
}
html[dir="rtl"] .booking-cta-box h3,
html[dir="rtl"] .booking-cta-box p {
  text-align: left;
  direction: rtl;
}

html[dir="rtl"] .wa-details {
  text-align: left;
}
html[dir="rtl"] .wa-details h4,
html[dir="rtl"] .wa-details p {
  text-align: left;
  direction: rtl;
}

html[dir="rtl"] .luxury-contact-card {
  text-align: left;
}
html[dir="rtl"] .info-text {
  text-align: left;
}
html[dir="rtl"] .info-label,
html[dir="rtl"] .info-value {
  text-align: left;
  direction: rtl;
}

/* Chat Assistant panel overrides */
html[dir="rtl"] .assistant-info {
  text-align: left;
}
html[dir="rtl"] .assistant-name,
html[dir="rtl"] .assistant-status {
  text-align: left;
  direction: rtl;
}

html[dir="rtl"] .assistant-messages .message {
  text-align: right;
}

html[dir="rtl"] .message-bubble p {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .quick-actions-container {
  text-align: right;
}
html[dir="rtl"] .quick-actions-title {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .quick-action-btn {
  text-align: center;
  direction: rtl;
}

/* Modal slides overrides */
html[dir="rtl"] .editorial-title,
html[dir="rtl"] .editorial-slogan,
html[dir="rtl"] .scroll-text {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .meta-detail-item {
  text-align: center;
}
html[dir="rtl"] .meta-label,
html[dir="rtl"] .meta-value {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .step-content {
  text-align: right;
}
html[dir="rtl"] .step-title,
html[dir="rtl"] .step-desc {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .result-item {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .suitability-card {
  text-align: center;
}
html[dir="rtl"] .suitability-text {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .cta-heading,
html[dir="rtl"] .cta-subtext {
  text-align: center;
  direction: rtl;
}




