*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --black: #18141a;
  --white: #ffffff;
  --purple: #6d28d9;
  --purple-light: #f0e0ff;
  --purple-mid: #4e0882;
  --blue: #a855f7;
  --gray: #f4f4f4;
  --ink: #111111;
  --ink-mid: #333333;
  --ink-light: #666666;
  --border: #e0e0e0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}

nav.scrolled {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--purple);
}
/* ── FOOTER ── */
footer {
  background: #6d28d9;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
}
.flinks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.flinks a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.flinks a:hover {
  opacity: 1;
}
.fsep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* ── BACK TO TOP ── */
#btt {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #6d28d9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s;
  z-index: 200;
}
#btt svg {
  width: 16px;
  height: 16px;
  stroke: #6d28d9;
  stroke-width: 2.5;
  fill: none;
}
#btt.show {
  opacity: 1;
  transform: translateY(0);
}
#btt:hover {
  background: rgba(255, 255, 255, 0.95);
}
