/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  backdrop-filter: blur(16px) saturate(160%);
  background: rgba(22, 22, 34, 0.55);
  border-bottom: 1px solid rgba(176, 70, 229, 0.06);
  transition:
    padding 0.4s,
    background 0.4s;
}
nav.scrolled {
  padding: 18px 56px;
  background: rgba(22, 22, 34, 0.85);
}

.nav-logo {
  font-family: "Bebas Neue", cursive;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--t);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo em {
  color: var(--p);
  font-style: normal;
}
.nav-logo .logo-sep {
  color: var(--td2);
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--td);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--p);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p);
  background: transparent;
  border: 1px solid var(--br);
  padding: 9px 22px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--pg2);
  border-color: var(--p);
  color: var(--p2);
}

.lang-flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.85);
  transition: opacity 0.3s;
}
.lang-switch:hover .lang-flag,
.lang-switch-mob:hover .lang-flag {
  opacity: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td);
  background: transparent;
  border: 1px solid var(--br);
  border-radius: 999px;
  padding: 8px 14px;
  margin-left: 14px;
  transition: all 0.3s;
  text-decoration: none;
}
.lang-switch:hover {
  background: var(--pg2);
  border-color: var(--p);
  color: var(--p2);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t);
  transition: all 0.3s;
}

/* mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(22, 22, 34, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mob-menu.open {
  display: flex;
}
.mob-menu a {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  letter-spacing: 0.08em;
  color: var(--t);
  text-decoration: none;
  transition: color 0.3s;
}
.mob-menu a:hover {
  color: var(--p);
}
.mob-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  color: var(--td);
  font-size: 28px;
}

.mob-menu .lang-switch-mob {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td);
  border: 1px solid var(--br);
  border-radius: 999px;
  padding: 8px 18px;
}
.mob-menu .lang-switch-mob .lang-flag {
  width: 18px;
  height: 13px;
}
.mob-menu .lang-switch-mob:hover {
  color: var(--p2);
  border-color: var(--p);
}

/* ── SHARED ATOMS ── */
.label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--p);
}
.label-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.label-line::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--p);
  flex-shrink: 0;
}

.tag {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--p);
  background: var(--pg2);
  border: 1px solid var(--br);
  padding: 3px 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  padding: 13px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-110%) skewX(-12deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::before {
  transform: translateX(110%) skewX(-12deg);
}

.btn-fill {
  background: var(--p);
  color: #fff;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}
.btn-fill:hover {
  background: var(--p2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--pg);
}

.btn-ghost {
  background: transparent;
  color: var(--t);
  border: 1px solid var(--br);
}
.btn-ghost:hover {
  border-color: var(--p);
  color: var(--p);
  transform: translateY(-2px);
}

.contact-form-btn {
  display: inline-block;
  margin-top: 28px;
}

/* ── REVEAL ANIMATION ── */
.rev {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.rev.r2 {
  transition-delay: 0.12s;
}
.rev.r3 {
  transition-delay: 0.24s;
}
.rev.r4 {
  transition-delay: 0.36s;
}
.rev.on {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  padding: 32px 56px;
  border-top: 1px solid var(--br2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot-copy {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--td2);
}
.foot-copy em {
  color: var(--p);
  font-style: normal;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }
  nav.scrolled {
    padding: 14px 24px;
  }
  .nav-links,
  .nav-cta,
  .lang-switch {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  footer {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}
