@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --void: #020202;
  --void-deep: #000000;
  --cherenkov: #00F0FF;
  --cherenkov-dim: rgba(0, 240, 255, 0.15);
  --cherenkov-glow: rgba(0, 240, 255, 0.4);
  --starlight: #FFFFFF;
  --card-bg: rgba(6, 6, 16, 0.6);
  --card-bg-hover: rgba(8, 8, 26, 0.85);
  --border: rgba(0, 240, 255, 0.15);
  --border-glow: rgba(0, 240, 255, 0.35);
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--starlight);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.8;
  letter-spacing: 0;
  cursor: none; /* Hide default cursor */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--void-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--cherenkov-dim);
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cherenkov);
  box-shadow: 0 0 10px var(--cherenkov);
}

::selection {
  background: rgba(0, 240, 255, 0.2);
  color: #fff;
}

/* NOISE OVERLAY */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* GALAXY CANVAS */
#galaxy-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* CURSORS */
#cur {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--cherenkov);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s;
  box-shadow: 0 0 12px var(--cherenkov), 0 0 24px var(--cherenkov-glow);
  mix-blend-mode: screen;
}

#cur-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s, border-color 0.3s;
  will-change: left, top;
}

#bh-cursor {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle, #000 0%, #000 25%, rgba(0,0,0,0.65) 50%, transparent 70%);
  box-shadow: 0 0 0 1.5px rgba(0, 240, 255, 0.95), 0 0 20px rgba(0, 240, 255, 0.65), 0 0 50px rgba(0, 240, 255, 0.2), inset 0 0 30px #000;
}

body.bh-active #bh-cursor {
  opacity: 1;
}

body.bh-active #cur {
  opacity: 0;
}

body.bh-active #cur-ring {
  opacity: 0;
}

body.hovering #cur-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 240, 255, 0.8);
  background: rgba(0, 240, 255, 0.03);
}

/* PREMIUM TYPOGRAPHY RULES */
p, .sec-desc, .hero-sub, .card-desc, .sc-desc, .svc-desc {
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dim);
}

h1, h2, h3, h4, .btn, .sec-label, .card-title, .sc-name, .pkg-name, .stat-n {
  font-family: var(--font-display);
  font-weight: 700;
}
