/* ==========================================================================
   AEGIS CIPHER — Animated 3D-Inspired SVG Icon Library & UI Component System
   Designed for Red-Team / Penetration Testing Encryption & Binary Services
   Zero external dependencies | Scoped .ag-* namespace | Reduced-motion aware
   ========================================================================== */

:root {
  /* Core Dark Graphite Surfaces */
  --ag-bg-deep: #06080d;
  --ag-bg-base: #0b0f17;
  --ag-bg-card: #101622;
  --ag-bg-elevated: #161f30;
  --ag-bg-glass: rgba(16, 22, 34, 0.78);
  --ag-border-subtle: rgba(148, 163, 184, 0.14);
  --ag-border-highlight: rgba(57, 255, 20, 0.38);

  /* Signature Neon Palette (inspired by 3D reference artwork) */
  --ag-neon-green: #39ff14;
  --ag-neon-emerald: #00ff88;
  --ag-electric-blue: #00e5ff;
  --ag-deep-blue: #2563eb;
  --ag-neon-magenta: #ff2a85;
  --ag-neon-pink: #ff66c4;
  --ag-neon-violet: #a855f7;
  --ag-bright-violet: #d946ef;
  --ag-plasma-gold: #ffbe0b;
  --ag-plasma-orange: #ff6b00;
  --ag-crimson-error: #ff3355;

  /* Configurable Icon Defaults */
  --ag-icon-size: 64px;
  --ag-anim-speed: 1;
  --ag-primary: var(--ag-neon-green);
  --ag-secondary: var(--ag-electric-blue);
  --ag-accent: var(--ag-neon-magenta);
  --ag-tertiary: var(--ag-neon-violet);
  --ag-core-light: var(--ag-plasma-gold);

  /* Typography */
  --ag-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ag-font-mono: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', Consolas, monospace;
}

/* ==========================================================================
   1. ICON WRAPPER, SIZING & ACCENT THEMES
   ========================================================================== */

.ag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ag-icon-size, 64px);
  height: var(--ag-icon-size, 64px);
  position: relative;
  vertical-align: middle;
  flex-shrink: 0;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ag-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* Configurable Size Modifiers */
.ag-icon--xs  { --ag-icon-size: 20px; }
.ag-icon--sm  { --ag-icon-size: 28px; }
.ag-icon--md  { --ag-icon-size: 44px; }
.ag-icon--lg  { --ag-icon-size: 64px; }
.ag-icon--xl  { --ag-icon-size: 88px; }
.ag-icon--2xl { --ag-icon-size: 120px; }

/* Configurable Accent Color Themes */
.ag-theme-cyber-green {
  --ag-primary: #39ff14;
  --ag-secondary: #00e5ff;
  --ag-accent: #ff2a85;
  --ag-tertiary: #a855f7;
}

.ag-theme-plasma-violet {
  --ag-primary: #c084fc;
  --ag-secondary: #ff2a85;
  --ag-accent: #ffbe0b;
  --ag-tertiary: #39ff14;
}

.ag-theme-electric-cyan {
  --ag-primary: #00e5ff;
  --ag-secondary: #39ff14;
  --ag-accent: #a855f7;
  --ag-tertiary: #ff2a85;
}

.ag-theme-crimson-ops {
  --ag-primary: #ff2a85;
  --ag-secondary: #ffbe0b;
  --ag-accent: #00e5ff;
  --ag-tertiary: #a855f7;
}

.ag-theme-solar-gold {
  --ag-primary: #ffbe0b;
  --ag-secondary: #ff2a85;
  --ag-accent: #39ff14;
  --ag-tertiary: #00e5ff;
}

/* Interactive Hover Boost */
.ag-icon:hover,
.ag-card:hover .ag-icon,
.ag-btn:hover .ag-icon {
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.35))
          drop-shadow(0 0 22px rgba(168, 85, 247, 0.25));
}

