/* Xcite Hub Spaces LLP - Ultra-Premium Modern Cybersecurity Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --color-bg-base: #030712;
  --color-bg-surface: #0B1120;
  --color-bg-card: rgba(15, 23, 42, 0.7);
  --color-cyan-glow: rgba(6, 182, 212, 0.35);
  --color-indigo-glow: rgba(99, 102, 241, 0.35);
  --color-emerald-glow: rgba(16, 185, 129, 0.35);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: #F1F5F9;
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: -0.01em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Subtle Cyber Grid & Ambient Radial Mesh */
.cyber-bg-mesh {
  background-color: #030712;
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.5) 0px, transparent 100%),
    radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.06) 0px, transparent 50%);
}

.cyber-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Ambient Floating Glow Spheres */
.ambient-glow-sphere {
  position: absolute;
  border-radius: 9999px;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

/* Next-Gen Glassmorphism with Inner Rim Lighting */
.glass-card-elevated {
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-elevated:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 40px -15px rgba(6, 182, 212, 0.2);
}

.glass-card-static {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Shimmer Button Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 30%
  );
  transform: rotate(30deg);
  animation: btn-shimmer-sweep 6s infinite ease-in-out;
}

@keyframes btn-shimmer-sweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Ticker Animation */
@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-slide 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* Active Navigation Tabs */
.nav-tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.audience-pill.active {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

/* Video Theater Cinema Ambient Glow */
.cinema-backlight {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

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

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 9999px;
}

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

/* Modal Transitions */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

/* Floating Speed-Dial Button */
.speed-dial-float {
  box-shadow: 0 10px 30px -5px rgba(244, 63, 94, 0.4);
}

/* Print Styles */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  header, footer, .no-print, .speed-dial-float {
    display: none !important;
  }
  .print-area {
    display: block !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #030712; 
}
::-webkit-scrollbar-thumb {
  background: #1e293b; 
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155; 
}

/* Scroll Reveal Animations */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

