/* ═══════════════════════════════════════════════════════════
   Apex Gem Holdings — Shared Design System
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --obsidian:   #0E0E0E;
  --deep:       #141414;
  --surface:    #1C1C1C;
  --surface-2:  #232323;
  --border:     #2A2A2A;
  --muted:      #555555;
  --light:      #A8A8A8;
  --white:      #F0EDE8;
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-bright: #EEC96A;
  --gold-dim:   rgba(201,168,76,0.12);
  --gold-glow:  rgba(201,168,76,0.25);
  --emerald:    #134E37; /* Deep luxury green matched to the Apex logo */
  --emerald-lt: #226D51;
  --emerald-dim: rgba(19,78,55,0.12);
  --diamond:    #B8D4E8;
  --amethyst:   #7C5CBF;
  --danger:     #D44B3E;
  --success:    #2ECC71;
  --warm-tint:  rgba(201,168,76,0.04);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-h: 76px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Responsive padding variables */
  --section-pad-x: 4rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ─── SELECTION ─── */
::selection { background: var(--gold); color: var(--obsidian); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: var(--nav-h);
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
nav.scrolled { background: rgba(14,14,14,0.98); border-bottom-color: var(--border); }

/* ─── AUTH NAV ─── */
.nav-auth { display: flex; align-items: center; gap: 0.8rem; }
.nav-auth-btn {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav-auth-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.nav-profile-btn {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.nav-profile-btn:hover { border-color: var(--gold); background: var(--surface-2); }
.nav-profile-avatar {
  width: 28px; height: 28px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--obsidian);
  flex-shrink: 0;
}
.nav-profile-name { font-size: 0.75rem; color: var(--white); }
.nav-profile-tier {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
/* Profile Dropdown */
.profile-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 220px;
  box-shadow: none;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
  overflow: hidden;
}
.profile-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.pd-header {
  padding: 1rem 1.2rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.pd-name { font-size: 0.88rem; font-weight: 500; color: var(--white); }
.pd-email { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
.pd-tier {
  display: inline-flex;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.pd-links { padding: 0.5rem 0; }
.pd-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.8rem;
  color: var(--light);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.pd-link:hover { color: var(--white); background: var(--surface-2); }
.pd-link .pd-icon { font-size: 0.9rem; width: 18px; text-align: center; }
.pd-divider { height: 1px; background: var(--border); margin: 0.3rem 0; }
.pd-link.logout { color: var(--danger); }
.pd-link.logout:hover { background: rgba(212,75,62,0.1); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--white); font-weight: 300; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--obsidian);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--white); transition: all 0.3s var(--ease-out); }

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190;
  background: var(--obsidian);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }

.mobile-nav-auth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 80%;
  max-width: 320px;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  align-items: center;
}
.mobile-nav-auth .nav-auth-btn,
.mobile-nav-auth .nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.72rem;
}

/* ─── PAGE CONTENT OFFSET ─── */
.page-content { padding-top: var(--nav-h); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 4rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 40%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(45,106,79,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #0E0E0E 0%, #111111 100%);
}
.particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1.5); }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  position: relative;
  max-width: 900px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--light);
  max-width: 520px;
  line-height: 1.75;
  position: relative;
}
.hero-actions {
  margin-top: 3rem;
  display: flex; gap: 1.2rem; align-items: center;
  position: relative; flex-wrap: wrap;
}
.hero-stats {
  position: absolute; right: 4rem; bottom: 6rem;
  display: flex; flex-direction: column; gap: 2.5rem;
  text-align: right;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); margin-left: auto; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--obsidian);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: none;
}
.btn-primary:hover { 
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-bright) 100%);
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-outline {
  border: 1px solid rgba(196,191,176,0.4);
  color: var(--light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); box-shadow: none; }

/* ─── SECTION BASE ─── */
section { padding: 7rem 4rem; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  max-width: 700px;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── COUNTERS ─── */
.counter-section {
  background: linear-gradient(180deg, var(--deep) 0%, var(--obsidian) 100%);
  border-top: 1px solid rgba(224,184,74,0.12);
  border-bottom: 1px solid rgba(224,184,74,0.12);
  padding: 4rem;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.counter-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  transition: background 0.3s;
}
.counter-item:last-child { border-right: none; }
.counter-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dim), rgba(76,175,120,0.06));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.counter-item:hover { background: var(--surface-2); }
.counter-item:hover::before { transform: scaleY(1); }
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--gold-bright);
  line-height: 1;
  position: relative;
  text-shadow: 0 0 40px rgba(224,184,74,0.35);
}
.counter-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 0.5rem;
  position: relative;
}

