/* ===== Base & Utilities ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #F5A623 0%, #D4881A 100%);
  color: #4A2840;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
  background: linear-gradient(135deg, #FFB830 0%, #E09520 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #F9F0F7;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(249, 240, 247, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(107, 58, 93, 0.08);
}

.nav-logo-text {
  color: #4A2840;
  transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
  color: #6B3A5D;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled .nav-link {
  color: #6B3A5D;
}

#navbar.scrolled .nav-link:hover {
  color: #9B4D96;
}

/* ===== Mobile Menu ===== */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  position: relative;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 100ms; }
  .reveal-delay-2 { transition-delay: 200ms; }
  .reveal-delay-3 { transition-delay: 300ms; }
}

/* ===== Selection ===== */
::selection {
  background: #E8C2E0;
  color: #4A2840;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F9F0F7;
}

::-webkit-scrollbar-thumb {
  background: #D496C8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #B86AAD;
}

/* ===== Focus ===== */
:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}
