/* ==========================================================================
   VALENCE PRIVÉ - GLOBAL WEALTH INTELLIGENCE & ASSET TERMINAL
   Liquid 24k Gold, Deep Obsidian & Platinum Design System
   Crafted by Madhia & Gauri for Academic & Luxury Design Evaluation
   ========================================================================== */

:root {
  /* Obsidian Depths */
  --bg-core: #040406;
  --bg-surface: #09090f;
  --bg-panel: #0e0e17;
  --bg-panel-hover: #141422;
  --bg-input: #07070b;
  --bg-modal: #0a0a12;

  /* Sovereign Gold & Platinum Accents */
  --lux-gold: #e2b868;
  --lux-gold-bright: #fef08a;
  --lux-gold-glow: rgba(226, 184, 104, 0.3);
  --lux-gold-grad: linear-gradient(135deg, #fef08a 0%, #e2b868 50%, #b45309 100%);
  
  --lux-platinum: #cbd5e1;
  --lux-cyan: #38bdf8;
  --lux-cyan-glow: rgba(56, 189, 248, 0.25);
  --lux-emerald: #10b981;
  --lux-purple: #a855f7;
  --lux-rose: #f43f5e;

  /* Specular Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(226, 184, 104, 0.4);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px var(--lux-gold-glow);
}

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

html {
  scroll-behavior: smooth;
}

body.smooth-scroll-body {
  background-color: var(--bg-core);
  color: #f8fafc;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Radiant Glow Orbs & Particle Canvas */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.orb-gold { background: var(--lux-gold); top: -120px; right: -100px; }
.orb-emerald { background: var(--lux-emerald); top: 40%; left: -150px; }
.orb-cyan { background: var(--lux-cyan); bottom: -150px; right: 10%; }

.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Sticky Luxury Navbar */
.luxury-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-mark {
  font-size: 1.4rem;
  color: var(--lux-gold);
  text-shadow: 0 0 12px var(--lux-gold-glow);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lux-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--lux-platinum);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--lux-gold); }

.viva-pill-link {
  background: rgba(226, 184, 104, 0.12);
  color: var(--lux-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 184, 104, 0.3);
}

.viva-pill-link:hover { background: rgba(226, 184, 104, 0.22); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-currency-select {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  outline: none;
}

.nav-icon-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.nav-icon-btn:hover { border-color: var(--lux-gold); }

/* Page Content Wrapper */
.page-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

/* ==================== SECTION 1: HERO CINEMATIC ==================== */
.hero-section {
  min-height: calc(100vh - 70px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(226, 184, 104, 0.1);
  border: 1px solid rgba(226, 184, 104, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--lux-gold);
  width: fit-content;
}

.pulse-sparkle { animation: pulseGold 1.5s infinite; }

@keyframes pulseGold {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; transform: scale(0.9); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-gold {
  background: var(--lux-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--lux-platinum);
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Luxury Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-luxury-gold {
  background: var(--lux-gold-grad);
  color: #040406;
  box-shadow: 0 10px 25px var(--lux-gold-glow);
}

.btn-luxury-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px var(--lux-gold-glow);
}

.btn-luxury-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-luxury-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lux-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-medium);
  color: #fff;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--lux-gold); }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hero Ticker Ribbon */
.hero-ticker-ribbon {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.ticker-item { display: flex; flex-direction: column; }
.ticker-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; }
.ticker-val { font-family: var(--font-mono); font-size: 1.15rem; }
.ticker-sep { width: 1px; height: 35px; background: var(--border-subtle); }

/* Hero Visual Centerpiece */
.hero-visual-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-hologram-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-luxury), 0 0 30px var(--lux-gold-glow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hologram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hologram-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lux-gold);
}

.live-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lux-emerald);
  box-shadow: 0 0 8px var(--lux-emerald);
}

.hologram-bal-label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; }
.hologram-bal-num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 800; }
.hologram-change { font-size: 0.78rem; font-weight: 600; }

.hologram-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hologram-footer-grid strong { display: block; color: #fff; }

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--lux-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--lux-platinum);
  line-height: 1.7;
}

