/* ============================================================
   GoldNest – Luxury Redesign Layer
   Cinematic gold effects + GSAP-ready hooks
   ============================================================ */

/* ============================================================
   TYPOGRAPHY CONSISTENCY LAYER
   Single source of truth for fonts / weights / spacing.
   Uses !important to neutralize inline overrides scattered
   across the HTML pages.
   ============================================================ */

/* --- Font families: enforce the 3-font system everywhere --- */
body, p, span, div, li, a, td, th, input, textarea, select, button {
  font-family: var(--font);
}
h1, h2, h3, h4, h5, h6,
.display-num, .price-value,
.stat-item .s-num, .trust-item .num,
.testi-text, .blog-title,
.section-heading h2 {
  font-family: var(--font-display) !important;
}
.label, .eyebrow,
.section-heading .label,
.badge {
  font-family: var(--font-accent) !important;
}

/* --- Weight tiers: 400 / 500 / 600 / 700 / 800 only --- */
body, p { font-weight: 400; }

/* Eyebrow / micro-label: always Cinzel medium, identical spacing */
.label, .eyebrow,
.section-heading .label {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--gold-dark) !important;
  display: inline-block;
}

/* Headings: weight ladder for Cormorant Garamond (max 700) */
h1 { font-weight: 700 !important; line-height: 1.1;  letter-spacing: -0.015em; }
h2 { font-weight: 700 !important; line-height: 1.15; letter-spacing: -0.01em;  }
h3 { font-weight: 600 !important; line-height: 1.25; }
h4 { font-weight: 600 !important; line-height: 1.3; }
h5 { font-weight: 600 !important; line-height: 1.3; }

/* Big display numerals — use Manrope (has 800 weight, better numeral rendering) */
.display-num, .price-value,
.stat-item .s-num, .trust-item .num,
#res-invested, #res-gains, #res-total,
[id^="res-"] {
  font-family: var(--font) !important;       /* Manrope — sharper numerals than serif */
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  font-feature-settings: "tnum" 1, "lnum" 1; /* tabular & lining figures for clean alignment */
}

