/* ==========================================================================
   EthicsComputer — World-Class Design System & Motion Layer (Enterprise Edition)
   Crafted with Awwwards-caliber aesthetics: Obsidian dark tones, vibrant accents,
   refined glassmorphism, responsive clamp typography, hardware-accelerated 60fps animations.
   ========================================================================== */

:root {
  /* ── Core Obsidian / Midnight Surfaces ── */
  --ec-obsidian: #05070c;
  --ec-midnight: #0b0f19;
  --ec-navy-950: #070d19;
  --ec-navy-900: #0b1326;
  --ec-surface-dark: #0f172a;
  --ec-surface-card: #111827;
  --ec-surface-glass: rgba(255, 255, 255, 0.04);
  --ec-surface-glass-hover: rgba(255, 255, 255, 0.07);

  /* ── Borders & Glass Highlights ── */
  --ec-border-glass: rgba(255, 255, 255, 0.08);
  --ec-border-glass-bright: rgba(255, 255, 255, 0.16);
  --ec-border-glow-blue: rgba(59, 130, 246, 0.35);
  --ec-border-glow-violet: rgba(139, 92, 246, 0.35);
  --ec-border-glow-emerald: rgba(16, 185, 129, 0.35);

  /* ── Brand Colors & Accents ── */
  --ec-accent: #2563eb;
  --ec-accent-hover: #1d4ed8;
  --ec-accent-2: #7c3aed;
  --ec-accent-cyan: #06b6d4;
  --ec-accent-emerald: #10b981;
  --ec-accent-amber: #f59e0b;

  /* ── Rich Gradients ── */
  --ec-grad-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  --ec-grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --ec-grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --ec-grad-amber: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --ec-grad-dark: radial-gradient(ellipse at 50% -20%, #1e293b 0%, #07090e 100%);

  /* ── Typography & Physics Curves ── */
  --ec-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ec-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ec-font-mono: 'JetBrains Mono', monospace;

  --ec-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ec-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ec-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  interpolate-size: allow-keywords;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

::selection {
  background: #3b82f6;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ec-font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── Hardware-Accelerated Scroll Progress Bar ─────────────────────────── */
#ec-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 9999;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6 50%, #06b6d4 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

@supports (animation-timeline: scroll()) {
  #ec-progress {
    animation: ec-progress-scroll linear both;
    animation-timeline: scroll(root);
  }
  @keyframes ec-progress-scroll {
    to { transform: scaleX(1); }
  }
}

/* ── Modern Glassmorphism Surfaces ───────────────────────────────────── */
.ec-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ec-glass-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.06);
}

.ec-glass-dock {
  background: rgba(7, 13, 25, 0.78);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Dynamic Ambient Mesh & Grid Backgrounds ─────────────────────────── */
.ec-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.ec-grid-bg-dark {
  background-color: var(--ec-obsidian);
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(59, 130, 246, 0.16) 0%, transparent 80%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
}

.ec-mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: ec-pulse-mesh 12s ease-in-out infinite alternate;
}

@keyframes ec-pulse-mesh {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate3d(3vw, 2vh, 0); opacity: 0.55; }
  100% { transform: scale(0.95) translate3d(-2vw, -1vh, 0); opacity: 0.4; }
}