/* ─── EXPANDING MINERAL CARDS (Adapted from Elite Ti ExpandOnHover) ─── */
.minerals-section {
  background: var(--obsidian);
  border-top: 1px solid var(--border);
  padding: 7rem 0;
}
.minerals-section .section-inner { padding: 0 4rem; margin-bottom: 3rem; }
.mineral-expand-track {
  display: flex;
  width: 100%;
  height: 580px;
  gap: 3px;
}
.mineral-card-expand {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s;
  border: 1px solid var(--border);
}
.mineral-card-expand.active {
  flex: 4.5;
  border-color: rgba(201,168,76,0.4);
}
.mineral-card-expand .mc-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease-out);
}
.mineral-card-expand:hover .mc-bg, .mineral-card-expand.active .mc-bg {
  transform: scale(1.04);
}
.mineral-card-expand .mc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.mc-collapsed-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}
.mc-collapsed-label span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.7;
  white-space: nowrap;
}
.mineral-card-expand.active .mc-collapsed-label { opacity: 0; pointer-events: none; }
.mc-content {
  position: absolute; bottom: 2rem; left: 2rem; right: 2rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.mineral-card-expand.active .mc-content { opacity: 1; transform: none; }
.mc-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.mc-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.mc-origin {
  font-size: 0.72rem;
  color: var(--light);
  margin-top: 0.4rem;
  letter-spacing: 0.06em;
}
.mc-desc {
  font-size: 0.82rem;
  color: var(--light);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 360px;
}
.mc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.2rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.mc-link:hover { gap: 0.8rem; }

/* ─── HORIZONTAL STORY SCROLL ─── */
.story-scroll-section {
  position: relative;
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.story-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.story-scroll-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.story-panel {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  padding: 4rem 4rem;
}
.story-panel-img {
  position: relative;
  height: 65vh;
  overflow: hidden;
  border: 1px solid var(--border);
}
.story-panel-img-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 0.6s;
}
.story-panel:hover .story-panel-img-bg { transform: scale(1.03); }
.story-panel-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.story-panel-img-tag {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.story-corner {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px;
  border-top: 2px solid rgba(201,168,76,0.5);
  border-left: 2px solid rgba(201,168,76,0.5);
  z-index: 1;
}
.story-panel-text { }
.story-panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}
.story-panel-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}
.story-panel-body {
  font-size: 0.95rem;
  color: var(--light);
  line-height: 1.85;
  margin-top: 1.5rem;
  max-width: 440px;
}
.story-panel-stat {
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-top: 2rem;
}
.story-panel-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-panel-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 300;
}
.story-progress-indicator {
  position: absolute; top: 2rem; left: 2rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: 10;
}
.story-kicker-fixed {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.story-dots {
  display: flex; gap: 8px;
}
.story-dot {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.story-dot-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--gold);
  width: 0%;
  transition: width 0.05s linear;
}

/* ─── HOW IT WORKS ─── */
.how-section {
  background: var(--obsidian);
  border-top: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--border);
}
.step-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: var(--surface); }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.step-card p { font-size: 0.85rem; color: var(--light); line-height: 1.7; }
.step-arrow {
  position: absolute;
  right: -7px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  z-index: 1; background: var(--obsidian);
}
.step-card:hover .step-arrow { background: var(--surface); }
.step-card:last-child .step-arrow { display: none; }

