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

:root {
  --epec-blue: #0047FF;
  --epec-blue-glow: rgba(0, 71, 255, 0.35);
  --tech-purple: #8B5CF6;
  --tech-purple-glow: rgba(139, 92, 246, 0.35);
  --dark-bg: #0B0F19;
  --dark-card: #151B2C;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dark-bg);
  color: #F3F4F6;
  overflow-x: hidden;
}

/* Full Bleed Corner-to-Corner Tech Background */
.hero-full-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('futuristic_tech_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Tech Grid Pattern (SVG-like mesh in CSS) */
.tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Background glows for depth and visual richness */
.bg-glow-blue {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--epec-blue-glow) 0%, rgba(0,0,0,0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.bg-glow-purple {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--tech-purple-glow) 0%, rgba(0,0,0,0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

/* Premium Glassmorphism Panel */
.glass-panel {
  background: rgba(21, 27, 44, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

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

/* Pulse animation for CTAs with soft expanding neon shadow */
@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(0, 71, 255, 0.35), 0 0 5px rgba(0, 71, 255, 0.15);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 71, 255, 0.6), 0 0 12px rgba(139, 92, 246, 0.35);
  }
}

.btn-pulse {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Neon border styling for grids/cards */
.neon-border {
  position: relative;
  border-radius: 1.25rem;
  background: rgba(21, 27, 44, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes borderRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.neon-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1.3rem;
  padding: 1px;
  background: linear-gradient(90deg, var(--epec-blue), var(--tech-purple), var(--epec-blue));
  background-size: 200% 200%;
  animation: borderRotate 6s linear infinite;
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.22;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.neon-border:hover::before {
  opacity: 0.95;
}

.neon-border:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 71, 255, 0.15),
    0 0 30px rgba(139, 92, 246, 0.05);
  background: rgba(21, 27, 44, 0.7);
}

/* Scroll Reveal */
.reveal-item {
  opacity: 0;
  transform: translateY(35px);
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Accordion (FAQ) */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.3);
  background-color: rgba(21, 27, 44, 0.4);
}

.faq-trigger {
  cursor: pointer;
  user-select: none;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--tech-purple);
}

/* Timeline Custom Styles */
.timeline-connector {
  background: linear-gradient(to bottom, var(--epec-blue) 0%, var(--tech-purple) 100%);
  box-shadow: 0 0 10px rgba(0, 71, 255, 0.3);
}

.timeline-dot-active {
  box-shadow: 0 0 15px var(--epec-blue);
  animation: pulse-glow-simple 2s infinite;
}

@keyframes pulse-glow-simple {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 71, 255, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

/* Custom glowing effects on input focus */
input:focus, select:focus {
  border-color: var(--epec-blue) !important;
  box-shadow: 
    0 0 15px rgba(0, 71, 255, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.02) !important;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: #1A233A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #253152;
}

/* AI Terminal Simulator styling */
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: #4ade80;
  animation: blink 1s infinite;
  vertical-align: middle;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.terminal-scroll::-webkit-scrollbar {
  width: 4px;
}
.terminal-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* Seat Map Styling */
.seat-occupied {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: #374151 !important;
  cursor: not-allowed;
  transition: all 0.2s ease;
}

.seat-available {
  background-color: rgba(0, 71, 255, 0.15);
  border: 1px solid rgba(0, 71, 255, 0.4);
  color: #93c5fd !important;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 71, 255, 0.2);
  transition: all 0.3s ease;
}

.seat-available:hover {
  background-color: rgba(0, 71, 255, 0.35);
  border-color: rgba(0, 71, 255, 0.7);
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 71, 255, 0.5);
  transform: scale(1.2);
}

.seat-selected {
  background-color: #00f0ff !important;
  border-color: #00f0ff !important;
  color: #0b0f19 !important;
  box-shadow: 0 0 12px #00f0ff !important;
  transform: scale(1.25);
  transition: all 0.3s ease;
}