/* ==================== SECTION 2: WEALTH DASHBOARD ==================== */
.dashboard-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.dashboard-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-luxury);
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.dash-stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bg-gold-subtle { background: rgba(226, 184, 104, 0.15); }
.bg-cyan-subtle { background: rgba(56, 189, 248, 0.15); }
.bg-emerald-subtle { background: rgba(16, 185, 129, 0.15); }
.bg-purple-subtle { background: rgba(168, 85, 247, 0.15); }

.stat-info { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-title { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.stat-val { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 800; }
.stat-sub { font-size: 0.72rem; font-weight: 600; }

.dashboard-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.panel-inner {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.panel-header-lux {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-header-lux h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }

.timeframe-buttons { display: flex; gap: 0.35rem; }

.tf-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.tf-btn:hover { color: #fff; border-color: var(--border-medium); }
.tf-btn.active { background: var(--lux-gold); color: #040406; border-color: var(--lux-gold); }

.chart-stage {
  background: #020204;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

#wealth-performance-canvas { width: 100%; height: 260px; }

/* Tables */
.table-responsive { overflow-x: auto; }

.lux-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.lux-data-table th {
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.lux-data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
}

/* ==================== SECTION 3: ALLOCATOR ==================== */
.allocator-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.allocator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.panel-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-luxury);
}

.badge-tag-gold {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(226, 184, 104, 0.15);
  color: var(--lux-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(226, 184, 104, 0.3);
}

.badge-tag-emerald {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--lux-emerald);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.control-block { display: flex; flex-direction: column; gap: 0.4rem; }
.ctrl-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; }
.lux-slider { width: 100%; accent-color: var(--lux-gold); }

.compound-hero-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.compound-tagline { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.compound-number { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 800; margin: 0.25rem 0; }
.compound-breakdown-row { display: flex; justify-content: space-around; font-size: 0.8rem; color: var(--text-muted); }

.compound-chart-stage {
  background: #020204;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

#compound-chart-canvas { width: 100%; height: 180px; }

/* ==================== SECTION 4: METAL CARD STUDIO ==================== */
.card-studio-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.card-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.card-preview-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.card-3d-wrapper {
  width: 380px;
  height: 235px;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
}

.metal-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #181822 0%, #09090f 50%, #030306 100%);
  border: 2px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px var(--lux-gold-glow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.metal-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  transform: rotate(25deg);
  pointer-events: none;
}

.card-top-row { display: flex; justify-content: space-between; align-items: center; }
.card-chip { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 800; color: var(--lux-gold); }
.card-logo-badge { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.1em; color: var(--lux-gold); }
.card-number-row { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; }
.card-bottom-row { display: flex; justify-content: space-between; align-items: flex-end; }
.card-sub-label { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; display: block; }
.card-holder-name { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; color: #fff; }
.card-expiry-date { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; color: #fff; }
.card-hint { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 1rem; }

.lux-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  width: 100%;
}

.lux-input:focus { border-color: var(--lux-gold); }

.card-finish-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.card-fin-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--lux-platinum);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.card-fin-btn:hover { border-color: var(--border-medium); color: #fff; }
.card-fin-btn.active { border-color: var(--lux-gold); background: rgba(226, 184, 104, 0.12); color: var(--lux-gold); font-weight: 700; }

.card-benefits-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.78rem;
}

.card-benefits-list {
  padding-left: 1.2rem;
  color: var(--lux-platinum);
  line-height: 1.6;
}

/* ==================== SECTION 5: DEAL ROOM ==================== */
.deal-room-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.deal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-luxury);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.deal-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.deal-badge { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 800; }
.deal-card h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.deal-card p { font-size: 0.85rem; color: var(--lux-platinum); line-height: 1.6; }

.deal-metrics {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.deal-metrics strong { color: #fff; }

/* ==================== SECTION 6: PRESENTATION DECK ==================== */
.presentation-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.presentation-container {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-luxury);
}

.presentation-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.slide-indicator-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--lux-gold);
  font-weight: 700;
}

.slide-deck-stage {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lux-slide {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  animation: slideFade 0.25s ease-out;
}

.lux-slide.active { display: flex; }

@keyframes slideFade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lux-gold);
  letter-spacing: 0.1em;
}

.slide-title { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; }
.slide-sub { font-size: 1.05rem; color: var(--lux-platinum); }

.slide-candidates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.candidate-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cand-avatar { font-size: 2.2rem; }
.cand-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--lux-gold); }
.cand-role { font-size: 0.85rem; color: var(--lux-platinum); }

.slide-footer-meta {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.slide-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.slide-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slide-box h4 { font-size: 1.1rem; color: #fff; }
.slide-box p { color: var(--lux-platinum); line-height: 1.6; }

.slide-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.slide-mini-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.mini-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.slide-mini-box h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.slide-mini-box p { font-size: 0.78rem; color: var(--lux-platinum); }

.viva-thanks-card {
  background: rgba(226, 184, 104, 0.08);
  border: 1px solid rgba(226, 184, 104, 0.3);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
}

.viva-thanks-card h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--lux-gold); margin-bottom: 0.5rem; }

/* ==================== SECTION 7: CREATORS ==================== */
.creators-section {
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.creators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.creator-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-luxury);
}