/* ─── PACKAGES ─── */
.packages-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 4rem;
}
.pkg-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease-out);
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.pkg-card:hover { background: var(--surface-2); transform: translateY(-4px); box-shadow: none; border-color: rgba(224,184,74,0.2); }
.pkg-card.featured {
  background: linear-gradient(160deg, #201C12 0%, var(--surface) 100%);
  border: 1px solid rgba(224,184,74,0.5);
  box-shadow: none;
  z-index: 1;
}
.pkg-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.3rem 0.8rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.pkg-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.pkg-gem {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.pkg-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pkg-price-label {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.pkg-return {
  display: flex; align-items: baseline; gap: 0.4rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.pkg-return-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--emerald-lt);
  font-weight: 300;
}
.pkg-return-label { font-size: 0.72rem; color: var(--muted); }
.pkg-features {
  list-style: none; flex: 1; margin-bottom: 2rem;
}
.pkg-features li {
  font-size: 0.82rem;
  color: var(--light);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.6rem;
}
.pkg-features li::before {
  content: '◆';
  font-size: 0.38rem;
  color: var(--gold);
  flex-shrink: 0;
}
.pkg-cta {
  display: block;
  text-align: center;
  padding: 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--muted);
  color: var(--light);
  transition: all 0.2s;
}
.pkg-cta:hover, .pkg-card.featured .pkg-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

/* ─── TESTIMONIALS (Adapted from Elite Ti AnimatedTestimonials) ─── */
.testimonials-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3.5rem var(--section-pad-x);
}
.testimonials-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-stack {
  position: relative;
  height: 240px;
  width: 240px;
}
.testimonial-card-img {
  position: absolute; inset: 0;
  border-radius: 0px;
  background-size: cover; background-position: center top;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.testimonial-text { }
.testimonial-investor-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.testimonial-investor-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.testimonial-quote {
  color: var(--light);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  min-height: 70px;
}
.testimonial-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.ts-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}
.ts-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 700;
}
.testimonial-nav {
  display: flex; gap: 0.6rem; margin-top: 1.5rem;
}
.tn-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-size: 1rem;
}
.tn-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ─── TRUST SECTION ─── */
.trust-section {
  background: var(--obsidian);
  border-top: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  padding: 1.8rem 1.5rem;
  transition: all 0.3s;
}
.trust-item:hover { border-color: rgba(224,184,74,0.4); background: var(--surface-2); transform: translateY(-3px); box-shadow: none; }
.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.trust-item p { font-size: 0.85rem; color: var(--light); line-height: 1.7; }

/* ─── PAYMENT SECTION ─── */
.payment-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.payment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.payment-methods {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem;
}
.pay-badge {
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--light);
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.pay-badge:hover { border-color: var(--gold); color: var(--gold); }
.pay-note { font-size: 0.78rem; color: var(--muted); margin-top: 1.5rem; line-height: 1.6; }
.topup-box {
  border: 1px solid var(--border);
  padding: 2.5rem;
}

/* ─── CONTACT FORM ─── */
.contact-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--surface); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.contact-info { padding-top: 2.5rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-detail-value { font-size: 0.92rem; color: var(--light); }
.disclaimer {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── ROI CALCULATOR ─── */
.roi-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.roi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.roi-calc {
  background: var(--deep);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.roi-slider-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1rem;
}
.roi-slider-label span { font-size: 0.75rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.08em; }
.roi-amount-display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border);
  outline: none;
  margin: 1.5rem 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--obsidian);
  box-shadow: 0 0 0 2px var(--gold);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--obsidian);
}
.roi-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.35rem 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.roi-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.roi-result-item {}
.roi-result-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}
.roi-result-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
}
.roi-result-val.highlight { color: var(--emerald-lt); }

