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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: #0f0a1e;
  background-color: #faf5ff;
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(250, 245, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.1);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
  color: #1e1b4b;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-link:hover {
  color: #7c3aed;
  padding-left: 8px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== FLOATING CARDS ANIMATION ===== */
@media (prefers-reduced-motion: no-preference) {
  .absolute.top-8.left-0 {
    animation: float1 4s ease-in-out infinite;
  }
  .absolute.bottom-20.right-8 {
    animation: float2 5s ease-in-out infinite;
  }
  .absolute.bottom-0.left-8 {
    animation: float3 4.5s ease-in-out infinite;
  }
}

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

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

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

/* ===== SELECTION ===== */
::selection {
  background: #c084fc;
  color: #0f0a1e;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ff;
}
::-webkit-scrollbar-thumb {
  background: #d8b4fe;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SERVICE CARD HOVER ===== */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}
