/* ==========================================================================
   ROUGE L'ÉLIXIR NO. 01 — LUXURY SCROLLYTELLING STYLESHEET
   Awwwards & Apple-Level Creative Engineering
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-secondary: #08080a;
  --bg-card: rgba(16, 16, 20, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.22);
  
  /* Luxury Color Accents */
  --crimson-primary: #9E001C;
  --crimson-bright: #E51837;
  --crimson-glow: rgba(229, 24, 55, 0.28);
  --ruby-gradient: linear-gradient(135deg, #FF3358 0%, #C41230 50%, #7A0012 100%);
  
  --gold-primary: #D4AF37;
  --gold-bright: #F3E5AB;
  --gold-glow: rgba(212, 175, 55, 0.2);
  --gold-gradient: linear-gradient(135deg, #FFF1C5 0%, #D4AF37 50%, #8A6818 100%);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background-color: var(--bg-primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  line-height: 1.6;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: rgba(229, 24, 55, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 24, 55, 0.8);
}

/* Typography Scale */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.text-gradient-ruby {
  background: var(--ruby-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* Buttons & Badges */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--crimson-bright);
  box-shadow: 0 0 8px var(--crimson-bright);
  animation: pulse-dot 2s infinite ease-in-out;
}

.tag-num {
  font-weight: 700;
  color: var(--gold-primary);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, #240508 0%, #150204 100%);
  border: 1px solid rgba(229, 24, 55, 0.5);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s var(--ease-apple);
  box-shadow: 0 4px 20px rgba(229, 24, 55, 0.2);
  text-decoration: none;
}

.btn-primary:hover {
  border-color: rgba(255, 51, 88, 0.9);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 30px rgba(229, 24, 55, 0.45);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-price {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 12px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s var(--ease-apple);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-apple), visibility 0.8s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  width: 90%;
  max-width: 360px;
}

.preloader-monogram {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mono-divider {
  font-size: 14px;
  color: var(--crimson-bright);
}

.preloader-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.preloader-product {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.preloader-bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9E001C, #E51837, #D4AF37);
  transition: width 0.15s linear;
}

.preloader-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   NAVIGATION BAR (APPLE STYLE)
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 58px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.4s var(--ease-apple),
              border-bottom-color 0.4s var(--ease-apple),
              backdrop-filter 0.4s var(--ease-apple);
}

.nav.scrolled {
  background: rgba(4, 4, 6, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #FFFFFF;
}

.brand-emblem {
  color: var(--crimson-bright);
  font-size: 13px;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
}

.brand-edition {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--crimson-bright);
  transition: width 0.3s var(--ease-apple);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Sound Button */
.btn-sound {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-sound:hover, .btn-sound.active {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-bars .bar {
  width: 2px;
  height: 3px;
  background-color: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.btn-sound.active .bar:nth-child(1) { animation: sound-bounce 0.6s infinite ease-in-out alternate; }
.btn-sound.active .bar:nth-child(2) { animation: sound-bounce 0.9s infinite ease-in-out alternate; }
.btn-sound.active .bar:nth-child(3) { animation: sound-bounce 0.7s infinite ease-in-out alternate; }

@keyframes sound-bounce {
  0% { height: 3px; }
  100% { height: 12px; }
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  height: calc(100vh - 58px);
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: 48px 32px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
  overflow-y: auto;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s var(--ease-apple);
}

.mobile-link:hover, .mobile-link:active {
  color: var(--crimson-bright);
  padding-left: 10px;
}

/* Hide HUD when scrolling past the sticky scrollytelling section */
.hud-grid.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-apple);
}

/* Scroll tracker line */
.scroll-tracker {
  position: fixed;
  top: 58px;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, #9E001C, #E51837, #D4AF37);
  z-index: 999;
  transition: width 0.05s linear;
}

/* ==========================================================================
   SCROLLYTELLING MAIN STAGE (CANVAS + OVERLAYS)
   ========================================================================== */
.scrolly-section {
  position: relative;
  height: 520vh; /* Pinned scroll length */
  background-color: #000000;
}

.sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Ambient Radial Glow behind the floating product */
.stage-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  height: 75vh;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 10, 30, 0.16) 0%, rgba(5, 5, 8, 0) 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 1s ease;
}

/* Product Canvas */
.product-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
}