/* ─── DASHBOARD ─── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-h);
}
.dashboard-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--deep);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar-section { padding: 1.5rem 1.5rem 0.5rem; }
.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav { list-style: none; padding: 0 1rem; }
.sidebar-nav li { margin-bottom: 0.2rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  color: var(--light);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.sidebar-nav a:hover { color: var(--white); background: var(--surface); }
.sidebar-nav a.active { color: var(--gold); background: var(--gold-dim); }
.sidebar-nav .icon { font-size: 0.9rem; width: 20px; text-align: center; }
.sidebar-investor-card {
  margin: auto 1rem 1.5rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.sic-tier {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.sic-name { font-size: 0.88rem; color: var(--white); font-weight: 500; }
.sic-kyc {
  font-size: 0.68rem;
  color: var(--emerald-lt);
  margin-top: 0.3rem;
  display: flex; align-items: center; gap: 0.35rem;
}
.dashboard-main {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  background: var(--obsidian);
}
.dash-header { margin-bottom: 2rem; }
.dash-greeting {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.dash-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--deep);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-card-value.gold { color: var(--gold); }
.stat-card-value.green { color: var(--emerald-lt); }
.stat-card-sub {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.stat-card-icon {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 1.2rem;
  opacity: 0.3;
}
.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.dash-card {
  background: var(--deep);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.dash-card-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.dash-card-title span { color: var(--light); font-size: 0.68rem; }
/* SVG Chart */
.chart-container { position: relative; }
.chart-svg { width: 100%; overflow: visible; }
.chart-svg .grid-line { stroke: var(--border); stroke-width: 1; }
.chart-svg .chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-svg .chart-area {
  fill: url(#goldGradient);
  opacity: 0.15;
}
.chart-svg .chart-point {
  fill: var(--gold);
  stroke: var(--deep);
  stroke-width: 2;
}
.chart-label {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--muted);
}
/* Cycle Progress */
.cycle-bar-bg {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin: 1.2rem 0;
  overflow: hidden;
}
.cycle-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 1.5s var(--ease-out);
}
.cycle-dates {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.cycle-pct {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-align: center;
  margin: 1rem 0;
}
.cycle-days-left {
  text-align: center;
  font-size: 0.78rem;
  color: var(--light);
}
/* Responsive table wrapper */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Transactions */
.tx-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.tx-table th {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tx-table td {
  font-size: 0.82rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--light);
}
.tx-table td:first-child { color: var(--white); }
.tx-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
}
.tx-badge.confirmed { color: var(--emerald-lt); background: rgba(64,145,108,0.12); }
.tx-badge.pending { color: var(--gold); background: var(--gold-dim); }
.tx-badge.completed { color: var(--diamond); background: rgba(184,212,232,0.1); }
.tx-amount { font-family: var(--font-mono); }
.tx-amount.credit { color: var(--emerald-lt); }
.tx-amount.debit { color: var(--danger); }
/* Updates feed */
.updates-feed { margin-top: 0.5rem; }
.update-item {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.update-item:last-child { border-bottom: none; }
.update-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.45rem;
  position: relative;
}
.update-dot::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.4;
}
.update-time {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.update-text { font-size: 0.82rem; color: var(--light); line-height: 1.55; }
/* Reports */
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.5rem; }
.report-card {
  border: 1px solid var(--border);
  padding: 1.2rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.report-card:hover { border-color: var(--gold); background: var(--gold-dim); }
.report-type {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.report-name { font-size: 0.82rem; color: var(--white); margin-bottom: 0.3rem; }
.report-date { font-size: 0.7rem; color: var(--muted); }
.report-dl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.report-card:hover .report-dl { color: var(--gold); }
/* Top-up */
.topup-widget { }
.topup-input-row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.topup-input-row input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.topup-input-row input:focus { border-color: var(--gold); }
.topup-submit {
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 0 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.topup-submit:hover { background: var(--gold-light); }
.topup-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  display: none;
}
.topup-preview.visible { display: block; }
.tp-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tp-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 300; color: var(--gold); }

/* ─── TIMELINE (Adapted from Elite Ti Timeline) ─── */
.timeline-section {
  background: var(--obsidian);
  border-top: 1px solid var(--border);
}
.timeline-inner { position: relative; margin-top: 4rem; }
.timeline-line {
  position: absolute; left: 0; top: 0;
  width: 1px;
  background: var(--border);
  height: 100%;
}
.timeline-line-fill {
  position: absolute; left: 0; top: 0;
  width: 1px;
  background: var(--gold);
  height: 0%;
  transition: height 0.05s linear;
}
.timeline-items { padding-left: 3rem; }
.timeline-item {
  position: relative;
  padding: 0 0 4rem 3rem;
  border-left: none;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -5px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--obsidian);
  transition: background 0.3s, box-shadow 0.3s;
}
.timeline-item.passed::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.timeline-item p { font-size: 0.88rem; color: var(--light); line-height: 1.75; max-width: 540px; }

