:root {
  --purple: #a855f7;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --bg: #06070d;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(168,85,247,0.35);
  --text: #f1f5f9;
  --muted: #94a3b8;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

#synth-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-nav, main, .site-footer { position: relative; z-index: 1; }

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: rgba(6,7,13,0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(168,85,247,0.12);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { width: 68px; display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--purple); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16rem;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  background: rgba(6,7,13,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(168,85,247,0.18);
}
.mobile-menu.open { transform: translateX(0); }
@media (min-width: 769px) { .mobile-menu { display: none; } }

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 0 24px rgba(168,85,247,0.45);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 40px rgba(168,85,247,0.65), 0 0 80px rgba(236,72,153,0.2);
}

.section-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.section-sub { color: var(--muted); font-size: 1rem; font-weight: 300; }

.neon-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 10px rgba(168,85,247,0.6);
}

.site-footer {
  padding: 2.5rem 2rem;
  background: rgba(4,5,10,0.96);
  border-top: 1px solid rgba(168,85,247,0.1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
