/* Enable native smooth scroll with fixed header clearance */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #040508;
  color: #e2e8f0;
  overflow-x: hidden;
  position: relative;
}
/* Enforce absolute high contrast on dark surfaces */
p, span, li, a, div, h1, h2, h3, h4, h5, h6 {
  color-scheme: dark;
}
p {
  color: #cbd5e1 !important;
}
section[id], footer[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 640px) {
  section[id], footer[id] {
    scroll-margin-top: 85px;
  }
}
.text-high-contrast {
  color: #f8fafc !important;
}
.text-muted-contrast {
  color: #94a3b8 !important;
}
/* Glassmorphism Dark */
.glass-dark-nav {
  background: rgba(6, 8, 14, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.glass-card {
  background: rgba(13, 16, 27, 0.82) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.85), 0 0 30px -5px rgba(212, 175, 55, 0.22);
}
/* Luxury Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFF6C7 0%, #E5BE48 45%, #B88914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cyan-blue-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gold-border-glow {
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.18);
}
/* Radial Aurora Backgrounds */
.bg-aurora {
  background: radial-gradient(circle at 50% 15%, rgba(14, 90, 242, 0.22), transparent 55%),
              radial-gradient(circle at 85% 55%, rgba(212, 175, 55, 0.14), transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.12), transparent 45%);
}
/* Animated Shimmer Button */
.btn-shimmer {
  background: linear-gradient(90deg, #D4AF37 0%, #FFF3B8 50%, #D4AF37 100%);
  background-size: 200% 100%;
  animation: shine 4s infinite linear;
  color: #000000 !important;
}
/* Tab Active and Inactive Styling */
.tab-btn-active {
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%) !important;
  color: #040508 !important;
  border-color: #F5DE82 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4) !important;
  font-weight: 800 !important;
}
.tab-btn-inactive {
  background: rgba(18, 22, 38, 0.85) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.tab-btn-inactive:hover {
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: #ffffff !important;
  background: rgba(26, 32, 54, 0.95) !important;
}
/* Hide Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #040508;
}
::-webkit-scrollbar-thumb {
  background: #1e263d;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}
/* 3D card tilt effect transition */
.tilt-card {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
  transform-style: preserve-3d;
}