/* ─── AFRICA MAP ─── */
.map-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.map-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.map-svg-wrap {
  position: relative;
}
.region-dot {
  cursor: pointer;
  transition: r 0.2s;
}
.region-dot circle { transition: r 0.2s, opacity 0.2s; }
.region-dot:hover circle:first-child { r: 8; }
.region-tooltip {
  position: absolute;
  background: var(--deep);
  border: 1px solid var(--gold);
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: var(--white);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  white-space: nowrap;
}
.region-tooltip.show { opacity: 1; }
.map-legends { }
.map-legend-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.legend-gem { font-size: 1.5rem; width: 2.5rem; text-align: center; }
.legend-info {}
.legend-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; color: var(--white); }
.legend-region { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ─── LOGIN PAGE ─── */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-panel-img {
  position: relative;
  overflow: hidden;
}
.login-panel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.login-panel-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,12,10,0.7) 0%, rgba(13,12,10,0.3) 100%);
}
.login-panel-brand {
  position: absolute; bottom: 3rem; left: 3rem;
}
.lpb-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
}
.lpb-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--light);
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.login-panel-form {
  background: var(--deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
}
.login-form-inner { width: 100%; max-width: 400px; }
.login-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.login-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.login-sub { font-size: 0.85rem; color: var(--light); margin-bottom: 2.5rem; line-height: 1.6; }
.login-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}
.login-tab {
  flex: 1;
  padding: 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.login-tab.active { background: var(--gold); color: var(--obsidian); font-weight: 700; }
.login-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.login-social {
  display: grid; grid-template-columns: 1fr;
  gap: 0.7rem; margin-bottom: 1.5rem;
}
.login-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--light);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.login-social-btn:hover { border-color: var(--gold); color: var(--white); background: var(--surface-2); }
.login-footer-note { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 1.5rem; }
.login-footer-note a { color: var(--gold); text-decoration: none; }
.login-kyc-note {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}
.login-kyc-note strong { color: var(--gold); }

/* ─── PORTFOLIO PAGE ─── */
.portfolio-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.25s;
}
.portfolio-card:hover { border-color: rgba(224,184,74,0.3); background: var(--surface-2); }
.portfolio-mineral-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(180deg, var(--deep) 0%, var(--obsidian) 100%);
  border-top: 1px solid rgba(224,184,74,0.12);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: var(--muted); }
.footer-reg { font-size: 0.66rem; color: var(--muted); text-align: right; }

/* ─── IMAGE UTILITIES ─── */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,12,10,0.92) 0%, rgba(13,12,10,0.4) 50%, rgba(13,12,10,0.1) 100%);
}
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.img-frame::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}

/* ─── NOTIFICATION TOAST ─── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: var(--white);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-title { font-weight: 600; color: var(--gold); margin-bottom: 0.2rem; font-size: 0.78rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid-2 { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .mineral-expand-track { height: 420px; }
}

@media (max-width: 900px) {
  :root {
    --section-pad-x: 1.5rem;
  }
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-auth { display: none !important; }
  .nav-hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 0 1.5rem 5rem; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.8rem); }
  .hero-stats { display: none; }
  .story-panel { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
  .story-panel-img { height: 40vh; }
  .testimonials-inner { grid-template-columns: 1fr; gap: 2.5rem; max-width: 440px; }
  .testimonial-stack { width: 100%; max-width: 240px; height: 240px; margin: 0 auto; }
  .payment-inner,
  .contact-inner,
  .map-inner,
  .roi-inner { grid-template-columns: 1fr; gap: 3rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-arrow { display: none; }
  .packages-grid { grid-template-columns: 1fr; }
  .pkg-card.featured { margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-reg { text-align: center; }
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 1.5rem 1rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: 1fr; }
  .counter-item { border-right: none; border-bottom: 1px solid var(--border); }
  .mineral-expand-track { flex-direction: column; height: auto; }
  .mineral-card-expand { height: 220px; flex: 1 !important; }
  .mc-collapsed-label span { writing-mode: initial; transform: none; }
  
  /* Mobile menu link styles */
  .mobile-nav a {
    font-size: 1.8rem;
  }
  
  /* Disable horizontal scroll tracking on mobile */
  .story-scroll-sticky {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }
  .story-scroll-track {
    display: block !important;
    transform: none !important;
  }
  .story-panel {
    width: 100% !important;
    height: auto !important;
    padding: 3rem 1.5rem !important;
    border-bottom: 1px solid var(--border);
  }
  .story-panel:last-child {
    border-bottom: none;
  }
  .story-dots {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .roi-result-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* ─── PAYMENT CARDS ─── */
.payment-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}
.pay-icon-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  background: var(--surface);
  cursor: default;
}
.pay-icon-card:hover {
  border-color: rgba(201, 168, 76, 0.4) !important;
  background: var(--surface-2) !important;
  transform: translateY(-4px);
}
.pay-card-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-top: 0.8rem;
}
.pay-card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ─── GEM TEASER ─── */
.gem-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gem-teaser-panel {
  padding: 4rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
  background: transparent;
  transition: background 0.3s var(--ease-out);
}
.gem-teaser-panel:last-child {
  border-right: none;
}
.gem-teaser-panel:hover {
  background: var(--surface);
}
.gem-teaser-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.gem-teaser-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.gem-teaser-sub {
  font-size: 0.72rem;
  color: var(--muted);
}
.gem-teaser-price {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
}

