@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-darker: #050505;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(15, 15, 15, 0.75);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 229, 255, 0.15);
  
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.4);
  --primary-dark: #008ba3;
  --secondary: #0066ff;
  --secondary-glow: rgba(0, 102, 255, 0.4);
  
  --accent-gold: #ffd700;
  --accent-gold-glow: rgba(255, 215, 0, 0.3);
  
  --win-green: #00ff87;
  --win-green-glow: rgba(0, 255, 135, 0.3);
  --loss-red: #ff3b30;
  --loss-red-glow: rgba(255, 59, 48, 0.3);
  
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #666666;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1280px;
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Grid & Noise */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(18, 18, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 5, 5, 0.95) 90%),
              radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utility Layouts */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-header .tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}

.section-header h2 {
  background: linear-gradient(135deg, var(--text-primary) 30%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-darker);
  border: none;
  box-shadow: 0 4px 25px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(0, 229, 255, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #ccac00);
  color: var(--bg-darker);
  border: none;
  box-shadow: 0 4px 25px rgba(255, 215, 0, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(255, 215, 0, 0.4);
}

/* Badge tags */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.badge-primary {
  background: rgba(0, 229, 255, 0.08);
  color: var(--primary);
  border-color: rgba(0, 229, 255, 0.2);
}

.badge-gold {
  background: rgba(255, 215, 0, 0.08);
  color: var(--accent-gold);
  border-color: rgba(255, 215, 0, 0.2);
  animation: pulse-gold 2s infinite;
}

.badge-success {
  background: rgba(0, 255, 135, 0.08);
  color: var(--win-green);
  border-color: rgba(0, 255, 135, 0.2);
}

/* Cyber Cards */
.cyber-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.cyber-card:hover {
  border-color: rgba(0, 229, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.05);
  transform: translateY(-4px);
}

.cyber-card:hover::before {
  transform: scaleX(1);
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(3, 3, 3, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 35px;
  height: 35px;
  fill: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-text span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer Section */
footer {
  background-color: #030303;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-description {
  margin: 1.5rem 0;
  max-width: 360px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: fill var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-3px);
}

.social-icon:hover svg {
  fill: var(--primary);
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

.footer-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
}

.disclaimer-box {
  background: rgba(255, 59, 48, 0.02);
  border: 1px solid rgba(255, 59, 48, 0.08);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.disclaimer-title {
  color: var(--loss-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #8c8c8c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

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

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Background floating trading assets */
.floating-symbols-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.floating-symbol {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.015);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  animation: float 8s ease-in-out infinite;
}

.floating-symbol.sym-1 { top: 15%; left: 8%; animation-delay: 0s; }
.floating-symbol.sym-2 { top: 45%; right: 5%; animation-delay: 2s; }
.floating-symbol.sym-3 { top: 75%; left: 12%; animation-delay: 4s; }
.floating-symbol.sym-4 { top: 25%; right: 15%; animation-delay: 1s; }
.floating-symbol.sym-5 { top: 60%; left: 45%; animation-delay: 3s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}
