/* PixelNexa Custom Styles & Visual FX */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-bg: #090A0F;
  --color-surface: #12141D;
  --color-gold: #F3C649;
  --color-gold-glow: rgba(243, 198, 73, 0.35);
  --color-cyan: #00F0FF;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: #F3F4F6;
  overflow-x: hidden;
  selection-background-color: var(--color-gold);
  selection-color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* Ambient Radial Glows */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.ambient-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 198, 73, 0.12) 0%, rgba(9, 10, 15, 0) 70%);
  top: -100px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(9, 10, 15, 0) 70%);
  top: 10%;
  right: -150px;
  pointer-events: none;
  z-index: 0;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(18, 20, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  border-color: rgba(243, 198, 73, 0.3);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(243, 198, 73, 0.15);
  transform: translateY(-2px);
}

/* Glowing Primary Button */
.btn-gold-glow {
  background: linear-gradient(135deg, #FAD961 0%, #F76B1C 100%);
  box-shadow: 0 0 25px rgba(247, 107, 28, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-gold-glow:hover {
  box-shadow: 0 0 35px rgba(247, 107, 28, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.01);
}

/* Animated Border Gradient */
.border-gradient-gold {
  position: relative;
  background: linear-gradient(#12141D, #12141D) padding-box,
              linear-gradient(135deg, rgba(243, 198, 73, 0.6), rgba(255, 255, 255, 0.05), rgba(0, 240, 255, 0.4)) border-box;
  border: 1px solid transparent;
}

/* Live Pulse Indicator */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-dot {
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* Shimmer Light Sweep */
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
}

.shine-effect:hover::after {
  animation: shine 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #090A0F;
}

::-webkit-scrollbar-thumb {
  background: #1F2430;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F3C649;
}

/* --- MOTION VARIATION ANIMATIONS --- */

/* Text Gradient Flow */
@keyframes textGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient-motion {
  background: linear-gradient(270deg, #FAD961, #F76B1C, #00F0FF, #FAD961);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientFlow 6s ease infinite;
}

/* Floating Card Motion */
@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float-card {
  animation: floatCard 6s ease-in-out infinite;
}

/* Laser Scanner Beam */
@keyframes scannerMove {
  0% { top: 0%; opacity: 0.8; }
  50% { top: 95%; opacity: 1; }
  100% { top: 0%; opacity: 0.8; }
}

.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F3C649, #00F0FF, transparent);
  box-shadow: 0 0 15px #F3C649, 0 0 8px #00F0FF;
  animation: scannerMove 3.5s ease-in-out infinite;
}

/* Ambient Drifting Glow */
@keyframes driftOrb {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-drift-orb {
  animation: driftOrb 10s ease-in-out infinite;
}

/* --- ACCORDION FILMSTRIP VARIATION --- */
.accordion-deck {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .accordion-deck {
    flex-direction: row;
    height: 520px;
    gap: 1.25rem;
  }

  .accordion-item {
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, border-color 0.4s ease;
  }

  .accordion-item:hover,
  .accordion-item.active {
    flex: 3.5;
  }
}

/* --- INDUSTRIAL DOSSIER VARIATION --- */
.dossier-numeral {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
  pointer-events: none;
}

/* --- 3D CAROUSEL STAGE VARIATION --- */
.stage-container {
  perspective: 1200px;
}

.stage-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}




