/* Homepage effects (home-fx.js). All motion disabled under prefers-reduced-motion. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9; }
.hero .typer-line { margin: -4px 0 18px; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); color: var(--blue); min-height: 1.4em; letter-spacing: .01em; text-shadow: 0 0 18px rgba(58,160,212,.35); }
.typer-cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.12em; background: currentColor; animation: typer-blink 1s steps(1) infinite; }
@keyframes typer-blink { 50% { opacity: 0; } }
.fx-cards .card { position: relative; background: rgba(10,20,40,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(90,170,230,.22); border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.3), 0 0 24px rgba(60,150,230,.08); transition: border-color .25s ease, box-shadow .25s ease; overflow: hidden; }
.fx-cards .card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(70,170,240,.16), transparent 65%); }
.fx-cards .card:hover { border-color: rgba(110,190,245,.5); box-shadow: 0 10px 34px rgba(0,0,0,.3), 0 0 32px rgba(60,150,230,.22); }
.fx-cards .card:hover::before { opacity: 1; }
.fx-cards .card > * { position: relative; }
.fx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.fx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-fx { display: none; }
  .typer-cursor { animation: none; }
  .fx-reveal { opacity: 1; transform: none; transition: none; }
  .fx-cards .card::before { display: none; }
}
