/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #0b061a;
  --bg-secondary: #140b2e;

  --accent-primary: #8b5cf6;
  --accent-secondary: #a78bfa;

  --text-primary: #f5f3ff;
  --text-secondary: #c7c3e6;

  --border-soft: rgba(255, 255, 255, 0.08);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-primary);
  min-height: 100vh;
}


/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

p {
  color: rgba(255, 255, 255, 0.78);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* ===== NAV ===== */
nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar {
  border-bottom: 1px solid var(--border-soft);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #ffffff;
}

.btn.secondary {
  background: transparent;
  color: var(--text-secondary);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 6rem 2rem;
}

/* ===== Z-INDEX SAFETY ===== */
main,
section,
header,
.navbar {
  position: relative;
  z-index: 1;
}

/* ===== THEME TOGGLE ===== */
#themeToggle {
  cursor: pointer;
  font-size: 1rem;
}
section {
  position: relative;
  padding: 4rem 2rem;
  background: transparent;
}


main {
  background: transparent;
}
section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(139, 92, 246, 0.06),
    transparent 70%
  );
  z-index: 0;
}
section > * {
  position: relative;
  z-index: 1;
}
