@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Share+Tech+Mono&family=VT323&display=swap');

:root {
  --bg: #070816;
  --panel: rgba(16, 20, 45, 0.9);
  --border: #2a2f66;
  --text: #d8e4ff;
  --muted: #97a0c3;
  --pink: #ff4fd8;
  --purple: #9d4edd;
  --blue: #39a0ff;
  --cyan: #4deeea;
  --green: #6dffb3;
  --yellow: #ffe66d;
  --orange: #ff6b35;
  --red: #ff2e63;
  --shadow: 0 0 20px rgba(57,160,255,0.15), 0 0 40px rgba(157,78,221,0.12);
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background:
    radial-gradient(circle at top left,  rgba(157,78,221,0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(57,160,255,0.15), transparent 25%),
    linear-gradient(180deg,#06070f 0%,#080b1d 45%,#05070d 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed; inset: 0; pointer-events: none; opacity: .10; z-index: 0;
  background-image:
    linear-gradient(rgba(77,238,234,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,238,234,.25) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,0));
}
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .12;
  background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.03),rgba(255,255,255,.03) 1px,transparent 2px,transparent 4px);
}

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
main, footer, header { position: relative; z-index: 1; }
section { padding: 80px 0; }
a { color: inherit; text-decoration: none; }

/* ── header ── */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5,8,20,.80);
  border-bottom: 1px solid rgba(77,238,234,.15);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'VT323', monospace;
  font-size: 1.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
}
.brand-mark {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 0 12px var(--pink), 0 0 24px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 8px var(--pink), 0 0 20px var(--blue); }
  50%      { box-shadow: 0 0 18px var(--pink), 0 0 36px var(--blue); }
}
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); align-items: center; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }

.lang-selector {
  display: flex; gap: 4px; align-items: center;
  border: 1px solid rgba(77,238,234,.2); border-radius: 8px;
  padding: 4px 8px; background: rgba(77,238,234,.04);
  margin-left: 8px;
}
.lang-selector a {
  font-size: 12px; padding: 2px 6px; border-radius: 4px;
  color: var(--muted); transition: all .2s;
}
.lang-selector a:hover, .lang-selector a.active {
  color: var(--cyan); background: rgba(77,238,234,.12);
  text-shadow: 0 0 6px var(--cyan);
}
.lang-sep { color: rgba(77,238,234,.2); font-size: 11px; }

/* ── buttons ── */
.btn {
  display: inline-block; padding: 11px 20px;
  border: 1px solid var(--blue); border-radius: 10px; color: white;
  background: linear-gradient(180deg,rgba(57,160,255,.18),rgba(157,78,221,.12));
  box-shadow: 0 0 16px rgba(57,160,255,.16);
  font-family: inherit; font-size: .95rem;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(157,78,221,.3); }
.btn-outline { border-color: var(--purple); background: transparent; }