/* Buttons: always Inter semi-bold, never serif */
.btn, button, .store-btn .st-name {
  font-family: var(--font) !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

/* Card-style mini-titles inside dark sections */
.option-title, .feature-title, .ms-year, .ms-price {
  font-family: var(--font) !important;
}

/* Body copy size & weight normalization (paragraph text) */
.hero-text .desc,
.section-heading p,
.testi-text {
  font-weight: 400 !important;
}
.testi-text {
  font-style: italic;
  font-weight: 400 !important;
}

/* Badges (Featured, Popular, etc.) */
.badge {
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase;
  font-size: 0.7rem !important;
}

/* Anchor text inherits weight from parent — prevent random "bolder" rendering */
a { font-weight: inherit; }

/* Strong/b elements: cap at 700 to keep with the weight ladder */
strong, b { font-weight: 700; }

/* ============================================================
   END Typography consistency layer
   ============================================================ */

/* ---------- Cinematic gold gradient text — deep shades for readability on light gold bg ---------- */
.gold-gradient-text,
.hero-text h1 .highlight {
  background: linear-gradient(120deg,
    #4A3804 0%,
    #A88A2A 25%,
    #D4AF37 45%,
    #A88A2A 65%,
    #4A3804 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: shimmer-sweep 6s linear infinite;
}
@keyframes shimmer-sweep {
  0%   { background-position: -100% 0; }
  100% { background-position:  200% 0; }
}

/* Display heading family for hero */
.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* Hero eyebrow refresh */
.hero-text .eyebrow {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 500;
}

/* ---------- Hero – upgraded backdrop with ornamental glow ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(229,200,104,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(212,175,55,0.14), transparent 65%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(229,200,104,0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(229,200,104,0.35), transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(229,200,104,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(229,200,104,0.3), transparent 60%);
  opacity: 0.6;
  z-index: 0;
}

/* ---------- Gold orb cinematic upgrade (NON-video variant kept for other pages) ---------- */
.gold-orb:not(.has-video) {
  background:
    radial-gradient(circle at 30% 30%,
      rgba(255,237,168,0.55) 0%,
      rgba(229,200,104,0.30) 25%,
      rgba(212,175,55,0.15) 50%,
      rgba(168,138,42,0.04) 75%,
      transparent 100%) !important;
  box-shadow:
    inset 0 0 80px rgba(255,237,168,0.25),
    inset 0 0 30px rgba(229,200,104,0.30),
    0 30px 80px rgba(212,175,55,0.18);
  position: relative;
  overflow: visible;
}

/* ===============================================
   NEW: Coin stage — free-floating spinning coin hero
   =============================================== */
.coin-stage {
  position: relative;
  width: 460px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GoldNest app phone — pure SVG, perfect transparency, no media file */
.coin-img {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 100%;
  z-index: 4;
  pointer-events: none;
  background: transparent;
  border: 0;
  outline: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter:
    drop-shadow(0 30px 50px rgba(60,40,5,0.35))
    drop-shadow(0 14px 22px rgba(60,40,5,0.25))
    drop-shadow(0 0 28px rgba(255,255,255,0.30));
  animation: phone-float 5s ease-in-out infinite;
}
.coin-img svg {
  width: auto;
  height: 100%;
  max-width: 100%;
}

@keyframes phone-float {
  0%, 100% { transform: perspective(1100px) translateY(0)     rotateY(-4deg) rotateX(2deg); }
  50%      { transform: perspective(1100px) translateY(-10px) rotateY( 4deg) rotateX(-2deg); }
}

/* Decorative gold coin — right-middle of the hero stage, clear of all other elements */
.coin-stage .hero-coin {
  position: absolute;
  right: 6px;
  top: 56%;           /* below Vault card (top: 5%), above price tag (bottom: 10px) */
  transform: translateY(-50%);
  width: 145px;
  height: 145px;
  z-index: 6;         /* above phone, below floating cards (z-index: 7) */
  pointer-events: none;
  filter:
    drop-shadow(0 18px 28px rgba(60,40,5,0.40))
    drop-shadow(0 8px 14px rgba(60,40,5,0.28))
    drop-shadow(0 0 18px rgba(255,255,255,0.45));
  animation: hero-coin-float 5s ease-in-out infinite;
}
.coin-stage .hero-coin svg {
  width: 100%;
  height: 100%;
  animation: hero-coin-spin 14s linear infinite;
  transform-origin: 50% 50%;
}

/* Z-axis spin — "GOLDNEST" text swirls around the coin slowly */
@keyframes hero-coin-spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
/* Subtle independent bob on the wrapper, layered over the spin.
   Keyframe values include translateY(-50%) so the vertical centering is preserved. */
@keyframes hero-coin-float {
  0%, 100% { transform: translateY(-50%)              rotate(-4deg); }
  50%      { transform: translateY(calc(-50% - 8px))  rotate(4deg);  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .coin-img,
  .coin-stage .hero-coin,
  .coin-stage .hero-coin svg { animation: none; }
}

/* Soft creamy-white spotlight behind the coin — pops against the gold gradient bg */
.coin-halo {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255,255,255,0.85) 0%,
      rgba(255,253,240,0.55) 25%,
      rgba(255,245,210,0.30) 50%,
      transparent 75%);
  animation: halo-breathe 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  filter: blur(2px);
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* Concentric dashed gold rings rotating around the coin */
.coin-rings { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.coin-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(115,92,27,0.55);
  animation: ring-rotate linear infinite;
}
.coin-rings .ring.r1 {
  inset: 30px;
  border-style: dashed;
  animation-duration: 22s;
}
.coin-rings .ring.r2 {
  inset: 0;
  border: 1px dashed rgba(212,175,55,0.20);
  animation-duration: 36s;
  animation-direction: reverse;
}
.coin-rings .ring.r3 {
  inset: -30px;
  border: 1px solid rgba(229,200,104,0.18);
  animation-duration: 50s;
}
@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

/* Floating gold sparkles around the coin */
.coin-sparkles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.coin-sparkles .spark {
  position: absolute;
  color: #FFEDA8;
  font-size: 18px;
  text-shadow: 0 0 12px #E5C868, 0 0 4px #E5C868;
  opacity: 0;
  animation: spark-twinkle 4s ease-in-out infinite;
}
.coin-sparkles .spark.s1 { top:  8%; left: 12%; animation-delay: 0.0s;  font-size: 22px; }
.coin-sparkles .spark.s2 { top: 18%; right: 6%; animation-delay: 0.8s;  font-size: 14px; }
.coin-sparkles .spark.s3 { bottom: 14%; left: 4%; animation-delay: 1.4s; font-size: 18px; }
.coin-sparkles .spark.s4 { bottom: 8%; right: 14%; animation-delay: 2.0s; font-size: 24px; }
.coin-sparkles .spark.s5 { top: 50%; left: -2%;  animation-delay: 2.6s; font-size: 16px; }
.coin-sparkles .spark.s6 { top: 40%; right: -2%; animation-delay: 3.2s; font-size: 20px; }
@keyframes spark-twinkle {
  0%, 100%      { opacity: 0; transform: scale(0.5) rotate(0deg); }
  20%, 80%      { opacity: 1; transform: scale(1)   rotate(180deg); }
}

/* Live pill — top-LEFT of the stage (clears the way for fc1 on the right) */
.coin-stage .live-pill {
  position: absolute;
  top: 26px;
  left: 16px;
  right: auto;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-dark);
  box-shadow: 0 8px 24px rgba(212,175,55,0.20);
  animation: pill-float 4s ease-in-out infinite;
}
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.coin-stage .live-pill .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 12px #4ADE80, 0 0 4px #4ADE80;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { opacity: 1;   transform: scale(1);   }
  50%     { opacity: 0.4; transform: scale(1.35);}
}

/* Price tag — bottom-center, clean modern card */
.coin-stage .orb-center {
  position: absolute !important;
  top: auto !important;
  bottom: 10px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  z-index: 6;
  display: block;
}
.coin-stage .orb-center .price-tag {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "label change"
    "value change";
  align-items: center;
  gap: 0 14px;
  padding: 14px 20px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(115,92,27,0.40) !important;
  box-shadow:
    0 22px 55px rgba(60,40,5,0.32),
    0 8px 18px rgba(60,40,5,0.20),
    0 0 0 5px rgba(255,255,255,0.75),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
  white-space: nowrap;
}
.coin-stage .orb-center .price-tag .price-label {
  grid-area: label;
  font-family: var(--font-accent);
  font-size: 0.58rem !important;
  color: var(--text-muted) !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0;
}
.coin-stage .orb-center .price-tag .price-value {
  grid-area: value;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem !important;
  background: linear-gradient(135deg, #B07514, #E5C868);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.1;
}
.coin-stage .orb-center .price-tag .price-change {
  grid-area: change;
  align-self: center;
  font-size: 0.74rem !important;
  font-weight: 700;
  color: #16A34A !important;
  padding: 5px 10px;
  background: rgba(22,163,74,0.10);
  border: 1px solid rgba(22,163,74,0.28);
  border-radius: 50px;
}

/* Two floating cards on opposite quadrants — no overlap with live pill or price tag */
.floating-card { z-index: 7 !important; }
.coin-stage .floating-card.fc1 {
  top: 5% !important;          /* upper-right, sits beside (not under) the LIVE pill */
  right: -8px !important;
  bottom: auto !important;
  left: auto !important;
  animation-delay: 0s !important;
}
.coin-stage .floating-card.fc2 {
  top: 48% !important;         /* MID-left, comfortably above the bottom price tag */
  left: -8px !important;
  transform: translateY(-50%);
  bottom: auto !important;
  right: auto !important;
  animation-delay: 1.5s !important;
}

/* Stronger glow pulse on the hero halo backdrop */
.hero-visual::before {
  animation: halo-pulse-strong 4s ease-in-out infinite !important;
}
@keyframes halo-pulse-strong {
  0%,100% { transform: scale(1);    opacity: 0.6; }
  50%     { transform: scale(1.12); opacity: 1; }
}

/* Concentric gold rings — only for non-video orbs */
.gold-orb:not(.has-video)::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(212,175,55,0.18);
  animation: orbit-rotate 30s linear infinite;
}
@keyframes orbit-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dark velvet showcase stage — sits behind the whole hero visual to create
   a luxury "display case" effect against the light gold gradient background.
   Layered: dark velvet base → cream spotlight on top → bright gold ring frame. */

/* Layer 1: deep gold-brown velvet plate (the "stage") */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(40,28,5,0.78) 0%,
      rgba(60,42,8,0.62) 20%,
      rgba(92,73,6,0.42) 42%,
      rgba(115,92,27,0.22) 60%,
      transparent 80%);
  filter: blur(18px);
  z-index: -2;
  animation: halo-pulse 6s ease-in-out infinite;
}

