:root {
  --primary: #9333ea;
  --primary-light: #a855f7;
  --primary-dark: #7e22ce;
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --border-color: rgba(255, 255, 255, 0.1);
  --glow-color: rgba(147, 51, 234, 0.5);

  --border-radius: 12px;
  --transition: all 0.3s ease-in-out;
  --container-width: 1100px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}
a:hover {
  color: var(--primary-light);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
section {
  padding: 100px 0;
  position: relative;
}
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}
.highlight {
  color: var(--primary);
}


.site-wrapper.hide-back-to-top footer .back-to-top {
  display: none;
}

.page-section {
  display: none;
}
.page-section.active-page {
  display: block;
  animation: fadeInPage 0.6s ease-in-out forwards;
}

@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

main {
  transition: opacity 0.3s ease-in-out;
}

main.page-fade-out {
  opacity: 0;
}