/* ── type ── */
h1,h2,h3 { line-height: 1.15; }
h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(2.8rem,7vw,5.5rem);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px;
}
h2 {
  font-family: 'VT323', monospace;
  font-size: clamp(2rem,5vw,3rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}
h3 { font-size: 1.05rem; color: white; margin-bottom: 10px; }
.glow {
  text-shadow: 0 0 6px rgba(255,255,255,.25),
    0 0 20px rgba(57,160,255,.35), 0 0 40px rgba(157,78,221,.18);
}

/* ── shared card ── */
.card, .hero-panel, .contact-box, .feature-card {
  background: var(--panel);
  border: 1px solid rgba(77,238,234,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }

/* ── badge & tags ── */
.badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 12px;
  font-size: 12px;
  border: 1px solid rgba(77,238,234,.3); border-radius: 999px;
  color: var(--cyan); background: rgba(77,238,234,.08);
  letter-spacing: 1px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12px; color: var(--cyan);
  border: 1px solid rgba(77,238,234,.2);
  padding: 5px 10px; border-radius: 999px;
  background: rgba(77,238,234,.05);
}

.section-subtitle { color: var(--muted); max-width: 780px; margin-bottom: 32px; }

/* ── hero ── */
.hero { padding: 80px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 32px; align-items: center;
}
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 700px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* ── terminal ── */
.hero-panel { padding: 20px; }
.terminal-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.term-title { font-size: 12px; color: var(--muted); margin-left: auto; }
.terminal-body {
  background: rgba(4,6,14,.9); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 18px; color: var(--green);
  min-height: 300px; font-size: 14px; overflow: auto; line-height: 1.8;
}
.t-muted  { color: #7ed6ff; }
.t-pink   { color: var(--pink); }
.t-yellow { color: var(--yellow); }
.t-cyan   { color: var(--cyan); }
.t-cursor {
  display: inline-block; width: 10px; height: 1.1em;
  background: var(--green); margin-left: 4px;
  animation: blink .9s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── PIXEL ART TITLE (8-bit style) ── */
.pixel-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.3;
  margin-bottom: 8px;
  image-rendering: pixelated;
  position: relative;
  display: inline-block;
}
.pixel-title-voidhub {
  color: var(--cyan);
  text-shadow:
    0 0 10px var(--cyan),
    0 0 30px rgba(77,238,234,.5),
    0 0 60px rgba(77,238,234,.3),
    4px 4px 0 var(--purple),
    8px 8px 0 rgba(157,78,221,.3);
}
.pixel-title-voidlaunch {
  color: var(--pink);
  text-shadow:
    0 0 10px var(--pink),
    0 0 30px rgba(255,79,216,.5),
    0 0 60px rgba(255,79,216,.3),
    4px 4px 0 var(--orange),
    8px 8px 0 rgba(255,107,53,.3);
}
.pixel-subtitle {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(.55rem, 1.5vw, .85rem);
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* ── tool section ── */
.tool-section {
  border-top: 2px solid;
  position: relative;
}
.tool-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.tool-voidhub { border-color: rgba(77,238,234,.3); }
.tool-voidhub::before {
  background: linear-gradient(90deg, var(--cyan), var(--purple), transparent);
  box-shadow: 0 0 20px rgba(77,238,234,.4);
}
.tool-voidlaunch { border-color: rgba(255,79,216,.3); }
.tool-voidlaunch::before {
  background: linear-gradient(90deg, var(--pink), var(--orange), transparent);
  box-shadow: 0 0 20px rgba(255,79,216,.4);
}

.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}
.tool-desc { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.tool-desc strong { color: white; }

/* ── feature cards ── */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-card {
  padding: 18px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(77,238,234,.2);
}
.feature-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}
.feature-card h3 {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature-card p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}
.voidhub-card { border-color: rgba(77,238,234,.2); }
.voidhub-card h3 { color: var(--cyan); }
.voidhub-card:hover { box-shadow: 0 0 30px rgba(77,238,234,.2); }
.voidlaunch-card { border-color: rgba(255,79,216,.2); }
.voidlaunch-card h3 { color: var(--pink); }
.voidlaunch-card:hover { box-shadow: 0 0 30px rgba(255,79,216,.2); }

/* ── code block ── */
.code-block {
  background: rgba(4,6,14,.95);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.8;
}
.code-block .prompt { color: var(--green); }
.code-block .comment { color: #555e80; }
.code-block .cmd { color: var(--yellow); }
.code-block .output { color: var(--muted); }

/* ── stack split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list { padding-left: 18px; color: var(--muted); }
.list li + li { margin-top: 8px; }

/* ── quickstart ── */
.quickstart-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quickstart-card {
  padding: 24px;
}
.quickstart-card h3 {
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quickstart-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 14px;
}
.qs-hub h3 { color: var(--cyan); }
.qs-hub { border-color: rgba(77,238,234,.25); }
.qs-launch h3 { color: var(--pink); }
.qs-launch { border-color: rgba(255,79,216,.25); }

/* ── contact ── */
.contact-box { padding: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-item {
  padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.contact-item strong { color: var(--cyan); display: block; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: .95rem; }

/* ── pixel line ── */
.pixel-line {
  height: 4px; width: 100%; margin: 28px 0 0;
  background: linear-gradient(90deg,var(--pink),var(--purple),var(--blue),var(--cyan));
  box-shadow: 0 0 20px rgba(77,238,234,.22);
}

/* ── footer ── */
footer { padding: 32px 0 48px; border-top: 1px solid rgba(77,238,234,.12); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ── glitch title ── */
.glitch { position: relative; display: inline-block; }
.glitch::before,.glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  font-family: inherit; font-size: inherit;
  background: transparent; overflow: hidden;
}
.glitch::before {
  color: var(--pink); clip-path: inset(0 0 60% 0);
  animation: glitch1 3.2s infinite; left: 2px;
}
.glitch::after {
  color: var(--cyan); clip-path: inset(60% 0 0 0);
  animation: glitch2 3.2s infinite; left: -2px;
}
@keyframes glitch1 {
  0%,94%,100% { transform: translate(0); opacity: 0; }
  95%          { transform: translate(-3px,1px); opacity: .6; }
  97%          { transform: translate(3px,-1px); opacity: .6; }
}
@keyframes glitch2 {
  0%,94%,100% { transform: translate(0); opacity: 0; }
  95%          { transform: translate(3px,-1px); opacity: .6; }
  97%          { transform: translate(-3px,1px); opacity: .6; }
}

/* ── pixel decoration ── */
.pixel-divider {
  display: flex; align-items: center; gap: 6px;
  margin: 16px 0;
}
.pixel-dot {
  width: 6px; height: 6px;
  image-rendering: pixelated;
}
.pixel-dot-1 { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.pixel-dot-2 { background: var(--purple); box-shadow: 0 0 6px var(--purple); }
.pixel-dot-3 { background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.pixel-dot-4 { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.pixel-line-seg {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(77,238,234,.3) 0 4px, transparent 4px 8px);
}

/* ── responsive ── */
@media(max-width:960px){
  .hero-grid,.split,.contact-grid,.tool-grid,.quickstart-grid,.features-grid { grid-template-columns:1fr; }
  .nav { flex-direction:column; align-items:flex-start; padding:12px 0; }
  .lang-selector { margin-left: 0; margin-top: 8px; }
}
