@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

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

:root {
  --black:      #050E1F;
  --navy:       #0A1628;
  --navy-2:     #0D1E35;
  --teal:       #00D4C8;
  --teal-dim:   #00B8A9;
  --teal-glow:  rgba(0,212,200,0.15);
  --indigo:     #6C63FF;
  --indigo-dim: #5A52E0;
  --coral:      #FF6B6B;
  --gold:       #FFD166;
  --white:      #FFFFFF;
  --grey-50:    #F0F4FF;
  --grey-100:   #E2E8F4;
  --grey-200:   #C8D3E8;
  --grey-400:   #7A8BA8;
  --grey-600:   #4A5A78;
  --card-dark:  rgba(13,30,53,0.8);
  --border:     rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.04);
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.12);
  --shadow:     0 8px 32px rgba(0,0,0,0.2);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.3);
  --shadow-teal: 0 8px 32px rgba(0,212,200,0.2);
  --shadow-indigo: 0 8px 32px rgba(108,99,255,0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--grey-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dim); }

/* TYPOGRAPHY */
.display { font-family: 'Clash Display', 'Inter', sans-serif; }

h1, h2, h3 { font-family: 'Clash Display', 'Inter', sans-serif; line-height: 1.1; letter-spacing: -0.03em; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; font-family: 'Inter', sans-serif; text-decoration: none;
  cursor: pointer; border: none; transition: var(--transition);
  position: relative; overflow: hidden; white-space: nowrap;
}

.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,0.06); }

.btn-teal {
  background: var(--teal); color: var(--black);
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover { background: #00EAE0; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,200,0.35); }

.btn-indigo {
  background: var(--indigo); color: white;
  box-shadow: var(--shadow-indigo);
}
.btn-indigo:hover { background: var(--indigo-dim); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.06); color: white;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

.btn-outline-teal {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover { background: var(--teal-glow); }

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-icon { padding: 10px; border-radius: 10px; }

/* FORM INPUTS */
.input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: white;
  font-size: 14px; font-family: 'Inter', sans-serif;
  outline: none; transition: var(--transition);
}
.input::placeholder { color: var(--grey-400); }
.input:focus { border-color: var(--teal); background: rgba(0,212,200,0.05); box-shadow: 0 0 0 3px rgba(0,212,200,0.1); }

.input-light {
  background: white; color: var(--black);
  border: 1.5px solid var(--grey-100);
}
.input-light::placeholder { color: var(--grey-400); }
.input-light:focus { border-color: var(--teal-dim); box-shadow: 0 0 0 3px rgba(0,184,169,0.1); }

select.input { cursor: pointer; }
select.input option { background: var(--navy-2); color: white; }

/* CARDS */
.card {
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: var(--transition);
}
.card:hover { border-color: rgba(255,255,255,0.12); box-shadow: var(--shadow); }

/* BADGES */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 99px; letter-spacing: 0.03em;
}
.badge-teal { background: rgba(0,212,200,0.15); color: var(--teal); border: 1px solid rgba(0,212,200,0.3); }
.badge-indigo { background: rgba(108,99,255,0.15); color: #9D96FF; border: 1px solid rgba(108,99,255,0.3); }
.badge-coral { background: rgba(255,107,107,0.15); color: #FF9494; border: 1px solid rgba(255,107,107,0.3); }
.badge-gold { background: rgba(255,209,102,0.15); color: var(--gold); border: 1px solid rgba(255,209,102,0.3); }
.badge-verified { background: rgba(0,212,200,0.12); color: var(--teal); border: 1px solid rgba(0,212,200,0.25); }

/* GLOW EFFECTS */
.glow-teal { box-shadow: 0 0 40px rgba(0,212,200,0.2), 0 0 80px rgba(0,212,200,0.1); }
.glow-indigo { box-shadow: 0 0 40px rgba(108,99,255,0.2), 0 0 80px rgba(108,99,255,0.1); }

/* GRADIENT TEXT */
.grad-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--indigo) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* DIVIDER */
.divider { height: 1px; background: var(--border); margin: 0; }

/* AVATAR */
.avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; position: relative; flex-shrink: 0;
}
.avatar-verified::after {
  content: '✓'; position: absolute; bottom: 0; right: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); color: var(--black);
  font-size: 9px; font-weight: 800; display: flex;
  align-items: center; justify-content: center;
  border: 2px solid var(--black);
}

/* SECTION LABELS */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: var(--teal); border-radius: 1px;
}

/* GRID HELPERS */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* MESH BACKGROUND */
.mesh-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.mesh-circle {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease forwards; }
.animate-fade { animation: fade-in 0.5s ease forwards; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hide-mobile { display: none !important; }
}

/* MODAL OVERLAY */
.overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5,14,31,0.85);
  backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.overlay.open { display: flex; animation: fade-in 0.2s ease; }

/* TOOLTIP */
.tooltip { position: relative; }
.tooltip::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy-2); color: white;
  font-size: 12px; padding: 6px 10px; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
  border: 1px solid var(--border);
}
.tooltip:hover::after { opacity: 1; }

/* NOTIFICATION DOT */
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--black);
  position: absolute; top: 0; right: 0;
}

/* PROGRESS BAR */
.progress-bar {
  height: 4px; background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--indigo));
  transition: width 0.8s ease;
}

/* TAG */
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 99px;
  background: rgba(255,255,255,0.06);
  color: var(--grey-200); border: 1px solid var(--border);
  cursor: default; transition: var(--transition);
}
.tag:hover { background: rgba(255,255,255,0.1); color: white; }
