/* ════════════════════════════════════════════════════
   JWLZIFY — Shared Stylesheet
   Heritage-Tech Refinement Design System
════════════════════════════════════════════════════ */

/* ─── Base reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; background: #fbf9f9; color: #1b1c1c; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

::selection { background: #b9e2f5; color: #3e6576; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #f5f3f3; }
::-webkit-scrollbar-thumb { background: #b9e2f5; border-radius: 4px; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ─── Glass / elevation ──────────────────────────── */
.glass {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-lite {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ambient   { box-shadow: 0 20px 50px -10px rgba(0,0,0,0.06); }
.ambient-lg{ box-shadow: 0 32px 80px -15px rgba(0,0,0,0.08); }

/* ─── Navigation ─────────────────────────────────── */
.nav-glass {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(65,72,75,0.75);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #3c6474;
  border-bottom-color: rgba(60,100,116,0.4);
  opacity: 0.85;
}
.nav-active {
  color: #3c6474 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #3c6474 !important;
}

/* ─── Label utility ──────────────────────────────── */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Eyebrow label ──────────────────────────────── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #3c6474;
  display: block;
  margin-bottom: 16px;
}

/* ─── Typography ─────────────────────────────────── */
.h-section {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1b1c1c;
}
.h-card {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: #1b1c1c;
}
.h-sub {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: #1b1c1c;
}
.body-lg   { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.7; color: #5e5e5b; }
.body-copy { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: #5e5e5b; }

/* ─── Buttons ────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: #3c6474;
  padding: 14px 36px; border-radius: 0.5rem; border: none;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 28px rgba(60,100,116,0.28);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 12px 40px rgba(60,100,116,0.4); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #1b1c1c; background: transparent;
  padding: 14px 36px; border-radius: 0.5rem;
  border: 1px solid rgba(193,199,203,0.55);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-outline:hover { background: rgba(185,226,245,0.1); border-color: #3c6474; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #3c6474; background: transparent; border: none;
  border-bottom: 1.5px solid rgba(60,100,116,0.28);
  padding: 0 0 2px 0;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.btn-ghost:hover { border-bottom-color: #3c6474; gap: 12px; }

/* ─── Separator ──────────────────────────────────── */
.plat-sep { height: 0.5px; background: #c1c7cb; }

/* ─── Gallery card hover ─────────────────────────── */
.gal-card .gal-overlay { opacity: 0; transition: opacity 0.5s ease; }
.gal-card:hover .gal-overlay { opacity: 1; }
.gal-card .gal-img { transition: transform 1s ease; }
.gal-card:hover .gal-img { transform: scale(1.08); }

/* ─── Feature large card ─────────────────────────── */
.feat-large .feat-img { transition: transform 1s ease, filter 0.7s ease; filter: grayscale(100%); }
.feat-large:hover .feat-img { transform: scale(1.05); filter: grayscale(0%); }

/* ─── Step card ──────────────────────────────────── */
.step-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -8px rgba(60,100,116,0.12); }
.step-icon { transition: transform 0.35s ease; }
.step-card:hover .step-icon { transform: scale(1.12); }

/* ─── Animations ─────────────────────────────────── */
@keyframes drift-r {
  0%   { transform: translateX(-6%) scaleY(0.9);  opacity: 0.45; }
  50%  { transform: translateX(2%)  scaleY(1.08); opacity: 0.65; }
  100% { transform: translateX(-6%) scaleY(0.9);  opacity: 0.45; }
}
@keyframes drift-l {
  0%   { transform: translateX(5%)  scaleY(1.0);  opacity: 0.35; }
  50%  { transform: translateX(-2%) scaleY(0.92); opacity: 0.55; }
  100% { transform: translateX(5%)  scaleY(1.0);  opacity: 0.35; }
}
.mist-a { animation: drift-r 20s ease-in-out infinite; }
.mist-b { animation: drift-l 26s ease-in-out infinite; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.float-badge { animation: float-y 6s ease-in-out infinite; }

@keyframes snow-glow {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 1; filter: brightness(1.06); }
}
.snow { animation: snow-glow 5s ease-in-out infinite; }

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(60,100,116,0.28); }
  50%       { box-shadow: 0 14px 52px rgba(60,100,116,0.44); }
}
.btn-glow { animation: btn-glow 3s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ─── Masonry grid (collections) ─────────────────── */
.masonry-grid { column-count: 1; column-gap: 20px; }
@media (min-width: 640px)  { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }
@media (min-width: 1440px) { .masonry-grid { column-count: 4; } }
.masonry-item { break-inside: avoid; margin-bottom: 20px; }

/* ─── Sidebar scrollbar (AI Lab) ─────────────────── */
.sidebar-scroll { scrollbar-width: thin; scrollbar-color: #c1c7cb transparent; }
.sidebar-scroll::-webkit-scrollbar { width: 3px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: #c1c7cb; border-radius: 10px; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ─── Jewelry type button selected state ─────────── */
.jtype-btn { transition: all 0.2s ease; }
.jtype-btn.active {
  background: #b9e2f5 !important;
  color: #234c5b !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(185,226,245,0.45);
}

/* ─── Style chip selected state ──────────────────── */
.style-chip { transition: all 0.2s ease; cursor: pointer; }
.style-chip.active {
  background: linear-gradient(135deg, rgba(185,226,245,0.35), rgba(255,255,255,0.7)) !important;
  border-color: #b9e2f5 !important;
  color: #3c6474 !important;
  box-shadow: inset 0 0 10px rgba(185,226,245,0.15);
}

/* ─── AI Lab concept tab ─────────────────────────── */
.concept-tab {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  border: 2px solid #e3e2e2; color: #5e5e5b;
  transition: all 0.2s ease; cursor: pointer;
}
.concept-tab.active { background: #3c6474; color: white; border-color: #3c6474; }
.concept-tab:hover:not(.active) { border-color: #3c6474; color: #3c6474; }

/* ─── Glass panel (AI Lab) ───────────────────────── */
.glass-panel {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ─── Diamond iridescent chip ────────────────────── */
.iridescent {
  background: linear-gradient(135deg, rgba(185,226,245,0.22) 0%, rgba(255,255,255,0.55) 50%, rgba(185,226,245,0.22) 100%);
  box-shadow: inset 0 0 12px rgba(185,226,245,0.1);
}

/* ─── Hover states for icon buttons (AI Lab dock) ── */
.dock-btn { transition: all 0.2s ease; }
.dock-btn:hover { transform: scale(1.1); }

/* ─── Filter sidebar button (collections) ────────── */
.filter-btn { transition: color 0.2s ease; }
.filter-btn.active { color: #3c6474 !important; font-weight: 700; }
.filter-btn:hover:not(.active) { color: #3c6474; }

/* ─── Masonry card (collections) ────────────────────*/
.m-card { position: relative; overflow: hidden; cursor: pointer; }
.m-card .m-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  opacity: 0; transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(8px);
}
.m-card:hover .m-overlay { opacity: 1; transform: translateY(0); }
.m-card img { transition: transform 1s ease; }
.m-card:hover img { transform: scale(1.05); }

/* ─── Placeholder card (when image fails) ─────────── */
.img-fallback {
  background: linear-gradient(135deg, #e9e8e7 0%, #d5e6ee 100%);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── About page parallax image ──────────────────── */
.about-img-wrap { overflow: hidden; border-radius: 0.5rem; }
.about-img-wrap img { transition: transform 1.2s ease; }
.about-img-wrap:hover img { transform: scale(1.04); }

/* ─── Offer / tier cards (homepage What We Offer) ── */
.offer-card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(185,226,245,0.35);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,226,245,0.6), transparent);
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(60,100,116,0.12);
  border-color: rgba(60,100,116,0.25);
}

/* ─── Review cards (homepage) ───────────────────── */
.review-card {
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(185,226,245,0.3);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,226,245,0.5), transparent);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(60,100,116,0.1);
}
.review-stars { color: #c9a96e; font-size: 15px; letter-spacing: 1px; }
.review-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: #1b1c1c;
}
.review-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(65,72,75,0.5);
  letter-spacing: 0.06em;
}
.review-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5e5e5b;
  margin-top: 12px;
}

/* ─── Gallery carousel (collections) ────────────── */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel-track > * { flex-shrink: 0; width: 100%; }
.carousel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 0 4px;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(193,199,203,0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none; padding: 0;
}
.carousel-dot.active {
  background: #3c6474;
  transform: scale(1.3);
}

/* ─── AI Lab skeleton loader ─────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e9e8e7 25%, #f0efef 50%, #e9e8e7 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 12px;
}

/* ─── AI Lab spec card ───────────────────────────── */
.spec-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(185,226,245,0.4);
  border-radius: 14px;
  padding: 24px;
}
.spec-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(193,199,203,0.3);
  font-family: 'Inter', sans-serif; font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: rgba(65,72,75,0.6); font-weight: 500; }
.spec-value { color: #1b1c1c; font-weight: 600; text-align: right; max-width: 60%; }

/* ─── AI Lab angle thumbnails ────────────────────── */
.angle-thumb {
  width: 72px; height: 72px;
  border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.angle-thumb.active { border-color: #3c6474; }
.angle-thumb:hover:not(.active) {
  border-color: rgba(60,100,116,0.3);
  transform: scale(1.04);
}
.angle-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Price tag display ──────────────────────────── */
.price-tag {
  background: linear-gradient(135deg, #3c6474, #2d4f5c);
  color: white;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.price-tag .price-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.72;
}
.price-tag .price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600;
}

/* ─── Try-on overlay ─────────────────────────────── */
.tryon-container {
  position: relative;
  display: inline-block;
}
.tryon-jewelry {
  position: absolute;
  mix-blend-mode: multiply;
  pointer-events: none;
}
