/* Complex visual layers and state-driven animations that do not map cleanly to
   static utilities. Layout, typography, colours, spacing, and breakpoints live
   in index.html Tailwind classes. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.nav-dropdown.open .dropdown-menu { visibility: visible; pointer-events: auto; transform: translate(-50%, 0); opacity: 1; }

.network-diagram { background: radial-gradient(circle at center, rgba(255,255,255,.04), transparent 52%), rgba(255,255,255,.01); }
.node, .connection, .pulse { will-change: left, top, width, transform; transition: left .25s ease-out, top .25s ease-out, width .25s ease-out, transform .25s ease-out; }
.node { position: absolute; width: 18px; height: 18px; border-radius: 9999px; background: #f5f5f5; box-shadow: 0 0 0 6px rgba(255,255,255,.04); z-index: 2; }
.connection { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.8), rgba(255,255,255,.22)); transform-origin: left center; z-index: 1; }
.pulse { position: absolute; width: 110px; height: 110px; border: 1px solid rgba(255,255,255,.22); border-radius: 9999px; transform: translate(-50%, -50%); z-index: 0; }

.explore-section::before { content: ""; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; border-radius: 9999px; z-index: 0; background: radial-gradient(circle, rgba(147,51,234,.08) 0%, transparent 70%); animation: pulse-glow 6s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: .6; } }

.scroll-animations-enabled .scroll-reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.scroll-animations-enabled .scroll-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-animations-enabled .scroll-stagger > * { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.scroll-animations-enabled .scroll-stagger.is-visible > * { opacity: 1; transform: translateY(0) scale(1); }
.scroll-stagger.is-visible > :nth-child(1) { transition-delay: .03s; }
.scroll-stagger.is-visible > :nth-child(2) { transition-delay: .09s; }
.scroll-stagger.is-visible > :nth-child(3) { transition-delay: .15s; }
.scroll-stagger.is-visible > :nth-child(4) { transition-delay: .21s; }
.scroll-stagger.is-visible > :nth-child(5) { transition-delay: .27s; }
.scroll-stagger.is-visible > :nth-child(6) { transition-delay: .33s; }
.scroll-stagger.is-visible > :nth-child(7) { transition-delay: .39s; }
.scroll-stagger.is-visible > :nth-child(8) { transition-delay: .45s; }
.scroll-stagger.is-visible > :nth-child(9) { transition-delay: .51s; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-animations-enabled .scroll-reveal, .scroll-animations-enabled .scroll-stagger > * { opacity: 1; transform: none; transition: none; } .explore-section::before { animation: none; } }
