/* ============================================
   HIGO TRADES v2 — GLITCH CYBER MONEY
   ============================================ */

:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --bg-card: #0f0f12;
  --bg-card-2: #14141a;
  --border: #1f1f26;
  --border-bright: #2a2a35;
  --text: #f0f0f5;
  --text-dim: #8a8a95;
  --text-faded: #4a4a55;

  --acid: #c6ff00;
  --magenta: #ff006e;
  --cyan: #00ffff;
  --gold: #ffb800;
  --purple: #8a2be2;
  --red: #ff2d55;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--acid); color: var(--bg); }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(255, 255, 255, 0.012) 3px, rgba(255, 255, 255, 0.012) 3px);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9998;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* HEADER */
header.site-header {
  position: sticky; top: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1320px; margin: 0 auto; position: relative; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); font-family: 'Archivo Black', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; position: relative; }

.logo-mark {
  width: 42px; height: 42px; background: var(--acid);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo Black', sans-serif; color: var(--bg); font-size: 22px;
  box-shadow: 0 0 20px rgba(198, 255, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative; overflow: hidden; transform: rotate(-3deg);
  animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { transform: rotate(-3deg) scale(1); box-shadow: 0 0 20px rgba(198, 255, 0, 0.5); }
  50% { transform: rotate(-3deg) scale(1.05); box-shadow: 0 0 35px rgba(198, 255, 0, 0.8); }
}

.logo-mark::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); animation: shine 3s ease-in-out infinite; }

@keyframes shine { 0%, 100% { left: -100%; } 50% { left: 100%; } }

.logo-mark span { position: relative; z-index: 2; }
.logo-text { font-size: 24px; }
.logo-text .accent { color: var(--acid); display: inline-block; animation: blink 1.5s steps(2) infinite; }

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

nav.main-nav { display: flex; gap: 28px; align-items: center; }

nav.main-nav a { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.2s; position: relative; }
nav.main-nav a:not(.nav-cta):hover { color: var(--acid); text-shadow: 0 0 8px var(--acid); }
nav.main-nav a.active { color: var(--text); }
nav.main-nav a.active::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px; background: var(--acid); box-shadow: 0 0 8px var(--acid); }

.nav-cta { background: var(--acid); color: var(--bg) !important; padding: 12px 22px; font-family: 'Archivo Black', sans-serif !important; font-size: 13px !important; letter-spacing: 0.05em !important; transition: all 0.2s ease; position: relative; overflow: hidden; border: 2px solid var(--acid); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(198, 255, 0, 0.4); }

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

/* GLITCH TEXT */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.glitch::before { color: var(--magenta); z-index: -1; animation: glitch-1 3s infinite; }
.glitch::after { color: var(--cyan); z-index: -2; animation: glitch-2 3s infinite; }

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(-3px, 1px); opacity: 0.8; }
  94% { transform: translate(3px, -1px); opacity: 0.8; }
  96% { transform: translate(-2px, 0); opacity: 0.5; }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  93% { transform: translate(2px, -2px); opacity: 0.8; }
  95% { transform: translate(-2px, 2px); opacity: 0.8; }
  97% { transform: translate(1px, 0); opacity: 0.5; }
}

/* TYPOGRAPHY */
.outline-text { -webkit-text-stroke: 2px var(--text); color: transparent; }
.outline-acid { -webkit-text-stroke: 2px var(--acid); color: transparent; }
.acid-text { color: var(--acid); text-shadow: 0 0 30px rgba(198, 255, 0, 0.4); }
.magenta-text { color: var(--magenta); text-shadow: 0 0 30px rgba(255, 0, 110, 0.4); }
.cyan-text { color: var(--cyan); text-shadow: 0 0 30px rgba(0, 255, 255, 0.4); }
.gold-text { color: var(--gold); text-shadow: 0 0 30px rgba(255, 184, 0, 0.4); }

