@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #1a1a1f;
  --surface: #222228;
  --surface2: #2a2a32;
  --surface3: #32323c;
  --ash: #3a3a44;
  --text: #e8e8ec;
  --text-dim: #8a8a96;
  --text-muted: #5a5a66;
  --purple: #7C6FE0;
  --purple-light: #9B8FFF;
  --purple-dim: rgba(124,111,224,0.12);
  --purple-glow: rgba(124,111,224,0.25);
  --border: #2e2e38;
  --border-light: #3a3a46;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(26,26,31,0.92);
  backdrop-filter: blur(20px);
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img { height: 75px; width: auto; object-fit: contain; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
}
.logo-text span { color: var(--purple); }
nav ul { list-style: none; display: flex; gap: 24px; align-items: center; }
nav li a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav li a:hover, nav li a.active { color: var(--purple-light); border-bottom-color: var(--purple); }
.nav-cta {
  padding: 10px 24px !important;
  background: var(--purple);
  color: #fff !important;
  border: 2px solid var(--purple) !important;
  border-bottom: 2px solid var(--purple) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  transition: all 0.15s;
  box-shadow: 4px 4px 0 var(--ash);
}
.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ash);
  border-bottom-color: var(--purple) !important;
}

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: 2px solid var(--border-light);
  transition: all 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 6px 6px 0 var(--ash);
}
.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ash);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: 4px 4px 0 var(--ash);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ash);
}

/* ===== SECTION UTILITIES ===== */
.section { padding: 100px 48px; border-bottom: 2px solid var(--border); }
.section-surface { background: var(--surface); }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--purple-dim);
  border: 1px solid rgba(124,111,224,0.2);
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
}
.section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 20px;
}
.section-heading .purple { color: var(--purple); }

/* ===== TICKER ===== */
.ticker {
  padding: 14px 0;
  border-bottom: 2px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  background: var(--surface);
}
.ticker-inner {
  display: inline-flex;
  gap: 40px;
  animation: ticker 18s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--text-muted);
}
.ticker-inner .sep { color: var(--purple); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
footer {
  border-top: 2px solid var(--border);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--purple-light);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  padding: 20px 48px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--purple); }

/* ===== THREE.JS CANVAS ===== */
.three-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 2px solid var(--border); padding: 20px 24px; gap: 16px; }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .section { padding: 60px 24px; }
  .section-heading { font-size: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  nav ul { padding: 16px; }
  .section { padding: 48px 16px; }
  .section-tag { font-size: 11px; padding: 5px 12px; }
  .section-heading { font-size: 32px; }
  .btn { padding: 14px 24px; font-size: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }
  .footer-bottom { padding: 14px 16px; font-size: 11px; }
}
