/* ========================================
   SITE HEADER
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  height: 84px;
  padding: 0 7%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background:
    linear-gradient(
      180deg,
      rgba(2,6,23,0.92),
      rgba(2,6,23,0.72)
    );

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(2,6,23,0.94);
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

/* ========================================
   LOGO
======================================== */

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 12px rgba(60,155,70,0.16));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  color: white;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.logo-text small {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================
   NAVIGATION
======================================== */

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.main-nav a {
  position: relative;

  color: #cbd5e1;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -10px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #3c9b46,
      #6ee7b7
    );

  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: white;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* ========================================
   HEADER ACTIONS
======================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-button {
  position: relative;

  padding: 14px 28px;

  border-radius: 999px;

  overflow: hidden;

  color: white !important;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;

  background:
    linear-gradient(
      135deg,
      #3c9b46,
      #4ade80
    );

  box-shadow:
    0 10px 30px rgba(60,155,70,0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 40px rgba(60,155,70,0.30);
}

/* ========================================
   MOBILE BUTTON
======================================== */

.mobile-menu-button {
  display: none;

  width: 46px;
  height: 46px;

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  background: rgba(255,255,255,0.06);

  color: white;

  font-size: 20px;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.mobile-menu-button:hover {
  transform: translateY(-2px);
}

.mobile-menu-button.active {
  background: rgba(60,155,70,0.18);
  border-color: rgba(60,155,70,0.34);
  color: white;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1280px) {
  .main-nav {
    gap: 26px;
  }

  .main-nav a {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .logo-text strong {
    font-size: 24px;
  }

  .main-nav {
    gap: 22px;
  }

  .nav-button {
    padding: 13px 22px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    position: fixed;

    top: 84px;
    left: 0;
    right: 0;

    display: flex;

    padding: 28px 7%;

    flex-direction: column;
    align-items: flex-start;
    gap: 22px;

    background: rgba(2,6,23,0.96);

    backdrop-filter: blur(24px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow:
      0 24px 70px rgba(0,0,0,0.28);
  }

  .main-nav.open a {
    font-size: 18px;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-text strong {
    font-size: 22px;
  }

  .logo-text small {
    font-size: 10px;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 76px;
    padding: 0 22px;
  }

  .main-nav.open {
    top: 76px;
    padding: 26px 22px;
  }

  .logo {
    gap: 12px;
  }

  .logo-image {
    width: 36px;
    height: 36px;
  }

  .logo-text strong {
    font-size: 20px;
  }

  .logo-text small {
    display: none;
  }

  .nav-button {
    display: none;
  }
}