/* Layer 2: bright cream spotlight on top of the dark plate (the "light") */
.hero-visual::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%,
      rgba(255,255,255,0.55) 0%,
      rgba(255,250,225,0.32) 30%,
      rgba(255,240,180,0.12) 55%,
      transparent 78%);
  filter: blur(20px);
  z-index: -1;
  animation: spotlight-pulse 5s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%,100% { transform: scale(1);    opacity: 0.85; }
  50%     { transform: scale(1.04); opacity: 1;    }
}
@keyframes spotlight-pulse {
  0%,100% { transform: scale(1);    opacity: 0.85; }
  50%     { transform: scale(1.07); opacity: 1;    }
}

/* Decorative rotating gold dashed ring — sits on top of the velvet plate */
.coin-stage::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 1px dashed rgba(255,237,168,0.55);
  z-index: 0;
  animation: orbit-rotate 60s linear infinite;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Inner solid gold ring frame */
.coin-stage::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.40);
  box-shadow:
    inset 0 0 30px rgba(255,237,168,0.18),
    0 0 30px rgba(115,92,27,0.30);
  z-index: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Price tag refinement — only for non-video orbs */
.gold-orb:not(.has-video) .orb-center .price-tag {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(212,175,55,0.30) !important;
  box-shadow:
    0 12px 40px rgba(212,175,55,0.20),
    inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
.gold-orb:not(.has-video) .orb-center .price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem !important;
}

