/* === CUSTOM STYLES === */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Geometric decorative elements */
.geo-diamond {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(20, 184, 166, 0.15);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Selection color */
::selection {
  background: rgba(20, 184, 166, 0.4);
  color: #f0fdfa;
}

/* Nav scroll state */
.nav-scrolled {
  background: rgba(2, 6, 23, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

/* Card hover glow */
.group:hover .group-hover\\/scale-105 {
  transform: scale(1.05);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulse dot */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.animate-pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}