/* Technical HUD Overlays */
.hud-grid {
  position: absolute;
  inset: 0;
  padding: 80px 48px 48px;
  pointer-events: none;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.hud-corner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0.38;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hud-corner.bottom-left, .hud-corner.bottom-right {
  position: absolute;
  bottom: 36px;
}
.hud-corner.bottom-left { left: 48px; }
.hud-corner.bottom-right { right: 48px; text-align: right; }
.hud-corner.top-right { text-align: right; }

.hud-code {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hud-sub {
  color: var(--gold-bright);
}

/* Story Beats General */
.story-beat {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-apple), transform 0.5s var(--ease-apple);
}

.story-beat.active {
  opacity: 1;
  transform: translateY(0);
}

.beat-inner {
  width: 100%;
  max-width: 1200px;
  pointer-events: auto;
}

.layout-left {
  max-width: 520px;
  margin-right: auto;
}

.layout-right {
  max-width: 520px;
  margin-left: auto;
  text-align: left;
}

/* BEAT 1: HERO */
.beat-hero .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.beat-hero .hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.beat-hero .hero-description {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--crimson-bright);
  border-radius: 2px;
  animation: mouse-scroll 1.6s infinite ease-in-out;
}

@keyframes mouse-scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

/* BEAT 2: ENGINEERING */
.beat-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.beat-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 32px;
}

.spec-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spec-card {
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
}

.spec-unit {
  font-size: 13px;
  color: var(--gold-bright);
  margin-left: 2px;
}

.spec-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.3;
}

/* BEAT 3: FORMULATION */
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-bullet {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.bullet-icon {
  color: var(--crimson-bright);
  font-size: 14px;
  line-height: 1.5;
}

.bullet-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3px;
}

.bullet-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* BEAT 4: CHROMATICS & EXPLODED HOTSPOTS */
.exploded-callouts-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.part-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  z-index: 20;
}

.hotspot-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--crimson-bright);
  box-shadow: 0 0 16px var(--crimson-bright);
  transition: transform 0.3s ease;
}

.hotspot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--crimson-bright);
  animation: hotspot-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hotspot-ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hotspot-card {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 240px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-apple);
  pointer-events: none;
  text-align: left;
}

.part-hotspot:hover .hotspot-card,
.part-hotspot.active .hotspot-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.part-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.hotspot-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hotspot-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

/* BEAT 5: CLIMAX CTA */
.beat-cta .beat-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.beat-cta .beat-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.7);
  margin: 12px auto 32px;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
}

