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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
}

::selection {
  background: rgba(52, 212, 176, 0.3);
  color: #fff;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: #1a3657;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #34d4b0;
}

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

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px) rotate(45deg); }
  50% { transform: translateY(-15px) rotate(48deg); }
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === Utility Classes === */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 7s ease-in-out infinite;
}

.marquee-track {
  animation: marquee 30s linear infinite;
}

/* === Button Styles === */
.btn-mint {
  background: linear-gradient(135deg, #34d4b0 0%, #0fb892 100%);
  color: #0a1628;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-mint::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #99f6dd 0%, #34d4b0 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-mint:hover::before {
  opacity: 1;
}

.btn-mint span,
.btn-mint svg,
.btn-mint > * {
  position: relative;
  z-index: 1;
}

.btn-mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(52, 212, 176, 0.3);
}

/* === Service Cards === */
.service-card {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* === Testimonial Cards === */
.testimonial-card {
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* === Navbar === */
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* === Mobile Menu === */
.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* === Hamburger Animation === */
.menu-line {
  display: block;
}

#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);
}

/* === Form Styles === */
input:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* === Responsive === */
@media (max-width: 768px) {
  .font-display {
    font-family: 'Space Grotesk', sans-serif;
  }
}
