body {
  padding-top: 112px;
  box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 112px;
  box-sizing: border-box;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;

  padding: 20px 8%;

  background: #000;

  border-bottom: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 12px 32px rgba(0,0,0,0.55),
    inset 0 -1px 0 rgba(255,255,255,0.06);
}

.navbar.scrolled {
  background: #000;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.55),
    inset 0 -1px 0 rgba(255,255,255,0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand img {
  background: white;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
  background: linear-gradient(to bottom, #ffffff 40%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  margin-left: 0;
  padding: 12px 24px;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  vertical-align: bottom;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.nav-links a:hover {
  background: white;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: #2563eb;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  body {
    padding-top: 128px;
  }

  .navbar {
    min-height: 128px;
    padding: 14px 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-name {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.6px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    padding: 10px 16px;
    min-height: 42px;
  }
}


@media (max-width: 600px) {
  body {
    padding-top: 144px;
  }

  .navbar {
    min-height: 144px;
    padding: 12px 14px;
  }

  .logo {
    height: 44px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 0.4px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    flex: 1 1 auto;
    min-width: 82px;
    padding: 9px 12px;
    font-size: 14px;
  }
}


