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

:root {
  --bg-color: #050816;
  --text-primary: #ffffff;
  --text-secondary: #8f9bb3;
  --electric-blue: #fbbf24;
  --neon-purple: #dc2626;
  --neon-cyan: #fbbf24;
  --neon-green: #f59e0b;
  --neon-green-glow: rgba(245, 158, 11, 0.4);
  --cyan-glow: rgba(251, 191, 36, 0.3);
  --purple-glow: rgba(220, 38, 38, 0.25);
  --glass-bg: rgba(10, 15, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.5);
}

/* Glassmorphism Styles */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 10px 40px 0 rgba(251, 191, 36, 0.15);
  transform: translateY(-5px);
}

.glass-nav {
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glowing Elements */
.glow-text-cyan {
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5), 0 0 20px rgba(251, 191, 36, 0.2);
}

.glow-text-purple {
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.6), 0 0 20px rgba(220, 38, 38, 0.3);
}

.glow-text-green {
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6), 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Premium Glowing Buttons */
.btn-neon-green {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 15px var(--neon-green-glow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-neon-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-neon-green:hover::before {
  left: 100%;
}

.btn-neon-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), 0 0 10px rgba(251, 191, 36, 0.5);
}

.btn-outline-glow {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.4);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.btn-outline-glow:hover {
  border-color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: translateY(-2px);
}

/* Animated Glowing Border Cards */
.animated-glow-border {
  position: relative;
  border-radius: 12px;
  background: rgba(10, 15, 30, 0.8);
  z-index: 1;
}

.animated-glow-border::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  background: linear-gradient(45deg, #dc2626, #fbbf24, #f59e0b, #dc2626);
  background-size: 400%;
  z-index: -1;
  border-radius: 13px;
  animation: borderGlow 12s linear infinite;
  opacity: 0.7;
}

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

/* Floating Particles Container */
#particles-js-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Background Gradients */
.gradient-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
}

.blob-purple {
  background: radial-gradient(circle, #dc2626 0%, transparent 70%);
  top: 10%;
  left: -10%;
  animation: floatBlob 25s ease-in-out infinite alternate;
}

.blob-blue {
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
  bottom: 10%;
  right: -10%;
  animation: floatBlob 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, 10%) scale(1.1);
  }
  100% {
    transform: translate(-5%, -5%) scale(0.95);
  }
}

/* Marquee Animations for Exchange Logos */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Animated Timeline line for Who We Are & Profile */
.timeline-line {
  background: linear-gradient(to bottom, #dc2626, #fbbf24, #f59e0b);
}

/* Navigation Active Indicator */
.nav-link {
  position: relative;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--electric-blue);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--electric-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Contact Input Underlines */
.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

/* Table styling for live arbitrage opportunities */
.arbitrage-table th {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--electric-blue);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.arbitrage-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-glow-green {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.text-glow-cyan {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.text-glow-red {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Accordion FAQs styling */
.faq-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--neon-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
