:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --background: 0 0% 100%;
  --foreground: 0 0% 7%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 7%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 7%;
  --primary: 0 0% 7%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 7%;
  --muted: 0 0% 92%;
  --muted-foreground: 0 0% 34%;
  --accent: 39 45% 61%;
  --accent-foreground: 0 0% 7%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 52% 36%;
  --success-foreground: 0 0% 100%;
  --warning: 38 78% 48%;
  --warning-foreground: 0 0% 7%;
  --info: 210 70% 45%;
  --info-foreground: 0 0% 100%;
  --border: 0 0% 85%;
  --input: 0 0% 85%;
  --ring: 39 45% 61%;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px hsl(var(--foreground) / 0.05);
  --shadow-md: 0 4px 12px hsl(var(--foreground) / 0.08);
  --shadow-lg: 0 12px 32px hsl(var(--foreground) / 0.12);
  --shadow-elegant: 0 16px 48px hsl(var(--accent) / 0.22);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --background: 0 0% 7%;
  --foreground: 0 0% 98%;
  --card: 0 0% 10%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 10%;
  --popover-foreground: 0 0% 98%;
  --primary: 39 45% 61%;
  --primary-foreground: 0 0% 7%;
  --secondary: 0 0% 16%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 16%;
  --muted-foreground: 0 0% 72%;
  --accent: 39 45% 61%;
  --accent-foreground: 0 0% 7%;
  --destructive: 0 68% 54%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 44% 44%;
  --success-foreground: 0 0% 7%;
  --warning: 38 74% 58%;
  --warning-foreground: 0 0% 7%;
  --info: 210 70% 62%;
  --info-foreground: 0 0% 7%;
  --border: 0 0% 22%;
  --input: 0 0% 22%;
  --ring: 39 45% 61%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: hsl(var(--background));
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: var(--font-serif);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.hero-surface {
  background:
    radial-gradient(circle at 78% 18%, hsl(var(--accent) / 0.2), transparent 28%),
    linear-gradient(135deg, hsl(var(--background)), hsl(var(--secondary)) 52%, hsl(var(--background)));
}

.luxury-dark {
  background:
    radial-gradient(circle at 18% 12%, hsl(var(--accent) / 0.16), transparent 32%),
    radial-gradient(circle at 88% 82%, hsl(var(--accent) / 0.1), transparent 30%),
    linear-gradient(135deg, hsl(0 0% 7%), hsl(0 0% 10%) 48%, hsl(0 0% 16%));
  color: hsl(0 0% 98%);
  --background: 0 0% 7%;
  --foreground: 0 0% 98%;
  --card: 0 0% 10%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 10%;
  --popover-foreground: 0 0% 98%;
  --primary: 39 45% 61%;
  --primary-foreground: 0 0% 7%;
  --secondary: 0 0% 16%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 16%;
  --muted-foreground: 0 0% 72%;
  --border: 0 0% 24%;
}

.follicle-pattern {
  opacity: 0.5;
  background-image:
    radial-gradient(circle, hsl(var(--accent) / 0.22) 1px, transparent 1px),
    radial-gradient(circle, hsl(var(--foreground) / 0.08) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.luxury-vignette {
  background:
    linear-gradient(90deg, hsl(var(--background) / 0.92), transparent 52%),
    linear-gradient(0deg, hsl(var(--background) / 0.86), transparent 42%);
}

.glass-card {
  border: 1px solid hsl(var(--border) / 0.72);
  background: linear-gradient(135deg, hsl(var(--card) / 0.68), hsl(var(--card) / 0.28));
  backdrop-filter: blur(20px);
}

.image-polish {
  background:
    linear-gradient(180deg, transparent 45%, hsl(0 0% 0% / 0.6)),
    linear-gradient(135deg, hsl(var(--accent) / 0.18), transparent 36%);
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent) / 0.72), transparent);
}

.timeline-card {
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, hsl(var(--accent)), transparent);
  opacity: 0.7;
}

.timeline-card p {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-card p::before {
  content: "";
  position: absolute;
  left: -0.18rem;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: hsl(var(--accent));
  box-shadow: 0 0 0 6px hsl(var(--accent) / 0.12);
}

.before-after-cue {
  height: 4rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background:
    linear-gradient(90deg, hsl(var(--muted)) 0 49%, hsl(var(--accent) / 0.32) 49% 51%, hsl(var(--card)) 51% 100%),
    repeating-linear-gradient(90deg, transparent 0 10px, hsl(var(--foreground) / 0.05) 10px 11px);
}

.treatment-glow {
  background:
    radial-gradient(circle at 30% 20%, hsl(var(--accent) / 0.16), transparent 32%),
    radial-gradient(circle at 80% 60%, hsl(var(--foreground) / 0.08), transparent 28%);
}

.service-card {
  min-height: 100%;
}

.animated-waves {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    radial-gradient(ellipse at 50% 45%, hsl(var(--accent) / 0.16), transparent 32%),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 24px, hsl(var(--accent) / 0.08) 25px 26px);
  animation: waveShift 12s ease-in-out infinite alternate;
}

.team-card {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lg), 0 0 48px hsl(var(--accent) / 0.12);
  border-color: hsl(var(--accent) / 0.42);
}

.pricing-card {
  background:
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--muted) / 0.24)),
    radial-gradient(circle at top right, hsl(var(--accent) / 0.12), transparent 28%);
}

.floating-orb {
  position: absolute;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: hsl(var(--accent) / 0.18);
  filter: blur(28px);
  animation: floatOrb 6s ease-in-out infinite alternate;
}

.orb-one {
  left: 10%;
  top: 20%;
}

.orb-two {
  right: 12%;
  bottom: 20%;
  animation-delay: 1.4s;
}

@keyframes waveShift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-1rem) scale(1.04);
  }
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0.75rem, -1rem, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }
}