/* Transform Origins for 100x100 SVG ViewBox */
.ag-origin-center {
  transform-origin: 50px 50px;
}
.ag-origin-shackle {
  transform-origin: 36px 42px;
}
.ag-origin-needle {
  transform-origin: 50px 62px;
}
.ag-origin-bell {
  transform-origin: 50px 24px;
}
.ag-origin-gear-tl {
  transform-origin: 38px 38px;
}
.ag-origin-gear-br {
  transform-origin: 65px 65px;
}

/* ==========================================================================
   2. DELIBERATE KEYFRAME ANIMATION LIBRARY
   ========================================================================== */

/* 2.1 Orbital & Cryptographic Ring Rotations */
@keyframes ag-orbit-cw {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ag-orbit-ccw {
  0%   { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes ag-orbit-step {
  0%, 15%  { transform: rotate(0deg); }
  25%, 40% { transform: rotate(90deg); }
  50%, 65% { transform: rotate(180deg); }
  75%, 90% { transform: rotate(270deg); }
  100%     { transform: rotate(360deg); }
}

/* 2.2 Luminous Cores, Plasma Breathing & Specular Glows */
@keyframes ag-core-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.82; }
  50%      { transform: scale(1.12); opacity: 1; }
}

@keyframes ag-plasma-flare {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  33%      { transform: scale(1.08) rotate(120deg); opacity: 1; }
  66%      { transform: scale(0.95) rotate(240deg); opacity: 0.85; }
}

@keyframes ag-eye-glow {
  0%, 92%, 100% { transform: scaleY(1); opacity: 1; }
  95%           { transform: scaleY(0.12); opacity: 0.7; }
}

/* 2.3 Animated Circuit Traces & Data Conduit Flow */
@keyframes ag-trace-flow {
  0%   { stroke-dashoffset: 120; }
  100% { stroke-dashoffset: 0; }
}

@keyframes ag-trace-flow-rev {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 120; }
}

