/* ========== BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #F5A623;
  color: #2e1237;
}

/* ========== NAV ========== */
.nav-link {
  position: relative;
}

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

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

#nav.scrolled {
  background: rgba(250, 240, 252, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

#nav.scrolled .nav-link {
  color: #4e1d5b;
}

#nav.scrolled .font-display {
  color: #4e1d5b;
}

/* Mobile menu */
.mobile-link {
  position: relative;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.menu-line {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO GEOMETRIC SHAPES ========== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 45, 142, 0.2) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.geo-square {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(245, 166, 35, 0.08);
  border: 2px solid rgba(245, 166, 35, 0.15);
  top: 25%;
  left: 5%;
  transform: rotate(15deg);
  animation: spin 20s linear infinite;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(123, 45, 142, 0.1);
  top: 30%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.geo-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-dot--1 {
  width: 16px;
  height: 16px;
  background: #F5A623;
  top: 20%;
  left: 15%;
  opacity: 0.5;
  animation: pulse 3s ease-in-out infinite;
}

.geo-dot--2 {
  width: 10px;
  height: 10px;
  background: #e8aeeb;
  top: 60%;
  right: 12%;
  opacity: 0.6;
  animation: pulse 4s ease-in-out infinite 1s;
}

.geo-dot--3 {
  width: 8px;
  height: 8px;
  background: #F5A623;
  bottom: 25%;
  left: 20%;
  opacity: 0.4;
  animation: pulse 5s ease-in-out infinite 2s;
}

.geo-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(245, 166, 35, 0.1);
  border-radius: 50%;
  top: 55%;
  right: 5%;
  animation: spin 15s linear infinite reverse;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== FORM ========== */
select option {
  background: #2e1237;
  color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .geo-circle--1 {
    width: 250px;
    height: 250px;
  }
  .geo-circle--2 {
    width: 150px;
    height: 150px;
  }
  .geo-square {
    width: 60px;
    height: 60px;
  }
  .geo-triangle {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(123, 45, 142, 0.1);
  }
  .geo-ring {
    width: 100px;
    height: 100px;
  }
}