.gradient-acid-cyan { background: linear-gradient(135deg, var(--acid), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-acid-magenta { background: linear-gradient(135deg, var(--acid), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.mono-tag { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); display: inline-flex; align-items: center; gap: 8px; }
.mono-tag::before { content: '◆'; color: var(--acid); font-size: 10px; }
.mono-tag.acid { color: var(--acid); }
.mono-tag.acid::before { color: var(--magenta); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; font-family: 'Archivo Black', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; cursor: pointer; transition: all 0.25s ease; background: var(--acid); color: var(--bg); position: relative; overflow: hidden; border: 2px solid var(--acid); }

.btn::before { content: ''; position: absolute; top: 0; left: -120%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.5s ease; }
.btn:hover::before { left: 120%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(198, 255, 0, 0.3), 0 0 20px rgba(198, 255, 0, 0.2); }

.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border-bright); }
.btn-outline:hover { border-color: var(--acid); color: var(--acid); background: rgba(198, 255, 0, 0.05); box-shadow: 0 0 30px rgba(198, 255, 0, 0.2); }
.btn-magenta { background: var(--magenta); color: white; border-color: var(--magenta); }
.btn-magenta:hover { box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4); }

.btn-arrow::after { content: '→'; margin-left: 4px; transition: transform 0.2s; display: inline-block; }
.btn-arrow:hover::after { transform: translateX(6px); }

/* CARDS */
.card { background: var(--bg-card); border: 1px solid var(--border); padding: 32px; position: relative; transition: all 0.3s ease; overflow: hidden; }
.card-glow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--acid), var(--cyan), var(--magenta)); background-size: 200% 100%; animation: gradient-slide 4s linear infinite; }

@keyframes gradient-slide { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* SECTIONS */
section { padding: 90px 0; position: relative; }
.section-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--acid); letter-spacing: 0.25em; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px; }
.section-num::before { content: ''; display: inline-block; width: 32px; height: 1px; background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.section-title { font-family: 'Archivo Black', sans-serif; font-size: clamp(36px, 5.5vw, 72px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.025em; margin-bottom: 24px; }
.section-lead { font-size: 18px; color: var(--text-dim); max-width: 720px; margin-bottom: 56px; line-height: 1.55; }

/* GRID OVERLAYS */
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(198, 255, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 255, 0, 0.04) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%); pointer-events: none; }

/* BADGES */
.badge { display: inline-block; padding: 5px 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.badge-acid { background: var(--acid); color: var(--bg); }
.badge-magenta { background: var(--magenta); color: white; }
.badge-cyan { background: var(--cyan); color: var(--bg); }
.badge-gold { background: var(--gold); color: var(--bg); }
.badge-outline { background: transparent; border: 1px solid var(--border-bright); color: var(--text-dim); }
.badge-soft-acid { background: rgba(198, 255, 0, 0.12); color: var(--acid); border: 1px solid rgba(198, 255, 0, 0.3); }
.badge-soft-magenta { background: rgba(255, 0, 110, 0.12); color: var(--magenta); border: 1px solid rgba(255, 0, 110, 0.3); }

/* FOOTER */
footer.site-footer { border-top: 1px solid var(--border); padding: 100px 0 40px; margin-top: 100px; position: relative; background: radial-gradient(circle at 20% 50%, rgba(198, 255, 0, 0.03), transparent 50%), radial-gradient(circle at 80% 50%, rgba(255, 0, 110, 0.03), transparent 50%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; margin-top: 20px; }
.footer-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--acid); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: all 0.2s; position: relative; }
.footer-col a:hover { color: var(--acid); padding-left: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
.footer-bottom-text { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-faded); letter-spacing: 0.15em; text-transform: uppercase; }
.footer-disclaimer { color: var(--text-faded); font-size: 11px; max-width: 800px; margin-top: 24px; line-height: 1.6; }

/* ANIMATIONS */
@keyframes fade-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.reveal { opacity: 0; animation: fade-up 0.8s ease-out forwards; }
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }
.reveal-delay-5 { animation-delay: 0.5s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  nav.main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding: 70px 0; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 16px; }
  .container { padding: 0 16px; }
}

.text-center { text-align: center; }
.relative { position: relative; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