/* ---------- Gold dust particles (GSAP-driven) ---------- */
.gold-dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.dust-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFEDA8 0%, #E5C868 50%, transparent 70%);
  box-shadow: 0 0 8px rgba(229,200,104,0.6);
  opacity: 0;
}

/* ---------- Magnetic buttons (GSAP-ready) ---------- */
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #D4AF37, #735C1B) !important;
  box-shadow: 0 8px 24px rgba(212,175,55,0.30),
              inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent);
  transform: skewX(-22deg);
  transition: left 0.6s ease;
}
.btn-gold:hover::before { left: 125%; }
.btn-gold:hover {
  box-shadow: 0 14px 32px rgba(212,175,55,0.45),
              inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-outline {
  position: relative;
  overflow: hidden;
}
.btn-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* ---------- Section heading ornamental serif ---------- */
/* (font-family, weight, label spacing all handled by the Typography
   consistency layer near the top of this file — no duplicate rules here) */

/* Animated gold line */
.gold-line {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent) !important;
  background-size: 200% 100% !important;
  animation: line-shimmer 4s linear infinite;
}
@keyframes line-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- Why cards – luxury shine ---------- */
.why-card {
  position: relative;
  isolation: isolate;
}
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(180px 100px at var(--mx, 50%) var(--my, 50%),
    rgba(229,200,104,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.why-card:hover::after { opacity: 1; }

.why-card .wc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229,200,104,0.22), rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.25);
  font-size: 1.7rem !important;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.why-card:hover .wc-icon {
  transform: rotateY(360deg) scale(1.1);
}

