@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color System */
  --bg-primary: #050608;
  --bg-secondary: #0B0F0D;
  --bg-tertiary: #071C15;
  
  --accent-emerald: #10b981;
  --accent-lime: #84cc16;
  --accent-violet: #8b5cf6;
  --accent-magenta: #ec4899;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

/* ================================================================= */
/* PREMIUM DESIGN SYSTEM STYLES                                      */
/* ================================================================= */

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glass Panels and Cards */
.glass-panel {
  background: rgba(11, 15, 13, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-card {
  background: linear-gradient(145deg, rgba(11, 15, 13, 0.8) 0%, rgba(5, 6, 8, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

/* AI Style Glow Cards */
.ai-glow-card {
  position: relative;
  background: rgba(11, 15, 13, 0.7);
  border-radius: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
}

.ai-glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ai-glow-card:hover::before {
  opacity: 1;
}

/* Premium Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #020617;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ai {
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-magenta) 100%);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
}

.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* Glowing Text */
.text-gradient-emerald {
  background: linear-gradient(135deg, var(--accent-lime) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-ai {
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Inputs */
.premium-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #f8fafc;
  transition: all 0.3s ease;
}

.premium-input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Radial Ambient */
.bg-ambient-glow {
  background: radial-gradient(circle at 50% 0%, rgba(7, 28, 21, 0.8) 0%, rgba(5, 6, 8, 1) 70%);
}

.bg-ambient-ai {
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.05) 40%, transparent 70%);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
  animation-delay: 2s;
}

.font-mono-numbers {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* Status Badges */
.badge-pending { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-approved { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-rejected { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }

/* ============================================================
   TRADING SIGNAL MARQUEE ANIMATIONS
   (handled inline in index.html via <style> tag)
============================================================ */
