/* ═══════════════════════════════════════════════════════════════
   VEXORA WEBSITE — SHARED STYLES
   Fonts: Orbitron (display) + Syne (body) — matches the launcher
═══════════════════════════════════════════════════════════════ */

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

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:      #05060f;
  --surface: #0b0d1e;
  --surface2:#111328;
  --surface3:#1a1d3a;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.12);
  --accent:  #6c8bff;
  --accent2: #a78bfa;
  --text:    #e8eaf6;
  --muted:   #4a4f7a;
  --muted2:  #6b7290;
  --danger:  #f87171;
  --green:   #34d399;
  --amber:   #f59e0b;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code {
  font-family: 'Courier New', monospace;
  font-size: 0.82em;
  color: var(--accent);
  background: rgba(108,139,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 4px; }

/* ── CANVAS / NEBULA ────────────────────────────────────────── */
#star-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.nebula {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(100px); opacity: 0.1;
}
.nebula-a { width:600px;height:600px; background:radial-gradient(circle,#6c8bff,transparent 70%); top:-200px;right:-100px; }
.nebula-b { width:500px;height:500px; background:radial-gradient(circle,#a78bfa,transparent 70%); bottom:-100px;left:-150px; }
.nebula-c { width:350px;height:350px; background:radial-gradient(circle,#6c8bff,transparent 70%); top:55%;left:38%;opacity:0.06; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 36px; position: relative; z-index: 1; }
section { padding: 100px 0; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; padding: 0 40px;
  background: rgba(5,6,15,0.6);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(5,6,15,0.94); }

.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-logo svg { width: 22px; height: 22px; filter: drop-shadow(0 0 8px var(--accent)); }
.nav-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem; font-weight: 900; letter-spacing: 0.28em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-link {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted2); transition: color 0.2s; font-weight: 600;
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.2s; transform-origin: left;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 0 20px rgba(108,139,255,0.2);
  text-decoration: none;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(108,139,255,0.45); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--muted2); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  inset: 64px 0 0 0; z-index: 199;
  background: rgba(5,6,15,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1rem; }
.mobile-menu .nav-cta { font-size: 0.9rem; padding: 12px 32px; }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.page-hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: 0.04em; line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero-desc {
  font-size: 0.95rem; color: var(--muted2);
  max-width: 520px; line-height: 1.8;
}

/* ── SECTION LABELS ─────────────────────────────────────────── */
.label {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900; letter-spacing: 0.04em; line-height: 1.15;
  margin-bottom: 14px;
}
.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc { font-size: 0.88rem; color: var(--muted2); line-height: 1.8; }

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 10px;
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; cursor: pointer; transition: all 0.25s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 28px rgba(108,139,255,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,139,255,0.5); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--muted2);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(108,139,255,0.4); }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at top left, rgba(108,139,255,0.07), transparent 70%);
  transition: opacity 0.3s;
}
.card:hover { border-color: rgba(108,139,255,0.22); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.4); }
.card:hover::before { opacity: 1; }

/* ── TAGS / BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.badge-green { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.badge-blue  { background: rgba(108,139,255,0.12); color: var(--accent); border: 1px solid rgba(108,139,255,0.2); }
.badge-amber { background: rgba(245,158,11,0.12); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }
.badge-dot   { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo svg { width: 20px; height: 20px; filter: drop-shadow(0 0 4px var(--accent)); }
.footer-logo-text {
  font-family: 'Orbitron', monospace; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.25em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-tagline { font-size: 0.75rem; color: var(--muted); line-height: 1.75; max-width: 240px; }
.footer-col-title { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.78rem; color: var(--muted2); transition: color 0.2s; cursor: pointer; }
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.04em; }
.footer-legal { font-size: 0.62rem; color: var(--muted); text-align: right; line-height: 1.6; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { text-align: center; }
}