/* ---------- Service cards – elegant gold ribbon ---------- */
.service-card {
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  animation: line-shimmer 4s linear infinite;
}
.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(229,200,104,0.20), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.22);
  margin-bottom: 22px !important;
}

/* ---------- Stats – gold-coin numerals ---------- */
.stat-item .s-num {
  font-family: var(--font-display) !important;
  font-weight: 900;
  text-shadow: 0 4px 24px rgba(212,175,55,0.20);
}
.stat-item {
  position: relative;
}
.stat-item::after {
  content: "";
  position: absolute;
  bottom: 16px; left: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.4s ease;
}
.stat-item:hover::after { transform: translateX(-50%) scaleX(1); }

/* ---------- How it works – numbered gold badges ---------- */
.step-num {
  position: relative;
  background: linear-gradient(135deg, #FFEDA8, #D4AF37) !important;
  border: 2px solid rgba(168,138,42,0.4) !important;
  box-shadow: 0 8px 24px rgba(212,175,55,0.25),
              inset 0 2px 0 rgba(255,255,255,0.3) !important;
  color: #5C4308;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.step-item:hover .step-num {
  transform: translateY(-6px) rotate(8deg);
}

/* ---------- Testimonials – elegant card with quote mark ---------- */
.testi-card {
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(212,175,55,0.12);
  font-weight: 900;
  pointer-events: none;
}
.testi-text {
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ---------- CTA upgrade ---------- */
.cta-section {
  position: relative;
  background: var(--gradient-gold) !important;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(115,92,27,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(115,92,27,0.4), transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(115,92,27,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(115,92,27,0.4), transparent 60%),
    radial-gradient(2px 2px at 60% 90%, rgba(115,92,27,0.35), transparent 60%);
  opacity: 0.7;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--text) !important;
}
.cta-section p {
  color: var(--gold-deep) !important;
  opacity: 0.9;
}
.cta-section .label,
.cta-section .eyebrow {
  color: var(--gold-deep) !important;
}

/* ---------- Blog cards refresh ---------- */
.blog-img {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(229,200,104,0.30), transparent 70%),
    linear-gradient(135deg, rgba(212,175,55,0.10) 0%, rgba(229,200,104,0.06) 100%) !important;
  font-size: 3.5rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-img::after {
  content: "";
  position: absolute;
  inset: -50% -50% auto auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,237,168,0.4), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- Floating cards (hero) refinement ---------- */
.floating-card {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(115,92,27,0.35) !important;
  box-shadow:
    0 18px 42px rgba(60,40,5,0.30),
    0 6px 16px rgba(60,40,5,0.18),
    0 0 0 5px rgba(255,255,255,0.75),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
  padding: 10px 14px !important;
  gap: 10px !important;
  max-width: 170px;
}
.floating-card .fc-icon {
  font-size: 1.35rem !important;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(229,200,104,0.20), rgba(212,175,55,0.06));
  border-radius: 10px;
  flex-shrink: 0;
}
.floating-card .fc-text .fc-val { font-size: 0.82rem !important; }
.floating-card .fc-text .fc-sub { font-size: 0.66rem !important; }

/* Reposition cards so they sit clearly OUTSIDE the orb video circle */
.gold-orb.has-video .floating-card.fc1 {
  top: 8% !important;
  right: -10px !important;
}
.gold-orb.has-video .floating-card.fc2 {
  bottom: 14% !important;
  left: -10px !important;
}

/* ---------- Coin spinner (decorative element) ---------- */
.gold-coin {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #FFEDA8 0%, #E5C868 30%, #D4AF37 60%, #735C1B 100%);
  position: relative;
  box-shadow:
    inset 0 -10px 20px rgba(92,67,8,0.4),
    inset 0 10px 20px rgba(255,237,168,0.5),
    0 8px 24px rgba(212,175,55,0.35);
  transform-style: preserve-3d;
}
.gold-coin::before {
  content: "₹";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #5C4308;
  font-size: 2.2rem;
  text-shadow: 0 1px 0 rgba(255,237,168,0.6);
}

/* ---------- Reveal classes used by GSAP ---------- */
.reveal-up   { opacity: 0; transform: translateY(40px); }
.reveal-fade { opacity: 0; }
.reveal-scale{ opacity: 0; transform: scale(0.92); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right{ opacity: 0; transform: translateX(40px); }
.split-char  { display: inline-block; opacity: 0; transform: translateY(30px); }

/* Words that contain split-chars must NOT break mid-character */
.split-word {
  display: inline-block;
  white-space: nowrap;
}

/* Safety net for ALL headings site-wide — never break a word mid-character */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

/* ============================================================
   HOMEPAGE: Live Rates Section (Gold + Silver cards)
   ============================================================ */
.live-rates-section {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(229,200,104,0.08), transparent 60%),
    var(--bg);
  padding: 64px 0;
}

.rates-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.rate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 22px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  isolation: isolate;
}