.creator-avatar { font-size: 3.5rem; margin-bottom: 0.75rem; }
.creator-name { font-family: var(--font-heading); font-size: 1.6rem; }
.creator-role { font-size: 0.85rem; font-weight: 700; margin: 0.2rem 0 1rem; }
.creator-bio { font-size: 0.9rem; color: var(--lux-platinum); line-height: 1.7; margin-bottom: 1.5rem; }

.creator-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.creator-pills span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.footer-declaration {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.copyright-text {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-top: 0.5rem;
}

/* ==================== STATE-OF-THE-ART LUXURY AUTH MODAL ==================== */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.auth-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  background: var(--bg-modal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-luxury), 0 0 50px var(--lux-gold-glow);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active .auth-modal-card {
  transform: scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-brand-emblem { font-size: 2.2rem; margin-bottom: 0.3rem; }
.auth-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.auth-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

.auth-tab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: var(--lux-gold-grad);
  color: #040406;
  box-shadow: 0 4px 15px var(--lux-gold-glow);
}

.auth-form-content {
  display: none;
  flex-direction: column;
}

.auth-form-content.active { display: flex; }

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-input-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lux-platinum);
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.72rem;
  color: var(--lux-gold);
  text-decoration: none;
}

.auth-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  outline: none;
  width: 100%;
}

.auth-input:focus { border-color: var(--lux-gold); }

.biometric-sim-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.biometric-sim-box:hover {
  border-color: var(--lux-gold);
  background: rgba(226, 184, 104, 0.08);
}

.face-id-icon { font-size: 1.8rem; }
.bio-text { display: flex; flex-direction: column; font-size: 0.8rem; }
.bio-text span { font-size: 0.72rem; color: var(--text-muted); }

.pass-meter-track {
  height: 4px;
  background: var(--bg-surface);
  border-radius: 2px;
  overflow: hidden;
}

.pass-meter-fill {
  height: 100%;
  background: var(--lux-emerald);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.pass-hint-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.auth-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* User Logged-In Badge */
.user-logged-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.user-avatar-pill { font-size: 1.1rem; }
.user-name-text { font-size: 0.82rem; font-weight: 700; color: #fff; }
.btn-logout {
  background: transparent;
  border: none;
  color: var(--lux-rose);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}

.toast {
  background: var(--bg-panel);
  border: 1px solid var(--lux-gold);
  color: #fff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-luxury);
  animation: toastPop 0.2s ease-out;
}

@keyframes toastPop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animation Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Utility Colors */
.text-gold { color: var(--lux-gold); }
.text-cyan { color: var(--lux-cyan); }
.text-emerald { color: var(--lux-emerald); }
.text-purple { color: var(--lux-purple); }
.text-rose { color: var(--lux-rose); }
.mt-1 { margin-top: 0.35rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 1.75rem; }
.w-full { width: 100%; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-section, .dashboard-split-grid, .allocator-grid, .card-studio-grid, .creators-grid { grid-template-columns: 1fr; }
  .dashboard-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .deals-grid, .slide-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2.5rem; }
  .dashboard-metrics-grid, .deals-grid, .slide-candidates-grid, .slide-grid-2 { grid-template-columns: 1fr; }
  .card-3d-wrapper { width: 100%; max-width: 340px; height: 210px; }
}
