:root {
  --accent: #0ea5e9;
  --accent2: #2563eb;
  --accent-soft: rgba(14,165,233,0.10);
  --accent-border: rgba(14,165,233,0.22);
  --accent-text: #0ea5e9;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
input:focus, textarea:focus { --tw-ring-color: var(--accent-border); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #0ea5e9; }

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

@keyframes titleFade {
  0%, 100% { opacity: 0; transform: translateY(8px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
}

/* Ambient glow blobs */
.glow-blob {
  position: fixed;
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glow1, rgba(14,165,233,0.55)) 0%, rgba(2,132,199,0) 70%);
  top: -120px; left: -100px;
  animation: floatA 16s ease-in-out infinite;
}
.glow-blob-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--glow2, rgba(37,99,235,0.5)) 0%, rgba(37,99,235,0) 70%);
  bottom: -200px; right: -180px;
  animation: floatB 20s ease-in-out infinite;
}
.glow-blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--glow3, rgba(56,189,248,0.35)) 0%, rgba(56,189,248,0) 70%);
  top: 40%; left: 55%;
  animation: floatA 24s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, -40px) scale(1.15); }
}

/* Grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Neon profile ring */
.neon-ring {
  box-shadow: 0 0 0 4px var(--accent-border, rgba(14,165,233,0.25)),
              0 0 24px var(--glow1, rgba(14,165,233,0.65)),
              0 0 60px var(--glow3, rgba(14,165,233,0.35));
}

.reveal { opacity: 0; }
.reveal.in-view { animation: fadeInUp 0.7s cubic-bezier(.2,.7,.2,1) forwards; }

.card-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(14,165,233,0.6);
  box-shadow: 0 8px 40px -8px rgba(14,165,233,0.45);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Title cross-fade */
.rotor-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.rotor-item.active {
  opacity: 1;
  transform: translateY(0);
}