.cta-micro {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT SHOWCASE SECTIONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section: Shades */
.section-shades {
  padding: 120px 0;
  background: linear-gradient(180deg, #000000 0%, #060608 50%, #000000 100%);
  position: relative;
}

.shade-studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.shade-display-card {
  border-radius: 24px;
  background: rgba(14, 14, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  overflow: hidden;
  padding: 40px;
}

.shade-preview-stage {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shade-aura {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 0, 28, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  transition: background 0.6s var(--ease-apple);
}

/* CSS Illustrated Lipstick Silhouette */
.shade-bullet-graphic {
  position: relative;
  width: 90px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.bullet-wax-tip {
  width: 44px;
  height: 90px;
  background: #9E001C;
  border-top-left-radius: 20px;
  border-top-right-radius: 4px;
  transform: perspective(300px) rotateX(10deg);
  position: relative;
  box-shadow: inset -4px 0 12px rgba(0, 0, 0, 0.6),
              inset 6px 0 10px rgba(255, 255, 255, 0.25),
              0 10px 25px rgba(0, 0, 0, 0.5);
  transition: background-color 0.5s var(--ease-apple);
}

.bullet-highlight {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.bullet-metallic-sleeve {
  width: 60px;
  height: 160px;
  background: linear-gradient(90deg, #1c1c1f 0%, #3a3a42 20%, #151518 50%, #44444e 80%, #0d0d10 100%);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8),
              inset 0 0 0 1px rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sleeve-knurl {
  width: 100%;
  height: 22px;
  background: repeating-linear-gradient(
    90deg,
    #D4AF37,
    #D4AF37 2px,
    #8A6818 2px,
    #8A6818 4px
  );
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.sleeve-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sleeve-logo {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.75;
}

.lip-swatch-sim {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.shade-info-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.shade-info-footer h3 {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.shade-info-footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 440px;
  line-height: 1.5;
}

.shade-hex-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold-bright);
}

/* Shade Selector List */
.shade-selectors-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shade-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(14, 14, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.shade-card:hover {
  background: rgba(20, 20, 26, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.shade-card.active {
  background: rgba(24, 24, 32, 0.9);
  border-color: var(--crimson-bright);
  box-shadow: 0 4px 24px rgba(229, 24, 55, 0.15);
}

.shade-swatch {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.shade-text {
  flex: 1;
}

.shade-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}

.shade-label {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.shade-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.shade-check {
  font-size: 16px;
  color: var(--crimson-bright);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shade-card.active .shade-check {
  opacity: 1;
}

/* Section: Engineering Grid */
.section-engineering {
  padding: 120px 0;
  background-color: #000000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 20px;
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: all 0.35s var(--ease-apple);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.feature-card-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-bright);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.feature-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-card-metric {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
}

.metric-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Section: Formulation */
.section-formula {
  padding: 120px 0;
  background: linear-gradient(180deg, #000000 0%, #070506 50%, #000000 100%);
}

.formula-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.clinical-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.clinical-stat {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.clinical-percent {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--crimson-bright);
}

.clinical-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  margin-top: 4px;
}

.formula-ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ingredient-card {
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(14, 14, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.ing-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.ingredient-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.ingredient-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* Section: Blueprint Specs Table */
.section-specs {
  padding: 120px 0;
  background-color: #000000;
}

.specs-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  background: rgba(12, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-col-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.spec-col-val {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   BESPOKE ENGRAVING CHECKOUT DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-apple), visibility 0.4s;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
}

.drawer-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #08080A;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-apple);
}

.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.drawer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}

.drawer-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.drawer-close:hover {
  color: #FFFFFF;
}

.drawer-product-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.drawer-prod-img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #141418;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-swatch-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(229, 24, 55, 0.4);
}

.drawer-prod-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.drawer-prod-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.drawer-prod-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-bright);
}

/* Bespoke Engraving */
.engraving-studio {
  margin-bottom: 28px;
}

.engraving-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.char-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.engraving-input-wrap input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s ease;
}

.engraving-input-wrap input:focus {
  border-color: var(--crimson-bright);
}

.plaque-preview {
  margin-top: 14px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #181512 0%, #0d0a08 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-align: center;
}

.plaque-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(212, 175, 55, 0.6);
  margin-bottom: 4px;
}

.plaque-monogram {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.engraving-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

/* Packaging Option */
.packaging-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.packaging-option input {
  margin-top: 4px;
  accent-color: var(--crimson-bright);
}

.packaging-option label strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.packaging-option label span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* Order Summary */
.order-summary {
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
}

.text-emerald-400 {
  color: #34D399;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #FFFFFF;
}

.total-amount {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold-bright);
}

.drawer-guarantees {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 0 40px;
  background-color: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .brand-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.link-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.link-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.link-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-center { display: none; }
  .mobile-toggle { display: flex; }
  
  .shade-studio-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .formula-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .scrolly-section {
    height: 480vh;
  }

  .hud-grid {
    padding: 70px 20px 20px;
  }
  .hud-corner.top-right, .hud-corner.bottom-left {
    display: none;
  }
  .hud-corner.bottom-right {
    right: 20px;
    bottom: 20px;
  }

  .story-beat {
    padding: 70px 20px;
  }
  
  .beat-title {
    font-size: 1.9rem;
  }

  .spec-cards-row {
    grid-template-columns: 1fr;
  }

  .clinical-matrix {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
