/* Background animation */
body {
  background: radial-gradient(circle at 20% 20%, #0f172a, #020617);
  overflow-x: hidden;
}

/* Floating animation */
.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}

/* Slow rotate */
.rotate-slow {
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  100% { transform: rotate(360deg); }
}

/* Glow pulse */
.glow {
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  from { box-shadow: 0 0 15px #8b5cf6; }
  to { box-shadow: 0 0 35px #06b6d4; }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg,#8b5cf6,#06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* smooth zoom background */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.animate-slow-zoom {
  animation: slowZoom 20s infinite alternate;
}

/* fade up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 1s ease forwards;
}

.delay-150 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.4s; }

/* 
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: #1e293b;
  overflow-x: hidden;
}

.serif {
  font-family: 'Playfair Display', serif;
} */

/* Modern Glassmorphism */
.glass-nav {
  background: rgba(15, 23, 42);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-v2 {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Animated Gradients */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-premium {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

/* Custom Button */
.btn-v2 {
  position: relative;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
}

/* Floating Animation */
@keyframes float-v2 {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.animate-float-v2 {
  animation: float-v2 8s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer-v2 {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.shimmer-v2 {
  position: relative;
  overflow: hidden;
}

.shimmer-v2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  animation: shimmer-v2 3s infinite;
}

/* Nav Link Animation */
.nav-link-v2 {
  position: relative;
  color: #fff !important;
  transition: color 0.3s ease;
}

.nav-link-v2:hover {
  color: #f8fafc;
}

.nav-link-v2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}

.nav-link-v2:hover::after {
  width: 100%;
}

/* Glow Effects */
.glow-indigo {
  box-shadow: 0 0 50px -10px rgba(99, 102, 241, 0.3);
}

.glow-sky {
  box-shadow: 0 0 50px -10px rgba(14, 165, 233, 0.3);
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
.gradient-text {
  background: linear-gradient(90deg, #a855f7, #6bd1db, #a855f7);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.tab-btn {
    position: relative;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(to right, #a855f7, #06b6d4);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

/* small text */
.tab-btn span {
    font-size: 0.75rem;
    font-weight: 400;
}

/* hover */
.tab-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
}

/* underline effect */
.tab-btn::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: -6px;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, #22d3ee, #a855f7);
    border-radius: 999px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* ACTIVE STATE 🔥 */
.tab-btn.active {
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
    transform: scale(1.05);
}

/* show underline when active */
.tab-btn.active::after {
    transform: scaleX(1);
}
@keyframes orbitClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.orbit {
    animation: orbitClockwise 14s linear infinite;
}

.orbit-reverse {
    animation: orbitReverse 20s linear infinite;
}