/* =========================================================
   LUMIVEX — Gold Investment Page
   ========================================================= */

.page-gold {
  --gold-rich: #E8C547;
  --gold-deep: #8B7355;
}

/* ---------- Hero ---------- */
.gold-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
}

.gold-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gold-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}

.gold-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.7) 50%, #050505 100%),
    linear-gradient(115deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.25) 55%, transparent 75%);
}

.gold-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(212, 175, 55, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(240, 215, 140, 0.15), transparent 50%);
  pointer-events: none;
}

.gold-hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(240, 215, 140, 0.08) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: goldShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.gold-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.gh-eyebrow {
  margin-bottom: 1.2rem;
  text-shadow: 0 0 30px var(--gold-glow);
}

.gold-hero-title {
  font-size: clamp(2.9rem, 6.5vw, 5.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.gold-hero-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #FFF3C4, var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldText 6s linear infinite;
}

@keyframes goldText {
  to { background-position: 200% center; }
}

.gh-line {
  display: block;
  overflow: hidden;
}

.gh-line > span {
  display: inline-block;
}

.gold-hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gold-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gold-hero-spot {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 1rem 1.35rem;
  max-width: 100%;
}

.gold-hero-spot > span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  width: 100%;
}

.gold-hero-spot strong {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-hero-spot em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.why-copy h2 {
  margin-bottom: 1.15rem;
}

.why-copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-points li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-points strong {
  color: var(--gold-light);
}

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-soft), 0 0 50px rgba(212, 175, 55, 0.12);
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-float {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
  animation: floatY 6s ease-in-out infinite;
}

.why-float strong {
  display: block;
  font-size: 1.75rem;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-float span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Benefits ---------- */
.gold-benefits {
  background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.7), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  padding: 2rem 1.75rem;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}

.benefit-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.benefit-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 1.25rem;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Performance ---------- */
.page-gold .perf-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-gold .perf-copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 44ch;
}

.page-gold .perf-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.page-gold .perf-highlights li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-gold .perf-highlights strong {
  color: var(--gold-light);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.perf-disclaimer {
  font-size: 0.8rem !important;
  color: var(--text-dim) !important;
}

.page-gold .perf-chart-wrap {
  padding: 1.5rem;
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(212, 175, 55, 0.08);
}

.page-gold .perf-chart-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

#goldChart {
  width: 100%;
  height: auto;
}

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}

.plan-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.plan-featured {
  border-color: rgba(212, 175, 55, 0.55);
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
  transform: scale(1.02);
}

.plan-featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.plan-tier {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.plan-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.plan-price {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.plan-price strong {
  font-size: 1.85rem;
  color: var(--gold-light);
  font-weight: 700;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.plan-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.15rem;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.plan-cta {
  width: 100%;
}

/* ---------- Pricing table ---------- */
.gold-pricing {
  background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.65), transparent);
}

.pricing-table {
  overflow: hidden;
  padding: 0;
}

.price-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-head {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.price-row span:first-child {
  color: #fff;
  font-weight: 500;
}

.price-head span:first-child {
  color: var(--gold-light);
}

.pricing-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 1.25rem;
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- Insights ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.page-gold .insight-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.page-gold .insight-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold);
}

.page-gold .insight-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.page-gold .insight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.page-gold .insight-card:hover .insight-media img {
  transform: scale(1.06);
}

.page-gold .insight-body {
  padding: 1.5rem;
}

.page-gold .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.page-gold .insight-body h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* ---------- Portfolios ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-card {
  padding: 2rem 1.75rem;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.portfolio-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.portfolio-featured {
  border-color: rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.1), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.portfolio-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.portfolio-sub {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.alloc-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.alloc-bar {
  height: 36px;
  width: var(--p);
  min-width: 28%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.alloc-bar span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a0a0a;
  white-space: nowrap;
}

.portfolio-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.page-gold .faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-gold .faq-item {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
}

.page-gold .faq-item[open] {
  border-color: rgba(212, 175, 55, 0.4);
}

.page-gold .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.page-gold .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gold .faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 1.35rem;
}

.page-gold .faq-item[open] summary::after {
  content: "−";
}

.page-gold .faq-item p {
  color: var(--text-muted);
  padding: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.gold-cta {
  position: relative;
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
}

.gold-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(212, 175, 55, 0.22), transparent),
    linear-gradient(180deg, var(--bg), #0c0a06, var(--bg));
}

.gold-cta-bg::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  animation: ctaRing 8s ease-in-out infinite;
}

.gold-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.gold-cta-inner h2 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.gold-cta-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.gold-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid,
  .page-gold .perf-layout {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .plans-grid,
  .insights-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-6px);
  }

  .price-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    font-size: 0.85rem;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .gold-hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .benefits-grid,
  .plans-grid,
  .insights-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    overflow-x: auto;
  }

  .price-row {
    min-width: 560px;
  }

  .gold-hero-title {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .gold-hero-ctas,
  .gold-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gold-hero-ctas .btn,
  .gold-cta-actions .btn {
    width: 100%;
  }
}
