/**
 * ICOM LAB 360° - Styles Globaux Cyber HUD Awwwards
 * Signature : Noir Abyssal (#030305), Cyan Électrique (#7ECFFF), Violet Néon (#A133FF)
 * Inspiré directement de la Direction Artistique Cyber HUD d'Icom Lab
 */

:root {
  --il-bg-abyssal: #030305;
  --il-bg-surface: #07070d;
  --il-bg-card: rgba(10, 5, 25, 0.75);
  --il-bg-panel: rgba(10, 5, 25, 0.75);
  --il-glass: rgba(255, 255, 255, 0.03);
  --il-cyan: #7ecfff;
  --il-cyan-bright: #7ecfff;
  --il-cyan-glow: rgba(126, 207, 255, 0.35);
  --il-violet: #a133ff;
  --il-violet-deep: #a133ff;
  --il-violet-glow: rgba(161, 51, 255, 0.4);
  --il-text-main: #FFFFFF;
  --il-text-muted: #A0AEC0;
  --il-border-glass: rgba(255, 255, 255, 0.1);
  --il-border-glow: rgba(126, 207, 255, 0.3);
  --il-border-cyan: #7ecfff;
  --il-font-display: 'Syne', sans-serif;
  --il-font-body: 'Plus Jakarta Sans', sans-serif;
  --il-font-mono: 'Space Grotesk', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background: var(--il-bg-abyssal);
  color: var(--il-text-main);
  font-family: var(--il-font-body);
}

/* Animation NeonFlow Signature Construction */
@keyframes neonFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.il-neon-flow-title {
  background: linear-gradient(90deg, var(--il-cyan), var(--il-violet), var(--il-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neonFlow 5s linear infinite;
  filter: drop-shadow(0 0 15px rgba(126, 207, 255, 0.3));
}

/* Reflet Card-Flash Signature Construction */
@keyframes card-flash {
  0% { left: -150%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

/* Carte Asymétrique Cyber HUD */
.il-hud-card {
  background: var(--il-bg-card);
  border: 1px solid var(--il-border-glass);
  border-left: 4px solid var(--il-cyan);
  border-radius: 20px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.il-hud-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 207, 255, 0.15), transparent);
  animation: card-flash 5s infinite ease-in-out;
  pointer-events: none;
}

.il-hud-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 207, 255, 0.4);
  box-shadow: 0 10px 30px rgba(161, 51, 255, 0.15), 0 0 20px rgba(126, 207, 255, 0.2);
}

/* Glassmorphism Panel générique */
.il-glass-panel {
  background: var(--il-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--il-border-glass);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.il-glass-panel:hover {
  border-color: rgba(126, 207, 255, 0.35);
  box-shadow: 0 0 35px -5px rgba(126, 207, 255, 0.2), 0 0 15px rgba(161, 51, 255, 0.15);
}

/* Typographie Shimmer */
.il-text-shimmer {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, #C4B5FD 75%, var(--il-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tag / Eyebrow néon Cyber */
.il-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--il-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--il-cyan);
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(161, 51, 255, 0.1);
  border: 1px solid rgba(161, 51, 255, 0.25);
  box-shadow: 0 0 15px rgba(126, 207, 255, 0.1);
}

.il-tag-cyber {
  font-family: var(--il-font-mono);
  font-size: 0.65rem;
  background: rgba(161, 51, 255, 0.1);
  border: 1px solid rgba(161, 51, 255, 0.2);
  color: var(--il-cyan);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Bouton Gradient Signature Construction */
.il-btn-gradient {
  background: linear-gradient(135deg, var(--il-violet), var(--il-cyan));
  color: #fff !important;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(161, 51, 255, 0.35);
  border: none;
  cursor: pointer;
}

.il-btn-gradient:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px var(--il-violet), 0 0 15px var(--il-cyan);
  filter: brightness(1.2);
  color: #fff !important;
}

/* Bouton Border Cyan Animé */
.il-btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--il-cyan);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: 0.4s;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.il-btn-cyber-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, var(--il-violet), var(--il-cyan));
  transition: 0.4s;
  z-index: -1;
}

.il-btn-cyber-outline:hover::before {
  width: 100%;
}

.il-btn-cyber-outline:hover {
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(126, 207, 255, 0.4);
}

/* Bouton Magnétique Capsule (rétrocompatibilité sélecteurs) */
.il-btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--il-font-body);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--il-violet), var(--il-cyan));
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(161, 51, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.il-btn-capsule:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px var(--il-violet), 0 0 15px var(--il-cyan);
  filter: brightness(1.15);
  color: #fff;
}

.il-btn-capsule-outline {
  background: rgba(10, 5, 25, 0.6);
  color: var(--il-text-main);
  border: 1px solid var(--il-cyan);
  border-radius: 9999px;
  text-decoration: none;
}

.il-btn-capsule-outline:hover {
  background: linear-gradient(to right, rgba(161, 51, 255, 0.3), rgba(126, 207, 255, 0.3));
  border-color: var(--il-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(126, 207, 255, 0.3);
}

/* Animations d'entrée pour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
