*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

:root {
  --bg: #0d0d0f;
  --bg2: #111114;
  --surface: #18181c;
  --border: #2a2a30;
  --accent: #6c63ff;
  --accent2: #a78bfa;
  --text: #e8e8f0;
  --muted: #888899;
  --danger: #ff4d4d;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  will-change: transform;
}

.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-decoration: none;
  font-family: 'Courier New', monospace;
}

.navbar ul { list-style: none; display: flex; gap: 2rem; }
.navbar a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.navbar a:hover, .navbar a.active { color: var(--text); }

.container { max-width: 1000px; margin: 0 auto; }

.section { padding: 5rem 2.5rem; }
.section.alt { background: var(--bg2); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 40px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.accent { color: var(--accent); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); transform: translateY(-2px); }

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .navbar ul { gap: 1rem; }
  .section { padding: 4rem 1.25rem; }
  body { cursor: auto; }
  *, *::before, *::after { cursor: auto !important; }
  .cursor-dot, .cursor-trail { display: none; }
}