@keyframes ag-packet-shuttle {
  0%   { transform: translateX(-22px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(22px); opacity: 0; }
}

@keyframes ag-packet-shuttle-rev {
  0%   { transform: translateX(22px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(-22px); opacity: 0; }
}

/* 2.4 Floating Binary Digits & Particle Trails */
@keyframes ag-binary-drift-up {
  0%   { transform: translate(0, 8px) scale(0.75); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 0.9; }
  100% { transform: translate(-10px, -16px) scale(1.08); opacity: 0; }
}

@keyframes ag-binary-cascade {
  0%   { transform: translateY(-12px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes ag-particle-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50%      { transform: translate(6px, -7px) scale(1.3); opacity: 0.4; }
}

/* 2.5 Scanning Beams, Radar Sweeps & Loupe Panning */
@keyframes ag-laser-scan-vertical {
  0%, 100% { transform: translateY(-20px); opacity: 0.85; }
  50%      { transform: translateY(22px); opacity: 1; }
}

@keyframes ag-loupe-inspect {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(8px, -6px) scale(1.06); }
  50%      { transform: translate(-7px, 6px) scale(1.03); }
  75%      { transform: translate(6px, 7px) scale(1.07); }
}

/* 2.6 Mechanical Shackle Unlocking & Key Turning */
@keyframes ag-shackle-action {
  0%, 25%, 100% { transform: translateY(0) rotate(0deg); }
  45%, 75%      { transform: translateY(-8px) rotate(-18deg); }
}

@keyframes ag-key-rotate-3d {
  0%, 20%, 100% { transform: scaleX(1) translateY(0); }
  45%, 65%      { transform: scaleX(-0.85) translateY(-3px); }
}

@keyframes ag-signature-draw {
  0%        { stroke-dashoffset: 90; opacity: 0.4; }
  50%, 85%  { stroke-dashoffset: 0; opacity: 1; }
  100%      { stroke-dashoffset: 90; opacity: 0.4; }
}

/* 2.7 Polymorphism (1 Source -> 3 Distinct Morphing Variants) */
@keyframes ag-poly-branch-top {
  0%, 15%  { transform: translate(-24px, 16px) scale(0.4); opacity: 0; }
  45%, 80% { transform: translate(0, 0) scale(1); opacity: 1; }
  100%     { transform: translate(6px, -4px) scale(0.85); opacity: 0; }
}

@keyframes ag-poly-branch-mid {
  0%, 20%  { transform: translate(-26px, 0) scale(0.4); opacity: 0; }
  50%, 82% { transform: translate(0, 0) scale(1); opacity: 1; }
  100%     { transform: translate(8px, 0) scale(0.85); opacity: 0; }
}

@keyframes ag-poly-branch-bot {
  0%, 25%  { transform: translate(-24px, -16px) scale(0.4); opacity: 0; }
  55%, 85% { transform: translate(0, 0) scale(1); opacity: 1; }
  100%     { transform: translate(6px, 4px) scale(0.85); opacity: 0; }
}

/* 2.8 Rebuild & Reconstruction (4 Quadrants Snapping Together) */
@keyframes ag-rebuild-tl {
  0%, 15%, 100% { transform: translate(-9px, -9px) rotate(-8deg); opacity: 0.7; }
  45%, 80%      { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes ag-rebuild-tr {
  0%, 15%, 100% { transform: translate(9px, -9px) rotate(8deg); opacity: 0.7; }
  45%, 80%      { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes ag-rebuild-bl {
  0%, 15%, 100% { transform: translate(-9px, 9px) rotate(6deg); opacity: 0.7; }
  45%, 80%      { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes ag-rebuild-br {
  0%, 15%, 100% { transform: translate(9px, 9px) rotate(-6deg); opacity: 0.7; }
  45%, 80%      { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

/* 2.9 Memory Allocation & Process Execution */
@keyframes ag-mem-block-fill {
  0%, 20%  { opacity: 0.2; transform: scale(0.85); }
  50%, 85% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0.2; transform: scale(0.85); }
}

@keyframes ag-gauge-needle {
  0%, 100% { transform: rotate(-42deg); }
  45%      { transform: rotate(48deg); }
  65%      { transform: rotate(62deg); }
  80%      { transform: rotate(28deg); }
}

@keyframes ag-bell-ring {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30%      { transform: rotate(14deg); }
  20%, 40%      { transform: rotate(-14deg); }
  50%           { transform: rotate(6deg); }
}

@keyframes ag-upload-arrow {
  0%   { transform: translateY(10px); opacity: 0; }
  30%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-10px); opacity: 0; }
}

@keyframes ag-download-arrow {
  0%   { transform: translateY(-10px); opacity: 0; }
  30%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

@keyframes ag-float-3d {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-4px); }
}

@keyframes ag-fault-glitch {
  0%, 84%, 100% { transform: translate(0, 0); opacity: 1; }
  86%           { transform: translate(-3px, 2px); opacity: 0.85; }
  89%           { transform: translate(3px, -2px); opacity: 1; }
  92%           { transform: translate(-2px, -1px); opacity: 0.9; }
}

/* Animation Utility Classes for SVG Sub-Elements */
.ag-anim-orbit-cw      { animation: ag-orbit-cw calc(9s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-orbit-cw-fast { animation: ag-orbit-cw calc(4.2s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-orbit-ccw     { animation: ag-orbit-ccw calc(7.5s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-orbit-step    { animation: ag-orbit-step calc(6s / var(--ag-anim-speed, 1)) cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.ag-anim-core-pulse    { animation: ag-core-pulse calc(2.4s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-plasma-flare  { animation: ag-plasma-flare calc(5s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-eye-glow      { animation: ag-eye-glow calc(4.5s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-trace         { stroke-dasharray: 18 12; animation: ag-trace-flow calc(2.8s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-trace-rev     { stroke-dasharray: 18 12; animation: ag-trace-flow-rev calc(2.8s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-shuttle       { animation: ag-packet-shuttle calc(2.4s / var(--ag-anim-speed, 1)) cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.ag-anim-shuttle-rev   { animation: ag-packet-shuttle-rev calc(2.4s / var(--ag-anim-speed, 1)) cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.ag-anim-binary-1      { animation: ag-binary-drift-up calc(2.6s / var(--ag-anim-speed, 1)) ease-out infinite; }
.ag-anim-binary-2      { animation: ag-binary-drift-up calc(2.6s / var(--ag-anim-speed, 1)) ease-out infinite 0.85s; }
.ag-anim-binary-3      { animation: ag-binary-drift-up calc(2.6s / var(--ag-anim-speed, 1)) ease-out infinite 1.7s; }
.ag-anim-cascade-1     { animation: ag-binary-cascade calc(2.2s / var(--ag-anim-speed, 1)) linear infinite; }
.ag-anim-cascade-2     { animation: ag-binary-cascade calc(2.2s / var(--ag-anim-speed, 1)) linear infinite 0.7s; }
.ag-anim-cascade-3     { animation: ag-binary-cascade calc(2.2s / var(--ag-anim-speed, 1)) linear infinite 1.4s; }
.ag-anim-particle      { animation: ag-particle-orbit calc(3s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-scan-y        { animation: ag-laser-scan-vertical calc(2.8s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-loupe         { animation: ag-loupe-inspect calc(4.8s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-shackle       { animation: ag-shackle-action calc(4s / var(--ag-anim-speed, 1)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ag-anim-key-turn      { animation: ag-key-rotate-3d calc(4.2s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-sig-draw      { stroke-dasharray: 90; animation: ag-signature-draw calc(3.6s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-poly-1        { animation: ag-poly-branch-top calc(3.4s / var(--ag-anim-speed, 1)) cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.ag-anim-poly-2        { animation: ag-poly-branch-mid calc(3.4s / var(--ag-anim-speed, 1)) cubic-bezier(0.22, 1, 0.36, 1) infinite 0.18s; }
.ag-anim-poly-3        { animation: ag-poly-branch-bot calc(3.4s / var(--ag-anim-speed, 1)) cubic-bezier(0.22, 1, 0.36, 1) infinite 0.36s; }
.ag-anim-rebuild-tl    { animation: ag-rebuild-tl calc(3.8s / var(--ag-anim-speed, 1)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ag-anim-rebuild-tr    { animation: ag-rebuild-tr calc(3.8s / var(--ag-anim-speed, 1)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ag-anim-rebuild-bl    { animation: ag-rebuild-bl calc(3.8s / var(--ag-anim-speed, 1)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ag-anim-rebuild-br    { animation: ag-rebuild-br calc(3.8s / var(--ag-anim-speed, 1)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ag-anim-mem-1         { animation: ag-mem-block-fill calc(3s / var(--ag-anim-speed, 1)) ease-in-out infinite 0s; }
.ag-anim-mem-2         { animation: ag-mem-block-fill calc(3s / var(--ag-anim-speed, 1)) ease-in-out infinite 0.5s; }
.ag-anim-mem-3         { animation: ag-mem-block-fill calc(3s / var(--ag-anim-speed, 1)) ease-in-out infinite 1.0s; }
.ag-anim-mem-4         { animation: ag-mem-block-fill calc(3s / var(--ag-anim-speed, 1)) ease-in-out infinite 1.5s; }
.ag-anim-needle        { animation: ag-gauge-needle calc(3.8s / var(--ag-anim-speed, 1)) cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.ag-anim-bell          { animation: ag-bell-ring calc(3.2s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-upload        { animation: ag-upload-arrow calc(2.1s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-download      { animation: ag-download-arrow calc(2.1s / var(--ag-anim-speed, 1)) ease-in-out infinite 1.05s; }
.ag-anim-float         { animation: ag-float-3d calc(3.2s / var(--ag-anim-speed, 1)) ease-in-out infinite; }
.ag-anim-glitch        { animation: ag-fault-glitch calc(2.8s / var(--ag-anim-speed, 1)) ease-in-out infinite; }

/* Speed Up on Hover for Responsive Tactile Feedback */
.ag-icon:hover [class*="ag-anim-"],
.ag-card:hover .ag-icon [class*="ag-anim-"] {
  animation-duration: calc(1.6s / var(--ag-anim-speed, 1));
}

/* Reduced Motion & Page Visibility Pause Support */
@media (prefers-reduced-motion: reduce) {
  .ag-icon [class*="ag-anim-"],
  .ag-card,
  .ag-btn {
    animation-play-state: paused !important;
    transition: none !important;
  }
}

.ag-reduced-motion .ag-icon [class*="ag-anim-"],
.ag-page-hidden .ag-icon [class*="ag-anim-"] {
  animation-play-state: paused !important;
}

/* ==========================================================================
   3. REUSABLE UI COMPONENTS: CARDS, BUTTONS, STATUS BADGES & LOADERS
   ========================================================================== */

/* 3D Interactive Card Base */
.ag-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 31, 48, 0.92) 0%, rgba(10, 14, 23, 0.96) 100%);
  border: 1px solid var(--ag-border-subtle);
  border-radius: 16px;
  padding: 1.35rem;
  color: #f1f5f9;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.ag-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--ag-mouse-x, 50%) var(--ag-mouse-y, 0%),
    rgba(57, 255, 20, 0.11),
    rgba(168, 85, 247, 0.06) 40%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ag-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85),
              0 0 24px -4px rgba(57, 255, 20, 0.18),
              inset 0 1px 0 0 rgba(57, 255, 20, 0.25);
}

.ag-card:hover::before {
  opacity: 1;
}

.ag-card--magenta:hover {
  border-color: rgba(255, 42, 133, 0.55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85),
              0 0 26px -4px rgba(255, 42, 133, 0.25);
}

.ag-card--cyan:hover {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85),
              0 0 26px -4px rgba(0, 229, 255, 0.25);
}

/* Reusable Cyber Buttons */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--ag-font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.625rem 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.ag-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.45);
}

.ag-btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

.ag-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Primary Neon Button */
.ag-btn--primary {
  background: linear-gradient(135deg, #16a34a 0%, #059669 50%, #0d9488 100%);
  color: #04130a;
  font-weight: 700;
  border-color: #39ff14;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.28),
              inset 0 1px 1px rgba(255, 255, 255, 0.45);
  color: #ecfdf5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.ag-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 50%, #06b6d4 100%);
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.5),
              0 0 12px rgba(0, 229, 255, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Secondary Plasma Button */
.ag-btn--secondary {
  background: rgba(22, 31, 48, 0.85);
  color: #e2e8f0;
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ag-btn--secondary:hover:not(:disabled) {
  background: rgba(30, 41, 66, 0.95);
  border-color: #00e5ff;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
  transform: translateY(-1px);
}

/* Magenta / Plasma Accent Button */
.ag-btn--plasma {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(255, 42, 133, 0.28));
  color: #fce7f3;
  border-color: rgba(255, 42, 133, 0.55);
  box-shadow: 0 0 18px rgba(255, 42, 133, 0.2);
}

.ag-btn--plasma:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(255, 42, 133, 0.48));
  border-color: #ff2a85;
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.45);
  transform: translateY(-1px);
}

/* Icon-Only Button */
.ag-btn--icon-only {
  padding: 0.55rem;
  border-radius: 10px;
  background: rgba(16, 22, 34, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.ag-btn--icon-only:hover:not(:disabled) {
  border-color: #39ff14;
  color: #39ff14;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.25);
}

/* Status Indicators & Pills */
.ag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--ag-font-mono);
}

.ag-badge--success {
  background: rgba(57, 255, 20, 0.12);
  color: #4ade80;
  border: 1px solid rgba(57, 255, 20, 0.35);
}

.ag-badge--info {
  background: rgba(0, 229, 255, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.ag-badge--warning {
  background: rgba(255, 190, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(255, 190, 11, 0.4);
}

.ag-badge--error {
  background: rgba(255, 42, 133, 0.14);
  color: #fb7185;
  border: 1px solid rgba(255, 42, 133, 0.45);
}

/* Progress Bar with Neon Shimmer */
.ag-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.ag-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #39ff14 0%, #00e5ff 50%, #ff2a85 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}


