/* ═══════════════════════════════════════════════
   PRATEEK JEWELLERS — HAUTE JOAILLERIE & MASTER ATELIER
   Theme: Ultra-Matte Charcoal Grey & Brushed Dark Silver / Liquid Platinum
   ═══════════════════════════════════════════════ */

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

:root {
  /* Ultra-Matte Grey & Dark Silver Palette */
  --bg: #0C0D10;                      /* Ultra-matte obsidian graphite */
  --bg-subtle: #13151A;               /* Deep matte charcoal */
  --bg-surface: #1A1D24;              /* Matte slate finish */
  --bg-elevated: #222630;             /* Sleek matte titanium */
  
  --panel: rgba(19, 21, 26, 0.85);    /* Frosted matte graphite glass */
  --panel-wine: rgba(26, 29, 36, 0.85); /* Frosted dark silver glass */
  --panel-solid: #16181F;
  --panel-dark: #08090B;
  --panel-dark-subtle: #0E1013;
  
  --hair: rgba(197, 203, 211, 0.20);   /* Brushed dark silver hairlines */
  --hair-dark: rgba(197, 203, 211, 0.36);
  --hair-wine: rgba(168, 178, 193, 0.28);
  --hair-green: rgba(197, 203, 211, 0.24);
  
  --ink: #F5F7FA;                     /* Brilliant platinum white */
  --ink-secondary: #C0C7D2;           /* Cool silver mist */
  --muted: #7A8494;                   /* Matte slate grey */
  --muted-wine: #9AA4B5;              /* Brushed chrome muted */
  
  /* Dark Silver & Brushed Platinum Accents */
  --silver: #A8B2C1;                  /* Refined dark silver */
  --silver-bright: #E2E6EC;           /* Brushed platinum */
  --silver-dark: #586070;             /* Gunmetal silver */
  --silver-sheen: #FFFFFF;            /* Specular liquid chrome luster */
  --silver-glow: rgba(197, 203, 211, 0.40);
  --silver-subtle: rgba(197, 203, 211, 0.10);
  
  /* Harmonized aliases for complete theme coverage */
  --gold: #C5CBD3;                    /* Liquid Dark Silver */
  --gold-bright: #FFFFFF;             /* Pure Platinum */
  --gold-glow: rgba(226, 230, 236, 0.45);
  --gold-subtle: rgba(197, 203, 211, 0.12);
  
  --wine: #252831;                    /* Dark Gunmetal Grey */
  --wine-bright: #687284;             /* Brushed Steel */
  --wine-glow: rgba(168, 178, 193, 0.35);
  --wine-sheen: #C5CBD3;              /* Liquid Silver Luster */
  
  --emerald: #181B22;                 /* Matte Slate */
  --emerald-bright: #8B96A8;          /* Polished Silver */
  --emerald-glow: rgba(197, 203, 211, 0.35);
  --emerald-deep: #101216;
  
  --blue: #C5CBD3;                    /* Liquid Silver */
  --blue-bright: #FFFFFF;
  --blue-light: rgba(197, 203, 211, 0.12);
  --blue-glow: rgba(197, 203, 211, 0.35);
  --tokyo-red: #687284;
  
  /* Status Colors */
  --green: #A8B2C1;
  --green-glow: #E2E6EC;
  --red: #8B96A8;
  --amber: #C5CBD3;
  
  /* Typography System */
  --font-display: 'Playfair Display', 'Syne', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Playfair Display', 'Fraunces', serif;
  
  --margin: 5vw;
  --col-gap: 1.5rem;
  
  --hero-bg: #0C0D10;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 203, 211, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(88, 96, 112, 0.06), transparent 70%);
  background-attachment: scroll;
  color: var(--ink);
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  touch-action: pan-y;
}

/* ═══════════════ ULTRA-MATTE SELECTION ═══════════════ */
::selection {
  background: #3A404D;
  color: #FFFFFF;
}

::-moz-selection {
  background: #3A404D;
  color: #FFFFFF;
}

/* ═══════════════ LUXURY SILVER SCROLLBAR ═══════════════ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0C0D10;
}

::-webkit-scrollbar-thumb {
  background: #252831;
  border-radius: 4px;
  border: 1px solid rgba(197, 203, 211, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: #4A5160;
  border-color: #A8B2C1;
}

/* ═══════════════ ROYAL SELECTION ═══════════════ */
::selection {
  background: #0B337A;
  color: #FAF6F0;
}

::-moz-selection {
  background: #0B337A;
  color: #FAF6F0;
}

/* ═══════════════ LUXURY ROYAL SCROLLBAR ═══════════════ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #020F28;
}

::-webkit-scrollbar-thumb {
  background: #07265E;
  border-radius: 4px;
  border: 1px solid rgba(234, 215, 194, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: #0B337A;
  border-color: #EAD7C2;
}

/* ═══════════════ CONTAINER SYSTEM ═══════════════ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--margin);
  padding-right: var(--margin);
}

.container-narrow {
  max-width: 1040px;
}

.container-fluid {
  max-width: 100%;
  padding-left: var(--margin);
  padding-right: var(--margin);
}

/* ═══════════════ TYPOGRAPHY STYLES ═══════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

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

.t-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.t-hero {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.t-section {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.t-card {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.t-body {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-secondary);
}

.t-small {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ═══════════════ WARM IVORY SHIMMER TEXT ═══════════════ */
.gradient-text,
.gold-shimmer-text {
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #FFF9F2 20%,
    #EAD7C2 50%,
    #FAF6F0 80%,
    #FFFFFF 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ivoryShimmer 6s linear infinite;
}

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