/* ── Shimmer & Animated Typography ──────────────────────────────────── */
.ec-grad-text {
  background: linear-gradient(95deg, #2563eb, #7c3aed 40%, #06b6d4 75%, #2563eb 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ec-shimmer-sweep 7s linear infinite;
}

.ec-grad-text-cyber {
  background: linear-gradient(95deg, #38bdf8, #818cf8 35%, #ec4899 70%, #38bdf8 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ec-shimmer-sweep 6s linear infinite;
}

.ec-grad-text-emerald {
  background: linear-gradient(95deg, #34d399, #06b6d4 50%, #3b82f6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes ec-shimmer-sweep {
  to { background-position: -250% center; }
}

/* ── Micro Pill Badges & Eyebrows ── */
.ec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #2563eb;
  font-family: var(--ec-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.ec-eyebrow.on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #93c5fd;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ec-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ec-pulse-dot 2s infinite;
}

@keyframes ec-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ── High-Converting Interactive Buttons ────────────────────────────── */
.ec-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: 0.85rem;
  font-family: var(--ec-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ec-ease-out), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ec-btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -6px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ec-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-150%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.ec-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ec-btn-primary:hover::after {
  transform: translateX(150%);
}

.ec-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.ec-btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.ec-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.ec-btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.ec-btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.ec-btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
  border-radius: 1rem;
}

/* ── Interactive Bento-Grid & Spotlight Cards ───────────────────────── */
.ec-bento-grid {
  display: grid;
  gap: 1.5rem;
}

.ec-bento-card {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.35rem;
  padding: 2rem;
  transition: transform 0.35s var(--ec-ease-out), box-shadow 0.35s var(--ec-ease-out), border-color 0.35s ease;
  overflow: hidden;
}

.ec-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 50px -15px rgba(37, 99, 235, 0.15);
}

.ec-bento-card.is-dark {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.ec-bento-card.is-dark:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 24px 60px -15px rgba(37, 99, 235, 0.3);
}

/* Dynamic Spotlight Glow Tracker */
.ec-spot {
  position: relative;
  isolation: isolate;
}

.ec-spot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(59, 130, 246, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ec-spot:hover::before {
  opacity: 1;
}

/* ── 3D Card Tilt with Specular Reflection ───────────────────────────── */
[data-tilt], .ec-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s var(--ec-ease-out);
}

/* ── Scroll-Linked Animations & Reveals ──────────────────────────────── */
.ec-reveal {
  transition: opacity 0.8s var(--ec-ease-out), transform 0.8s var(--ec-ease-out) !important;
  transition-delay: var(--ec-delay, 0ms) !important;
}

.ec-reveal:not(.is-in) {
  opacity: 0 !important;
  transform: translate3d(0, 32px, 0) !important;
}

.ec-reveal[data-ec-anim="fade-left"]:not(.is-in) { transform: translate3d(40px, 0, 0) !important; }
.ec-reveal[data-ec-anim="fade-right"]:not(.is-in) { transform: translate3d(-40px, 0, 0) !important; }
.ec-reveal[data-ec-anim="zoom-in"]:not(.is-in) { transform: scale(0.92) translate3d(0, 20px, 0) !important; }

/* ── Animated Hardware-Accelerated Marquee ───────────────────────────── */
.ec-marquee-container {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ec-marquee-content {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: ec-marquee-scroll 32s linear infinite;
}

.ec-marquee-container:hover .ec-marquee-content {
  animation-play-state: paused;
}

@keyframes ec-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── Modern Form Control Styles ──────────────────────────────────────── */
.ec-form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-family: var(--ec-font-body);
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ec-form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ec-form-input.is-dark {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ec-form-input.is-dark:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.ec-form-label {
  display: block;
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.ec-form-label.is-dark {
  color: #94a3b8;
}

/* ── Floating Mobile Bar ─────────────────────────────────────────────── */
.ec-mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .ec-mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(7, 13, 25, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 280;
    padding: 0 12px;
  }

  .ec-mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    gap: 2px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s ease;
  }

  .ec-mobile-bottom-bar a:hover {
    color: #ffffff;
  }
}

/* ── Global Ambient Animated Background Layer ──────────────────────── */
.ec-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

#ec-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.ec-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  -webkit-filter: blur(85px);
  pointer-events: none;
  will-change: transform;
}

.ec-orb-1 {
  top: -8%;
  left: -4%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
  animation: ec-orb-float-1 22s ease-in-out infinite alternate;
}

.ec-orb-2 {
  top: 38%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.13) 0%, rgba(124, 58, 237, 0) 70%);
  animation: ec-orb-float-2 26s ease-in-out infinite alternate;
}

.ec-orb-3 {
  bottom: -12%;
  left: 25%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.11) 0%, rgba(6, 182, 212, 0) 70%);
  animation: ec-orb-float-3 30s ease-in-out infinite alternate;
}

.ec-ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 60%, transparent 100%);
  pointer-events: none;
}

@keyframes ec-orb-float-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 60px, 0) scale(1.15); }
  100% { transform: translate3d(-40px, 100px, 0) scale(0.95); }
}

@keyframes ec-orb-float-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, -70px, 0) scale(1.2); }
  100% { transform: translate3d(50px, -40px, 0) scale(0.9); }
}

@keyframes ec-orb-float-3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  50% { transform: translate3d(90px, -60px, 0) scale(1.1); }
  100% { transform: translate3d(-60px, 30px, 0) scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ENTERPRISE MOTION GRAPHICS SYSTEM (AWWWARDS / LINEAR / STRIPE CALIBER)
   Hardware-accelerated border beams, live radar HUD, laser data streams
═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Continuous Rotating Border Beam ─────────────────────────────── */
.ec-border-beam-container {
  position: relative;
  isolation: isolate;
  border-radius: 1.25rem;
}

.ec-border-beam-line {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 20;
}

.ec-border-beam-line::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 260deg,
    rgba(56, 189, 248, 0.2) 280deg,
    rgba(56, 189, 248, 0.95) 325deg,
    rgba(129, 140, 248, 1) 345deg,
    rgba(236, 72, 153, 0.95) 358deg,
    transparent 360deg
  );
  animation: ec-beam-spin 5.5s linear infinite;
  will-change: transform;
}

.ec-border-beam-emerald .ec-border-beam-line::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 260deg,
    rgba(16, 185, 129, 0.2) 280deg,
    rgba(52, 211, 153, 0.95) 325deg,
    rgba(56, 189, 248, 1) 348deg,
    rgba(16, 185, 129, 0.95) 358deg,
    transparent 360deg
  );
  animation: ec-beam-spin 6s linear infinite;
}