/* Gold variant — warm luxurious palette */
.rate-card-gold {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,237,168,0.45), transparent 60%),
    linear-gradient(135deg, #FFFDF5 0%, #FBF0D2 100%);
  border: 1px solid rgba(212,175,55,0.30);
  box-shadow: 0 14px 40px rgba(212,175,55,0.14), inset 0 1px 0 rgba(255,255,255,0.8);
}
.rate-card-gold:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(212,175,55,0.28), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Silver variant — cool sleek palette */
.rate-card-silver {
  background:
    radial-gradient(circle at 80% 0%, rgba(209,213,219,0.55), transparent 60%),
    linear-gradient(135deg, #FAFAFB 0%, #E5E7EB 100%);
  border: 1px solid rgba(107,114,128,0.32);
  box-shadow: 0 14px 40px rgba(107,114,128,0.16), inset 0 1px 0 rgba(255,255,255,0.85);
}
.rate-card-silver:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(107,114,128,0.28), inset 0 1px 0 rgba(255,255,255,0.95);
}

/* LIVE pulse pill */
.rc-pulse {
  position: absolute;
  top: 20px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: var(--font-accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 50px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(212,175,55,0.30);
  color: var(--gold-dark);
  box-shadow: 0 4px 12px rgba(212,175,55,0.18);
}
.rc-pulse.silver {
  border-color: rgba(107,114,128,0.30);
  color: #4B5563;
  box-shadow: 0 4px 12px rgba(107,114,128,0.18);
}
.rc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 8px #16A34A, 0 0 2px #16A34A;
  animation: rc-blink 1.4s ease-in-out infinite;
}
@keyframes rc-blink {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%      { opacity: 0.3; transform: scale(1.4);  }
}