.wine-shimmer-text {
  background: linear-gradient(135deg, #FFF9F2 0%, #EAD7C2 50%, #C7B5A0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════ BUTTONS & ACCENTS ═══════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0A2E70 0%, #031942 100%);
  border: 1.5px solid var(--silver);
  color: #FFF9F2;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(234, 215, 194, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #123C8A 0%, #05245C 100%);
  border-color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.8), 0 0 25px rgba(234, 215, 194, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 27, 72, 0.65);
  border: 1.5px solid rgba(234, 215, 194, 0.35);
  color: var(--ink);
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(7, 38, 98, 0.9);
  border-color: var(--silver);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(234, 215, 194, 0.3);
}

/* ═══════════════ SECTION DIVIDER ═══════════════ */
.section-divider {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(234, 215, 194, 0.05) 15%,
    rgba(234, 215, 194, 0.35) 50%,
    rgba(234, 215, 194, 0.05) 85%,
    transparent 100%
  );
  position: relative;
  z-index: 2;
}

/* Noise overlay */
#grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: overlay;
}

#grain svg {
  width: 100%;
  height: 100%;
}

/* Ambient Aura */
#aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(234, 215, 194, 0.2) 40%,
    transparent 70%
  );
}

/* ═══════════════════════════════════════════════
   MINIMAL SILVER STAGE WORKSPACE (STEP-BY-STEP DESIGN)
   ═══════════════════════════════════════════════ */
.silver-stage-workspace {
  position: relative;
  z-index: 5;
  min-height: 220vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(140px, 18vh, 180px);
  padding-bottom: 120px;
  width: 100%;
}

.silver-stage-inner {
  max-width: 860px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.silver-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(26, 29, 36, 0.7);
  border: 1px solid rgba(197, 203, 211, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #C5CBD3;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.silver-stage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E2E6EC;
  box-shadow: 0 0 10px #FFFFFF;
  animation: silverDotPulse 2.4s ease-in-out infinite;
}

@keyframes silverDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.silver-stage-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E6EC 35%, #A8B2C1 75%, #687284 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
}

.silver-stage-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: #8B96A8;
  margin-bottom: 2.5rem;
}

.silver-stage-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: rgba(19, 21, 26, 0.82);
  border: 1px solid rgba(197, 203, 211, 0.18);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.8rem);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(168, 178, 193, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  margin-bottom: 3.5rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.silver-stage-card:hover {
  border-color: rgba(226, 230, 236, 0.35);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(197, 203, 211, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.silver-card-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(197, 203, 211, 0.45);
  pointer-events: none;
}

.silver-card-corner.top-left {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(226, 230, 236, 0.7);
  border-left: 2px solid rgba(226, 230, 236, 0.7);
  border-top-left-radius: 20px;
}

.silver-card-corner.top-right {
  top: -1px;
  right: -1px;
  border-top: 2px solid rgba(226, 230, 236, 0.7);
  border-right: 2px solid rgba(226, 230, 236, 0.7);
  border-top-right-radius: 20px;
}

.silver-card-corner.bottom-left {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid rgba(226, 230, 236, 0.7);
  border-left: 2px solid rgba(226, 230, 236, 0.7);
  border-bottom-left-radius: 20px;
}

.silver-card-corner.bottom-right {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid rgba(226, 230, 236, 0.7);
  border-right: 2px solid rgba(226, 230, 236, 0.7);
  border-bottom-right-radius: 20px;
}

.silver-card-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #E2E6EC;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.silver-shield-icon {
  color: #C5CBD3;
  flex-shrink: 0;
}

.silver-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #A8B2C1;
  margin-bottom: 1.8rem;
}

.silver-action-group {
  display: flex;
  justify-content: center;
}

.silver-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #2A2F3D 0%, #1A1D24 100%);
  border: 1px solid rgba(197, 203, 211, 0.35);
  border-radius: 9999px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.silver-btn-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #373E4F 0%, #20242E 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 203, 211, 0.25);
}

.silver-scroll-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.silver-scroll-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #7A8494;
}

.silver-scroll-track {
  width: 22px;
  height: 38px;
  border-radius: 9999px;
  border: 1.5px solid rgba(197, 203, 211, 0.3);
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.silver-scroll-thumb {
  width: 4px;
  height: 8px;
  border-radius: 9999px;
  background: #E2E6EC;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: silverScrollThumb 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes silverScrollThumb {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.silver-scroll-subtext {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #8B96A8;
}

.archived-sections-reservoir {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ═══════════════ ULTRA-SMOOTH MOBILE SCROLL PERFORMANCE ═══════════════ */
@media (max-width: 768px) {
  html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: auto !important;
    touch-action: pan-y !important;
    height: auto !important;
  }

  body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    background-attachment: scroll !important;
    height: auto !important;
    min-height: 100% !important;
  }

  #aura {
    display: none !important;
  }
}
