/* Elite-Tek v11 Interactive Background */
:root {
  --et-bg-primary: #35d7ff;
  --et-bg-secondary: #7c5cff;
  --et-bg-green: #47f0a3;
  --et-bg-amber: #ffc857;
  --et-bg-dark: #05070d;
}

body.et-interactive-ready {
  position: relative;
  overflow-x: hidden;
}

body.et-interactive-ready::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -20;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--et-mouse-x, 50%) var(--et-mouse-y, 30%), rgba(53, 215, 255, .18), transparent 22rem),
    linear-gradient(180deg, rgba(5,7,13,.96), rgba(7,16,31,.94) 45%, rgba(5,7,13,.98));
}

.et-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
  opacity: .95;
}

.et-bg-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(53,215,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,215,255,.08) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(900px) rotateX(62deg) translateY(9%);
  transform-origin: center bottom;
  animation: etGridDrift 18s linear infinite;
  opacity: .42;
}

.et-bg-scanline {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53,215,255,.85), rgba(71,240,163,.65), transparent);
  box-shadow: 0 0 22px rgba(53,215,255,.65);
  animation: etScan 7s ease-in-out infinite;
  opacity: .55;
}

.et-bg-orb {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  opacity: .36;
}

.et-bg-orb.one {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(53,215,255,.18), transparent 62%);
  animation: etFloatOne 18s ease-in-out infinite;
}

.et-bg-orb.two {
  right: -12%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(124,92,255,.18), transparent 62%);
  animation: etFloatTwo 21s ease-in-out infinite;
}

.et-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .82;
}

.et-data-rail {
  position: fixed;
  right: 18px;
  top: 96px;
  width: 236px;
  display: grid;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.et-data-card {
  border: 1px solid rgba(53,215,255,.20);
  background: rgba(5, 8, 18, .58);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 10px 12px;
  color: rgba(238,244,255,.88);
  box-shadow: 0 14px 42px rgba(0,0,0,.20);
  transform: translateX(8px);
  animation: etCardPulse 5s ease-in-out infinite;
}

.et-data-card:nth-child(2) { animation-delay: .75s; border-color: rgba(71,240,163,.18); }
.et-data-card:nth-child(3) { animation-delay: 1.45s; border-color: rgba(124,92,255,.20); }

.et-data-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(189,244,255,.95);
  font-weight: 900;
}

.et-data-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--et-bg-green);
  box-shadow: 0 0 14px rgba(71,240,163,.95);
}

.et-data-text {
  font-size: 12px;
  color: rgba(169,183,208,.95);
  margin-top: 5px;
}

.et-aria-orb {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #030712;
  font-weight: 1000;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--et-bg-primary), var(--et-bg-green));
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 18px 44px rgba(53,215,255,.28);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.et-aria-orb::before,
.et-aria-orb::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  border: 1px solid rgba(53,215,255,.45);
  animation: etRing 2.6s ease-out infinite;
}

.et-aria-orb::after { animation-delay: 1.2s; border-color: rgba(71,240,163,.36); }

.et-aria-panel {
  position: fixed;
  left: 18px;
  bottom: 88px;
  z-index: 21;
  width: min(330px, calc(100vw - 36px));
  padding: 16px;
  border-radius: 20px;
  background: rgba(5,8,18,.84);
  border: 1px solid rgba(53,215,255,.25);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(16px);
  color: rgba(238,244,255,.96);
  display: none;
  pointer-events: auto;
}

.et-aria-panel.open { display: block; animation: etPanelIn .22s ease-out both; }
.et-aria-panel strong { color: #bdf4ff; }
.et-aria-panel p { color: rgba(169,183,208,.96); margin: 8px 0 0; }
.et-aria-panel a {
  display: inline-flex;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(53,215,255,.13);
  border: 1px solid rgba(53,215,255,.25);
  color: #eaf8ff;
  text-decoration: none;
  font-weight: 800;
}

.et-click-spark {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 999999;
  background: rgba(53,215,255,.92);
  box-shadow: 0 0 22px rgba(53,215,255,.85), 0 0 42px rgba(71,240,163,.45);
  transform: translate(-50%, -50%);
  animation: etSpark .62s ease-out forwards;
}

body.et-page-leaving .et-bg-layer {
  opacity: 1;
}

body.et-page-leaving .et-bg-scanline {
  animation-duration: .8s;
}

@keyframes etGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}

@keyframes etScan {
  0% { transform: translateY(-10vh); opacity: 0; }
  12% { opacity: .55; }
  50% { opacity: .8; }
  100% { transform: translateY(115vh); opacity: 0; }
}

@keyframes etFloatOne {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(8%, 10%) scale(1.08); }
}

@keyframes etFloatTwo {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-8%, -8%) scale(1.10); }
}

@keyframes etCardPulse {
  0%,100% { opacity: .64; transform: translateX(8px); }
  50% { opacity: .96; transform: translateX(0); }
}

@keyframes etRing {
  0% { transform: scale(.85); opacity: .75; }
  100% { transform: scale(1.52); opacity: 0; }
}

@keyframes etPanelIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes etSpark {
  from { opacity: 1; transform: translate(-50%, -50%) scale(.5); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(9); }
}

@media (max-width: 900px) {
  .et-data-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .et-bg-grid,
  .et-bg-scanline,
  .et-bg-orb,
  .et-data-card,
  .et-aria-orb::before,
  .et-aria-orb::after {
    animation: none !important;
  }
  .et-bg-canvas { display: none; }
}