/* ─── INSTITUTIONAL FOOTER ─── */
.footer-container {
  display: block;
  background: var(--obsidian);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.footer-newsletter-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 4rem;
}
.footer-newsletter-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-newsletter-title-caps {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.footer-newsletter-title-display {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
}
.footer-newsletter-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  min-width: 320px;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 200px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter-input:focus {
  border-color: var(--gold);
}
.footer-newsletter-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--obsidian);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.footer-main-grid {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-social-links {
  display: flex;
  gap: 0.7rem;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  font-size: 0.9rem;
}
.footer-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-column-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-link {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--gold);
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.footer-contact-val {
  font-size: 0.82rem;
  color: var(--light);
  line-height: 1.5;
}
.footer-crypto-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}
.footer-crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.7rem;
  font-size: 0.58rem;
  font-family: var(--font-mono);
  color: var(--muted);
}
.footer-legal-container {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  max-width: 100%;
  margin: 0 auto;
}
.footer-legal-text {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-copy {
  font-size: 0.7rem;
  color: var(--muted);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-link {
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-link:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .payment-icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gem-teaser-grid {
    grid-template-columns: 1fr;
  }
  .gem-teaser-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .gem-teaser-panel:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .payment-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── FOOTER ACCORDION BUTTON — default: hidden on desktop ─── */
/* Must be declared BEFORE the mobile media query so the media query can override it */
.footer-acc-btn {
  display: none;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.footer-acc-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ─── DESKTOP: accordion link-lists always visible, button hidden ─── */
@media (min-width: 901px) {
  .footer-acc-body {
    max-height: unset !important;
    opacity: 1 !important;
    overflow: visible !important;
    margin-top: 0;
  }
  .footer-accordion-col .footer-column-title {
    display: block;
  }
  .footer-acc-btn {
    display: none;
  }
}

/* ─── MOBILE/TABLET (≤900px): footer stacks, accordion activates ─── */
@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-newsletter-band,
  .footer-main-grid,
  .footer-legal-container,
  .footer-bottom-bar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .footer-newsletter-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
  .footer-newsletter-form {
    width: 100% !important;
    min-width: unset !important;
  }
  .footer-newsletter-input {
    width: 100% !important;
  }
  .footer-newsletter-submit {
    width: 100% !important;
    justify-content: center;
  }
  .footer-brand-title {
    align-items: center !important;
    justify-content: center;
  }
  .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social-links {
    justify-content: center;
    margin-bottom: 2rem;
  }
  .footer-contact-info {
    align-items: center;
    text-align: center;
  }
  .footer-crypto-badges {
    justify-content: center;
  }
  /* Show accordion button on mobile/tablet */
  .footer-acc-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /* Hide link lists by default — accordion opens them */
  .footer-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
    padding-left: 0;
    text-align: center;
  }
  .footer-acc-body.open {
    max-height: 400px;
    opacity: 1;
    margin-top: 0.8rem;
  }
  /* Hide the static column-title on mobile (button replaces it) */
  .footer-accordion-col .footer-column-title {
    display: none;
  }
}


/* ─── STICKY-REVEAL HERO OVERLAP parallax scroll effect ─── */
@media (min-width: 769px) {
  .hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
  }
  .overlap-container {
    position: relative;
    z-index: 2;
    margin-top: 100vh;
    background: #0E0E0E;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.85);
  }
}

/* Hide Google's default loading progress bar to prevent black line/shadow above 3D logo */
model-viewer::part(default-progress-bar) {
  display: none !important;
}


/* ─── STICKY-REVEAL HERO OVERLAP parallax scroll effect ─── */
@media (min-width: 769px) {
  .hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
  }
  .overlap-container {
    position: relative;
    z-index: 2;
    margin-top: 100vh;
    background: #0E0E0E;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.85);
  }
}

/* Hide Google's default loading progress bar to prevent black line/shadow above 3D logo */
model-viewer::part(default-progress-bar) {
  display: none !important;
}