/* Header row — icon + metal name */
.rc-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(212,175,55,0.25);
  flex-shrink: 0;
}
.rate-card-silver .rc-icon {
  border-color: rgba(107,114,128,0.25);
}
.rc-metal {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.1;
}
.rc-purity {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Big price line */
.rc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}
.rc-currency {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}
.rc-amount {
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.rate-card-gold .rc-amount {
  background: linear-gradient(135deg, #735C1B, #D4AF37, #FFEDA8);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rate-card-silver .rc-amount {
  background: linear-gradient(135deg, #4B5563, #6B7280, #D1D5DB);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rc-unit {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Meta row — 10g price + change */
.rc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.rc-10g { font-weight: 500; }
.rc-change {
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.76rem;
}
.rc-change.up   { background: rgba(22,163,74,0.10);  color: #16A34A; border: 1px solid rgba(22,163,74,0.28); }
.rc-change.down { background: rgba(220,38,38,0.10);  color: #DC2626; border: 1px solid rgba(220,38,38,0.28); }

/* Footer CTA row */
.rc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(212,175,55,0.18);
}
.rate-card-silver .rc-footer { border-top-color: rgba(107,114,128,0.20); }
.rc-cta {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.rate-card-gold .rc-cta   { color: var(--gold-dark); }
.rate-card-silver .rc-cta { color: #4B5563; }
.rc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.rate-card-gold .rc-arrow {
  background: linear-gradient(135deg, #D4AF37, #735C1B);
  color: #fff;
  box-shadow: 0 6px 16px rgba(212,175,55,0.35);
}
.rate-card-silver .rc-arrow {
  background: linear-gradient(135deg, #6B7280, #4B5563);
  color: #fff;
  box-shadow: 0 6px 16px rgba(107,114,128,0.35);
}
.rate-card:hover .rc-arrow { transform: translateX(4px); }

/* Responsive — stack on mobile/tablet */
@media (max-width: 768px) {
  .live-rates-section { padding: 44px 0; }
  .rates-pair { grid-template-columns: 1fr; gap: 16px; }
  .rate-card { padding: 22px 20px 18px; }
  .rc-amount { font-size: 2.4rem; }
  .rc-currency { font-size: 1.2rem; }
  .rc-metal { font-size: 1.15rem; }
  .rc-icon { width: 44px; height: 44px; font-size: 1.5rem; border-radius: 12px; }
  .rc-pulse { top: 16px; right: 16px; font-size: 0.56rem; padding: 4px 9px; }
}

@media (max-width: 480px) {
  .rate-card { padding: 20px 18px 16px; }
  .rc-amount { font-size: 2rem; }
  .rc-meta { font-size: 0.74rem; }
  .rc-cta  { font-size: 0.82rem; }
}

/* When GSAP isn't loaded, prevent invisible content forever */
.no-gsap .reveal-up,
.no-gsap .reveal-fade,
.no-gsap .reveal-scale,
.no-gsap .reveal-left,
.no-gsap .reveal-right,
.no-gsap .split-char { opacity: 1 !important; transform: none !important; }

/* ---------- Cursor sparkle ---------- */
.cursor-sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFEDA8 0%, #E5C868 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  box-shadow: 0 0 12px rgba(229,200,104,0.8);
}

/* ---------- Ticker shimmer ---------- */
.ticker {
  background: linear-gradient(90deg, var(--bg-card2), #F8EFD4, var(--bg-card2)) !important;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg-card2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg-card2), transparent); }

/* ---------- Mobile adjustments ---------- */
@media (max-width: 768px) {
  .hero-visual::before { width: 320px; height: 320px; }
  .testi-card::before { font-size: 4rem; right: 16px; top: 8px; }
  .gold-orb:not(.has-video) { width: 260px !important; height: 260px !important; }
  .coin-stage { width: 320px !important; height: 320px !important; }
  .coin-img   { width: 240px !important; height: 240px !important; }
  .coin-stage .live-pill { top: 14px; left: 10px; right: auto; font-size: 0.55rem; padding: 5px 10px; letter-spacing: 1.5px; }
  .coin-stage .orb-center .price-tag { padding: 11px 16px !important; }
  .coin-stage .orb-center .price-tag .price-value { font-size: 1.4rem !important; }
  .coin-stage .orb-center .price-tag .price-label { font-size: 0.55rem !important; }
  .coin-stage .orb-center .price-tag .price-change { font-size: 0.68rem !important; padding: 4px 9px; }
  /* Floating cards hidden on mobile — phone is the focus */
  .coin-stage .floating-card { display: none !important; }
  /* Decorative coin stays on mobile, but moves to a small corner badge slot */
  .coin-stage .hero-coin {
    top: 14px !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    width: 72px !important;
    height: 72px !important;
    transform: none !important;
    animation: hero-coin-float-mobile 5s ease-in-out infinite !important;
  }
  @keyframes hero-coin-float-mobile {
    0%, 100% { transform: translateY(0)    rotate(-4deg); }
    50%      { transform: translateY(-4px) rotate(4deg);  }
  }
  .floating-card { padding: 7px 10px !important; max-width: 130px !important; gap: 7px !important; }
  .floating-card .fc-icon { font-size: 1rem !important; width: 26px !important; height: 26px !important; border-radius: 7px !important; }
  .floating-card .fc-text .fc-val { font-size: 0.66rem !important; line-height: 1.2; }
  .floating-card .fc-text .fc-sub { font-size: 0.55rem !important; line-height: 1.2; }
  .cta-section h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

@media (max-width: 480px) {
  .gold-orb:not(.has-video) { width: 220px !important; height: 220px !important; }
  .coin-stage { width: 280px !important; height: 280px !important; }
  .coin-img   { width: 210px !important; height: 210px !important; }
}

/* ============================================================
   TRUST STRIP — credentials banner (home page)
   ============================================================ */
.trust-strip {
  position: relative;
  padding: 56px 0 60px;
  background:
    radial-gradient(900px 220px at 50% 0%, rgba(229,200,104,0.18), transparent 60%),
    linear-gradient(180deg, #FFFDF5 0%, #FFF8E1 50%, #FFFDF5 100%);
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  overflow: hidden;
}
.trust-strip::before,
.trust-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,0.35) 20%,
    rgba(229,200,104,0.9) 50%,
    rgba(212,175,55,0.35) 80%,
    transparent 100%);
}
.trust-strip::before { top: 0; }
.trust-strip::after  { bottom: 0; }

.trust-strip-head {
  text-align: center;
  margin-bottom: 28px;
}
.trust-strip-head .trust-eyebrow {
  display: inline-block;
  font-family: var(--font-accent), 'Marcellus', serif;
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}
.trust-strip-head .gold-line {
  width: 64px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0 auto 34px;
  max-width: 1080px;
}
.trust-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEC 100%);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 14px;
  box-shadow:
    0 2px 8px rgba(212,175,55,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.trust-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.6) 50%,
    transparent 65%,
    transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.trust-badge:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow:
    0 10px 24px rgba(212,175,55,0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.trust-badge:hover::before { transform: translateX(100%); }

.trust-badge .tb-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: radial-gradient(circle at 30% 30%, #FFF6D0, #F5E08C);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(212,175,55,0.18);
}
.trust-badge .tb-text {
  font-family: var(--font-accent), 'Marcellus', serif;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-badge .tb-text span {
  display: inline-block;
  font-family: var(--font), sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.trust-statement {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 28px;
  background: linear-gradient(135deg,
    rgba(212,175,55,0.06) 0%,
    rgba(229,200,104,0.14) 50%,
    rgba(212,175,55,0.06) 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(212,175,55,0.10);
  text-align: center;
}
.trust-statement p {
  margin: 0;
  font-family: var(--font), sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.trust-statement strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-statement em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-dark);
}
.trust-statement .ts-mark {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  animation: tsTwinkle 2.6s ease-in-out infinite;
}
.trust-statement .ts-mark:last-child { animation-delay: 1.3s; }

@keyframes tsTwinkle {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.18); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .trust-badges { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
}
@media (max-width: 768px) {
  .trust-strip { padding: 44px 0 48px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-badge { padding: 14px; }
  .trust-badge .tb-icon { width: 40px; height: 40px; font-size: 1.3rem; }
  .trust-badge .tb-text { font-size: 0.9rem; }
  .trust-badge .tb-text span { font-size: 0.72rem; }
  .trust-statement {
    border-radius: 18px;
    padding: 16px 20px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .trust-statement p { font-size: 0.88rem; flex: 1 1 70%; }
}
@media (max-width: 480px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-badge .tb-text { font-size: 0.85rem; }
  .trust-badge .tb-text br { display: none; }
  .trust-badge .tb-text span { margin-left: 4px; margin-top: 0; }
  .trust-statement p { font-size: 0.82rem; }
}
