* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.hero-gradient {
  background: linear-gradient(135deg, #0a0f1e 0%, #1e3a8a 30%, #0369a1 60%, #0891b2 100%);
  background-size: 320% 320%;
  animation: gradientFlow 32s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: orbitFloat 40s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(59, 130, 246, 1) 0%, transparent 70%);
  top: -18%;
  left: -12%;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 1) 0%, transparent 70%);
  bottom: -16%;
  right: -12%;
  animation-delay: -10s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 1) 0%, transparent 70%);
  top: 38%;
  right: 18%;
  animation-delay: -20s;
}

@keyframes orbitFloat {
  0%,
  100% { transform: translate(0, 0); }
  50% { transform: translate(55px, -45px); }
}

.mesh-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 30%, rgba(59, 130, 246, 0.14) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(139, 92, 246, 0.14) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.12) 0px, transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  animation: particleRise 30s linear infinite;
}

@keyframes particleRise {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10%,
  75% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(-100px) translateX(calc(var(--drift) * 120px)) scale(1.2);
    opacity: 0;
  }
}

.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

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

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 35%, #06b6d4 70%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.35));
}

.text-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, #fff 35%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-mega {
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: inline-block;
}

.cta-mega::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.3));
  border-radius: inherit;
  filter: blur(18px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.cta-mega:hover::before,
.cta-mega:focus-visible::before {
  opacity: 1;
}

.cta-mega:hover,
.cta-mega:focus-visible {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 45px -20px rgba(59, 130, 246, 0.7);
}

.cta-mega:active {
  transform: translateY(-2px) scale(1.01);
}

.cta-mega-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 255, 0.98) 100%);
  backdrop-filter: blur(18px);
  border: 2px solid rgba(59, 130, 246, 0.2);
  background-clip: padding-box;
  transition: border-color 0.35s ease;
  overflow: hidden;
}

.cta-mega-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(59, 130, 246, 0.08) 50%, transparent 80%);
  pointer-events: none;
}

.cta-mega:hover .cta-mega-inner,
.cta-mega:focus-visible .cta-mega-inner {
  border-color: rgba(59, 130, 246, 0.45);
}

.cta-mega-icon {
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.cta-mega:hover .cta-mega-icon,
.cta-mega:focus-visible .cta-mega-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 18px rgba(59, 130, 246, 0.45));
}

.card-ultra {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.card-ultra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.12) 50%, transparent 90%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.card-ultra:hover::before,
.card-ultra:focus-visible::before {
  transform: translateX(100%);
}

.card-ultra::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-ultra:hover::after,
.card-ultra:focus-visible::after {
  opacity: 1;
}

.card-ultra:hover,
.card-ultra:focus-visible {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45), 0 0 28px rgba(59, 130, 246, 0.25);
}

.icon-orb {
  position: relative;
  transition: transform 0.35s ease;
}

.icon-orb::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: inherit;
  border-radius: inherit;
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-ultra:hover .icon-orb,
.card-ultra:focus-visible .icon-orb {
  transform: scale(1.08);
}

.card-ultra:hover .icon-orb::before,
.card-ultra:focus-visible .icon-orb::before {
  opacity: 0.65;
}

.icon-inner {
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 4px 12px currentColor);
}

.card-ultra:hover .icon-inner,
.card-ultra:focus-visible .icon-inner {
  transform: scale(1.06);
}

.arrow-trail {
  position: relative;
  transition: transform 0.3s ease;
}

.arrow-trail::after {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  transition: all 0.3s ease;
}

.card-ultra:hover .arrow-trail,
.card-ultra:focus-visible .arrow-trail {
  transform: translateX(7px);
}

.card-ultra:hover .arrow-trail::after,
.card-ultra:focus-visible .arrow-trail::after {
  left: -9px;
  opacity: 0.55;
}

.cta-mega:focus-visible,
.card-ultra:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.6);
  outline-offset: 6px;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-450 { animation-delay: 0.45s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

@media (max-width: 768px) {
  .orb {
    filter: blur(65px);
    opacity: 0.28;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    width: 320px;
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-gradient {
    background-size: 100% 100%;
  }

  .particle {
    display: none;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .cta-mega:hover,
  .cta-mega:focus-visible,
  .card-ultra:hover,
  .card-ultra:focus-visible,
  .card-ultra:hover .icon-orb,
  .card-ultra:focus-visible .icon-orb,
  .card-ultra:hover .icon-inner,
  .card-ultra:focus-visible .icon-inner,
  .card-ultra:hover .arrow-trail,
  .card-ultra:focus-visible .arrow-trail,
  .cta-mega:hover .cta-mega-icon,
  .cta-mega:focus-visible .cta-mega-icon {
    transform: none;
  }
}
