/* ==========================================================================
   BASE & RESET STYLES - VERO STUDIO NAILS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
}

/* Ambient Gold Dust Canvas (Living Boudoir Particles) */
.ambient-gold-dust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Background Ambient Lighting (Warm Parisian Atelier Atmosphere) */
body::before {
  content: '';
  position: fixed;
  top: -15vh;
  left: 15%;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.08) 0%, rgba(230, 206, 145, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-negative);
  filter: blur(40px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -20vh;
  right: 10%;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.05) 0%, rgba(184, 134, 11, 0.02) 45%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-negative);
  filter: blur(50px);
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-champagne);
}

/* Typography Defaults - Royal French Garamond & Versailles Aesthetics */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.015em;
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-sm {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
  scroll-margin-top: 96px;
}

/* Section Header Structure - Versailles Royal Cartouche */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-4xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(12, 13, 17, 0.8) 100%);
  border: 1px solid var(--border-gold-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-royal);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-champagne);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 0 14px rgba(212, 175, 55, 0.12);
}

.section-tag::before {
  content: '✦';
  font-size: 0.7em;
  color: var(--gold-primary);
  opacity: 0.85;
}

.section-tag::after {
  content: '✦';
  font-size: 0.7em;
  color: var(--gold-primary);
  opacity: 0.85;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.3vw, 3.4rem);
  margin-bottom: var(--space-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Shimmer Gold Text Effect */
.gold-text-shimmer {
  background: linear-gradient(120deg, #FFFFFF 0%, #F5E5BE 25%, #D4AF37 50%, #F5E5BE 75%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGold 6s linear infinite;
}

@keyframes shineGold {
  to {
    background-position: 200% center;
  }
}

.gold-gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Luxury Buttons - Haute Joaillerie Craftsmanship */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #FFF8E7 0%, #E8D29A 22%, #D4AF37 50%, #B38622 78%, #EEDBB0 100%);
  color: #0c0d12;
  border: 1px solid rgba(255, 248, 225, 0.7);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.9),
    inset 0 -1.5px 2px rgba(100, 70, 10, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.32);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent 100%
  );
  transform: rotate(20deg);
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px rgba(100, 70, 10, 0.4),
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(212, 175, 55, 0.55);
  border-color: #FFFFFF;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: rgba(14, 15, 22, 0.8);
  color: var(--text-white);
  border: 1px solid var(--border-gold-medium);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-champagne);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(212, 175, 55, 0.25);
}

.btn-secondary:active {
  transform: translateY(1px) scale(0.985);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
  letter-spacing: 0.11em;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  transition: all var(--transition-base);
  position: relative;
}

.glass-card:hover {
  border-color: var(--border-gold-subtle);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

/* Versailles Royal Fleuron & Diamond Star Divider */
.gold-divider {
  width: 140px;
  height: 14px;
  margin: var(--space-md) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gold-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 35%, var(--gold-primary) 65%, transparent 100%);
}

.gold-divider::after {
  content: '✦';
  position: relative;
  z-index: 1;
  color: var(--gold-champagne);
  font-size: 0.72rem;
  padding: 0 10px;
  background: var(--bg-darkest);
  text-shadow: 0 0 12px var(--gold-primary);
}

/* Royal Versailles Calligraphy Utilities */
.calligraphy-accent,
.font-calligraphy {
  font-family: var(--font-calligraphy);
  font-weight: 400;
  font-size: 1.35em;
  color: var(--gold-champagne);
  line-height: 1;
  display: inline-block;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.royal-quote {
  font-family: var(--font-calligraphy);
  font-size: 1.85rem;
  color: var(--gold-champagne);
  line-height: 1.35;
  text-align: center;
  margin: var(--space-xl) auto;
  max-width: 820px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
}

/* Animation utilities */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.is-revealed,
:target .reveal-fade {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