@keyframes ec-beam-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── 2. Flowing Laser Data Packets (Between Architecture Layers) ────── */
.ec-stream-connector {
  position: relative;
  width: 100%;
  height: 20px;
  margin: -2px 0;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

.ec-laser-dash-1 {
  animation: ec-laser-stream 2.2s linear infinite;
}

.ec-laser-dash-2 {
  animation: ec-laser-stream 1.8s linear infinite reverse;
}

.ec-laser-dash-3 {
  animation: ec-laser-stream 2.5s linear infinite;
}

@keyframes ec-laser-stream {
  from { stroke-dashoffset: 80; }
  to { stroke-dashoffset: 0; }
}

/* ── 3. Cyber Radar Telemetry HUD ───────────────────────────────────── */
.ec-radar-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(11, 19, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.ec-radar-circle {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  overflow: hidden;
  flex-shrink: 0;
}

.ec-radar-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.7) 0deg, transparent 65deg, transparent 360deg);
  animation: ec-radar-rotate 2.4s linear infinite;
}

.ec-radar-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38bdf8;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #38bdf8;
}

@keyframes ec-radar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ec-radar-ping-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.ec-radar-ping-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.75;
  animation: ec-ping-expand 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ec-radar-ping-dot span:last-child {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

@keyframes ec-ping-expand {
  75%, 100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* ── 4. Levitation Holographic HUD Badges ───────────────────────────── */
.ec-hud-float {
  position: absolute;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(11, 19, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #f1f5f9;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.18);
  pointer-events: auto;
  will-change: transform;
}

.ec-hud-float-tr {
  top: -16px;
  right: 18px;
  animation: ec-hud-float-1 6s ease-in-out infinite alternate;
}

.ec-hud-float-bl {
  bottom: -16px;
  left: 18px;
  animation: ec-hud-float-2 7s ease-in-out infinite alternate;
}

.ec-hud-float-br {
  bottom: -20px;
  right: 24px;
  animation: ec-hud-float-3 6.5s ease-in-out infinite alternate;
}

@keyframes ec-hud-float-1 {
  0% { transform: translate3d(0, 0, 0) rotate(0.5deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(-0.5deg); }
  100% { transform: translate3d(0, 3px, 0) rotate(0.8deg); }
}

@keyframes ec-hud-float-2 {
  0% { transform: translate3d(0, 0, 0) rotate(-0.8deg); }
  50% { transform: translate3d(0, 8px, 0) rotate(0.4deg); }
  100% { transform: translate3d(0, -6px, 0) rotate(-0.4deg); }
}

@keyframes ec-hud-float-3 {
  0% { transform: translate3d(0, 0, 0) rotate(0.4deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(-0.6deg); }
  100% { transform: translate3d(0, 4px, 0) rotate(0.6deg); }
}

/* ── 5. Cyber Threat Operations Ticker (SOC Live Telemetry) ────────── */
.ec-soc-ticker {
  background: rgba(11, 19, 38, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.85rem;
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ec-soc-ticker-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #34d399;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ec-soc-ticker-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
  color: #94a3b8;
}

.ec-soc-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ec-soc-ticker-item b {
  color: #f1f5f9;
}

/* ── 6. Audio / Neural Wave Pulse ──────────────────────────────────── */
.ec-neural-pulse-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.ec-neural-pulse-wave span {
  display: block;
  width: 2.5px;
  background: #38bdf8;
  border-radius: 2px;
  animation: ec-wave-bounce 1.2s ease-in-out infinite alternate;
}

.ec-neural-pulse-wave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.ec-neural-pulse-wave span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.ec-neural-pulse-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.ec-neural-pulse-wave span:nth-child(4) { height: 10px; animation-delay: 0.4s; }
.ec-neural-pulse-wave span:nth-child(5) { height: 13px; animation-delay: 0.15s; }

@keyframes ec-wave-bounce {
  0% { transform: scaleY(0.3); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ── 7. Electric Glow Hover ────────────────────────────────────────── */
.ec-glow-hover {
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ec-glow-hover:hover {
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25), 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
}

/* ── Accessibility & Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ec-reveal, .ec-reveal:not(.is-in) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ec-grad-text, .ec-grad-text-cyber, .ec-marquee-content, .ec-mesh-glow,
  .ec-eyebrow-dot, #ec-progress, .ec-pulse, .ec-ambient-orb,
  .ec-border-beam-line::before, .ec-laser-dash-1, .ec-laser-dash-2, .ec-laser-dash-3,
  .ec-radar-circle::before, .ec-radar-ping-dot span:first-child,
  .ec-hud-float, .ec-neural-pulse-wave span {
    animation: none !important;
  }
  .ec-btn, .ec-bento-card, [data-tilt], .ec-hud-float {
    transition: none !important;
    transform: none !important;
  }
}
