/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem var(--main-padding);
  background: rgba(10, 21, 40, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.header_logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.header_logo > span {
  color: var(--accent);
}

.header_logo > i {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.header_nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.header_nav li {
  list-style: none;
}

.header_nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.header_nav a:hover {
  color: var(--accent);
}

.header_nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}

.header_nav a:hover::after {
  width: 100%;
}

.header_cta_big {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--accent);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.header_cta_big:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.header_burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 5rem;
  height: 4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
}

.header_burger > span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s;
}

.header_mobile {
  display: none;
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-line);
  padding: 3rem var(--main-padding);
  flex-direction: column;
  gap: 2rem;
  z-index: 99;
}

.header_mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.header_mobile li {
  list-style: none;
}

.header_mobile li a,
.header_mobile > a {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  padding: 1rem 0;
  border-bottom: 1px solid var(--bg-line);
}

.header_mobile li:last-of-type a,
.header_mobile > a:last-of-type {
  border-bottom: none;
}

.header_mobile > .header_cta_big {
  border-bottom: none;
  display: inline-flex;
}

/* ============================================
   Mobile — ≤1024px
   ============================================ */
@media (max-width: 1024px) {
  .header {
    padding: 2.4rem var(--main-padding);
  }

  .header_logo {
    font-size: 6.4rem;
  }

  .header_logo > i {
    width: 1.6rem;
    height: 1.6rem;
  }

  .header_nav {
    display: none;
  }

  .header_cta_big {
    font-size: 3.15rem;
    padding: 1.4rem 2.6rem;
  }

  .header_burger {
    display: flex;
  }

  .header_mobile {
    top: calc(100% + 0px);
    position: absolute;
  }

  .header_mobile li a,
  .header_mobile > a {
    font-size: 3.4rem;
    padding: 2rem 0;
  }
}
