/* ============================================================
   CRID MARKETING — GLOBAL STYLESHEET
   shared across all pages
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050505;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --cyan-border: rgba(0, 212, 255, 0.12);
  --bg: #050505;
  --bg2: #030303;
  --bg-card: rgba(255,255,255,0.02);
  --muted: #999999;
  --dim: #555555;
  --white: #ffffff;
  --font-display: 'Syncopate', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ---------- RADIAL GLOW BACKGROUND ---------- */
.neon-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #0a1b33 0%, #050505 70%);
  z-index: 0;
}
.neon-bg { position: relative; }
.neon-bg > * { position: relative; z-index: 1; }

/* ---------- CONTAINER ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- SECTION SPACING ---------- */
.section { padding: 90px 0; }
.section-dark { background: #030303; border-top: 1px solid var(--cyan-border); border-bottom: 1px solid var(--cyan-border); }

/* ---------- SECTION LABELS & TITLES ---------- */
.label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 30px);
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #ffffff 40%, #555555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 50px;
  font-weight: 300;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- ANIMATED BORDER BUTTON (outline) ---------- */
.btn-anim {
  position: relative;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  background: transparent;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s;
}
.btn-anim::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 4px;
  border: 1px solid transparent;
  background:
    linear-gradient(#050505, #050505) padding-box,
    linear-gradient(90deg, var(--cyan), #0044cc, #00ffcc, var(--cyan)) border-box;
  background-size: 300% 100%;
  animation: borderFlow 2.5s linear infinite;
}
.btn-anim:hover { color: #ffffff; }

/* ---------- SOLID BUTTON ---------- */
.btn-solid {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--cyan);
  color: #000000;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-solid:hover { box-shadow: 0 0 30px rgba(0,212,255,0.4); transform: scale(1.04); }

@keyframes borderFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ---------- CARDS ---------- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: 15px;
  backdrop-filter: blur(15px);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  opacity: 0;
  transform: translateY(36px);
}
.card.active { opacity: 1; transform: translateY(0); }
.card:hover {
  background: rgba(0,212,255,0.04);
  border-color: var(--cyan);
  box-shadow: 0 20px 50px rgba(0,212,255,0.12);
  transform: translateY(-8px) !important;
}
/* corner brackets on cards */
.card::before, .card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 1.5px solid var(--cyan);
  opacity: 0.35;
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.card::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }

/* ---------- TICKER ---------- */
.ticker-wrap {
  background: var(--cyan);
  color: #000;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: tickerMove 30s linear infinite;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
}
@keyframes tickerMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- STAT BOX ---------- */
.stat-box {
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 11px; color: var(--dim); letter-spacing: 2px; text-transform: uppercase; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cyan-border);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #ffffff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 0 40px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 6px;
  background: linear-gradient(to bottom, #ffffff, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block; margin-bottom: 24px;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 24px; list-style: none; }
.footer-nav a { font-size: 11px; color: #444; text-decoration: none; letter-spacing: 2px; text-transform: uppercase; transition: color 0.2s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-copy { font-size: 10px; color: #222; letter-spacing: 3px; text-transform: uppercase; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MISC UTILITIES ---------- */
.cyan { color: var(--cyan); }
.divider { height: 1px; background: var(--cyan-border); margin: 20px 0; }
.badge {
  display: inline-block; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 14px; border-radius: 20px;
}
