/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a141f; }
::-webkit-scrollbar-thumb { background: #334e68; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C9A96E; }

/* ── Nav ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A96E;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Gold Button ── */
.btn-gold {
  background: linear-gradient(135deg, #C9A96E 0%, #b8943d 100%);
  color: #0a141f;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d4b87a 0%, #C9A96E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35);
}

/* ── Outline Button ── */
.btn-outline {
  border: 1px solid rgba(94, 234, 212, 0.3);
  color: #5eead4;
  font-weight: 500;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.08);
  transform: translateY(-2px);
}

/* ── Stat Cards ── */
.stat-card {
  animation: float 6s ease-in-out infinite;
}
.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: -1.5s; }
.stat-card:nth-child(3) { animation-delay: -3s; }
.stat-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hidden by default for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ── */
.mobile-menu-open #mobile-menu {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 1.25rem;
  margin-left: 0;
}

.mobile-link {
  font-size: 1.75rem;
}

/* ── Menu Item Hover ── */
.group:hover .group-hover\:text-gold-400 {
  color: #d4b87a;
}

/* ── Input Focus ── */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* ── Navbar Scrolled State ── */
.navbar-scrolled {
  background: rgba(10, 20, 31, 0.92) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.1);
}

/* ── Back to Top ── */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .stat-card {
    display: none;
  }
}
